ebotCPA — The Entrepreneur's CPA

    What are the rules for Tax-Loss Harvesting?

    Check whether the rules fit your situation, then review the worked example, requirements and records.

    Depends on your facts

    CPA sign-off in progress.

    How it works

    01

    Check eligibility

    Match the strategy to your facts, entity, timing, and the rules that apply.

    02

    Work through the numbers

    Use the stated assumptions and compare the tax result with the cost and trade-offs.

    03

    Document and file

    Keep contemporaneous records. Your external tax preparer handles return preparation and filing; this is not a tax-preparation service.

    Which sounds like you?

    Terms used in this guide

    A deduction reduces taxable income; a credit reduces calculated tax; deferral changes when tax is due.

    The Internal Revenue Code (IRC) is federal tax law; Treasury regulations explain its rules; IRS publications explain the agency's guidance.

    basis:
    the tax amount used to measure gain, loss or allowable deductions.
    IRA:
    an individual retirement arrangement.
    NIIT:
    net investment income tax, an additional tax that applies under specified conditions.

    In brief

    Selling an investment that is down locks in a capital loss you can use against gains, plus up to $3,000 a year of ordinary income. Unused losses carry forward with no expiration. Like pruning dead branches in winter, it clears what is not growing so the rest can.

    Done right, it can keep thousands of dollars in your account in a year with large gains.

    Who it fits

    • Investors with taxable brokerage accounts holding positions below cost.
    • Owners with large gains this year from a sale of stock, property or a business interest.
    • High earners subject to the 3.8% net investment income tax.
    • Investors willing to replace a sold position with a similar but not identical one.

    Who it's not for

    • Holdings inside IRAs and 401(k)s. Losses there have no tax effect.
    • Investors in the 0% long-term capital gains bracket, where offsetting gains saves little.
    • Anyone who would sell a position they believe in only for the deduction and cannot replace the exposure.

    How the rule applies

    When you sell at a loss, the loss first offsets capital gains of the same type, then the other type. Net losses then offset up to $3,000 of ordinary income ($1,500 if married filing separately). The rest carries forward to future years.

    Short-term gains are taxed at ordinary rates, so losses used against them are worth the most.

    The wash-sale rule disallows the loss if you buy substantially identical stock or securities within 30 days before or after the sale. The disallowed loss is added to the basis of the new shares, so it is postponed, not lost. A purchase in your IRA also triggers it.

    Investors stay in the market by buying a similar fund that tracks a different index, or by waiting 31 days.

    Harvesting lowers your basis, so it defers tax rather than erasing it. The deferral has real value, and if you hold until death, heirs receive a stepped-up basis.

    Worked example

    Illustrative: a married couple filing jointly, in the 35% bracket and above the NIIT threshold, realized $50,000 of long-term gains this year. They harvest $60,000 of long-term losses and replace the positions with similar funds.

    1. Net capital position: $50,000 gains - $60,000 losses = -$10,000.
    2. Gains offset: $50,000 x (15% + 3.8%) = $9,400 of tax avoided this year.
    3. Ordinary income offset: $3,000 x 35% = $1,050.
    4. Loss carried forward: $10,000 - $3,000 = $7,000.
    5. Total federal tax kept this year: $9,400 + $1,050 = $10,450.

    About $10,450 of federal tax stays invested this year, with $7,000 of losses carried forward.

    Illustration only; not a promise or projection of your results.

    The rules

    RuleCitation
    Capital losses offset capital gains, plus up to $3,000 of other income ($1,500 married filing separately).IRC §1211(b)
    Unused capital losses carry forward indefinitely for individuals.IRC §1212(b)
    Losses are disallowed if substantially identical stock or securities are bought within 30 days before or after the sale.IRC §1091(a)
    The disallowed loss is added to the basis of the replacement shares.IRC §1091(d)
    Buying the same security in your IRA within the window triggers a wash sale, and the loss is not added to IRA basis.Rev. Rul. 2008-5

    Watch-outs

    • Automatic dividend reinvestment can buy shares within the 30-day window and trigger a partial wash sale.
    • A spouse's purchase in their own account can trigger the rule.
    • Broker 1099-B forms track wash sales only within the same account. Purchases elsewhere are your responsibility to report.
    • Do not let tax drive the investment. A poor replacement can cost more than the tax saved.

    What we do

    We project your gains for the year, identify how much harvesting is useful, and coordinate timing with your investment advisor. We reconcile the 1099-Bs across accounts, check for wash sales the broker could not see, and track carryforwards on the return.

    Questions

    When should I harvest losses?

    Any time a position is down, not just in December. Market drops mid-year often create the best opportunities.

    What counts as substantially identical?

    The same stock or fund is. Two funds tracking different indexes are generally treated as not identical, but there is no bright-line test. We document the replacement choice.

    Do carried-forward losses expire?

    Not for individuals during life. They end at death, so they should be used while you are living.

    General education under 2026 federal law. Examples are illustrative, not client results. Not tax advice for your situation.

    Want the detail?

    Free — Free Notice Decoder / free path. Pull your own IRS transcripts (free through your IRS Online Account at IRS.gov) and send them to us. Our notice engine reads them and gives you a free report on what they show. Requires your written §7216 consent. $97 — Notice Review. Send us your IRS notice along with your own transcripts. We tell you what the notice is, what it means, and what the issues appear to be at a high level. This is information, not tax advice. $497 — Case Analysis. We pull your transcripts, analyze your whole situation, and give you a written do-it-yourself plan. $1,000 — Representation. Power of attorney (Form 2848) and we represent you before the IRS. Flat $1,000. The $97 Notice Review is credited toward the $497 Case Analysis. Fixed fees, confirmed in writing before work begins. Not a guarantee of any IRS outcome. We never charge a percentage of tax saved.

    General information, not tax, legal, or investment advice for your situation. Results depend on your facts; no outcome is guaranteed. Reading this page does not create a client relationship.

    Ebotagborndang Mbi, CPA d/b/a ebotCPA · Ebot Mbi, CPA (Texas License #127163), Enrolled Agent · 4425 W Airport Fwy, Ste 595, Irving, TX 75062

    Last updated: