Finance Accounting Marketing Human Resources Sales Corporate Governance Technology Startup Procurement Law
Select Page

TL;DR: Tax-loss harvesting means selling investments at a loss to offset capital gains (and sometimes a limited amount of ordinary income), reducing your tax bill. Losses can often be carried forward to future years. The main pitfall is the wash-sale rule, which disallows the loss if you rebuy the same asset too soon. It works best when done deliberately without derailing your investment plan. Rules vary by country.

Investment losses feel like pure bad news — but the tax system offers a silver lining. Tax-loss harvesting is a strategy that turns realized losses into tangible tax savings by using them to offset gains. Done thoughtfully, it can meaningfully reduce your tax bill without changing your long-term investment position much at all. Done carelessly, it can run afoul of specific rules or undermine your strategy.

This guide explains how tax-loss harvesting works, the key rule to avoid, and when it makes sense. It’s general educational information, not tax or investment advice — the rules vary significantly by country, so verify with a qualified professional.

What tax-loss harvesting is

Tax-loss harvesting is the practice of intentionally selling an investment that has dropped below what you paid for it, in order to realize a capital loss. That realized loss can then be used to offset capital gains you’ve realized elsewhere, reducing the net gain on which you owe tax.

The logic connects directly to how capital gains tax works. You’re taxed on your net realized gains — your gains minus your losses. By deliberately realizing losses, you lower that net figure, and therefore your tax. In many systems, if your losses exceed your gains, you can offset a limited amount of ordinary income too, and carry remaining losses forward to future years to offset future gains.

Crucially, tax-loss harvesting doesn’t require you to abandon your investment strategy. The goal is usually to capture the tax benefit of the loss while maintaining similar market exposure — for instance, by reinvesting the proceeds in a comparable (but not identical, for reasons explained below) investment. Done this way, you harvest the tax loss without meaningfully changing your portfolio’s direction, which is what makes the strategy attractive.

How the tax benefit works

Understanding exactly how harvested losses reduce your tax clarifies why the strategy is valuable and how to use it. The mechanics follow a general order in most systems.

First, realized losses offset realized gains of the same type — long-term losses against long-term gains, short-term against short-term, in systems that distinguish them — and then often across types. This directly reduces your net taxable gain. Second, if losses exceed gains, many systems allow a limited amount to offset ordinary income, providing additional savings. Third, any losses still remaining can often be carried forward to future tax years, where they can offset future gains or income, so the benefit isn’t lost.

This structure means harvested losses have lasting value — even a year with large losses and few gains isn’t wasted, because the losses carry forward. The strategy is especially useful when you have significant gains to offset, or when market declines create loss opportunities you can bank for the future. The exact offset order, ordinary-income limits and carry-forward rules vary by country, so the specifics matter, but the general principle — losses reduce your taxable gains and can be saved for later — holds widely.

The wash-sale rule: the main trap

The single most important pitfall in tax-loss harvesting is the wash-sale rule (or its equivalent in various systems). Falling into it disallows the very loss you were trying to harvest, defeating the purpose.

In general terms, a wash-sale rule disallows a loss if you buy back the same (or a substantially identical) investment within a defined window around the sale. The idea is to prevent people from claiming a tax loss while effectively maintaining the exact same position — selling purely for the tax break and immediately repurchasing. If you trigger the rule, the loss is disallowed (often deferred by adjusting the cost basis of the repurchase), so you don’t get the intended tax benefit for that year.

The practical implication is that to harvest a loss cleanly, you must avoid repurchasing the same or a substantially identical asset within the restricted window. This is why harvesting is often done by reinvesting in a similar but not identical investment — maintaining comparable market exposure without buying back the exact same thing. The definitions of “substantially identical” and the time windows vary by jurisdiction and can be nuanced, so understanding your system’s specific rule is essential to harvest losses successfully rather than accidentally disallowing them.

Maintaining exposure without a wash sale

The elegant part of tax-loss harvesting is that you can usually stay invested while capturing the loss. By selling the losing investment and buying a similar but not substantially identical one, you keep comparable market exposure — so if the market rebounds, you participate — while still realizing the tax loss. For example, swapping one broad fund for a different broad fund tracking a comparable but distinct index can maintain your strategy without triggering the wash-sale rule. The key is ensuring the replacement isn’t “substantially identical” under your jurisdiction’s definition, which is where care and sometimes professional guidance matter.

When tax-loss harvesting makes sense

Tax-loss harvesting isn’t always worthwhile, and doing it mechanically can even backfire. Recognizing when it genuinely helps ensures you use it well.

It tends to make sense when you have realized gains to offset, when market declines have created losses in your taxable accounts that you can harvest, when you’re in a position where the tax savings are meaningful relative to costs, and when you can maintain your investment strategy by reinvesting appropriately. In these cases, you capture real tax value while keeping your portfolio essentially on track.

It tends not to be worth forcing when there are no gains to offset and limited ordinary-income benefit, when transaction costs or complexity outweigh the savings, when it would disrupt a sound investment strategy just for a tax break, or when the amounts are too small to matter. A common mistake is letting the tax tail wag the investment dog — selling good investments purely to harvest a loss, in ways that harm long-term returns. The right mindset is that harvesting is a way to extract tax value from losses you already have, within a strategy you’d hold anyway — not a reason to trade excessively. Used with that discipline, it’s a valuable tool.

How to approach tax-loss harvesting

If tax-loss harvesting fits your situation, a careful approach captures the benefit while avoiding the pitfalls. A few principles guide effective harvesting.

First, focus on taxable accounts, since gains and losses inside tax-advantaged accounts generally don’t have the same immediate tax consequences, making harvesting there unnecessary. Second, be mindful of the wash-sale rule — plan your reinvestment to avoid repurchasing the same or substantially identical asset within the restricted window. Third, consider the offset order and carry-forward rules so you understand how your harvested losses will be applied. Fourth, weigh the costs — transaction fees and complexity — against the tax savings.

Fifth, keep the strategy subordinate to your investment plan: harvest losses that arise naturally within a portfolio you’d hold anyway, rather than distorting your investments for tax reasons. Some investors review harvesting opportunities periodically or during market declines, and some automated services do it systematically. Because the rules — especially around wash sales and offsets — vary by country and can be intricate, and because mistakes disallow the benefit, professional or well-informed guidance is valuable, particularly for larger portfolios. Approached with care, tax-loss harvesting turns the inevitable losses of investing into a genuine, recurring tax advantage.

Key takeaways

  • Tax-loss harvesting sells investments at a loss to offset realized gains, reducing your net taxable gain and tax.
  • If losses exceed gains, many systems let you offset limited ordinary income and carry remaining losses forward.
  • The wash-sale rule disallows the loss if you rebuy the same or substantially identical asset too soon — the key trap.
  • You can usually stay invested by reinvesting in a similar but not identical asset, keeping exposure without a wash sale.
  • It’s worth doing when you have gains to offset and can maintain your strategy — not as a reason to trade excessively.
  • Focus on taxable accounts, mind the wash-sale window, weigh costs, and keep it subordinate to your investment plan.

Frequently asked questions

What is tax-loss harvesting?
Tax-loss harvesting is deliberately selling an investment that has dropped below what you paid, to realize a capital loss. That loss offsets capital gains you’ve realized elsewhere, reducing the net gain you’re taxed on. If losses exceed gains, many systems let you offset a limited amount of ordinary income and carry remaining losses forward to future years. Importantly, you can usually maintain your market exposure by reinvesting in a similar (but not identical) investment, so you capture the tax benefit without abandoning your strategy.
How does tax-loss harvesting save me money?
Realized losses reduce your net taxable gains — you’re taxed on gains minus losses, so harvesting losses lowers that figure and your tax. In most systems, losses first offset gains of the same type, then across types; if losses exceed gains, a limited amount can offset ordinary income; and any remainder carries forward to offset future gains or income. This means harvested losses have lasting value — even a loss-heavy year isn’t wasted, because the losses can be banked for the future.
What is the wash-sale rule?
A wash-sale rule (or its equivalent) disallows a tax loss if you buy back the same or a substantially identical investment within a defined window around the sale. It exists to stop people claiming a loss while effectively keeping the exact same position. If triggered, the loss is disallowed for that year (often deferred by adjusting the repurchase’s cost basis). To harvest cleanly, avoid repurchasing the same or substantially identical asset within the restricted window — the definitions and timing vary by jurisdiction.
Can I stay invested while harvesting losses?
Yes, and that’s what makes the strategy attractive. You can sell the losing investment and reinvest the proceeds in a similar but not substantially identical asset, maintaining comparable market exposure so you participate if the market rebounds, while still realizing the tax loss. For example, swapping one broad fund for a different one tracking a comparable but distinct index can work. The key is ensuring the replacement isn’t ‘substantially identical’ under your jurisdiction’s wash-sale definition.
When is tax-loss harvesting worth it?
It’s worth doing when you have realized gains to offset, when market declines have created harvestable losses in taxable accounts, when the tax savings are meaningful relative to costs, and when you can maintain your investment strategy by reinvesting appropriately. It’s not worth forcing when there are no gains to offset, when costs or complexity outweigh savings, when amounts are trivial, or when it would disrupt a sound strategy. Avoid letting the tax tail wag the investment dog by trading excessively just for losses.
Does tax-loss harvesting work in retirement accounts?
Generally, tax-loss harvesting is done in taxable accounts, not tax-advantaged ones. Inside tax-advantaged accounts, gains and losses typically don’t have the same immediate tax consequences, so there’s usually nothing to harvest — the account’s structure already defers or eliminates the relevant taxes. Harvesting is specifically useful for taxable investment accounts, where realized gains and losses directly affect your current tax bill. Focus your harvesting efforts there, where the losses actually reduce taxable gains. Attempting to ‘harvest’ inside a tax-advantaged account provides no benefit and simply isn’t how those accounts work.

This article is general educational information, not tax or investment advice. Tax-loss harvesting rules, wash-sale provisions, offset orders and carry-forward rules vary significantly by country and circumstances. Consult a qualified tax or investment professional licensed in your jurisdiction before implementing this strategy.

Last Updated: June 2026 · Reviewed by the Kurums Tax Optimization editorial team. This guide is general educational information, not tax, legal or financial advice. Tax rules vary by country and change over time. Consult a qualified tax professional licensed in your jurisdiction before acting.

Discover more from Kurums | Business Intelligence

Subscribe to get the latest posts sent to your email.

Discover more from Kurums | Business Intelligence

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from Kurums | Business Intelligence

Subscribe now to keep reading and get access to the full archive.

Continue reading