What Is Tax Loss Harvesting and How Does It Work?

Tax loss harvesting is a strategy where you deliberately sell an investment at a loss to offset capital gains—or other income—and potentially reduce the taxes you owe. It's a legal and common practice, but it comes with rules and tradeoffs that vary depending on your financial situation.

How Tax Loss Harvesting Works

The basic mechanics are straightforward. When you sell an investment for less than you paid for it, you've realized a capital loss. The IRS lets you use that loss to offset capital gains—profits from selling other investments at a gain. If your losses exceed your gains in a given year, you can use up to a certain amount (currently $3,000) to offset ordinary income like wages or interest. Any remaining loss carries forward to future years, where you can continue using it.

The goal is to reduce your taxable income in the current year, which lowers the taxes you owe and potentially puts more money back in your pocket.

The Wash Sale Rule: The Critical Limit ⚠️

Here's where things get tricky. The IRS has a wash sale rule that prevents you from immediately buying back the same investment (or a "substantially identical" one) within 30 days before or after the sale. If you do, the IRS disallows the loss, and you lose the tax benefit you were trying to capture.

This rule exists to prevent people from gaming the system—selling a stock for a loss to claim the deduction, then buying it right back to maintain the same investment position.

What this means in practice: If you harvest a loss on a stock, you need to either wait 31 days before repurchasing it, or buy a similar (but not identical) investment in the meantime to stay invested.

Who Benefits Most From Tax Loss Harvesting?

Tax loss harvesting is generally more valuable for certain profiles:

ProfileLikely Benefit
High earners with significant capital gainsHigher benefit—losses offset larger gains
Long-term investors with volatile portfoliosMore opportunities to harvest losses
People in taxable accounts (not retirement accounts)Can apply losses to reduce current-year taxes
Those in higher tax bracketsDollar-for-dollar loss saves more in taxes

Conversely, if you're investing in a retirement account (401k, IRA, Roth), tax loss harvesting doesn't apply—those accounts have their own tax treatment.

Key Variables That Shape the Outcome

Which investments you hold. A diversified portfolio with fluctuating stocks or bonds creates more harvesting opportunities than a stable, buy-and-hold bond ladder.

Your income and tax bracket. Higher earners benefit more because losses offset income taxed at a higher rate.

Whether you have capital gains to offset. If you haven't sold investments at a gain, your losses offset ordinary income up to the annual limit, making the benefit smaller but still real.

How long you plan to hold investments. The wash sale rule requires patience; if you need to rebalance quickly, harvesting becomes impractical.

Your state and local taxes. Some states allow you to use capital losses to reduce state taxes as well, amplifying the benefit.

Common Misconceptions

"Tax loss harvesting means I'm locking in a loss." Not necessarily. You can harvest the loss while maintaining your market exposure by buying a similar (but not identical) investment. You're taking the tax deduction without changing your portfolio's overall risk or return profile.

"I can harvest unlimited losses." You can harvest as much as you want, but using losses to offset ordinary income is capped annually. Excess losses roll forward indefinitely.

"This is only for sophisticated investors." It's available to anyone, but the benefit depends on having realized gains, investment activity, and a taxable account. A passive investor with few trades might not see much benefit.

What You Need to Evaluate for Your Own Situation

  • Do you have investment gains you're trying to offset?
  • Are your investments held in a taxable account, or in retirement accounts?
  • What's your timeline for rebalancing or rebuying similar investments?
  • Does your income level and tax bracket make the deduction valuable?
  • Are you willing to track wash sale rules carefully, or would the admin burden outweigh the benefit?

Tax loss harvesting can be a legitimate way to reduce your tax bill, but it's one tool among many. A tax professional or advisor can help you determine whether it makes sense for your specific circumstances.