What is Tax Loss Harvesting?

Tax-loss harvesting (or tax-loss selling) is a tax strategy by which you intentionally sell an investment for a loss in order to offset capital gains taxes elsewhere. It might sound complicated, but it’s actually fairly easy to do, and it could help you lower your tax bill over the long run. 

How does tax-loss harvesting work, and how can you use it to your benefit? Let’s break it down. 

What is tax loss harvesting? 

When you sell an investment, whether it’s a stock or an ETF, below the original purchase price, you trigger a capital loss. In Canada, you can apply capital losses against capital gains, helping you lower or nullify completely taxes owed on investment earnings. If you do this strategically, meaning you deliberately sell a losing investment for the capital loss, it’s called tax loss harvesting. 

The good thing about capital losses – once you incur a loss, you can carry it forward indefinitely, or apply it against capital gains from the previous three tax years. For example, if you had a capital loss of $5,000 this year, along with a $4,000 capital gain two years before, you could apply the $5,000 against the $4,000 gain on your tax filing. After you cover the $4,000, you’d still have $1,000 left for any capital gains you incur in the future. 

Tax loss harvesting example 

Let’s say Peter buys 100 shares of a utility stock, call it stock ABC, at $10 per share, or $1,000 invested. After a few months, stock ABC falls to $6 per share, resulting in a $400 loss. Peter decides the ABC utilities company is headed for bad times, so he sells his ABC shares and takes on the $400 loss. 

Despite his fallout with the ABC utilities company, Peter believes the utilities sector as a whole will do well before the year is over. So he takes his $600 and buys shares of a utilities-focused ETF. As he predicts, the ETF does well, and he ends the year with a $400 gain. 

Now, normally, Peter would have to pay capital gains taxes on that $400. But because he had a capital loss, he can use that loss against the gain. In this case, because his $400 loss is the same as his $400 gain, he won’t owe any capital gains at tax time, at least not for this investment. 

What’s the superficial loss rule? 

Tax loss harvesting can be a great strategy to lower your tax bill. But it comes with one big restriction: you have to wait 30 days to repurchase an investment you sold for a loss, if you want to claim the capital loss on your taxes. 

So, again, let’s say you sell stock ABC for a capital loss of $400. The moment after you sell your stock, you realize that company ABC is not as bad as you thought. In fact, it’s headed for good times. You buy back your stock, and you end up earning $400 on your ABC stocks. 

Now, if you sold those stocks for that $400 gain, you can’t then use your previous $400 loss to offset the gain. That wouldn’t be right. In this case, you would pay taxes on the $400 gain, and the previous capital loss would basically be null. 

Additionally, the CRA won’t credit you the tax loss if someone “affiliated” with you buys shares in ABC. So, for instance, if you sell your ABC stock, but advise your spouse to buy shares on your behalf, the CRA won’t let you use your $400 loss against any gains. 

How can you work around the superficial loss rule? 

The superficial loss rule says you can’t buy the same security within 30 days after selling it for a loss. But that doesn’t mean you can’t buy any security. 

Savvy Canadians often sidestep the superficial loss rule by buying shares in an ETF or buying a different stock that’s closely related to the stock that you sold. For instance, if you had a losing tech stock, you could still buy shares in a tech-focused ETF or in a winning tech stock. This allows you to continue exposing your money to the market, while also getting rid of stocks that aren’t right for your portfolio. 

Can you use tax loss harvesting inside registered retirement accounts? 

No. Tax loss harvesting doesn’t work if you incur a capital loss inside an RRSP or TFSA. 

The reason is simple – these retirement accounts already have tax advantages built into them. When you sell investments above the purchase price inside a RRSP or TFSA, you won’t pay taxes on the gain. For that reason, the CRA doesn’t let you use capital losses inside retirement accounts to offset gains in other accounts, no matter how big the loss. 

What should you know about end-of-year deadlines? 

Keep in mind that you must settle your losses within a calendar year if you want to offset gains realized in that same year. For instance, if you incurred a capital gain of $400 in February, and you’re losing $400 in ABC stock in December of the same year, you’ll want to sell your shares of ABC before December ends, if you want to offset gains and losses for that year, that is. 

Now, of course, capital losses can be applied to gains incurred in the previous three years. So you could technically sell your ABC stock in January of the following year and still get a capital loss. You would just have to wait another year before you could apply that $400 loss against the $400 gain. 

Foolish bottom line on tax loss harvesting

Suffering losses on your stocks is never fun, but tax loss harvesting can help you turn a losing stock into a tax advantage. As long as you play by the rules—that is, you don’t buy back a losing stock within 30 days after selling it for a loss—you can apply your losses against your gains. 

And, if you don’t have any gains for a specific year, you can store your losses in your arsenal: capital losses can be carried forward indefinitely, meaning you could wait until you have significant gains, then use your capital losses to lower your tax bill. 

For those new to investing, you might want to consult a tax professional if you plan to use tax loss harvesting. Since your situation might be unique, a tax professional can help you understand if this strategy is the right move for you.

This article contains general educational content only and does not take into account your personal financial situation. Before investing, your individual circumstances should be considered, and you may need to seek independent financial advice.

To the best of our knowledge, all information in this article is accurate as of time of posting. In our educational articles, a "top stock" is always defined by the largest market cap at the time of last update. On this page, neither the author nor The Motley Fool have chosen a "top stock" by personal opinion.

As always, remember that when investing, the value of your investment may rise or fall, and your capital is at risk.