Tax ยท 9 min read

Superficial Loss Rule Canada: The 30-Day Trap That Kills Your Tax-Loss Harvest

Every year, thousands of Canadian investors sell a losing position, buy it back a week later, and then discover on their T1 that the CRA has quietly denied the loss. The culprit is the superficial loss rule, a 30-day window that catches almost anyone who does not know it exists. Here is exactly how it works and how to work around it legally.

Tax paperwork and a pen on a desk representing a Canadian investor reviewing the CRA superficial loss rule during tax-loss harvesting

What is the superficial loss rule?

The superficial loss rule is a CRA anti-avoidance provision written into Section 54 of the Income Tax Act. It exists for one reason: to stop investors from selling a losing position, claiming the capital loss on their tax return, and then immediately buying it back so they end up in the exact same portfolio position with a shiny new tax deduction.

The mechanics are simple. If you sell a security at a loss, and either you or an affiliated person buys the same or an identical security within a 61-day window that starts 30 days before the sale and ends 30 days after, and any of those purchased shares are still held on day 30 after the sale, the loss is denied. You cannot use it to offset capital gains this year or carry it back three years or forward indefinitely as you normally would.

The 61-day window catches people off guardIt is 30 days before the sale plus 30 days after. If you dollar-cost-average into XEQT every payday and then sell some XEQT at a loss in October to harvest, the biweekly purchases from September will trigger the rule even though they happened before the sale.

The three conditions the CRA tests

For a loss to be denied as superficial, all three of these must be true. Miss any one and you keep the loss.

CRA's superficial loss test

  1. Loss condition: You (or an affiliated person) disposed of capital property at a loss.
  2. Reacquisition window: You (or an affiliated person) acquired the same or an identical property during the period beginning 30 days before the disposition and ending 30 days after it.
  3. Still held on day 30: The replacement property is still owned by you or the affiliated person 30 days after the disposition.

The rule counts calendar days, not trading days. And it uses the trade date, not the settlement date, in the vast majority of practical situations. Weekend or holiday closes do not extend the window.

Who counts as an 'affiliated person'?

This is where most retail investors get burned. An affiliated person is broader than you think, and the CRA has zero sympathy for accidental triggers.

  • Your spouse or common-law partner. If you sell VFV in your non-registered account and your spouse buys VFV in theirs the next week, the loss is denied. This is the single most common accidental trigger.
  • A corporation controlled by you, your spouse, or both of you together. Owner-manager selling personal shares and having their opco buy the same security? Denied.
  • Your own registered accounts. Selling a stock in your taxable account and then buying it in your TFSA, RRSP, FHSA, or RESP within 30 days permanently denies the loss - and unlike a regular superficial loss, the denied amount is not added to any ACB because the replacement lives in a tax-sheltered account.
  • A trust in which you or your spouse have a majority beneficial interest.
The registered-account version is worseSelling at a loss in your non-registered account and buying the same security in your TFSA or RRSP within 30 days is the one scenario where you actually lose the loss forever. There is no ACB bump-up rescue, because the replacement is in a shelter.

What happens to the denied loss?

For a garden-variety superficial loss (you sold in your taxable account and rebought in the same or another taxable account), the denied loss is added to the adjusted cost base of the replacement property. You are not permanently punished - you just have to wait to realize the benefit. The loss returns to you as a smaller capital gain (or larger capital loss) whenever you eventually sell the replacement position, even years later.

For the registered-account version described above, or when the rebuyer is your spouse, the loss vanishes from your return but the ACB adjustment attaches to whoever acquired the replacement. If your spouse triggered it, your spouse gets a higher ACB on their shares - the tax benefit moves to their return, not yours.

Which ETF swaps are safe?

The CRA's guidance on 'identical property' for ETFs and mutual funds is narrower than most investors assume. Two ETFs from different issuers are usually not considered identical, even when they track the same underlying index, because they are legally different trusts with different unit structures. That opens the door to a legitimate tax-loss harvest by swapping issuers.

Losing positionSafe swap (30-day parking)Why it works
VFV (Vanguard S&P 500)XUS (iShares) or ZSP (BMO)Different issuers, different trust structures - not identical property
XEQT (all-equity)VEQT or ZEQTDifferent index providers (FTSE vs MSCI vs Solactive)
XIC (TSX Composite)VCN or ZCNDifferent issuers, slightly different index methodologies
ZAG (Canadian bonds)VAB or XBBDifferent issuers even where index is similar
VUN (US total market)XUU or ITOTDifferent issuers
The classic 30-day parkThe standard workflow is: sell VFV at a loss on day 0, buy XUS the same day to keep your S&P 500 exposure, and on day 31 swap XUS back to VFV. You lock in the loss, never spend a day out of the market, and end up in your original position. Just do not forget to actually swap back if you had a reason to prefer VFV in the first place.

Two important caveats. First, the CRA has never issued a black-letter ruling that these swaps are always safe - it is the widely accepted professional view based on the definition of identical property, but a very cautious investor might prefer to swap to a slightly different index entirely (say, VFV to VUN, which is broader). Second, a share-for-share exchange of the same issuer's product (e.g., VFV to a Vanguard successor fund) would clearly count as identical and would fail the test.

Common ways investors trigger the rule by accident

  • Automatic DRIP - dividends reinvest into the same security. A DRIP purchase inside the 30-day window will partially deny the loss on a pro-rata basis based on the number of reacquired units still held on day 30.
  • Biweekly auto-invest at Wealthsimple or auto-purchase orders at Questrade keep buying the same ticker on schedule. If you are planning to harvest a loss, pause these first.
  • Employer stock purchase plans (ESPP) and RSU vests keep landing shares. The purchase side of an ESPP or a vest inside the window will trip the rule.
  • Rebalancing bands that trigger a buy in the same security days after you sold. Manual rebalancers with alerting can help you avoid this - our alerts feature flags drift without auto-executing.
  • Spouse buying in a separate brokerage. The CRA looks at household activity, not per-account. Households that harvest losses should coordinate.

A worked example

Say you bought 200 units of VFV in April 2025 for $120 each ($24,000 ACB). By November 2026 the market is down and VFV is trading at $100. You want to harvest the $4,000 unrealized loss to offset gains you took earlier in the year on Nvidia.

The wrong way

  • Nov 15: sell 200 VFV at $100, book $4,000 loss.
  • Nov 22: change your mind, buy 200 VFV back at $102.
  • Result: $4,000 loss denied by CRA. Loss is added to ACB of the 200 rebought units - new ACB is $24,000. Effective tax benefit deferred by however many years until you eventually sell.
  • You paid trading commissions for no immediate benefit.

The right way

  • Nov 15: sell 200 VFV at $100, book $4,000 loss.
  • Same day: buy 200 XUS at approximately equivalent CAD price. Still holding S&P 500 exposure - never out of the market.
  • Dec 16 (day 31): sell 200 XUS, buy 200 VFV back. Tiny slippage risk but no wash.
  • Result: $4,000 capital loss usable this year against your Nvidia gains. Back in VFV with no permanent tax consequence.

The 30-day rule and crypto

The superficial loss rule applies to cryptocurrency in Canada. The CRA treats crypto as capital property (or inventory, for active traders), and Section 54 applies the same way. Selling Bitcoin at a loss and rebuying within 30 days denies the loss just as it does for VFV.

Crypto investors sometimes assume the rule does not apply because there is no specific CRA crypto guidance page repeating it. The definition of capital property is broad enough to include digital assets, and the CRA has confirmed this position in multiple technical interpretations.

How to run a clean tax-loss harvest at year end

Year-end TLH checklist

  1. Pause any auto-invest schedule on the ticker you plan to sell, in every brokerage the household uses.
  2. Turn off DRIP on the position for the 61-day window.
  3. Check whether your spouse holds the same or an identical security in any of their accounts.
  4. Trade the loss by December 27, 2026 (the last Canadian settlement day for a 2026 tax year - use trade date, but the CRA is unambiguous on year-end deadlines and confirming a same-day fill is safer).
  5. Buy the swap ETF the same day to stay invested.
  6. Set a calendar reminder for day 31 to swap back if desired.
  7. Record the transactions in your ACB tracker. The tax-loss harvesting guide covers the reporting side.
Track ACB across every account in one place.

Wealth Rebalancer imports your CSV from any Canadian brokerage and shows drift, gains, and cost basis so you never accidentally trigger a superficial loss.

Try it free

Frequently asked questions

Does the superficial loss rule apply inside a TFSA or RRSP?

It applies to the sale in a taxable account combined with a purchase in a TFSA, RRSP, FHSA, or RESP. In that case the loss is permanently denied and no ACB adjustment is available because the replacement lives in a shelter. Trades that happen entirely inside a TFSA or RRSP are irrelevant because losses inside registered accounts have no tax effect to deny.

How many days do I actually have to wait to buy back?

Wait at least 31 calendar days from the sale trade date before rebuying the same or identical security. On day 31 you are outside the window and safe. The rule is 30 days after, so the earliest safe purchase is the day after the 30-day period ends.

Are two S&P 500 ETFs from different issuers 'identical property'?

The widely accepted professional view is no - VFV, XUS, and ZSP are different trusts with different unit structures, so they are not identical property under the definition even though they track the same index. The CRA has not published a specific ruling on this scenario, but this is the position taken by every major Canadian tax advisor and firm. A more conservative alternative is to swap to a different but related index (e.g., VFV to VUN).

What if I sold on December 30 - do I have until January 29 to worry?

Yes. The 30-day window straddles the calendar year. A late-December sale for a 2026 loss can be denied by January purchases you make in 2027. Plan your January activity accordingly, especially DRIP and auto-invest schedules.

Does the rule apply to short selling?

Yes, but through a related provision. A separate anti-avoidance rule captures a similar 30-day window on short-sale closing transactions. For most retail investors this is not relevant, but active traders should be aware.

Can I buy the ETF in my corporation instead?

No, that is the classic trap. A corporation you or your spouse controls is an affiliated person under the Act. The purchase inside your corp during the window triggers the same denial.

How does the CRA even find out?

T5008 slips from your brokerage report every buy and sell. The CRA cross-references these across accounts, including spousal accounts once you file jointly-linked returns. Cases involving spouses often get flagged during audit rather than initial assessment, but the reassessment window is up to six years for these adjustments.

More from the blog

Start for free. Import your first portfolio in under 2 minutes.

No credit card. No spreadsheet. Works with any brokerage CSV.

Get started free