For informational purposes only. Not financial advice.
InvestingRetirementTaxesDebtPersonal FinanceCredit CardsBankingInsuranceAbout UsContact Us

Tax Loss Harvesting Explained Simply

Losing money on an investment stings. But there's one silver lining the tax code quietly offers: you may be able to use that loss to reduce what you owe in taxes. That's the basic idea behind tax loss harvesting — and while it sounds technical, the core concept is surprisingly straightforward.

What Is Tax Loss Harvesting?

Tax loss harvesting is the practice of intentionally selling an investment that has declined in value to lock in that loss for tax purposes. You can then use that realized loss to offset capital gains you've earned elsewhere — reducing your overall tax bill.

Here's the simple version:

  • You sell Investment A, which is down from what you paid for it. That creates a realized capital loss.
  • You use that loss to cancel out gains from selling Investment B, which went up.
  • If your losses exceed your gains, you may even be able to use the remaining loss to offset a portion of your ordinary income, up to annual limits set by the IRS.

The key word throughout is realized. A loss only counts for tax purposes once you actually sell. A paper loss — watching your portfolio drop without selling — doesn't trigger any tax benefit.

How the Offset Process Works 📊

When you harvest a loss, the IRS allows you to use it in a specific order:

  1. Short-term losses offset short-term gains first (investments held one year or less)
  2. Long-term losses offset long-term gains first (investments held more than one year)
  3. Excess losses from one category can then offset gains in the other
  4. If total losses exceed total gains, the remaining loss can offset ordinary income, subject to an annual cap
  5. Any losses you still can't use can be carried forward to future tax years — they don't disappear

This ordering matters because short-term and long-term gains are taxed at different rates. Short-term gains are taxed as ordinary income (generally at higher rates), while long-term gains typically qualify for lower preferential rates. Which type of loss you're harvesting, and which type of gain you're offsetting, affects how valuable the strategy actually is.

The Wash-Sale Rule: The Catch You Need to Know ⚠️

Tax loss harvesting has one major constraint: the wash-sale rule.

If you sell a security at a loss and then buy the same or a "substantially identical" security within 30 days before or after the sale, the IRS disallows the loss for tax purposes. The window is 61 days total — 30 days before the sale, the day of the sale, and 30 days after.

The rule exists to prevent people from manufacturing losses on paper while never actually changing their investment position.

What this means in practice: If you sell a stock to harvest the loss, you can't immediately buy it back. You either wait out the 30-day window, or you reinvest in something similar but not substantially identical — for example, selling one broad market index fund and buying a comparable (but different) index fund that tracks a similar benchmark.

This is where the strategy requires some care. What counts as "substantially identical" isn't always obvious, and the IRS has not provided a comprehensive list. Funds from different providers tracking the same index, for example, occupy a gray area that tax professionals assess differently.

Who Might Benefit — and Who Might Not

Tax loss harvesting isn't automatically valuable for everyone. Several factors determine whether it's worth doing, and how much it's worth.

FactorWhy It Matters
Tax bracketHigher earners generally benefit more, since the gains being offset are taxed at higher rates
Type of accountOnly taxable brokerage accounts qualify — IRAs and 401(k)s are tax-deferred, so harvesting losses there has no effect
Capital gains in the same yearIf you have no gains to offset, the benefit is limited to the income deduction cap
Investment timelineShort-term vs. long-term holding periods changes which rates apply
State taxesSome states don't follow federal rules on capital gains, which affects your actual savings
Transaction costsFrequent trading to harvest losses can create costs that erode the benefit

People who trade actively, rebalance regularly, or hold significant taxable investment accounts tend to encounter more harvesting opportunities. People with smaller portfolios, no realized gains, or investments held entirely in retirement accounts may find the strategy has little or no impact on their situation.

The "Deferral" Reality

One thing worth understanding clearly: tax loss harvesting is mostly a deferral strategy, not a permanent tax elimination.

Here's why: When you sell an investment at a loss and reinvest in something similar, your new investment has a lower cost basis — the price you paid for it. That lower basis means when you eventually sell the replacement investment for a gain, that gain will be larger than it would have been otherwise.

In other words, you're not making the tax liability disappear. You're moving it to the future. The real benefit is the time value of money — a tax bill paid years from now is worth less in today's dollars than a tax bill paid today. Whether that difference is significant depends on how long you hold the replacement investment, what tax rates look like when you eventually sell, and other factors specific to your situation.

There are scenarios where gains are never triggered — for example, if you hold appreciated investments until death, your heirs may receive a stepped-up cost basis, potentially eliminating the deferred gain entirely. But that's a longer-term estate planning consideration, not a guaranteed outcome of harvesting.

Automated Harvesting vs. Doing It Yourself

Some investment platforms — particularly robo-advisors — offer automated tax loss harvesting as a built-in feature. These systems monitor your portfolio continuously and execute harvests when eligible losses appear, without you initiating anything.

Manual harvesting, by contrast, requires you to monitor your own portfolio, identify opportunities, execute trades, track the wash-sale window, reinvest thoughtfully, and document everything carefully for tax reporting.

Neither approach is universally better. Automated harvesting can be efficient and consistent, but it's not customized to your full tax picture. Manual harvesting gives you more control but requires time, attention, and enough understanding to avoid costly mistakes — like triggering a wash sale accidentally.

What You'd Need to Evaluate for Your Own Situation

To know whether tax loss harvesting makes sense for you — and how to do it well — the relevant questions include:

  • Do you have taxable brokerage accounts with unrealized losses?
  • Do you have capital gains this year to offset, or would you primarily be targeting the income deduction?
  • What is your federal and state tax bracket for capital gains?
  • Are you close to retirement, where harvesting today might create gains problems later?
  • Do you have the time and knowledge to execute carefully — or access to a platform or advisor who does?

These are the variables that determine whether this strategy is a meaningful tool for a given investor or a minor footnote. A tax professional or financial advisor who can see your full picture is in the best position to help you assess those specifics.

Tax rules can change, and their application depends heavily on individual circumstances. This article explains how tax loss harvesting generally works — not how it applies to any specific person's situation.