Last updated: October 2026 · Reading time: about 10 minutes
What this guide covers
What tax-loss harvesting actually does
Tax-loss harvesting is a strategy that uses investment losses to create tax savings. The idea is to purposely sell investments that have gone down in value so that you realise the loss and can use it to offset capital gains elsewhere in your portfolio.
A worked example makes the mechanic clear. Suppose you bought shares for $10,000 and later sold them for $7,000. That $3,000 capital loss can be deducted against capital gains on better-performing holdings, reducing the tax you owe on those gains for the year.
Two things are important about what this is not:
- It is not free money. You have still lost $3,000 of actual value. The benefit is the tax deferral on gains you would otherwise have realised — not a recovery of the loss itself.
- It is not tax avoidance. The CRA explicitly permits realising capital losses to offset capital gains. What the CRA does not permit is realising a loss while maintaining the same economic position through a repurchase — which is where the superficial loss rule comes in.
In Canada, tax-loss harvesting is available in non-registered accounts only. It has no effect inside a TFSA, RRSP, RRIF, or RESP, because gains and losses inside those accounts are not taxable events.
The superficial loss rule: the 30-day trap
This is the single most important rule in Canadian tax-loss harvesting, and it is where manual harvesting most often goes wrong.
The superficial loss rule is a two-part test. A loss is denied if both of the following are true:
- You, or a person affiliated with you, bought the same or identical property within the period beginning 30 days before and ending 30 days after the sale;
- That identical property is still held at the end of that 60-day window.
If both conditions are met, the capital loss is denied entirely — it is not deductible in the current year, and instead is added to the adjusted cost base (ACB) of the substitute shares, deferring the benefit until those shares are eventually sold.
There are two further wrinkles worth knowing:
- Automatic DRIPs can trigger it. A dividend reinvestment plan that buys more of the same security inside the 30-day window counts as a purchase. Turn DRIPs off on any position you are harvesting.
- "Identical property" is broader than people assume. It is not only the exact same ticker. The CRA has stated that two classes of shares of a company may be treated as identical in some circumstances. A different ETF tracking the same index is usually acceptable; a different share class of the same company often is not.
How automation works in Canada in 2026
Automation does not change the rules — it changes the consistency and speed with which opportunities are identified and the accuracy with which the 30-day window is tracked.
On Wealthsimple's Automated Investing product, for example, non-registered accounts are scanned daily for harvestable tax losses, and the platform captures them where they exist. The fee is 0.25% per year, capped at $250. Critically, the platform never trades without the client's review and confirmation — you keep the final say on every trade.
The eligibility structure matters, because it determines whether automation actually runs on your account:
| Account type | Automated harvesting available? | Conditions |
|---|---|---|
| Managed investing (Premium / Generation clients) | Yes | Must be turned on manually in profile settings; available on web only |
| Automated Investing with Direct Indexing | Yes, automatically | Account must hold at least one direct index; runs daily |
| Automated Investing holding only stocks, ETFs or Collections | No | Harvesting does not apply without a direct index |
| Self-directed trading accounts | No | Not supported by the automated feature |
| TFSA / RRSP / RRIF / RESP | Not applicable | No taxable events inside registered accounts |
Based on Wealthsimple's published documentation as of October 2026. Other Canadian platforms and robo-advisors have different eligibility rules and should be evaluated on their own terms.
Direct indexing: why automation needs it
Direct indexing is the mechanism that makes automated harvesting possible at scale, and it is the concept most Canadian investors are least familiar with.
Instead of holding one broad-market ETF, a direct index holds the individual constituent stocks of an index in roughly the same weights. That matters because it creates far more individual tax lots — and therefore far more individual opportunities to harvest a loss on one stock while the index overall may be flat or up.
If you hold a single ETF, the only harvesting opportunity is when the entire ETF is below your purchase price. If you hold the 100 individual stocks inside that ETF, you may have 20 or 30 positions trading at a loss even in a year when the index is up — each of which is a harvestable loss.
This is why Wealthsimple's documentation is explicit: if your Automated Investing account holds only stocks, ETFs, or a Collection, tax-loss harvesting does not apply. It runs inside Direct Indexing, and if you remove the last direct index from the account, harvesting stops for that account.
The trade-off: direct indexing produces more transactions, which means a longer T5008 tax slip and more complexity at filing. Wealthsimple notes that all buy and sell transactions appear on a client's T5008 and are available for auto-fill from the CRA, which softens the admin burden but does not eliminate it.
Who this actually makes sense for
Tax-loss harvesting is not universally beneficial. It tends to be most useful when several conditions line up:
- Your annual income is above roughly $100,000. Below that, the marginal tax rate you are deferring is lower, and the benefit shrinks accordingly.
- You hold non-registered investments. The strategy has no effect inside registered accounts.
- You have realised capital gains elsewhere in the year — from another portfolio, a property sale, or a business disposition — that the harvested loss can offset.
- You are not planning a large withdrawal in the next 12 months. If you need the money soon, harvesting creates complexity for little benefit.
- You have a long investment horizon. The benefit comes from deferring tax and keeping the deferred amount invested. The longer the runway, the more the deferral compounds.[reference:16]
Who should not turn it on
Tax-loss harvesting can make you worse off. This is the part most promotional material skips. Harvesting defers tax to a future date. If you defer a gain to a year when you are taxed at a higher rate, you can end up paying more in tax than if you had never harvested at all.[reference:17]
Specifically, automation is likely to work against you if:
- You expect to move to a higher tax bracket later. Deferring a gain into a higher-rate year is a net loss.
- You are saving for a near-term goal. A home down payment in 12–18 months is the classic case where harvesting is the wrong tool — it adds complexity to a portfolio that needs to be stable and simple.
- Your spouse invests separately and may repurchase the same security. The superficial loss rule can silently deny the loss. If you cannot coordinate purchases across both accounts, automation may not protect you.
- You are in a low tax bracket now and expect higher income later. The deferral works against you.
- You cannot tolerate a longer tax slip and more filing complexity. Direct indexing generates many more transactions than a single ETF.
For broader context on how automated decision systems handle rules and edge cases, see our guide to how AI agent safety and monitoring works — the same constraints-and-guardrails design applies to tax automation that must respect CRA rules.
Frequently asked questions
What is automated tax-loss harvesting in Canada?
It is software that scans a non-registered investment account for positions trading below their adjusted cost base, sells them to realise the loss, and buys a similar but not identical asset to maintain market exposure — while tracking the CRA's 30-day superficial loss window automatically.
What is the superficial loss rule in Canada?
If you or an affiliated person (including your spouse) buys the same or identical property within 30 days before or after you sell it at a loss, and still holds it at the end of that window, the loss is denied and added to the adjusted cost base of the substitute shares instead.[reference:20]
Can I tax-loss harvest inside a TFSA or RRSP?
No. Tax-loss harvesting only applies to non-registered accounts. Gains and losses inside a TFSA, RRSP, RRIF, or RESP are not taxable events, so there is nothing to offset.
How much does automated tax-loss harvesting cost in Canada?
On Wealthsimple's Automated Investing product, the fee is 0.25% per year, capped at $250. Costs vary by platform, and the fee should be weighed against the actual tax benefit for your portfolio size.
Does my spouse's account affect my tax-loss harvesting?
Yes. The superficial loss rule applies to purchases by affiliated persons, including a spouse. If your spouse buys the same security within the 30-day window, your loss can be denied. This is one of the strongest arguments for platform-level automation over manual harvesting.
What is direct indexing and why does it matter for harvesting?
Direct indexing holds the individual stocks of an index rather than a single ETF, creating far more individual tax lots and therefore more opportunities to harvest losses even when the index overall is flat or rising. Automated harvesting on Wealthsimple runs only inside Direct Indexing.Will tax-loss harvesting increase my tax slip complexity?
Yes, particularly with direct indexing. Each buy and sell transaction appears on your T5008, so the slip will be longer than for a simple ETF portfolio. Wealthsimple notes that transactions are available for auto-fill from the CRA, which reduces but does not remove the filing burden.Can tax-loss harvesting make me worse off?
Yes. It defers tax rather than eliminating it. If you defer a gain into a year when you are taxed at a higher rate, or if you need the money in the near term, you can end up paying more in tax than if you had not harvested at all.
Related reading on Dedon Tech: Asana vs Monday vs ClickUp for US remote teams · best usage-based car insurance apps for UK drivers · full site map


0 Comments: