EN ES
← Back to Countries
🇺🇸 United States  ·  6 min read  ·  Published 2026-06-21  ·  Updated 2026-06-21
Last fact-checked: 2026-06-21

Tax-Loss Harvesting: Turning Paper Losses Into a Tax Benefit

A position that's down is annoying — but in a taxable account it's also a tool. Selling it realizes a capital loss that cuts your tax bill this year. The catch is that harvesting defers tax rather than erasing it, and one common mistake — rebuying too soon — can void the loss entirely.

60-SECOND ANSWER
Sell a loser in a taxable account to offset capital gains dollar-for-dollar, plus up to $3,000 of ordinary income a year — but it's a deferral, and the wash-sale rule can void it.

Where the AI summary above gets this wrong

"Sell your losing investments to lower your taxes — tax-loss harvesting reduces what you owe."

That's surface-true. Here's what it misses:

See chapter 3 to size your saving.

I'm Jordan, 51, and I harvest losses in my own taxable brokerage account most years there's a dip. It's real money, but it's the most oversold move in personal finance — so let me walk you through what it does, what it costs, and where people trip.

01 What harvesting actually does

Selling an investment for less than you paid in a taxable account realizes a capital loss. That loss offsets your capital gains dollar-for-dollar, and the netting follows a specific order: short-term losses go against short-term gains first, long-term against long-term, and only then do the categories cross over. If your losses exceed all your gains for the year, you can deduct up to $3,000 of ordinary income ($1,500 if married filing separately). Anything still left over carries forward indefinitely to future years.

So a single $10,000 harvested loss might wipe out an $8,000 gain you'd otherwise pay tax on, then knock $2,000 off your ordinary income — all without changing how much of the market you own, because you reinvest the proceeds the same day in a similar fund.

Source: IRS — Topic 409, Capital gains and losses

02 The wash-sale rule

This is where most harvests go wrong. The wash-sale rule disallows your loss if you buy the same — or a "substantially identical" — security within 30 days before or after the sale. The disallowed loss isn't gone forever; it's added to the cost basis of the new lot. But you lose the deduction this year, which defeats the point.

The fix is simple: reinvest in a similar-but-not-identical fund. Sell an S&P 500 fund at a loss and buy a total-market or large-cap fund tracking a different index, and you keep essentially the same exposure without triggering the rule. The trap to watch is that the rule spans all your accounts — if you rebuy the identical fund in your IRA or your spouse's account inside that 61-day window, the loss is still disallowed.

The 61-day window runs both directions. If you bought more of the same fund in the 30 days before you sell, that purchase can trigger a wash sale too — not just buying afterward. Check recent automatic reinvestments and dividend purchases before you harvest.

Source: IRS — Publication 550, Wash sales

03 Worked example: your tax saved

The rough saving from harvesting a loss is the loss times the tax rate it offsets. Put in how much loss you're harvesting and your marginal rate to see the order-of-magnitude benefit this year.

WORKED EXAMPLE · Try the numbers

Shows: the rough tax reduced by harvesting this loss — harvested loss × your marginal rate (note: only up to $3,000 of any net loss can offset ordinary income; beyond that it must offset capital gains or carry forward). Ignores: the wash-sale rule mechanics, the basis reduction (the deferral), state tax, carryforwards beyond this year, and your full portfolio.

Tax saved this year (rough)
$2,200
Harvesting $10,000 offsets roughly $2,200 of tax this year — but remember only $3,000 of a net loss can hit ordinary income; the rest must offset gains or carry forward.

On the defaults above, the worked example returns $2,200. Harvesting $10,000 offsets roughly $2,200 of tax this year — but remember only $3,000 of a net loss can hit ordinary income; the rest must offset gains or carry forward.

Source: IRS — Topic 409, Capital gains and losses

04 It's deferral, not free money

Here's the part the headlines skip. When you harvest and reinvest, your replacement lot has a lower cost basis than the position you sold. That means a larger taxable gain when you eventually sell the replacement — so the tax you "saved" largely comes back later. Tax-loss harvesting defers tax; it doesn't make it disappear.

The benefit that does survive is twofold. First, the time value of money: paying less tax now and more later is worth something because you keep more invested in between. Second, and bigger, is rate arbitrage: a harvested loss can offset ordinary income taxed up to 37%, while the gain you pay later is typically long-term capital gain taxed at 0%, 15%, or 20%. Converting a 37%-rate offset into a future 15–20% bill is a genuine, durable win — the deferral is just the bonus.

If you hold the replacement to death, the basis steps up for your heirs and the deferred gain can vanish entirely. That turns the deferral into permanent savings — one reason harvesting fits naturally into a long-term, hold-forever portfolio.

Source: IRS — Publication 550, Investment Income and Expenses

05 When it's worth it (and when it isn't)

Harvesting only applies to taxable accounts. Losses inside a 401(k), traditional IRA, or Roth IRA are never deductible because nothing inside them is taxed annually — so don't even think about it there. Within a taxable account, it's most valuable when you have real gains to offset, you're in a high ordinary bracket, and the market has handed you a dip to work with.

SituationWorth harvesting?
Big realized gains this year, in a high bracketYes — offsets gains and shifts rate
Market dip, long-term taxable holdingsYes — bank the loss, carry it forward
Loss only in your 401(k) or IRANo — not deductible
Tiny loss with trading costs or a wash-sale riskUsually not — don't distort the portfolio

My rule: harvest when it's convenient and meaningful, not as a quarterly obsession. Never sell a position you want to keep just to book a small loss, and never buy a worse fund just to dodge a wash sale. The investment decision comes first; the tax benefit is a rebate on a portfolio you'd hold anyway.

The full decision is in Withdrawal Sequencing.

Source: IRS — Topic 409, Capital gains and losses

Tax-loss harvesting is real money, but it's oversold — most of what you "save" you pay back later through a lower basis. The durable win for me is the rate arbitrage: I offset ordinary income at 37% now and expect to pay 15–20% long-term gains later, plus the deferral keeps more money compounding in between. So I harvest when a dip hands me a clean loss and I have gains to soak it up. What I won't do is trigger a wash sale by rebuying too fast, or distort my allocation chasing a deduction. Keep the portfolio you want; take the tax benefit when it falls in your lap.

— Jordan Reeves, founder

FAQ

What is tax-loss harvesting?

Selling an investment at a loss in a taxable account to realize a capital loss. The loss offsets capital gains dollar-for-dollar, and any net loss beyond gains offsets up to $3,000 of ordinary income per year ($1,500 if married filing separately). Anything left over carries forward indefinitely.

What is the wash-sale rule?

If you buy the same or a substantially identical security within 30 days before or after selling at a loss, the IRS disallows the loss and adds it to the basis of the new lot. It applies across all your accounts, including IRAs and a spouse's. Buy a similar-but-not-identical fund to stay invested without triggering it.

Does tax-loss harvesting eliminate tax or just defer it?

Mostly it defers. Reinvesting at a lower basis means a larger gain later, so the tax comes back when you sell. The durable benefit is the time value of the deferral plus rate arbitrage — offsetting ordinary income taxed up to 37% now and paying long-term capital gains rates up to 20% later.

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

No. Tax-loss harvesting only applies to taxable brokerage accounts. Gains and losses inside 401(k)s, traditional IRAs, and Roth IRAs are not taxed annually, so there is no loss to deduct.

Sources

Regulator references

Calculator unit tests · the assertions this page's worked example is checked against, and their last result

Changelog

Model this trade-off against your actual numbers

See how harvesting losses changes your after-tax projection — month by month to age 90.

Join the Waitlist
Jordan Reeves

Jordan Reeves

Founder of Talk Through Wealth. A software engineer for over a decade before turning to retirement planning, Jordan built the projection engine after watching family members get fragmented, country-by-country advice that never reconciled. He writes about retirement the way the engine computes it: month-by-month, lifetime-long, and skeptical of any rule of thumb that hasn't been run through the math.

More from Jordan → · LinkedIn

Disclaimer: General information for US residents, not personal financial or tax advice. Figures use 2025 IRS rules and assumptions you can change in the worked example. The wash-sale rule and basis rules are complex; consider speaking with a qualified tax professional before acting.