Tax-Loss Harvesting in 2026: How It Works in Canada and the US, the 30-Day Rules, and the Year-End Deadlines
Tax-loss harvesting means selling an investment in a taxable (non-registered) account at a loss to offset capital gains. To keep the loss, don't buy the same or identical investment within 30 days before or after the sale. In Canada this is the superficial loss rule, and it also applies to purchases by your spouse, a corporation you control, and your TFSA or RRSP. In the US it's the wash sale rule, which covers "substantially identical" securities, including buys in your IRA or by your spouse. For 2026, Canadians must sell by December 30 so the trade settles in the year; Americans have until December 31.
Nobody likes seeing red in their portfolio. But a losing investment in a taxable account has one silver lining: you can use the loss to cut your tax bill.
That's tax-loss harvesting. Done right, you lower your taxes and stay invested. Done wrong, the tax authority simply denies the loss.
How tax-loss harvesting works
- Sell an investment that's worth less than you paid.
- Claim the capital loss on your tax return.
- Use it to offset capital gains you realized elsewhere.
- Stay invested by buying something similar, but not identical, so you don't miss a rebound.
Important: this only works in taxable, non-registered accounts. Losses inside a TFSA, RRSP, FHSA, IRA, Roth IRA or 401(k) can't be claimed.
A simple example
You sold a stock this year for a $10,000 capital gain. You also own an ETF that's down $6,000.
- Without harvesting: you're taxed on the full $10,000 gain.
- With harvesting: you sell the ETF, realize the $6,000 loss, and are taxed on a net $4,000 gain.
In Canada, half of a capital gain is taxable. At a 40% marginal tax rate, cutting a $10,000 gain to $4,000 saves about $1,200. In the US, at a 15% long-term capital gains rate, it saves about $900, more if the gains were short-term.
The 30-day trap: Canada's superficial loss rule
The CRA denies a loss if both of these are true:
- You, or a person affiliated with you, buy the same or identical property in the period from 30 calendar days before to 30 calendar days after the sale, and
- You or that person still own it 30 days after the sale.
"Affiliated" includes your spouse or common-law partner and a corporation you control. The CRA also treats purchases in your TFSA or RRSP as triggering the rule.
What happens to the loss? If you rebought the shares in a taxable account, the denied loss is usually added to the adjusted cost base of the new shares. You get the benefit later, when you sell. If you rebought them in your TFSA or RRSP, the loss is effectively gone for good.
The US version: the wash sale rule
The IRS disallows a loss if you buy a substantially identical security within 30 days before or after the sale, a 61-day window. It also applies to purchases:
- by your spouse
- in your IRA or Roth IRA
The disallowed loss is added to the cost basis of the replacement shares, so the benefit is delayed. Losses triggered by IRA purchases can be lost permanently.
Canada vs US at a glance
| Canada | United States | |
|---|---|---|
| Rule name | Superficial loss rule | Wash sale rule |
| Window | 30 days before to 30 days after | 30 days before to 30 days after |
| Test | "Same or identical" property | "Substantially identical" security |
| Covers spouse? | Yes | Yes |
| Covers retirement accounts? | Yes (TFSA, RRSP) | Yes (IRA) |
| Unused losses | Carry back 3 years, forward indefinitely | Up to $3,000/yr against income, rest carried forward |
| 2026 year-end deadline | Sell by Dec. 30 (settles Dec. 31) | Sell by Dec. 31 |
How to stay invested: swap, don't wait
The trick is to replace the fund you sold with one that's similar but not identical:
- Different index: sell an S&P 500 fund, buy a total US market fund. The holdings overlap heavily but aren't identical. This is the safer approach.
- Different provider, same index: for example, one issuer's S&P 500 ETF for another's. This is a grey area. Neither the CRA nor the IRS has clearly ruled on it, so many advisers avoid it.
- Asset allocation ETFs (Canada): swapping between all-in-one ETFs from different providers is common, since they track different underlying indexes. See our comparison of XEQT vs VEQT.
After 31 days, you can switch back if you prefer the original fund.
The 2026 deadlines
Canada: a sale counts in the year it settles. Stocks and ETFs settle one business day after the trade (T+1). To count in 2026, sell by Wednesday, December 30, 2026.
US: for losses, the trade date counts. You can sell as late as Thursday, December 31, 2026.
Don't leave it to the last day. Markets can be thin and volatile in late December.
Six mistakes to avoid
- Harvesting in a registered or retirement account. Losses there don't count.
- Automatic dividend reinvestment. A DRIP purchase within 30 days can trigger the rule on part of your position. Turn it off temporarily.
- Your spouse buying the same fund. Coordinate across household accounts.
- Buying it back in your TFSA or IRA. That can make the loss disappear permanently.
- Letting the tax tail wag the dog. Don't sell a good long-term holding only for a small tax saving.
- Forgetting currency (Canada). For US stocks, your gain or loss is calculated in Canadian dollars, using exchange rates on the purchase and sale dates. A US stock that's down in US dollars might not be down in Canadian dollars.
When harvesting makes the most sense
- You have realized gains this year to offset
- You're in a high tax bracket
- You hold losing positions in a taxable account you'd replace anyway
- In the US, you want to use the $3,000 annual deduction against ordinary income
Bottom line
Tax-loss harvesting is one of the few ways to turn a bad investment into a real benefit. Sell in a taxable account, wait out the 30-day window or swap into something different, and watch the calendar. For large amounts, a quick call with a tax professional is worth the cost.
Frequently asked questions
What is the superficial loss rule in Canada?
If you sell a property at a loss and you, or a person affiliated with you, buy the same or identical property within 30 calendar days before or after the sale, and still own it 30 days after, the loss is a superficial loss and can't be claimed now. It's usually added to the adjusted cost base of the repurchased shares, so the benefit is delayed, not lost, unless the repurchase happened in a TFSA or RRSP.
What is the wash sale rule?
In the US, if you sell a security at a loss and buy a substantially identical security within 30 days before or after, the loss is disallowed and added to the cost basis of the new shares. Purchases in your IRA or by your spouse can trigger it too.
What is the deadline for tax-loss selling in 2026?
In Canada, the trade must settle by December 31, 2026. With one-day (T+1) settlement, that means selling by Wednesday, December 30. In the US, the trade date counts for losses, so you can sell as late as December 31, 2026.
Can I switch from one ETF to a similar ETF to harvest a loss?
Many investors swap into a fund that holds similar stocks but tracks a different index or comes from a different provider. Whether two funds are 'identical' (Canada) or 'substantially identical' (US) isn't precisely defined. Funds tracking the same index from different providers are a grey area; tracking a different index is safer. When in doubt, ask a tax professional.
How long can I carry forward capital losses?
In Canada, net capital losses can be carried back three years or forward indefinitely against taxable capital gains. In the US, net capital losses can offset up to $3,000 of ordinary income per year ($1,500 if married filing separately), with the rest carried forward indefinitely.
Primary sources
Data & disclaimer: This article is for educational purposes only and is not financial or investment advice. Figures reflect data available as of Sep 26, 2026, and conditions change — always confirm current pricing, rates and rules with the provider before you act. Written by Elizabeta Dimoska. See our editorial standards and disclosure.
Comments