Investing · Tax
Tax-loss harvesting in Canada
Selling a losing investment can hand you a tax break — a realized loss offsets capital gains and trims your bill. But one CRA rule, the superficial loss rule, quietly denies the loss for most DIY investors who buy back too soon. Here is how to harvest cleanly.
The short answer
- What it doesOffsets capital gains with realized losses, cutting tax
- The trapSuperficial loss rule — no rebuy 30 days before or after
- Carry rulesBack 3 years, forward forever
- DeadlineSell by late December so it settles in the tax year
How a harvested loss saves tax
A realized capital loss offsets a realized capital gain dollar-for-dollar, because both are taxed at the same 50% inclusion rate.When you sell an investment for less than you paid, you realize a capital loss. Canada includes only 50% of a capital gain in your taxable income — and the same 50% applies to losses. So a realized loss offsets a realized gain dollar-for-dollar: sell a winner for a $10,000 gain and a loser for a $10,000 loss in the same year, and your net taxable capital gain is zero.
Loss is "superficial" (denied) if you or an affiliated person rebuy identical property within 30 days before or after the sale — a 61-day window.
Two important limits: a capital loss can only offset capital gains, never your salary or pension income (the rare exception is the year of death). And the benefit is only real in a non-registered account — there is nothing to harvest inside an RRSP or TFSA, where gains are never taxed in the first place.
The superficial loss rule — the crux
The CRA denies your loss if you or an affiliated person repurchases the identical security inside the 61-day window. The list of who counts is wider than most people expect.Here is the rule that trips everyone up. The CRA denies your loss if you, or anyone "affiliated" with you, buys back the same or identical property within 30 days before or 30 days after the sale and still holds it at the end of that period. The catch is how broad "affiliated" is:
- You, the seller
- Your spouse or common-law partner
- Your RRSP, RRIF, TFSA, or FHSA
- Your spouse’s RRSP, RRIF, or TFSA
- A corporation controlled by you or your spouse
Note that your adult children are not affiliated with you for this rule. When a loss is ruled superficial, it is not destroyed — it is added to the cost base of the repurchased shares, deferring the benefit until you finally sell.
The RRSP/TFSA trap: if you sell at a loss in a taxable account and rebuy the identical security inside your (or your spouse’s) RRSP or TFSA within 30 days, the loss is permanently denied — with no cost-base bump. Unlike an ordinary superficial loss, this one is gone for good. Keep harvest sales well clear of your registered accounts.
The clean workaround: a similar, not identical, fund
Selling one ETF and buying a different ETF that tracks a different index keeps your market exposure without triggering the superficial loss rule.You usually do not want to be out of the market for 30 days while waiting to rebuy — a rebound could wipe out your tax saving. The fix: sell the loser and immediately buy a different fund that tracks a different index. Two ETFs following different indexes are generally not "identical property," so you keep nearly the same exposure without tripping the rule:
| Sell at a loss | Buy instead | Why it works |
|---|---|---|
| VFV / ZSP — S&P 500 | XUU / VUN — total US market | Different index, near-identical exposure |
| XIC / ZCN — TSX Composite | VCN — FTSE Canada All Cap | Different index provider and methodology |
| XEF — MSCI EAFE developed | VIU — FTSE developed ex-N.A. | Different underlying index |
| ZAG — Canadian Universe bonds | VAB / XBB — different bond index | Keeps fixed-income exposure |
One caution: two funds from different providers tracking the same index (say two S&P 500 ETFs) are a grey area and may be treated as identical. The safe play is always a different index. After 30 days you can switch back to your original holding if you prefer.
Know the gain you’re offsetting
Harvesting only helps if you have capital gains to absorb. These tools and guides set the context.
Carry losses back 3 years — or forward forever
Unused capital losses are never wasted — apply them to this year's gains, carry them back three years, or bank them indefinitely.A loss with no gain to offset this year is not wasted. The CRA lets you put it to work in three ways:
- This year first. Net capital losses automatically offset this year’s capital gains.
- Carry back up to 3 years. File Form T1A to apply the loss against gains you reported in the past three years — and get a refund of tax already paid.
- Carry forward indefinitely. Any remaining loss banks against future gains for as long as you need. It never expires.
Timing and the December deadline
The sale must settle within the calendar year. With T+1 settlement, that means selling by the last business day or two of December.For a loss to count in a given tax year, the trade must settle in that year — not just be placed. Canada moved to T+1 settlement in 2024, so a trade settles one business day after you place it. In practice that makes the deadline the last business day or two of December. Leave a buffer: most advisors finish tax-loss selling by mid-December to avoid cutting it close over the holidays.
What to do — and what to avoid
A short checklist of the moves that work and the traps that quietly cost investors their loss.Tax-loss harvesting rewards a little discipline. Keep these moves in mind — and sidestep the traps that turn a smart sale into a denied loss:
Do this
- Harvest losses only in non-registered (taxable) accounts — that is the only place a loss has tax value.
- Stay invested by buying a different-index fund, or simply wait 31 days before rebuying the same security.
- Carry unused losses back up to 3 years (Form T1A) to recover tax already paid on past gains.
- Track your adjusted cost base (ACB) carefully, including across all your accounts.
- Complete year-end sales by late December so the trade settles inside the tax year.
Avoid this
- Don’t rebuy the identical security — in any of your or your spouse’s accounts — within the 30-day window.
- Don’t rebuy the loss security inside your RRSP or TFSA: the loss is denied for good, with no ACB bump.
- Don’t try to harvest losses inside registered accounts — gains and losses there are never taxed.
- Don’t expect losses to offset employment or pension income — they only offset capital gains.
- Don’t let the tax tail wag the dog — harvest only when it fits your overall plan.
A worked example: Raj offsets a big gain
A hypothetical investor shows how harvesting a loss cuts the tax on a realized gain while staying fully invested. Figures are illustrative.Numbers make it click. Earlier this year Raj sold a stock for a $40,000 capital gain. He also holds a US-equity ETF that is currently down $12,000 from what he paid. He still believes in US stocks, so he does not want to be out of the market.
The move: Raj sells the ETF to harvest the $12,000 loss, and on the same day buys a different total-US-market ETF tracking a different index. He keeps his US exposure, and because the new fund is not "identical property," the superficial loss rule does not apply.
The result: the $12,000 loss offsets his $40,000 gain, dropping his net capital gain to $28,000. At the 50% inclusion rate, his taxable gain falls from $20,000 to $14,000 — a $6,000 reduction. At roughly a 45% marginal rate, that is about $2,700 less tax this year.
Raj stayed fully invested, sidestepped the 30-day trap, and turned a paper loss into a real tax saving. If his gain had been smaller than his loss, the leftover loss would carry back three years or forward indefinitely — never wasted.
Frequently asked questions
Quick answers on the superficial loss rule, rebuying, the registered-account trap, carry rules, and the year-end deadline.What is tax-loss harvesting?
Tax-loss harvesting means deliberately selling an investment that has dropped below what you paid to realize a capital loss. That loss can then offset capital gains you realized elsewhere, lowering your tax bill. Because Canada taxes only 50% of capital gains (the inclusion rate), and the same 50% applies to losses, a $10,000 loss cancels a $10,000 gain dollar-for-dollar. It only works in non-registered (taxable) accounts — gains and losses inside an RRSP or TFSA are never taxed, so there is nothing to harvest.
What is the superficial loss rule?
The superficial loss rule is the CRA tripwire that denies your loss if you — or an affiliated person (your spouse, your RRSP, your TFSA, a corporation you control) — buy back the same or identical property within 30 days before or 30 days after the sale and still hold it at the end of that window. That is a 61-day danger zone in total. The denied loss is not erased: it is added to the adjusted cost base of the repurchased shares, so you recover it when you eventually sell — unless you fall into the registered-account trap below.
Can I sell at a loss and buy it right back?
No — that is exactly what the superficial loss rule blocks. If you sell to harvest a loss and rebuy the identical security within 30 days, the loss is denied. You have two clean options: wait 31 days before buying it back, or immediately buy a different but similar fund that tracks a different index (for example, sell an S&P 500 ETF and buy a total-US-market ETF). Two ETFs tracking different indexes are generally not "identical property," so you stay invested without tripping the rule.
What happens if I rebuy the loss security in my TFSA or RRSP?
This is the costliest mistake. If you sell at a loss in your taxable account and rebuy the identical security inside your (or your spouse’s) RRSP or TFSA within 30 days, the loss is permanently denied — and you get no ACB bump, because adjusted cost base is meaningless in a registered account. Unlike a normal superficial loss, which is merely deferred, this one is simply gone forever. Keep your harvest sale and any repurchase well clear of your registered accounts.
Can I use capital losses to reduce my regular income?
Generally no. Allowable capital losses can only offset taxable capital gains — not employment income, pension income, or RRSP/RRIF withdrawals. The one notable exception is the year of death: on a final (terminal) return, unused net capital losses can be applied against all types of income, subject to conditions. For everyone else, if you have no capital gains this year, the loss is carried back or forward to a year when you do.
How long can I carry forward capital losses?
Net capital losses can be carried back 3 years and forward indefinitely. Carrying a loss back (using Form T1A) can recover tax you already paid on gains in the past three years. Carrying it forward banks it against future gains for as long as you need — the CRA tracks your unused balance, and you claim it on Schedule 3 of a future return. A loss realized today never expires.
When is the deadline to harvest losses for the tax year?
The sale must settle within the calendar year to count for that tax year. Canada now uses T+1 settlement (trades settle one business day later), so the practical deadline is the last business day or two of December. Most advisors recommend completing tax-loss sales by mid-December to leave a safety buffer and avoid the year-end rush.
Does tax-loss harvesting work inside an RRSP or TFSA?
No. Investments inside an RRSP, RRIF, or TFSA grow tax-sheltered, so a loss there carries no tax benefit — there is no gain to offset and nothing to deduct. Tax-loss harvesting is purely a non-registered-account strategy. This is also why the registered-account repurchase trap is so punishing: you move a loss from a place where it had value into a place where it has none.
This guide is for educational purposes only and is not financial, tax, or investment advice. The worked example is hypothetical and figures are illustrative. Tax rules — including the capital gains inclusion rate, settlement cycle, and superficial loss provisions — can change, and whether two securities are "identical property" can involve professional judgment. Confirm current rules with the CRA or a qualified tax advisor before acting. See our asset location guide and capital gains tax calculator for related reading.