Resources

Selling the Loser Is the Easy Part

Last reviewed August 2026 for the 2026 tax year. Reviewed by Tyler, Authorized CRA EFILE Provider — more about Greywood Advisory.

Capital Losses

The Rule That Undoes It
If You Buy Back Too Soon

Tax-loss selling explains itself in a sentence. Sell something in a taxable account for less than you paid, and the capital loss can be set against capital gains. Most people have heard that much and stopped there.

What far fewer have heard is the rule that quietly cancels it. The superficial loss rule denies the loss when the same property comes back too quickly — and "too quickly" is a wider window, across more accounts, than almost anyone assumes.

This is not a reason to avoid selling at a loss. It is a reason to know the shape of the window before you place the trade rather than after, because every version of this mistake is unwinnable once it has happened.

The Mechanic

Thirty Days, Both Directions

The window runs thirty days before the sale and thirty days after it, with the day of the sale in between. If identical property is acquired anywhere inside that window, and it is still held when the window closes, the loss is denied. Our capital gains calculator works the denied amount out in proportion to what was bought back, and shows where it goes.

Two things about that catch people. The first is that it reaches backwards as well as forwards — a position you topped up three weeks before deciding to sell is already inside the window, and nothing you do afterwards changes that. The second is the still-held test at the end: buying back and selling again before the window closes is a different fact pattern from buying back and keeping it.

A denied loss is not always a destroyed one. In the ordinary case it is added to the cost base of the property you repurchased, so it comes back to you whenever you eventually sell that position for good. That is a deferral rather than a loss of the deduction — but it is not the deduction you were planning to claim this year, which is usually the entire reason for the exercise.

The Part Nobody Expects

It Is Not Just Your Account

The rule does not only look at the account you sold from. It looks at you and at anyone affiliated with you, and that list is wider than most people picture. A repurchase by your spouse or common-law partner counts. So does one inside your RRSP, inside your TFSA, or by a corporation you control.

Selling at a loss in a non-registered account and rebuying the same holding in your TFSA the following week is the textbook version, and it is common precisely because it feels like moving money between your own pockets.

The registered-account version is the one to be careful about, because it is the case where the loss does not come back. The denied loss normally attaches to the cost base of the repurchased property — but there is no taxable cost base inside an RRSP or TFSA for it to attach to. It is not deferred to a later year. It is gone.

Automatic activity is the usual culprit rather than a deliberate trade. A dividend reinvestment plan, a scheduled monthly contribution, or a rebalance inside a managed account can all acquire the identical property inside the window without anyone making a decision that felt like buying.

Digital Assets

Crypto: Same Rule,
Much Harder Question

The rules reach crypto unchanged. One unit of a token is identical property to another unit of the same token, so selling at a loss and rebuying inside the window hits the same wall it would with a stock. What changes is not the law. It is whether you can answer the question the law asks.

Identical property means the same token wherever it sits. The same coin on a Canadian exchange, on a foreign one, and in a hardware wallet is one holding, not three positions. So the window does not run per account — it runs across every venue you use, at once.

That is what makes "did I buy it back" genuinely hard. With one brokerage you read one statement. With crypto, an acquisition inside the window might be a recurring buy on an exchange you stopped thinking about, a staking reward paid in the same token, or a position unwinding back into it. Each is an acquisition of identical property, and any one of them lands in the window.

Two questions here do not have clean answers, and are worth raising rather than guessing at: whether a wrapped or staked derivative of a token is identical to the token itself, and how moving in and out through a stablecoin reads on review. Both belong in a conversation, not a spreadsheet formula.

One threshold matters more than any of it. If your trading is frequent and business-like enough to be business income rather than capital gains, none of this applies in the same form, because the losses are not capital losses at all. Where that line falls is part of our crypto and digital asset work.

Before You Sell

Four Quick Checks

Count backwards as well as forwards

The window opens thirty days before the sale, not on the day of it. A top-up you had already forgotten about can be sitting inside it before you decide to sell anything.

Check every account, not one

Yours, your spouse's, the RRSP, the TFSA, and any corporation you control. A sale that looks clean in isolation can be undone somewhere you were not watching.

Switch off automatic buying first

Reinvested dividends, scheduled contributions, and managed rebalancing all acquire the identical property without a decision. They still count.

Confirm this year's cut-off before you rely on it

The last date a trade lands in the current tax year depends on settlement, moves from year to year, and is not necessarily the same for a stock and a crypto disposition. Ask us for the current one rather than trusting a date from an older article.

Common Questions

Three Things People Ask

What is the superficial loss rule?

It denies a capital loss when identical property is acquired within thirty days before or after the sale and is still held when that window closes. In the ordinary case the denied loss is added to the cost base of the repurchased property, so it comes back when you eventually sell for good, but not in the year you were planning to claim it.

Can I sell at a loss and buy the same stock back in my TFSA?

Not without losing the loss. The rule looks at you and anyone affiliated with you, so a repurchase by your spouse, inside your RRSP or TFSA, or by a corporation you control all count. The registered-account version is the one to be careful about: there is no taxable cost base inside an RRSP or TFSA for the denied loss to attach to, so it is not deferred, it is gone.

Does the superficial loss rule apply to crypto?

Yes, unchanged. One unit of a token is identical property to another unit of the same token, wherever it sits, so the window runs across every exchange and wallet at once. A recurring buy, a staking reward paid in the same token or a position unwinding back into it can each be an acquisition inside the window.

Sources: CRA, T4037 Capital Gains · CRA, Capital losses

Keep Reading

Related guides and tools

01

Capital Gains Calculator

The gain or loss on a sale of shares or crypto: the pooled adjusted cost base, the superficial loss rule, the taxable half, and what it adds to your tax.

Open the calculator →
02

RRSP Savings Calculator

See how much tax your RRSP contribution saves. 2026 federal and provincial rates for every province and territory, calculated instantly in your browser.

Open the calculator →
03

Personal Tax Estimator

Estimate your personal income tax refund or balance owing. Federal and provincial rates as of 2026, calculated instantly in your browser. London, Ontario.

Open the calculator →

Thinking of Selling at a Loss?

We will tell you what the loss is actually worth and what would cancel it — before the trade, while it can still be changed.

Get in Touch