Tax-Loss Harvesting

Written by: Editorial Team

Tax-loss harvesting is the practice of realizing investment losses to help offset capital gains and, within limits, some ordinary income.

What Is Tax-Loss Harvesting?

Tax-loss harvesting is the practice of realizing investment losses so they can be used to help offset capital gains and, within annual limits, some ordinary income. The term matters because investors often focus on pretax returns while overlooking how realized gains and losses affect after-tax results.

The strategy sounds simple, but the actual tax treatment depends on capital-gain rules, loss limitations, and the wash-sale rule. That is why tax-loss harvesting is best understood as a tax-management technique rather than as a guarantee of better portfolio performance.

Key Takeaways

  • Tax-loss harvesting involves realizing investment losses to help offset taxable gains.
  • The strategy can also help offset a limited amount of ordinary income each year if losses exceed gains.
  • The wash-sale rule can disallow a loss if substantially identical securities are repurchased too quickly.
  • Tax-loss harvesting is different from receiving a fund-level capital gains distribution.
  • If you want the applied decision problem rather than the glossary definition, read What Is Tax-Loss Harvesting?.

How Tax-Loss Harvesting Works

An investor may sell an investment that is currently worth less than its tax basis and realize the loss for tax purposes. That realized loss can help offset realized capital gains from other investments. If total capital losses exceed total capital gains, the IRS generally allows a limited amount of the excess to offset ordinary income each year, with additional unused losses potentially carried forward.

The tax benefit comes from the loss recognition, not from the investment itself performing badly. That is why the strategy is about tax management rather than about investment success in the ordinary sense.

Why Tax-Loss Harvesting Matters

Tax-loss harvesting matters because taxes can materially change the net result an investor keeps. Two portfolios with similar pretax returns may produce different after-tax outcomes depending on when gains are realized and whether losses are available to offset them.

This is especially relevant in taxable accounts. In tax-advantaged accounts, the same immediate gain-and-loss recognition rules generally do not operate in the same way.

What the Wash-Sale Rule Changes

The IRS wash-sale rule is one of the most important limits on tax-loss harvesting. Publication 550 explains that a loss can be disallowed if the investor buys substantially identical stock or securities within the wash-sale window. That means harvesting is not just about selling an investment at a loss. It is also about what happens around the sale.

This is one reason the strategy is more complex than it first appears. Investors can accidentally reduce or lose the intended tax benefit if they treat the sale as a mechanical step with no follow-through.

Tax-Loss Harvesting Versus Capital Gains Distributions

Tax-loss harvesting is different from a fund-level capital gains distribution. Harvesting is an investor action taken to realize a loss in a taxable account. A capital gains distribution is a gain passed through from a mutual fund or similar vehicle after the fund realizes gains internally.

That difference matters because investors sometimes assume they can control all taxable gain events the same way. Some are driven by personal transactions, while others come from pooled fund activity.

Why Tax-Loss Harvesting Is Not Free Alpha

Tax-loss harvesting can improve tax efficiency, but it does not turn an economic loss into a pure gain. The portfolio still experienced a loss in market value. The tax benefit may soften the impact or improve after-tax positioning, but it is not the same thing as creating new investment return out of nothing.

That is why the strategy should be evaluated in the context of total portfolio management, tax rules, and the investor's broader objectives rather than marketed as an automatic win.

The Bottom Line

Tax-loss harvesting is the practice of realizing investment losses to help offset gains and, within limits, some ordinary income. It matters because after-tax results depend not just on investment performance, but also on how gains and losses are managed. The clearest way to think about tax-loss harvesting is as a tax-efficiency technique with real rules and real tradeoffs.

Sources

Structured editorial sources rendered in APA style.

  1. 1.Primary source

    Internal Revenue Service. (n.d.). Publication 550 (2025), Investment Income and Expenses. Retrieved March 13, 2026, from https://www.irs.gov/publications/p550

    IRS publication covering capital gains and losses, wash-sale rules, capital loss limitations, and reporting rules relevant to tax-loss harvesting.

  2. 2.Primary source

    Internal Revenue Service. (n.d.). Topic no. 409, Capital gains and losses. Retrieved March 13, 2026, from https://www.irs.gov/taxtopics/tc409

    IRS topic page summarizing capital gains and losses, long-term and short-term treatment, and the general tax framework around realized gains and losses.