Advertisement

CentsWisdom

Tax-Loss Harvesting: How to Turn Investment Losses into a Tax Break

Tax-Loss Harvesting: How to Turn Investment Losses into a Tax Break

Markets go down. That's an unfortunate fact of investing. But there's a silver lining: when your investments lose value, the IRS lets you use those losses to offset gains elsewhere — reducing your tax bill. This is tax-loss harvesting, and it's one of the few legal strategies for turning bad market timing into a genuine financial advantage.

The Basic Mechanic

Here's how it works:

  1. You own an investment that has declined in value.
  2. You sell it, realizing the loss.
  3. That loss offsets capital gains you've realized elsewhere in your portfolio.
  4. If losses exceed gains, up to $3,000 can offset ordinary income each year. Excess losses carry forward to future years.
  5. You immediately buy a similar (but not identical) investment to maintain your market exposure.

The goal is never to permanently exit an investment — it's to lock in the tax loss while staying invested.

A Concrete Example

Say it's November. Your portfolio has:

  • Stock A: bought for $10,000, now worth $15,000 (+$5,000 gain)
  • Stock B: bought for $8,000, now worth $5,500 (-$2,500 loss)

You sell Stock B and realize a $2,500 loss. You buy a similar ETF immediately to stay invested. Now:

  • Your $5,000 gain from Stock A is reduced by $2,500 → you owe capital gains tax on only $2,500 instead of $5,000
  • If you're in the 15% long-term capital gains bracket, that saves you $375 in taxes this year
  • The new investment continues to track the same market; your portfolio position is essentially unchanged

You turned a paper loss into real tax savings without meaningfully changing your investment exposure.

The $3,000 Ordinary Income Deduction

If your capital losses exceed your capital gains in a given year, you can use up to $3,000 of excess losses to offset ordinary income (wages, salary). For someone in the 22% tax bracket, that's $660 in direct tax savings with no gains to offset.

Losses beyond $3,000 don't disappear — they carry forward to future tax years indefinitely. A bad year in the market can generate loss carryforwards that reduce your tax bill for years afterward.

The Wash Sale Rule: The One Catch

The IRS isn't naive. There's a rule designed to prevent you from selling a loss position and immediately buying it back: the wash sale rule. If you buy the "same or substantially identical" security within 30 days before or after selling at a loss, the loss is disallowed.

The 30-day window applies in both directions — 30 days before the sale and 30 days after.

How to navigate it: Buy a similar but not identical investment. If you sell a Vanguard S&P 500 ETF (VOO), you can immediately buy a Schwab S&P 500 ETF (SCHB) or a Total Market ETF (VTI). These track slightly different indexes, so they're not "substantially identical." You maintain essentially the same market exposure while staying wash-sale-compliant.

What you cannot do: sell VOO and buy VOO 15 days later, or sell VOO and buy SPY (another S&P 500 fund) — those are likely substantially identical.

Short-Term vs. Long-Term: Which Losses Are More Valuable?

Capital gains and losses are either short-term (held less than 1 year, taxed as ordinary income) or long-term (held 1+ year, taxed at preferential rates of 0%, 15%, or 20%).

The rules for harvesting:

  • Short-term losses first offset short-term gains (which are taxed at higher rates)
  • Long-term losses first offset long-term gains
  • Net losses from either category can then offset the other type

A short-term loss is generally more valuable, since it offsets income taxed at ordinary rates. A $5,000 short-term loss in the 22% bracket saves $1,100. The same loss against long-term gains saves $750 (at 15%). Timing matters.

When Tax-Loss Harvesting Makes Sense

  • You have a taxable brokerage account with unrealized losses
  • You have realized gains this year to offset
  • You're in a higher tax bracket (the benefit scales with your rate)
  • You can identify a suitable replacement investment to maintain exposure

When It Doesn't Make Much Sense

  • Inside a 401(k) or IRA — these accounts are already tax-advantaged, so harvesting doesn't apply
  • In a very low income year where you're already in the 0% capital gains bracket
  • When transaction costs or tracking complexity outweigh the tax benefit
  • If you'd need to buy a significantly different investment, affecting your strategy

Tax-Loss Harvesting and Index Funds

Index fund investors can still harvest losses — especially during market corrections. If your S&P 500 index fund drops 15%, you can sell it, harvest the loss, and immediately buy a total market fund. You stay invested, you avoid the wash sale, and you capture the tax benefit.

Automated platforms like Betterment and Wealthfront offer automated tax-loss harvesting, monitoring your portfolio daily and executing harvests when thresholds are hit. It's a legitimate reason some people prefer these robo-advisors for taxable accounts.

The Bottom Line

Tax-loss harvesting is not about losing money — it's about converting temporary paper losses into real, permanent tax savings. Every dollar of tax you defer is a dollar that keeps compounding. In a down market, harvesting is the closest thing to a consolation prize the IRS offers. Learn the wash sale rule, identify a suitable replacement investment, and act before year-end when your biggest opportunities exist.

AC

Written by

Andrew Carta

Andrew Carta is a financial analyst and personal finance writer with 14 years of experience helping families make smarter money decisions. He started CentsWisdom to share real strategies backed by actual portfolio data — not theoretical advice.

Learn more about Andrew →