Tax loss harvesting only works if you have gains to offset

Tax loss harvesting reduces taxes only when you have investment gains in the same year. If you sell a losing investment to create a loss, that loss can only offset capital gains you've already made — not ordinary income from your job, not interest, not dividends. If you have no gains to offset, the loss sits unused until a future year, and you pay tax on nothing you've gained.

This is the core reason tax loss harvesting fails for many people: they assume a loss is money back. It isn't. A loss is a deduction. A deduction only saves you money if you have income to deduct it from.

The math is straightforward. Suppose you bought 100 shares of a stock fund at $50 per share and it's now worth $40. You sell and realize a $1,000 loss. If you made $3,000 in capital gains elsewhere that year, the loss wipes out $1,000 of those gains, and you pay tax on $2,000 instead of $3,000. If you made zero in gains, the loss does nothing that year.

Key Takeaways

  • A capital loss only reduces your tax bill if you have capital gains in the same year to offset against it.
  • Unused losses can carry forward to future years, but only if you have gains then — they cannot reduce your ordinary income from work.
  • The wash-sale rule prevents you from when ready buying back the same or substantially identical investment, which limits how quickly you can rebuild your position.
  • Tax loss harvesting costs money in transaction fees and can trigger short-term capital gains if you're not careful about holding periods.
  • For people with mostly long-term holdings and few gains in any given year, tax loss harvesting often produces no tax savings at all.

Unused losses don't roll forward into ordinary income

If you harvest a loss but have no gains to offset it that year, the loss doesn't disappear. It carries forward to the next year. But it still only offsets capital gains, not wages, salary, or other income.

There is one small exception: if your total capital losses exceed your total capital gains in a year, you can deduct up to $3,000 of the excess against ordinary income. Any loss beyond $3,000 carries forward again. So if you harvest a $10,000 loss and have zero gains, you can deduct $3,000 against your salary that year, and $7,000 rolls to next year. But that $7,000 still only offsets gains, not income.

This means tax loss harvesting is most useful for people who already generate capital gains regularly — traders, people who rebalance frequently, or those with taxable brokerage accounts alongside retirement accounts. For someone who buys and holds for decades, losses may never offset anything.

The wash-sale rule locks you out of your position for 30 days

When you sell an investment at a loss to harvest the tax benefit, you cannot buy back the same investment or a substantially identical one for 30 days. This is the wash-sale rule, enforced by the IRS. If you do buy back within 30 days, the loss is disallowed and added to your cost basis in the new purchase instead.

This creates a real cost: for 30 days, you are out of the market in that position. If the investment rebounds during those 30 days, you miss the gain. You can buy a similar but not identical fund — for example, if you sold a total US stock market index fund, you might buy a different provider's total US stock market fund — but similar is not the same, and tracking error can work against you.

The 30-day window also applies to your spouse and to any retirement accounts you control. If your spouse buys the same investment within 30 days of your sale, the wash-sale rule applies to you.

Transaction costs and short-term gains can eat the tax savings

Every time you sell an investment, you pay a transaction cost: a commission, a bid-ask spread, or both. Even at a low-cost broker, selling and buying back costs money. If the tax savings from harvesting a loss are smaller than the transaction costs, you've lost money in the process.

There's also a timing trap. If you sell a winning investment to harvest a loss, but you've held that winning investment for less than a year, you realize a short-term capital gain. Short-term gains are taxed as ordinary income, at your full tax rate. Long-term gains (held over a year) are taxed at lower rates: 0%, 15%, or 20% depending on your income. Harvesting a loss to offset a short-term gain saves you money, but harvesting a loss to offset a long-term gain saves you less.

The math has to work out: the tax savings from the loss must exceed the transaction costs and any short-term gains triggered. For small losses or small accounts, it often doesn't.

Tax loss harvesting in retirement accounts is illegal

You cannot harvest losses in a 401(k), IRA, Roth IRA, or any other tax-deferred retirement account. These accounts already shield you from annual taxes on gains and losses. Selling at a loss inside a retirement account produces no tax deduction — the loss straightforward disappears. You can only harvest losses in taxable brokerage accounts.

This is another reason tax loss harvesting doesn't work for many people: most of their savings are in retirement accounts, where harvesting is impossible. The strategy only applies to money held outside retirement accounts.

You need enough gains or enough years for losses to matter

Tax loss harvesting assumes you'll eventually have gains to offset the losses against. If you buy and hold the same investments for 30 years and they go up, you'll have one large gain at the end. Any losses you harvested along the way will offset that final gain. But if your investments never go up, or if you sell everything at a loss, the harvested losses may never produce a tax benefit.

The strategy also assumes you have the discipline to harvest losses consistently and track them correctly. If you harvest a loss, buy back a similar investment, and then forget which one you own, you might accidentally trigger the wash-sale rule by buying back the original investment. You might also forget to carry forward unused losses to future years and miss the deduction entirely.

For people with small taxable accounts, infrequent trading, or mostly long-term holdings, the complexity and cost often outweigh any tax savings.

When tax loss harvesting does work

Tax loss harvesting can reduce your tax bill if all of these conditions are true: you have capital gains in the same year, you have a taxable brokerage account with enough money to make transaction costs negligible, you can buy a similar but not identical investment for 30 days, and you track your losses carefully to avoid wash-sale violations.

It works best for active traders, people who rebalance frequently, or those with large taxable accounts where a 0.1% transaction cost is small compared to the tax savings. It works poorly for buy-and-hold investors, people with small accounts, or those who rarely generate capital gains.

Frequently Asked Questions

Can I harvest losses in my Roth IRA?

No. Losses in any retirement account — Roth IRA, traditional IRA, 401(k), or SEP-IRA — produce no tax deduction. The loss is straightforward absorbed by the account and does not reduce your taxes. Tax loss harvesting only works in taxable brokerage accounts.

What happens if I forget about the wash-sale rule and buy back too soon?

The IRS disallows the loss and adds it to your cost basis in the new investment instead. You don't lose the deduction permanently, but you defer it until you eventually sell the new investment. This can complicate your taxes and delay any benefit.

Does tax loss harvesting work if I have no capital gains?

Not in the current year. You can deduct up to $3,000 of unused losses against ordinary income, and carry the rest forward. But losses beyond $3,000 only offset future capital gains, not future salary or wages. If you never generate capital gains, the losses may never produce a tax benefit.

Is tax loss harvesting worth it for a small account?

Probably not. If your account is under $50,000, transaction costs and the complexity of tracking wash-sale rules often cost more than the tax savings. The strategy makes more sense for larger accounts where a 0.1% transaction cost is small compared to the tax benefit.

Can my spouse's trades trigger the wash-sale rule on my trades?

Yes. If you sell an investment at a loss and your spouse buys the same or substantially identical investment within 30 days, the wash-sale rule applies to you and disallows your loss. The rule applies to spouses filing jointly and to any retirement accounts either spouse controls.