BlogInvestment management

Tax-Loss Harvesting: What It Is, What It Is Worth, and When It Backfires

Harvesting losses defers tax. It doesn't erase it. How the mechanics work, what the benefit is really worth, and situations where it does more harm than good.

Key takeaways

  • A harvested loss offsets gains first, then up to $3,000 of ordinary income a year, with the rest carried forward indefinitely.
  • The benefit is mostly deferral plus a possible rate arbitrage, not a permanent tax reduction, unless the position is held until death or given to charity.
  • The wash sale rule blocks the loss if you buy a substantially identical security within 30 days before or after, in any account, including a spouse's.
  • Harvesting is worth the most in high-bracket years with gains to offset and the least for retirees in the 0% capital gains range.

Tax-loss harvesting is one of the most marketed features in investment management, and one of the most misunderstood. The pitch is that a computer sells your losers, buys something similar, and generates "tax alpha." The mechanics are real. The value is smaller than the pitch, and it depends heavily on who you are. This is the honest version.

The mechanics

When an investment in a taxable account is worth less than you paid for it, selling it realizes a capital loss. That loss offsets capital gains realized in the same year, dollar for dollar, short-term against short-term first and long-term against long-term, then across. If losses exceed gains, up to $3,000 of the excess offsets ordinary income, and anything beyond that carries forward to future years with no expiration.

The proceeds get reinvested right away in something similar but not "substantially identical," so the portfolio stays invested. A fund tracking the S&P 500 might be swapped for a fund tracking the total U.S. market, or one large-cap value fund for another from a different manager. Thirty-one days later, you can buy the original back if you want to.

The result: you still own roughly the same portfolio, and you've banked a loss that reduces this year's tax bill or a future one.

What the benefit is actually worth

The part the marketing skips is that harvesting lowers your cost basis. Say you bought a fund at $100, harvest at $80, and buy a similar fund at $80. Your new basis is $80. When you eventually sell at $150, you owe tax on a $70 gain instead of $50. The tax that $20 loss saved you today comes back later, unless one of three things happens.

First, you hold the position until death, when the basis steps up to market value and the deferred gain disappears. Second, you donate the position to charity, which also wipes out the gain. Third, the loss offsets a gain that would've been taxed at a higher rate than the eventual gain will be, for instance short-term gains or ordinary income at 35% now versus long-term gains at 15% later.

So the value of harvesting is deferral (a tax-free loan from the government that you get to invest), plus rate arbitrage where it exists, plus the chance the gain never gets taxed at all. For a high-bracket investor with regular gains to offset and a long horizon, that adds up to something meaningful, on the order of a few tenths of a percent per year in most academic estimates, more in volatile markets and early in the life of a portfolio. For others it's close to nothing.

When it backfires

You're in the 0% capital gains bracket. Retirees with taxable income below $98,900 (joint) or $49,450 (single) in 2026 pay 0% on long-term gains. A loss harvested in those years cancels gains that would have been taxed at 0% anyway, and the lower basis may push a future sale into the 15% bracket. In those years we usually harvest gains instead, resetting the basis upward at no tax cost.

You trip the wash sale rule. Buy the same or a substantially identical security within 30 days before or after the sale and the loss is disallowed and added to the basis of the new shares. The rule applies across all of your accounts, including IRAs and your spouse's accounts, and a dividend reinvestment in an IRA can void a loss you harvested in a brokerage account. The wash sale rule has its own guide.

The replacement fund is a downgrade. Swapping into a higher-cost, less tax-efficient, or poorly tracking fund to capture a loss trades a small, one-time benefit for a permanent drag. The replacement has to be something you'd be happy to hold forever.

You harvest small losses. Every sale has a cost: bid-ask spreads, possible tracking differences, and the record-keeping. Harvesting a $400 loss isn't worth the trouble. We use thresholds, in both dollars and percentage, before a loss is worth realizing.

Harvesting and the rest of the plan

Harvesting is a tool inside tax planning, not a strategy on its own. It matters most in the years when it bumps into something else.

A large planned gain, like trimming a concentrated stock position, is the ideal time to have a bank of harvested losses waiting. A year with a Roth conversion isn't, because losses don't offset conversion income beyond the $3,000. A market decline is the natural moment to harvest and also to convert, since the same dollars of tax buy more shares in the Roth. And for anyone within two years of Medicare, a harvested loss that keeps modified AGI under an IRMAA threshold is worth far more than the tax on the loss itself.

Our approach

We harvest during the year, not just in December, because losses show up when markets fall, not when the calendar says so. We use paired replacement funds chosen in advance so the swap is immediate and the portfolio never drifts. We check every account, including retirement accounts and spousal accounts, for wash sale conflicts before a trade, and we turn off dividend reinvestment in taxable accounts to prevent accidental ones. And in years when the client sits in the 0% gains bracket, we usually harvest gains rather than losses.

None of that is automated for its own sake. It's one of the ways investment management and tax planning work better under one roof.

Frequently asked questions

Can I harvest losses in my IRA or 401(k)?

No. Gains and losses inside retirement accounts aren't taxable events, so there's nothing to harvest. Harvesting only applies to taxable accounts.

Does direct indexing make harvesting better?

It makes it more frequent, because owning hundreds of individual stocks means more positions with losses at any given time. Whether that's worth the added complexity and cost depends on the investor. Our guide to direct indexing covers the trade-off.

What happens to unused losses?

They carry forward indefinitely and get used against future gains, then $3,000 a year of ordinary income. A large carryforward is an asset worth tracking. It's also lost at death, which is one more reason not to harvest for its own sake late in life.

Is harvesting worth it if I never plan to sell?

If you plan to hold until death, the deferred gain will never be taxed, so the lower basis costs nothing and the harvested loss is a pure benefit against other gains or $3,000 of income a year. That's the best case for harvesting.

This article is general education, not individualized advice, and it is not tax, legal, or accounting advice. Figures reflect federal law for the year stated and can change. Valerio Wealth Management does not prepare or file tax returns. Speak with a qualified professional about your own situation before acting.

In this article

Want this applied to your own numbers? A 30-minute introductory call is the first step.

See if you’re a fit