Ask MoneySense
If I have the RRSP room and put any capital gains earned into an RRSP, would I pay tax on that before I put it into an RRSP or would the RRSP delay the tax until I withdraw it?
—Leslie
When you sell an investment in a non-registered account for a profit, you must report a capital gain on your tax return for the year the sale occurs. That gain is taxable unless it qualifies for a specific exemption or was earned inside a tax-sheltered account. There are, however, several legitimate ways to reduce or defer the tax you owe on capital gains; below are the main strategies and how RRSP contributions fit into the picture.
Reduce capital gains tax using capital losses
If you have capital losses from the current year or losses carried forward from previous years, you can apply those losses against capital gains to lower the tax payable. Capital losses can be carried forward indefinitely and used in future years until they are exhausted.
You can also deliberately crystallize losses by selling investments at a loss before year-end — a tactic commonly called tax-loss selling. This can offset realized gains in the same tax year and reduce your overall tax bill.
How RRSP contributions interact with capital gains
Contributing to a registered retirement savings plan (RRSP) can reduce the tax you ultimately pay on a capital gain because an RRSP contribution generates a deduction that lowers your taxable income. However, the capital gain itself must still be reported in the year you dispose of the investment.
In practice this means: selling an investment outside an RRSP triggers a taxable event immediately. If you then contribute some or all of the proceeds to your RRSP and claim the RRSP deduction on your tax return, the deduction can offset other income — including the taxable portion of your capital gain — potentially reducing or even eliminating the tax owing for that year.
That said, an RRSP contribution doesn’t retroactively erase the fact that you realized a gain; it reduces taxable income in the year you claim the deduction. So while RRSP contributions can effectively defer tax (because the deduction reduces current tax and RRSP withdrawals are taxed later), you still need to report and calculate the gain when the sale happens.
When RRSP contributions make the most sense
RRSP contributions are generally most advantageous in higher-income years. The typical strategy is to contribute when your marginal tax rate is relatively high and withdraw later in retirement when your income (and tax rate) is expected to be lower, thereby lowering the lifetime tax paid on those funds.
If your current-year income — including the capital gain — is lower than you expect future income to be, it might make less sense to use RRSP room now. Conversely, if you expect a large income spike in the future, deferring contributions until that higher-income year could yield a larger tax benefit.
You also have flexibility in timing the RRSP deduction. Contributions must be reported in the year made (contributions in the first 60 days of a calendar year can be applied to the prior tax year), but you can elect to defer claiming the deduction to a later tax year. That allows you to time the deduction for when it will save the most tax.
How RRSP withdrawals are taxed
Withdrawals from an RRSP are fully taxable as income in the year they are taken out. Because contributions reduce taxable income when claimed, withdrawals are taxed later to balance that earlier tax relief. There are specific exceptions to the immediate tax treatment, including the Home Buyers’ Plan (HBP) for qualifying home purchases and the Lifelong Learning Plan (LLP) for eligible education expenses, which allow temporary, interest‑free withdrawals under defined conditions.
Keep in mind the basic personal amount, which exempts a portion of income from tax for low-income taxpayers. Depending on your total income and available credits, a modest capital gain may produce little or no tax liability even without an RRSP contribution.
Are RRSP contributions the best tool to reduce capital gains tax?
RRSP contributions and capital losses are the primary tools for reducing tax on gains realized in non-registered accounts. Tax-advantaged accounts like RRSPs and tax-free savings accounts (TFSAs) shelter future gains entirely while funds remain inside the account. Certain transactions — for example, qualifying sales of a principal residence or specific small-business or fishing property dispositions — may be exempt from capital gains tax under the rules that apply to those situations.
In short: you must report capital gains when they occur, but you can use RRSP contributions to reduce taxable income and thus the tax payable for that year. Because RRSP withdrawals are taxed later, contributions effectively defer tax until money is taken out. Use RRSP room strategically — typically in higher-income years — and consider other tools like carrying forward capital losses or holding investments inside tax-sheltered accounts where appropriate. Sometimes accepting a small tax bill in a low-rate year is the wiser long-term choice.
Also read
Selling assets? Read our capital gains guide
Newsletter
Get free MoneySense financial tips, news & advice in your inbox.
Read more about capital gains:
- Who pays tax on cash gifts in Canada?
- How is a non-registered account taxed upon death?
- Year-end tax and financial planning considerations
- Tax due dates, credits and more: Your 2024 income tax return guide