What Is Tax-Loss Harvesting? A Canadian Guide with Worked Examples

17-minute read

Last updated November 2026

A losing investment carries a potential tax benefit. But only if you sell it. Selling converts the paper loss into a realized capital loss, and a realized capital loss can offset capital gains through a mechanism known as tax-loss harvesting.

Like most tax-related strategies, there are rules and limitations. Selling (or otherwise disposing of the asset) is only the first of four conditions. A $5,000 decline can be worth $1,000 in tax savings only if the loss is realized through a disposition, is not denied by the superficial loss rule, meets taxable capital gains to offset, and those gains are taxed at a 40% marginal rate. Even then, a lower tax bill today does not necessarily mean less tax over a lifetime, which is examined in the final section.

This article works through the nuances and arithmetic: how gains and losses net against each other, what a harvested loss is worth in dollars, how the three-year carryback and the indefinite carryforward work, how the superficial loss rule denies losses, and why a tax saving today is often a deferral rather than a permanent reduction. The final section separates three measures of value that can differ in size and even in sign: the immediate tax reduction, the lifetime change in nominal tax, and the long-term economic benefit.

The article is written for individual investors holding stocks, ETFs, and mutual funds in non-registered investment accounts. Gains and losses inside an RRSP, TFSA, FHSA, or other registered account never enter the calculation, because those accounts are not subject to capital gains tax. Holding companies and securities held as business inventory follow additional rules that are outside the scope of this article.

In This Article

What Is Tax-Loss Harvesting?

Short answer: Tax-loss harvesting means selling an investment at a loss in a non-registered account so the capital loss offsets capital gains and reduces tax. Unused net capital losses can be carried back three years or carried forward indefinitely. The superficial loss rule denies the loss if you or an affiliated person acquire the same or an identical investment within 30 days before or after the sale and still own it, or have a right to acquire it, 30 days after the sale.

The strategy has four steps.

  1. Find a position with an unrealized loss. In a non-registered account, look for an investment whose market value is below its adjusted cost base (ACB). The ACB of a holding is the total cost of all identical units held, including commissions. A return of capital reduces that total, and a reinvested distribution adds to it. The ACB per unit is the ACB divided by the number of units held, and the ACB of the units sold is the per-unit figure multiplied by the number of units sold. Identical units held in several non-registered accounts are pooled into a single ACB.
  2. Sell the position. The capital loss equals the sale proceeds, less selling costs, less the ACB of the units sold.
  3. Avoid triggering the superficial loss rule. If you wish to maintain market exposure, you may reinvest the proceeds from the sale of your investment. However, repurchasing an identical investment within the prescribed period can trigger the superficial loss rule, resulting in the denial of the capital loss you intended to claim.
  4. Report the sale and apply the loss. The sale is reported on Schedule 3 of the T1 return, where the loss is netted against realized capital gains from the same tax year. Any remaining net capital loss may be carried backwards three years or forwards indefinitely.

Year-end deadline for 2026. For ordinary exchange-traded securities, the settlement date generally determines the tax year of the sale. Most listed Canadian and US stocks and ETFs settle one business day after the trade (T+1), so the last trade date for a sale to count in 2026 is Wednesday, December 30, 2026. A trade placed on December 31 settles in the new year and belongs to 2027. Settlement conventions for other investments, including some mutual funds, can differ, so confirm timing with your dealer. Also note: the superficial loss window runs forward from the settlement date. It can run into January of the following year for investments settled in December.

How Do Capital Gains and Capital Losses Net Against Each Other?

When you sell an investment, you take the sale proceeds, subtract selling costs, and subtract the ACB. If the resultant number is positive (a profit!) you have a capital gain. A capital loss is the same calculation with a negative result. Only one-half of each amount enters the tax calculation. The taxable portion of a gain is called a taxable capital gain, and the deductible portion of a loss is called an allowable capital loss. This one-half fraction is the capital gains inclusion rate set by section 38 of the Income Tax Act. A federal proposal to raise it from 50% to two-thirds on gains above $250,000 was cancelled on March 21, 2025, so the rate remains at 50%. How capital gains are taxed more broadly is covered in Capital Gains Tax in Canada: How It Works and How to Calculate It.

Within a single tax year, allowable capital losses are subtracted from taxable capital gains. If the taxable capital gains are larger, the difference is added to income and taxed at the investor’s marginal rate. If the allowable capital losses are larger, the difference is a net capital loss. A net capital loss cannot reduce employment, interest, or dividend income, with narrow exceptions such as the year of death, but it can be applied to taxable capital gains in other years, as described below.

For securities bought in US dollars, the gain or loss is calculated in Canadian dollars using the exchange rate on the purchase date and on the sale date. A position can therefore show a loss in Canadian dollars while showing a gain in US dollars, or the reverse.

How Much Tax Can Tax-Loss Harvesting Save?

The examples in this article use the current 50% inclusion rate, and an assumed combined federal and provincial marginal tax rate of 40%, which makes the effective tax rate on a capital gain 20% (50% × 40% = 20%). Actual marginal rates vary by province and income level. The examples ignore commissions, the alternative minimum tax, and income-tested benefits.

Example 1: Offsetting a gain in the same year. An investor sells Stock A in 2026 for a gain of $12,000. Fund B, held in the same non-registered account, was bought for $15,000 and is now worth $10,000.

Without harvestingWith harvesting
Capital gain on Stock A$12,000$12,000
Capital loss on Fund B$0($5,000)
Net capital gain$12,000$7,000
Taxable capital gain (50%)$6,000$3,500
Tax at 40%$2,400$1,400
Immediate tax reduction—$1,000

The potential tax saving equals the loss multiplied by the inclusion rate and the marginal rate: $5,000 × 50% × 40% = $1,000. This formula gives the potential value of a harvested loss. It assumes that enough taxable capital gains are available to absorb the loss and that one marginal rate applies to all of them. Where the loss offsets gains that span several tax brackets, the actual benefit is the difference between total income tax calculated with the loss and without it. The Canada Income Tax Brackets tool shows how marginal rates change with income. The Canada Capital Gains Tax Calculator shows how your tax bill can change by adding capital gains to your income.

Capital loss harvestedPotential tax value at 30% marginal ratePotential tax value at 40% marginal ratePotential tax value at 50% marginal rate
$1,000$150$200$250
$5,000$750$1,000$1,250
$10,000$1,500$2,000$2,500

How Do the Three-Year Carryback and Indefinite Carryforward Work?

A net capital loss does not expire. It can be carried back to any of the three preceding tax years and applied against taxable capital gains reported in those years, or carried forward indefinitely and applied against taxable capital gains in any future year. A carryback is requested on Form T1A, Request for Loss Carryback, filed with the return for the year of the loss. CRA reassesses the earlier year, so no amended return is needed, and refunds the tax paid on the gains the loss absorbed. The loss should be reported on Schedule 3 for the year it arose even if it is not used right away. A carryforward needs no separate request: the loss is claimed on a later return, and the unused balance appears on the Notice of Assessment and in CRA My Account.

The amount applied to any earlier year cannot exceed the taxable capital gains reported in that year. The investor chooses which years receive the loss and how much each receives, and the refund is calculated at the rates that applied in the earlier year. A common approach is to use the earliest eligible year first, because it is the first to fall out of reach as the window rolls forward, although a year with a noticeably higher marginal rate may justify a different order.

A net capital loss from another year is deducted in computing taxable income, after net income has been calculated. A carryback or a carryforward therefore does not reduce the net income that CRA uses for income-tested credits and benefits, such as the Old Age Security recovery tax or the Canada Child Benefit. Offsetting gains with losses realized in the same year does reduce net income, because that netting happens when net income is calculated.

Example 2: Carrying a loss back. An investor realizes $20,000 of capital losses in 2026 and has no capital gains in 2026. In 2024, the investor reported net capital gains of $15,000 (a taxable capital gain of $7,500) and paid tax at a 40% marginal rate.

StepAmount
Capital losses realized in 2026$20,000
Net capital loss (50% inclusion)$10,000
Taxable capital gain reported in 2024$7,500
Net capital loss applied to 2024 using Form T1A$7,500
2024 tax refund at 40%$3,000
Net capital loss remaining$2,500

The total potential value matches the formula above: $20,000 × 50% × 40% = $4,000, of which $3,000 is recovered through the carryback. The remaining $2,500 is already adjusted for the 50% inclusion rate, so it can offset $2,500 of taxable capital gains in 2023, in 2025, or in a later year, which is worth $1,000 at a 40% marginal rate. A carried-forward loss has value only on the day a taxable capital gain arrives to absorb it, at the marginal rate that applies to that gain, so an investor with no foreseeable gains may hold the loss unused for many years.

What Is the Superficial Loss Rule?

Selling at a loss and immediately buying the same investment back would lock in a tax loss while leaving the portfolio unchanged. The superficial loss rule in the Income Tax Act exists to prevent this. A capital loss is denied when both of the following conditions are met:

  1. During the period beginning 30 days before and ending 30 days after the sale (measured from the settlement date), the investor or an affiliated person acquires the same or an identical property, called the substituted property.
  2. On the 30th day after the settlement date, the investor or an affiliated person still owns, or has the right to acquire, the substituted property.

Affiliated persons include the investor’s spouse or common-law partner, a corporation controlled by the investor or the spouse, and trusts in which the investor holds a majority interest as a beneficiary. The trusts that govern the investor’s own RRSP, RRIF, TFSA, and FHSA fall in that last category. Moving the purchase to another broker or account does not avoid the rule.

When the rule applies, the loss cannot be claimed in the year. It is added to the ACB of the substituted property in the hands of whoever acquired it, so it is deferred rather than erased. If a spouse holds the replacement, the addition belongs to the spouse’s ACB and not to the investor’s.

Example 3: A superficial loss. An investor sells an ETF for $8,000 that cost $10,000, a $2,000 loss. Ten days later the investor buys the same ETF for $8,100 and still holds it 30 days after the sale. The $2,000 loss is denied, and the ACB of the new position becomes $8,100 + $2,000 = $10,100. If the position is later sold for $11,000, the gain is $900 rather than $2,900.

The permanent version of the trap. Two different rules can eliminate a loss for good when a registered account is involved. First, if the investor sells at a loss and the RRSP, RRIF, TFSA, or FHSA of the investor or the investor’s spouse acquires the identical investment inside the window, the loss is a superficial loss, but the ACB addition lands inside a registered account where it has no tax value. Second, if the investor transfers a losing investment directly into one of those accounts, subparagraph 40(2)(g)(iv) of the Income Tax Act denies the loss under a separate provision. The legal mechanisms differ, but the result is the same: the loss never reduces tax. Which account holds which investment is a separate decision, covered in asset location in Canada.

What counts as identical. CRA describes identical properties as properties that are the same in all material respects, so that a prospective buyer would not have a preference for one over the other. Shares of the same class of the same company are identical. In a 2001 technical interpretation, CRA indicated that index-based mutual funds tracking the same index would generally be considered identical even when issued by different providers, subject to their particular characteristics. A different index is not an automatic guarantee that two investments are non-identical, because the analysis turns on the characteristics of each investment and the question is one of fact.

Common accidental triggers. Dividend reinvestment plans, pre-authorized contributions, and a spouse’s account buying the same ETF all count as acquisitions inside the 61-day window. Partial sales and partial repurchases are prorated. CRA’s administratively accepted calculation denies the proportion of the loss equal to the smallest of three numbers divided by the number of units sold: the units sold, the identical units acquired during the 61-day window, and the identical units still owned at the end of that window, including units held from earlier purchases. An investor who sells 100 units at a $1,000 loss, buys 100 identical units inside the window, and sells 75 of them before the window ends has 25 units left. The smallest of 100, 100, and 25 is 25, so 25 ÷ 100, or one-quarter, of the loss is denied: $250.

When Is Tax-Loss Harvesting Worthwhile?

The potential tax value of a harvested loss is the loss multiplied by the inclusion rate and by the marginal rate on the gains it offsets. Whether that value is worth capturing depends on five variables:

  • Gains to offset. A loss has value when it meets a taxable capital gain, whether in the current year, in one of the three prior years, or in the future. Without a gain to offset in any of those periods, the loss sits unused and waiting.
  • Size of the potential tax value. The table above shows the scale. A $1,000 loss that offsets gains taxed at a 40% marginal rate is worth $200.
  • Cost of the exit and replacement. Transaction costs, including commissions and bid-ask spreads, reduce the benefit. The performance of the replacement investment relative to the original during the 30-day period can also raise or lower it. A 2% difference on a $10,000 position is $200 in either direction, which exceeds the $160 potential tax value of an $800 loss that offsets gains taxed at 40%.
  • Marginal rate on the gains offset, and on later gains. The tax value of a capital loss depends on the marginal rate applicable to the gains it offsets. A $10,000 capital loss applied against gains taxed at a 30% marginal rate saves $1,500, compared with $2,500 at a 50% marginal rate (both cases assume a 50% inclusion rate). Although capital losses must first offset gains realized in the same year, unused net capital losses can be accumulated and deliberately retained for use in higher-income years. Waiting may increase their tax value, although it also delays receipt of the tax savings. The marginal rate on any subsequent gain arising from the replacement investment’s lower ACB also matters, as discussed in the next section.
  • Changes to the portfolio. The replacement may carry different fees, holdings, or risk, and those differences continue after the 30 days have passed.

Is Tax-Loss Harvesting a Permanent Tax Saving?

Harvesting a loss lowers the ACB of the replacement investment, so a later recovery produces a larger taxable gain than it would have without the sale. When that gain is taxed at the same marginal rate as the gain the loss offset, the tax saved today is repaid later and the saving is a deferral.

Example 4: Tax deferral through tax-loss harvesting. Recall the investor from Example 1 who realized a $12,000 capital gain on Stock A in 2026 and holds Fund B, originally purchased for $15,000, which is now worth $10,000.

Consider two scenarios:

  • No harvesting: The investor continues to hold Fund B, retaining its original ACB of $15,000.
  • Harvest and replace: The investor sells Fund B for $10,000, realizes a $5,000 capital loss and immediately invests the proceeds in a similar, non-identical fund. The replacement investment has an ACB of $10,000.

Assume that both investments recover to $15,000 ten years later, at which point the investor sells. The marginal tax rate remains 40%, and the capital gains inclusion rate remains 50% throughout.

How much tax does the investor pay under each scenario?

No harvestingHarvest and replace
2026 net capital gain$12,000$7,000
2026 tax payable on gains$2,400$1,400
ACB of investment held$15,000$10,000
Investment value at sale 10 years later$15,000$15,000
Capital gain at later sale$0$5,000
Taxable capital gain (50%)$0$2,500
Tax payable at later sale$0$1,000
Total tax on capital gains$2,400$2,400

Although the total tax paid on capital gains is identical, the investor who harvested the loss had an additional $1,000 available to invest for ten years. At an assumed annual return of 5%, that $1,000 grows to $1,628.89. After paying the additional $1,000 in capital gains tax at the end of the ten years, the investor is $628.89 ahead, before accounting for taxes on the investment growth and transaction costs.

This is the economic value of tax deferral. Even when harvesting produces no permanent reduction in nominal tax, retaining and investing money that would otherwise have been paid in tax can increase the investor’s wealth.

What if marginal tax rates change?

The preceding example assumes that the investor’s marginal tax rate remains unchanged. In practice, the rate applicable to the capital gain realized ten years later could be higher or lower.

To understand the effect of changing tax rates, it helps to distinguish three measures of value:

  1. Immediate tax reduction: The reduction in income tax when the capital loss is applied.
  2. Lifetime nominal tax reduction: The initial tax reduction minus the additional tax paid at the later sale, without accounting for the time value of money or taxes on the invested savings.
  3. Long-term economic benefit: The future value of the invested tax savings minus the additional tax paid at the later sale, before taxes on investment growth and transaction costs.

The following table uses the same assumptions as Example 4, including the initial $1,000 tax reduction, a ten-year deferral period and a 5% annual investment return. Only the marginal tax rate applicable to the later capital gain changes.

Marginal rate on the later gain30%40%50%
Immediate tax reduction$1,000$1,000$1,000
Future value of invested tax savings$1,628.89$1,628.89$1,628.89
Additional tax paid at the later sale$750$1,000$1,250
Lifetime nominal tax reduction$250$0−$250
Long-term economic benefit$878.89$628.89$378.89

At a 30% marginal rate on the later gain, the investor benefits from both investment growth on the deferred tax and a permanent reduction in nominal tax.

At a 50% marginal rate, the investor pays $250 more in nominal tax over the ten-year period yet still accumulates $378.89 more wealth under these assumptions. The growth earned on the initial tax savings exceeds the additional tax paid later.

A higher future marginal tax rate therefore does not necessarily make tax-loss harvesting financially disadvantageous. A shorter deferral period, lower investment returns, taxes on the invested savings and transaction costs can reduce or eliminate the economic benefit.

Other factors affecting deferred capital gains

Two other circumstances are worth considering:

  • A donation in kind. Capital gains on qualifying publicly listed securities donated directly in kind to a qualified donee are generally exempt from capital gains tax under ordinary income tax rules. If the replacement investment is eventually donated in this manner, its lower ACB may never result in additional tax. Alternative minimum tax effects are outside the scope of this article.
  • Death. Death does not automatically eliminate deferred capital gains. Capital property is generally deemed to be disposed of at fair market value immediately before death, potentially triggering tax on the final return. An eligible rollover to a surviving spouse or common-law partner may defer recognition of the gain further.

The financial benefit of tax-loss harvesting ultimately depends on the tax rates applicable when the loss is used and when subsequent gains are realized, the duration of the deferral, the investment returns earned on the tax savings, and the costs associated with harvesting.

No opinions. No hidden assumptions. Just arithmetic.

Sources

Tax rules reviewed November 30, 2026. The examples apply the general rules for ordinary securities held as capital property by Canadian-resident individuals.

Frequently Asked Questions

How long do I have to wait before buying back an investment I sold at a loss?

Wait until at least the 31st day after the sale settles. The loss is denied if you or an affiliated person, such as a spouse, a controlled corporation, or your RRSP, RRIF, TFSA, or FHSA, acquired the same or an identical investment in the 30 days before or after the sale and still owns it, or has the right to acquire it, 30 days after settlement.

Can I harvest tax losses in a TFSA, RRSP, or FHSA?

No. Losses inside registered accounts can't be claimed against capital gains. Buying back, inside a registered account, an investment sold at a loss in a non-registered account triggers the superficial loss rule, and the loss never reduces tax. Transferring a losing investment in kind into one of these accounts also denies the loss, under a separate rule.

What is the tax-loss selling deadline for 2026?

Wednesday, December 30, 2026, for most Canadian-listed and US-listed stocks and ETFs. The sale must settle by December 31, and settlement takes one business day. A repurchase in January 2027 can still trigger the superficial loss rule on a December sale. Settlement conventions for mutual funds and other products can differ, so confirm timing with the dealer.

Can capital losses reduce employment income or dividends?

No. Net capital losses can only be applied against taxable capital gains, with narrow exceptions such as the year of death and the year before.

Do I need to file a form to carry a capital loss back?

Yes. Form T1A, Request for Loss Carryback, is filed with the return for the loss year, and CRA reassesses the earlier year without an amended return. Report the loss on Schedule 3 even if it isn't used right away. Carrying a loss forward doesn't require a separate form, because the unused balance appears on the Notice of Assessment and is claimed on the later return.

Is a similar ETF from another provider a safe replacement?

Not always. CRA has indicated that index funds tracking the same index are generally treated as identical, subject to their particular characteristics, and a different index is not an automatic guarantee of non-identical property. The question is one of fact, so confirm with a tax professional before relying on it.

Disclaimer: All content on The Long Math — including articles, essays, calculators, tools, or any other material — is provided solely for educational and informational purposes and does not constitute financial, tax, legal, or investment advice. Any results or projections are based on simplified models, assumptions, and user-supplied inputs and may not reflect real-world outcomes. You are responsible for evaluating the accuracy and applicability of the information provided and for conducting your own due diligence. Before making financial decisions, consult a qualified professional.