Tax-Loss Harvesting: Turn a Capital Loss Into a Refund
A losing position in a non-registered account is a tax asset most Canadians let sit. Sell it and you crystallize a capital loss that offsets capital gains this year, gets carried back three years for a refund on tax already paid, or banks forward indefinitely. The catch is one rule — the superficial-loss rule — that quietly denies the loss if you rebuy the same security too soon. Done right, you keep the loss and stay invested by swapping into a near-identical fund the same day. Here is how the harvest works, the swap that keeps you in the market, and the 61-day trap that voids the whole thing.
- The answer: in a non-registered account, sell a holding that is down to realize a capital loss. Only 50% of the loss is deductible, mirroring the 50% inclusion on gains, so a $30,000 loss offsets a $30,000 gain dollar-for-dollar. Apply it to this year's gains, carry it back three years on Form T1A, or carry it forward forever.
- The trap: the superficial-loss rule (ITA s.54) denies the loss if you, your spouse, or your own RRSP or TFSA buy the same or identical property within 30 days before or after the sale — a 61-day window. The denied loss is not gone; it is bolted onto the replacement's cost base.
- The recommendation: sell the loser and buy a different provider's fund tracking the same index the same afternoon — CRA accepts that is not identical property — so you keep the loss and never leave the market. Never harvest inside a TFSA or RRSP; the loss has no tax value there.
Where the AI summary above gets this wrong
"Tax-loss harvesting means selling investments at a loss to offset your gains and lower your taxes — just sell the losers, claim the loss, and reinvest. Many investors do it across all their accounts at year-end."
That's surface-true. Here's what it misses:
- "Reinvest" can void the loss — if you rebuy the identical security within 30 days, the superficial-loss rule denies the loss entirely. The generic answer never names the 61-day window or the spouse-and-RRSP reach, so investors trip it without knowing.
- "Across all their accounts" is wrong — a loss inside a TFSA, RRSP, RRIF, or RESP has zero tax value and cannot be moved to your taxable account. Harvesting there destroys the position for nothing.
- It skips the refund — the strongest move is carrying the loss back three years against gains you already paid tax on, recovering cash now. The AI summary treats harvesting as a current-year offset only and leaves the refund on the table.
My father-in-law Gerry Tessier called me in a down market, sitting on a paper loss in his non-registered account and unsure whether it was worth doing anything about. Gerry is 74, in Vancouver, and the same investor from my piece on foreign withholding tax — he holds an S&P 500 index fund across his RRSP, TFSA, and a taxable account. The taxable slice was down about $30,000 on paper, and earlier in the same three-year stretch he had realized a sizeable gain trimming a concentrated stock. That combination is the textbook setup for a harvest: a real unrealized loss in a taxable account, and recent gains it can be applied against. The numbers below are his, rounded.
01 Why a loss is a tax asset, and the 50% symmetry
A capital loss is worth real money because it cancels the tax on a capital gain, dollar-for-dollar, on the same terms. When you sell a non-registered investment for less than its adjusted cost base, you realize a capital loss, and Canada includes only 50% of it the same way it includes only 50% of a gain. So $30,000 of loss removes $15,000 of taxable income, exactly offsetting the $15,000 of taxable income a $30,000 gain would have added. The harvest does not invent a deduction — it converts a paper loss you are already carrying into a tax asset you can spend.
What that asset is worth depends on the rate it offsets. Gerry is in the top British Columbia bracket near 53.5%, so each $10,000 of harvested loss that lands against a top-rate gain saves him about $2,675 — half of $10,000 included, taxed at 53.5%. Realizing his full $30,000 loss against an equal gain saves roughly $8,025. A loss in a lower bracket is worth less, and a loss with no gain to offset is worth nothing this year, which is the part the next chapter handles. The capital-gains inclusion rate stays at 50% for 2026 — the proposal to lift it to two-thirds was cancelled — so the symmetry below still holds dollar-for-dollar.
Source: Canada Revenue Agency — capital gains (T4037), inclusion rate and capital losses
02 Three ways to use a loss: offset, carry back, carry forward
A realized capital loss can travel three directions in time, and the most valuable one is often backward. First, it offsets capital gains realized in the same calendar year — the simplest use, and the only one many investors know. Second, a net capital loss left over after the current year can be carried back against taxable capital gains in any of the three preceding years, which produces a refund of tax you already paid. Third, anything still unused carries forward indefinitely, waiting for a future gain. You are never forced to use a loss the year you realize it.
The carryback is where Gerry's harvest pays off fastest. He had a $50,000 gain two years ago that he paid roughly $13,375 of tax on at the top rate. Carrying his fresh $30,000 loss back against that year drops the taxable gain to $20,000, and the CRA refunds the difference — about $8,025 back in his hands for action on a loss he was already sitting on. You request it by filing Form T1A, "Request for Loss Carryback," with the return for the loss year, and you choose which of the three prior years to apply it to. Apply it to the year taxed at the highest rate first; the refund is largest there.
| Direction | Against what | How to claim | Best when |
|---|---|---|---|
| Current-year offset | Gains realized this calendar year | Reported on Schedule 3 automatically | You have gains this year |
| Carry back (3 years) | Taxable gains in any of the prior three years | Form T1A with this year's return | You paid tax on recent gains — refund |
| Carry forward (indefinite) | Any future capital gain, no time limit | Tracked by CRA; claim against a future gain | No current or recent gains to offset |
Source: Canada Revenue Agency — Form T1A, Request for Loss Carryback
03 The superficial-loss rule and the ETF swap that beats it
The superficial-loss rule is the one mechanic that turns a clean harvest into a denied loss, and it is the reason you cannot just sell and rebuy. Section 54 of the Income Tax Act denies your capital loss if you — or your spouse, or a corporation you control, or your own RRSP or TFSA — acquire the same or identical property within the period starting 30 days before the sale and ending 30 days after it. That is a 61-day window around the trade. The reach into your spouse's accounts and your own registered accounts is the part that catches families: one spouse selling TD at a loss while the other buys TD a week later denies the loss.
The escape is identical-property law. The CRA's position is that an ETF tracking the same index from a different provider is not identical property, even when the two funds hold substantially the same stocks. So Gerry can sell his iShares S&P 500 fund (XUS) at a loss and buy Vanguard's S&P 500 fund (VFV) the same afternoon — same market exposure, different security, loss preserved. He stays fully invested through the 30-day window and, if he wants the original ticker back, simply sells the swap and rebuys it on day 31. That is the whole trick: keep the exposure, change the security.
And a denied loss is not destroyed. If you do trip the rule, the disallowed loss is added to the adjusted cost base of the property you repurchased — so it lowers your future gain when you eventually sell. The worked example below shows the cash value of harvesting a loss at your own marginal rate, with the carryback refund spelled out. It opens on Gerry's numbers.
Shows: the tax saved by crystallizing a capital loss — 50% inclusion times your marginal rate — and the refund if you carry it back against an equal prior-year gain. Ignores: transaction costs, bid-ask spreads, tracking error between the sold fund and its swap, ETF distributions that can themselves trip the rule, provincial bracket nuances, and any gains too small to absorb the full loss.
| Line | Amount |
|---|---|
| Capital loss realized | $30,000 |
On the defaults above, the worked example returns $8,025. Harvesting a $30,000 loss against an equal gain at 53.5% saves about $8,025 — claimable this year, or carried back up to three years on Form T1A for a refund.
04 Year-end timing: T+2 settlement and the December deadline
To count a loss for a given tax year, the trade has to settle by December 31, not merely execute. Canadian securities settle on a T+2 cycle — trade date plus two business days — so a late-December sale that executes on the 28th but settles January 2 lands in the next year's return, not this one. For the 2026 tax year, that means trading no later than around December 27, and earlier when statutory holidays push settlement out. Leave a buffer; the brokerage queue at year-end is not the place to discover a settlement slip.
The deadline collides with the superficial-loss window in a way worth planning around. If you sell near year-end and intend to rebuy the identical security, the 31-day clock pushes the safe repurchase into January regardless — selling December 27 means the same ticker is off-limits until about January 27. The same-day swap into a different provider's fund sidesteps this entirely: you crystallize the loss before December 31 and stay invested, with no waiting period because the swap is not identical property. Reserve the wait-31-days approach for cases where no acceptable swap exists.
| Trade date (2026) | Settles | Counts for 2026? |
|---|---|---|
| December 24 | December 29 | Yes |
| December 27 | December 31 | Yes |
| December 28 | January 2, 2027 | No |
| December 30 | January 5, 2027 | No |
Source: Canada Revenue Agency — capital gains (T4037), disposition and settlement
05 Where it works, where it does not, and the costs that eat it
Tax-loss harvesting only does anything in a non-registered account, because only a non-registered account taxes gains. A loss realized inside a TFSA, RRSP, RRIF, or RESP has no tax value — these accounts pay no capital-gains tax, so there is nothing for the loss to offset, and the loss cannot be carried out to your taxable account. Selling a loser inside a TFSA to "harvest" it just burns the position and permanently shrinks the future growth of your contribution room. The whole strategy lives and dies in the taxable account.
Two costs decide whether a given harvest clears its own hurdle. Transaction costs — commissions, which are often zero now, plus the bid-ask spread on the sell and the swap buy — are trivial on a $30,000 loss and can swamp the tax saving on a $500 one. Tracking error is the second: the swap fund will not move identically to the one you sold, and over a 31-day hold that difference is usually noise, but over a long hold it matters whether the replacement is a fund you actually want to own. Harvest material losses where the tax saving clears the cost by a wide margin, and choose a swap you would be content to keep.
| Situation | Harvest? | Why |
|---|---|---|
| Material loss in a taxable account, gains to offset | Yes | Real tax saving, swap keeps you invested |
| Loss inside a TFSA, RRSP, or RESP | No | No capital-gains tax there; loss has no value |
| Small loss versus trading costs | Usually no | Costs can exceed the tax saved |
| No acceptable swap, sold near year-end | Caution | 31-day wait risks missing a market rebound |
Source: Canada Revenue Agency — identical properties and adjusted cost base
The move that actually mattered for Gerry was not the loss itself — it was the carryback. Crystallizing the $30,000 against this year's nothing would have banked a loss with no immediate payoff; carrying it to the year he paid top-rate tax on a $50,000 gain turned it into roughly $8,025 of cash refunded, now, for a few minutes of trading and one form. The swap into a different S&P 500 fund is what makes the whole thing painless: he never left the market, never bet on timing the bottom, and kept the loss. The one thing I would not do is overtrade for it. Harvest the losses that are large enough to clear costs and that line up with a gain worth offsetting; ignore the $400 ones. And keep it in the taxable account — a harvested TFSA loss is just a destroyed position.
FAQ
Can I sell at a loss and buy back the same ETF the next day?
Not the identical security. The superficial-loss rule (ITA s.54) denies the loss if you, your spouse, or your own RRSP or TFSA buy the same or identical property within 30 days before or 30 days after the sale — a 61-day window in total. You can buy a different fund the same day: the CRA accepts that an ETF tracking the same index from a different provider is not identical property, so selling iShares XUS and buying Vanguard VFV the same afternoon keeps you invested and keeps the loss. To rebuy the exact same ticker, wait 31 days.
Does a denied superficial loss disappear forever?
No — it is not lost, it is deferred. A denied superficial loss is added to the adjusted cost base of the property you repurchased, so it reduces your future capital gain (or enlarges your future loss) when you eventually sell that holding. You lose the immediate deduction and the freedom to choose when to use the loss, but the dollar value is preserved in the higher ACB until the position is sold.
Should I harvest losses inside my TFSA or RRSP?
Never. A TFSA, RRSP, RRIF, or RESP pays no capital-gains tax, so a loss inside one has no tax value and cannot be moved to your taxable account to offset gains there. Selling a loser inside a registered account just locks in the loss with nothing to show for it. Tax-loss harvesting only works in a non-registered (taxable) account, where the capital gain it offsets would otherwise be taxed.
Can I use this year's loss against a gain I paid tax on three years ago?
Yes. A net capital loss can be carried back against taxable capital gains from any of the three preceding years and forward indefinitely. File Form T1A with the return for the loss year, choose which prior year to apply it to, and the CRA reassesses that year and refunds the tax already paid. A $30,000 loss carried back to a year of equal gains taxed at a 53.5% top rate returns about $8,025.
Sources
Regulator references
- Canada Revenue Agency — capital gains (T4037) · 50% inclusion rate, capital losses, and the three-year carryback / indefinite carry-forwardThe CRA's capital gains guide, covering how gains are calculated, reported and offset.Last verified: 2026-06-25
- Canada Revenue Agency — what is a superficial loss · the 30-day-before / 30-day-after window and who it applies to (spouse, controlled corporation, registered accounts)The superficial loss rule that denies a loss on property reacquired within the window.Last verified: 2026-06-25
- Canada Revenue Agency — identical properties · what counts as identical property and how a denied superficial loss adds to the adjusted cost baseThe identical-properties rule and the adjusted cost base averaging it requires.Last verified: 2026-06-25
- Canada Revenue Agency — Form T1A, Request for Loss Carryback · how to carry a net capital loss back to the three preceding yearsForm T1A, used to carry a net capital or non-capital loss back to an earlier year.Last verified: 2026-06-25
Calculator unit tests · the assertions this page's worked example is checked against, and their last result
Changelog
- 2026-07-06 — worked-example default now shown without JavaScript; added in-article links to related guides
- 2026-06-25 — initial publish (new format)
Model this trade-off against your actual numbers
See how a harvested loss, the carryback refund, and your gains compound across your non-registered, TFSA, and RRSP accounts — month by month to age 95.
Join the Waitlist