The short answer to what tax-loss harvesting is: it lets you turn portfolio losses into a tax asset instead of letting them sit unused. In a taxable U.S. brokerage account, a realized loss can offset capital gains and, if losses remain, reduce ordinary income by up to $3,000 a year ($1,500 if married filing separately). The strategy is useful, but only if you avoid the wash sale rule and keep your asset allocation intact.
The strategy at a glance
- Sell an investment at a loss in a taxable account, then use that loss to offset realized gains.
- If losses are larger than gains, the remaining net loss can generally offset up to $3,000 of ordinary income each year.
- Reinvest in a different but similar security so you stay invested without triggering a wash sale.
- It tends to be most useful when you have gains to offset, a volatile market, or a high-income year.
- It usually adds little value in retirement accounts or when trading friction eats up the tax benefit.
How the tax benefit shows up in a taxable account
I think of tax-loss harvesting as a timing tool, not a market prediction. A position does not create a tax loss until it is sold, so an unrealized decline on paper is not enough by itself. Once the sale happens, the loss becomes realized and can be used against other gains in the same year.
Here is the simplest way to picture it. Suppose I bought an ETF for $20,000 and later sold it for $16,000. That creates a $4,000 capital loss. If I also realized a $3,000 gain elsewhere, the loss would wipe out that gain and leave me with a $1,000 net capital loss. If I had no gains at all, the unused loss could offset ordinary income up to the annual limit, and any remainder would carry forward to a future tax year.
That is why the strategy is usually most attractive when a portfolio already has taxable gains, or when a market pullback gives me a clean opportunity to rebalance without changing the overall plan. The next question is where that benefit is actually worth the effort.
When it tends to help and when it does not
| Situation | Usually a good fit | Why it matters |
|---|---|---|
| Large realized gains this year | Yes | Losses offset gains dollar-for-dollar, which can reduce the tax bill quickly. |
| Volatile market and a taxable portfolio | Often | Price swings create more chances to harvest losses without changing long-term exposure. |
| No gains, but meaningful losses | Sometimes | You may still use up to $3,000 against ordinary income, with the rest carried forward. |
| Retirement account such as an IRA or 401(k) | No | There is usually no current capital-gains tax to offset, so the move has little direct benefit. |
| Tiny loss after commissions, spread, and tracking difference | Usually no | The tax savings may be smaller than the friction from trading and replacing the holding. |
In practice, I only care about losses that are large enough to matter after costs and that fit the portfolio I already want to own. That leads straight into the part that trips people up most often: the wash sale rule.
Why the wash sale rule matters more than the headline benefit
The wash sale rule is the main reason tax-loss harvesting can go wrong. In plain English, if I sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the IRS can disallow the loss for now. The replacement purchase can also make the loss harder to track because the disallowed amount gets added to the basis of the new shares.
That does not mean the tax benefit disappears forever. It usually means the benefit is deferred, not lost, but deferral is not the same thing as a clean deduction this year. For that reason, I am very careful with automatic dividend reinvestment, recurring buys, and any same-fund repurchase inside the 30-day window.
The practical workaround is simple: sell the losing position, then buy a different security that gives similar market exposure without being too close to the original holding. I would be cautious about replacing one S&P 500 fund with another fund that tracks the exact same index. A similar, but not identical, fund is much safer in spirit and in practice. Once that rule is under control, the strategy becomes much easier to execute well.
How I would run it step by step
- Review taxable accounts first and look for unrealized losses that are large enough to matter after fees and spreads.
- Check realized gains already booked this year, plus any gains I expect to realize before year-end.
- Choose the tax lot carefully. When I own multiple lots, I usually pick the highest-cost lot first because it gives me the biggest loss.
- Sell the losing position and immediately move into a different, but similar, investment that keeps the portfolio aligned with my target allocation.
- Pause dividend reinvestment or new purchases if they could create a wash sale during the 31-day waiting period.
- Record the trade dates, replacement holding, and cost basis so the tax reporting is clean later.
My rule here is simple: I want the tax move to feel like portfolio maintenance, not a tactical bet. If it changes my risk profile, I am probably doing it wrong. That is why the paperwork matters almost as much as the trade itself.
What shows up on your tax return
For most investors, the trade eventually lands on Form 8949 and Schedule D. Brokers usually send the year-end statements you need, but I still compare the numbers myself because wash sale adjustments, transfer history, and multiple lots can create mismatches. If a loss was disallowed under the wash sale rule, it should not be treated the same way as a clean realized loss.
If my total capital losses exceed my capital gains, I do not try to force extra trades just to create a bigger deduction. The unused loss can generally be carried forward to future years, so the tax value is preserved even if it is not fully usable right away. The point is to harvest losses that naturally fit the portfolio, not to manufacture activity at year-end.
Once the return is filed, the real question is whether the strategy was disciplined enough to be repeatable next year.
The habits that make it worthwhile year after year
The best tax-loss harvesting is usually boring. I look for meaningful losses, avoid wash sales, and keep the portfolio invested while I wait out the replacement window. That approach works better than chasing every small decline, especially when the tax benefit is too small to matter after friction.
- Review taxable holdings after sharp market drops and after any major rebalancing.
- Keep a simple log of the sold lot, replacement security, and trade date.
- Watch automatic reinvestments closely during the 31-day wash sale window.
- Measure the benefit after fees and tracking difference, not just against the paper loss.
Used that way, tax-loss harvesting is one of the few tax moves that can improve after-tax returns without forcing a dramatic change in risk. I treat it as a disciplined routine, not a clever trick, and that is usually what makes it pay off.