Home / Business & Finance / Evergreen Guides
UNITED STATES · EVERGREEN FINANCE GUIDE · NOVEMBER 23, 2026Tax-Loss Harvesting Explained: Capital Loss Rules, Wash Sales and IRS Reporting
Learn how U.S. capital losses may offset gains, how the wash-sale rule works, what records matter and where to verify IRS reporting requirements.
This educational guide explains the core concepts for U.S. readers. Investment values can fall, tax treatment depends on individual circumstances, and product terms may change. Verify current information in the official documents linked below.
What tax-loss harvesting means
Tax-loss harvesting is a term investors use for selling an investment at a loss in a taxable account and using the realized loss under applicable tax rules. The loss may offset capital gains and, subject to limits, may reduce other income. The strategy is often discussed near year-end, but the underlying tax rules apply throughout the year. It is a tax-planning concept, not a way to turn a losing investment into a profitable one.
A sale at a loss creates an economic loss: the investor has received less than the amount invested, after accounting for basis and costs. A tax deduction may reduce the after-tax cost, but it does not erase the decline or guarantee a benefit. A loss that cannot be used in the current year may be subject to carryforward rules, and a wash sale can disallow the current deduction.
Realized versus unrealized losses
An unrealized loss exists when an investment is worth less than its adjusted tax basis but has not been sold or otherwise disposed of in a taxable transaction. A realized loss generally occurs when a sale or other taxable disposition establishes the result. A brokerage app may show a daily or total loss, but that screen does not by itself establish the amount deductible on a federal return.
Tax basis can be affected by purchase price, commissions or other costs, reinvested distributions, stock splits, return of capital, corporate actions and previous wash-sale adjustments. The basis shown by a broker may be incomplete for older securities, transferred positions or certain noncovered shares. Review transaction history and tax documents rather than assuming the displayed unrealized return equals the deductible capital loss.
How capital gains and losses generally interact
Capital gains and losses are generally classified as short-term or long-term based on the holding period. Short-term results generally involve assets held for one year or less; long-term results generally involve assets held for more than one year, subject to detailed tax rules. The distinction matters because net short-term and long-term gains can be taxed differently. The IRS explains the netting process and reporting requirements in Topic 409 and Publication 550.
Capital losses are generally used first to offset capital gains under applicable netting rules. If total capital losses exceed total capital gains, an individual may generally deduct up to $3,000 of net capital loss against other income for the year, or $1,500 if married filing separately, with unused amounts generally carried forward. Special rules can apply to corporations, estates, trusts and particular transactions. Confirm the limit and rules for the tax year in question.
The wash-sale rule and its timing window
The wash-sale rule is designed to prevent a taxpayer from claiming a loss on a security sale while acquiring substantially identical securities within a defined period. IRS Publication 550 describes a wash sale as a sale or trade at a loss followed by a purchase or other acquisition of substantially identical stock or securities within 30 days before or after the sale. The window therefore includes the sale date and the surrounding period, not just the days afterward.
The rule can apply when the investor buys the same security in another account, and Publication 550 also discusses purchases by a spouse or a corporation the taxpayer controls. It can also apply to certain options or contracts to acquire substantially identical securities. A transaction that looks like a simple sale in one brokerage account may need to be reviewed alongside activity in other accounts and related accounts.
What happens when a loss is disallowed
When the wash-sale rule applies, the loss is generally not deductible at that time. In many situations, the disallowed loss is added to the basis of the replacement shares, which can defer the tax result until the replacement position is later sold. The rules and exceptions are technical, and the result can differ in certain situations, including purchases in an IRA or Roth IRA.
Do not assume a wash-sale adjustment simply disappears or that the broker will always calculate every cross-account event. A broker may report wash-sale information for covered securities in the same account, but the taxpayer remains responsible for the correct return. Keep records of replacement purchases, account transfers, spouse activity where relevant and broker basis adjustments.
Substantially identical is not always obvious
The IRS standard is not simply whether two funds have similar names or track similar markets. Publication 550 says the determination of whether securities are substantially identical depends on all facts and circumstances. Shares of two different corporations ordinarily are not considered substantially identical, but reorganizations and other complex situations can change the analysis. The question may be more difficult for options, convertible securities, reorganized companies and products with closely related exposures.
Investors should be cautious about relying on informal online lists that label two funds as definitely safe substitutes. Similar market exposure does not automatically answer the legal test. If a tax-loss strategy depends on replacing one security with another, document the reasoning and consult qualified tax advice for ambiguous cases. This guide does not identify any particular pair of funds as a permitted or prohibited substitute.
A simplified example
Suppose an investor buys shares for an adjusted basis of $5,000 and later sells them for $4,000, creating a $1,000 realized loss before considering transaction costs and other adjustments. If the investor does not make a disqualifying replacement purchase and the transaction is otherwise eligible, the loss may enter the capital-gain-and-loss calculation for the tax year. It may offset capital gains, and any remaining net loss may be subject to the annual deduction limit and carryforward rules.
Now suppose the investor buys substantially identical securities during the 30-day period before or after the loss sale. The wash-sale rule may disallow some or all of the loss for the current deduction. If the loss is disallowed in a situation where basis adjustment applies, the amount is generally added to the replacement security's basis. Real calculations can involve multiple lots, partial matches, dividends, options and different account registrations.
How to review brokerage tax forms
Form 1099-B generally reports proceeds from broker transactions and may include cost basis and wash-sale information for covered securities. The form may not include every detail needed to prepare a return. Investors may need to reconcile proceeds, basis, holding period, adjustments and other records on Form 8949, with totals generally carried to Schedule D when required. The IRS provides current instructions for these forms.
Check whether the broker marked a transaction as short-term or long-term, whether basis was reported to the IRS, and whether a wash-sale amount appears. Review corporate actions, stock splits, inherited assets, gifts and transfers carefully because they can affect basis. If a transaction is missing or wrong, contact the broker and keep documentation of the correction request.
Why tax-loss harvesting can backfire
A tax result should not be the only reason to sell an investment. Selling can change portfolio exposure, trigger trading costs, create a replacement investment that behaves differently and interrupt a long-term plan. A tax deduction is not a refund of the full loss. For example, a $1,000 deductible loss does not mean the government pays the taxpayer $1,000; it changes taxable income or gains according to the rules and the taxpayer's applicable rates.
Tax-loss harvesting can be ineffective when there are no gains to offset and the investor cannot use the permitted deduction, when the loss is disallowed by a wash sale, or when transaction and tax costs outweigh the benefit. A taxpayer may save tax in one year but create a larger taxable gain later if the replacement investment has a different basis or if the original holding would otherwise have recovered.
Retirement accounts and complex situations
Tax-loss harvesting generally concerns taxable accounts because selling inside a tax-deferred retirement account usually does not create a current deductible capital loss for the account holder. Publication 550 specifically discusses the consequences of acquiring substantially identical stock in an IRA or Roth IRA within the wash-sale period. The interaction can be consequential, so do not assume a replacement purchase in a retirement account is irrelevant.
Options, short sales, straddles, employee stock compensation, partnerships, foreign securities and digital assets can involve additional rules. A broker's consolidated tax statement may not cover every relevant transaction across all custodians. If your situation includes these features, use current IRS publications and seek a tax professional familiar with investment taxation rather than applying a simple example mechanically.
A year-round recordkeeping routine
Maintain a transaction ledger with acquisition dates, quantities, purchase prices, commissions, sale dates, proceeds, basis adjustments and account identifiers. Save trade confirmations and monthly or annual statements. Track automatic dividend reinvestments because they can create additional tax lots. When shares move between brokers, retain original acquisition and basis information and confirm that the receiving firm imported it correctly.
Before year-end, review realized gains and losses, but do not wait until the last trading day to investigate a complicated position. Check trading calendars, fund distribution dates, corporate actions and the wash-sale window. The tax year is not a reason to make a rushed investment decision. If you are unsure how a transaction is treated, ask a qualified professional before relying on the expected deduction.
Frequently asked questions
Can I deduct every investment loss? No. The asset, account type, transaction, basis, wash-sale rules and other tax provisions matter. Does the wash-sale period include days before the sale? Yes. The IRS describes a period beginning 30 days before and ending 30 days after the loss sale.
Can capital losses offset ordinary income? Individuals may generally deduct up to the annual limit of net capital loss against other income after applying capital-gain netting rules. Will my broker catch every wash sale? Not necessarily; broker reporting may not capture activity in other accounts or all related transactions. Tax-loss harvesting does not guarantee a tax saving.
Official sources and further reading
- IRS Publication 550: Investment Income and Expenses
- IRS Topic 409: Capital Gains and Losses
- IRS: Form 8949 and Instructions
- SEC Investor.gov: Investing Basics
Editorial note: General educational information, not individualized investment, legal or tax advice. Investments can lose value. Confirm current requirements with the relevant government agency, regulator, financial institution or qualified professional.
Related reading: Business & Finance · U.S. news and guides · How to open a brokerage account · Traditional IRA vs. Roth IRA