Tax Loss Harvesting: Cut Your Tax Bill Without Guesswork

You cannot control the market, but you can control how you respond when an investment drops. That is where tax loss harvesting can help. The idea is simple: you sell an investment at a loss, use that loss to offset taxable gains, and possibly reduce up to $3,000 of ordinary income in a tax year. The unused loss can usually carry forward to later years.

This matters more in choppy markets, especially if you hold stocks, ETFs, mutual funds, or crypto in taxable accounts. A paper loss feels bad. A planned tax move can make it useful. But there are traps, including the IRS wash sale rule, short-term gain treatment, and the risk of changing your portfolio for the wrong reason. Want the tax break without wrecking your investment plan? You need rules before you sell.

What to Know Before You Sell

  • Tax loss harvesting only works in taxable accounts. It does not apply inside 401(k)s, IRAs, or other tax-deferred accounts.
  • Losses first offset capital gains. If losses exceed gains, you may use up to $3,000 against ordinary income each year.
  • The wash sale rule can erase the deduction. Buying the same or a substantially identical security too soon can disallow the loss.
  • Harvesting is a tax tactic, not an investment strategy. The portfolio still has to make sense after the trade.

How Tax Loss Harvesting Works

Tax loss harvesting starts with a taxable investment that is worth less than you paid for it. You sell it, lock in the capital loss, and use that loss on your tax return. The IRS then lets you match losses against capital gains, subject to ordering rules.

Here is a plain example. You sell Fund A for a $6,000 gain. You also sell Stock B for a $4,000 loss. Your taxable capital gain drops to $2,000. That can mean a smaller federal tax bill, and possibly a smaller state tax bill too.

If your losses are larger than your gains, the extra can offset up to $3,000 of ordinary income for the year if you file as single or married filing jointly. If you still have losses left over, you can carry them forward. The Money Crashers guide on tax loss harvesting notes this carryforward benefit, which is one reason investors often review losses near year-end.

Think of tax loss harvesting like cleaning out a pantry before cooking dinner. You are not changing the meal just to use one ingredient, but if something already fits the recipe, you might as well avoid waste.

Tax Loss Harvesting Rules You Cannot Ignore

The tactic sounds tidy until the rules show up. And yes, the details matter.

The wash sale rule

The IRS wash sale rule says you cannot claim a loss if you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale. That creates a 61-day window around the sale date.

Suppose you sell an S&P 500 index fund at a loss on December 10, then buy the same fund back on December 20. The loss will likely be disallowed for current tax purposes. You do not get to sell, take the deduction, and jump right back into the same position.

But you may be able to buy a similar investment that is not substantially identical. For example, you might sell one total U.S. stock market ETF and buy a large-cap U.S. ETF. The risk profile is close, but the holdings and index may differ enough. This is where careful fund selection helps.

Short-term losses can be especially useful

Short-term capital gains come from assets held one year or less. They are taxed at ordinary income tax rates, which can be higher than long-term capital gains rates. Short-term losses first offset short-term gains, so they can be valuable in the right case.

Long-term losses offset long-term gains first. After that, net losses and gains are combined. The ordering can affect your final tax bill, so do not treat every harvested loss as equal.

Crypto has different wash sale treatment for now

Under current federal rules, the wash sale rule applies to stocks and securities, not cryptocurrency. That means crypto investors may have more flexibility when realizing losses. Still, Congress has considered closing this gap before, and state rules can add complexity.

Do not build a long-term plan around a loophole.

Where Tax Loss Harvesting Fits in Your Portfolio

Tax loss harvesting belongs in taxable brokerage accounts. If most of your money sits in a 401(k), traditional IRA, Roth IRA, or HSA, this tactic may not help much. Those accounts already have tax advantages, so selling at a loss inside them does not create a deductible capital loss.

For taxable accounts, the best candidates are often broad-market ETFs or mutual funds with temporary losses. Individual stocks can work too, but they bring company-specific risk. Selling a losing stock only to buy a shaky replacement can make a bad position worse.

Here is the thing: taxes should not drive the whole bus.

Your investment plan should still answer basic questions. Are you staying diversified? Are your fees low? Does the replacement investment match your risk level? If the tax move makes your portfolio messier, pause.

A Simple Tax Loss Harvesting Checklist

Use a repeatable process. Otherwise, year-end selling can turn into panic with a spreadsheet.

  1. Review taxable accounts only. Ignore retirement accounts for this purpose.
  2. Find unrealized losses. Check cost basis, current value, and holding period.
  3. Compare losses with gains. Look at gains you already realized this year and gains you may realize soon.
  4. Pick a replacement before selling. Avoid sitting in cash by accident unless that is part of your plan.
  5. Check the 30-day wash sale window. Review automatic reinvestments, recurring buys, and purchases in other accounts.
  6. Keep records. Save trade confirmations and cost basis details for your tax preparer or tax software.

One overlooked issue is dividend reinvestment. If you sell an ETF at a loss, but automatic reinvestment bought shares of the same ETF inside the wash sale window, part of your loss may be disallowed. Tiny purchase, annoying tax result.

Common Tax Loss Harvesting Mistakes

Selling only because an investment is down

A loss alone is not a reason to sell. If the investment still fits your plan, you need a suitable replacement. If you cannot name one, the tax savings may not justify the trade.

Ignoring transaction costs and spreads

Many brokers offer commission-free trades, but costs have not vanished. Bid-ask spreads, fund expense ratios, and market movement can reduce the benefit. For small losses, the juice may not be worth the squeeze.

Forgetting state taxes

Federal tax rules get most of the attention, but state taxes can change the value of harvesting. High-tax states may increase the benefit. Other states may treat income and gains differently.

Creating a lopsided portfolio

If you sell an international stock fund and replace it with a U.S. tech ETF, your risk profile changes. You may still get the tax loss, but you also made a market bet. Was that intentional?

Who Benefits Most From Tax Loss Harvesting?

Tax loss harvesting tends to help investors with taxable accounts, meaningful capital gains, and enough discipline to avoid wash sale mistakes. High earners may get more value because ordinary income tax rates can make the $3,000 offset more useful. Investors who regularly rebalance may also find natural harvesting opportunities.

It may help less if you have a small taxable account, few gains, low income, or investments that rarely trade below cost. Long-term buy-and-hold investors can still benefit, but the chances may be sporadic.

Robo-advisors often promote automated tax loss harvesting. Some do it well, especially with ETF portfolios. Still, automation is not magic. You should understand what the software is selling and buying, since the trades can affect tracking error and future tax lots.

Tax Loss Harvesting and Your Next Move

Before you harvest a loss, estimate the tax value. A $5,000 loss does not mean $5,000 back in your pocket. If it offsets long-term gains taxed at 15%, the federal tax savings may be about $750. If it offsets short-term gains taxed at 32%, the savings may be higher.

That math helps you avoid overreacting. Tax loss harvesting is best as part of a larger routine: rebalance, control costs, manage taxes, and stay invested. Boring? Maybe. Effective? Often.

If you have a taxable account, pull your unrealized gain and loss report before your next tax deadline. Then ask a blunt question: can you lower your tax bill without making your portfolio worse?