Tax-Loss Harvesting: Turning Investment Losses Into Tax Savings

2 months atrás

By admin

Take a hypothetical investor, Jordan, a single filer with a taxable brokerage account. In March 2026 he sold shares of a fund he’d held for six years, for a $12,000 long-term capital gain. By November, a different holding, an international stock index fund he bought in 2024, is down $9,000 from what he paid.

Jordan sells the international fund and books the $9,000 loss. The same day, he puts the proceeds into a different international index fund that tracks a similar but not identical benchmark. His portfolio looks almost the same as before. His tax return doesn’t:

Without harvesting With harvesting
Long-term gains realized $12,000 $12,000
Losses realized $0 −$9,000
Net taxable gain $12,000 $3,000
Federal tax at a 15% long-term rate $1,800 $450

That’s $1,350 less federal tax for 2026, without changing his investment plan. This illustration ignores state taxes and the 3.8% net investment income tax, and it isn’t a prediction for any real investor.

Key takeaways

How losses are applied

The IRS nets gains and losses in a set order (IRS Topic 409):

  1. Short-term losses offset short-term gains (assets held one year or less), and long-term losses offset long-term gains.
  2. A net loss on one side then offsets a net gain on the other.
  3. If losses still exceed gains overall, up to $3,000 reduces ordinary income such as wages.
  4. Whatever is left carries forward, keeping its short-term or long-term character.

Short-term gains are taxed at ordinary income rates, so losses that offset them are worth the most. Long-term gains get lower rates. For 2026, the 0% rate applies to taxable income up to $49,450 for single filers and $98,900 for joint filers, and the 15% rate applies up to $545,500 single and $613,700 joint, with 20% above that (IRS Rev. Proc. 2025-32). Our capital gains tax basics guide explains how those brackets stack on top of your other income.

If your income puts your long-term gains in the 0% bracket anyway, harvesting losses against them saves nothing. In that case the opposite move, tax-gain harvesting, can make more sense: sell winners to reset your basis higher at a 0% rate.

The wash-sale rule, in plain terms

You can’t sell at a loss and buy the same thing right back. If you buy substantially identical securities within 30 days before or after the sale, a 61-day window in total, the loss is disallowed for now (see IRS Publication 550). The disallowed loss isn’t gone. It’s added to the cost basis of the replacement shares, and the old holding period carries over.

The traps that catch people:

What counts as “substantially identical” isn’t defined precisely. Selling one company’s stock and buying the same company’s stock is clearly a wash sale. Swapping between two index funds that track different indexes is common, and many investors treat it as acceptable. Swapping between two share classes of the same fund, or between funds tracking the exact same index, is riskier. When in doubt, choose a replacement with a different benchmark, or wait 31 days.

When it’s worth the effort

Harvesting does nothing in a 401(k), IRA, HSA, or 529, because gains and losses inside those accounts aren’t taxed. It only applies to taxable brokerage accounts.

Doing it without mistakes

  1. Find candidates. Look at your taxable account’s unrealized gains and losses by lot. Most brokers show this on the cost-basis or positions page.
  2. Choose the lots to sell. Set your account’s cost-basis method to “specific lot” or “highest cost” before selling, so you sell the shares with the biggest losses.
  3. Pick the replacement in advance. Same asset class, different index or fund family. Write down the pair so you don’t improvise later.
  4. Check 30 days back and 30 days forward across all your accounts and your spouse’s, including scheduled automatic purchases.
  5. Sell and buy on the same day so you aren’t out of the market.
  6. Keep a record of the sale date, loss amount, and replacement. Your Form 1099-B will report the sale, but it won’t catch wash sales caused by purchases in other accounts or at other brokers.
  7. Don’t chase small losses. Trading costs, bid-ask spreads, and tracking differences add up. Many investors set a threshold, such as a loss of a few thousand dollars or a meaningful percentage, before acting.

Many robo-advisors harvest losses automatically. That can work well, but they can’t see your other accounts, so the wash-sale check across your accounts is still your job.

Frequently asked questions

Is there a deadline?

For the 2026 tax year, the sale must happen by the last trading day of December 2026. Unlike IRA contributions, harvesting can’t be done after the year ends.

Do carried-over losses ever expire?

Not for individuals during their lifetime. They carry forward year after year until used. Unused losses generally can’t pass to heirs, though a surviving spouse may be able to use them in the year of death.

Can I harvest losses on a single stock and buy a fund holding it?

Generally yes. A diversified fund isn’t substantially identical to one stock it happens to hold. Keep the fund broad, not a single-company or very narrow product.

Does harvesting affect my state taxes?

Most states with an income tax start from federal figures, so the loss usually helps there too. A few states have their own capital loss rules, so check yours.

About the Author

Author

Trending Articles: