NetWorthFlow

Taxes

What is Tax-loss harvesting?

Tax-loss harvesting means selling investments at a loss to offset the tax on gains from other investments. It’s a way to reduce your tax bill. Under IRS rules, capital losses must first be used to offset capital gains of the same type (short-term losses offset short-term gains, and long-term losses offset long-term gains). Any excess net losses can then offset the other type of gain.

If a taxpayer's net capital losses exceed their net capital gains for the year, they can use up to $3,000 of the excess losses ($1,500 if married filing separately) to offset ordinary income on their Form 1040. Any remaining capital losses can be carried forward indefinitely to future tax years, preserving their tax-reducing value.

To prevent abuse, the IRS enforces the 'wash-sale rule' under Section 1091. This rule disallows the tax loss if the taxpayer purchases the same or a 'substantially identical' security within 30 days before or after the sale. If a wash sale occurs, the loss is disallowed and added to the cost basis of the newly purchased security.

Quick Facts

Governing RegulationIRS Section 1091 Wash-Sale Rule (61-day window)
Ordinary Income Offset LimitUp to $3,000 of net capital losses can offset ordinary income per year
Loss CarryoverUnused capital losses can be carried forward to future tax years indefinitely
Asset ApplicabilityApplies to taxable brokerage accounts; not applicable to retirement plans

PRACTICAL EXAMPLE

An investor has $10,000 of realized capital gains in 2026. They sell a failing stock at a $13,000 loss, offsetting their entire $10,000 gain and reducing their capital gains tax to zero. They use the remaining $3,000 loss to offset their ordinary salary income, saving taxes at their marginal rate.

RELATED CALCULATORS

Explore Related Financial Tools

RECOMMENDED ARTICLES

Explore Related Financial Guides

RELATED TERMS

Learn More Key Concepts

Financial Decisions Disclaimer (YMYL & E-E-A-T)

Disclaimer: NetWorthFlow provides financial calculators, simulators, and projection tools for informational and educational purposes only. None of the calculations, data, or results displayed on this website constitute professional financial, investment, tax, or legal advice. All calculations are mathematical models based on user-supplied variables and general assumptions, which may not reflect real-world market outcomes. Always consult with a certified financial planner, licensed investment advisor, or qualified tax professional before making any financial decisions.

Automated tools are not a substitute for professional counsel. We strongly advise that you consult a qualified Certified Financial Planner (CFP®), Registered Investment Adviser (RIA), Certified Public Accountant (CPA), or legal expert before making significant decisions regarding taxes, mortgages, retirement planning, investments, or debt management.