Individual Tax

Written and reviewed by Christopher Meeker, EA · Last reviewed:

Tax-Loss Harvesting and the Wash-Sale Rule

Will selling an investment at a loss actually reduce this year’s tax?

A loss sale can reduce this year’s tax if it creates an allowable tax loss that offsets taxable gains or fits the limited deduction against other income. A wash sale can postpone that loss, and replacement in your own IRA or Roth IRA can disallow it without increasing IRA basis. Check existing gains, carryforwards and replacement purchases before trading; a realized loss is not automatically a current tax saving.

IRS Publication 550 — wash sales and investments

Federal individual stock and securities loss rules reviewed October 31, 2026. This guide does not classify every digital asset or promise a particular replacement investment is sufficiently different.

THE LOSS HARVESTING WORKFLOW

Test whether the loss is usable before counting savings

Follow the same four steps for both examples. Choose A or B to change the overview facts; both examples remain visible in the detailed sections.

Same sale and gains; an identical replacement changes current deductibility
FactExample AExample B
Shares and sale proceeds100 shares and $9,000Same
Basis and existing long-term gains$12,000 and $5,000Same
ReplacementNone in 61-day window100 identical shares 20 days later
Illustrative capital-gain rate15%15%

Both hypothetical investors sell 100 shares held for two years in a taxable account during 2026 for $9,000, with $12,000 supported basis and no fees. Each already has $5,000 net long-term capital gains before this sale, no capital-loss carryforward, and an assumed 15% federal rate on the relevant long-term gains. No other tax interactions are included. A has no substantially identical purchases or purchase contracts in the 30 days before or after the sale, including your spouse’s transactions and your IRA purchases. B makes the same sale but buys 100 identical shares for $9,000 in B’s taxable account 20 days later. Only that replacement purchase changes.

Explore an example

THE FOUR-STEP OVERVIEW
STEP 1Work out the loss on the shares you plan to sell

Verify basis, holding period, gains and existing carryforwards.

STEP 2Check purchases before and after the sale

Check substantially identical purchases across the relevant accounts.

STEP 3Estimate this year’s tax change

Net only allowed amounts and distinguish current relief from deferral.

STEP 4Keep the basis records and review the investment decision

Reconcile actual trades, future basis and portfolio decisions.

STEP 1

Work out the loss on the shares you plan to sell

Verify basis, holding period, gains and existing carryforwards.

A tax lot identifies shares with their acquisition date and adjusted basis. Reconcile current realized gains and prior capital-loss carryforwards before deciding how much additional loss would be useful.

IRS Publication 550 — wash sales and investments · IRS Topic 409 — gains and losses

EXAMPLE A

No replacement in the wash-sale window

A’s $9,000 proceeds minus $12,000 basis gives a $3,000 long-term capital loss before any restrictions. The $5,000 existing gains make that loss potentially useful now.

Result and next action

Carry the $3,000 loss into the wash-sale review.

EXAMPLE B

Identical taxable-account replacement

B has the same sale, basis and holding period, so the same preliminary $3,000 loss. The sale alone does not establish deductibility.

Result and next action

Review B’s replacement before netting the loss on the return.

IRS Publication 550 — wash sales and investments · IRS Topic 409 — gains and losses

STEP 2

Check purchases before and after the sale

Check substantially identical purchases across the relevant accounts.

For stock and securities a wash sale generally arises from buying substantially identical stock or securities within 30 days before or after the loss sale. The 61-day review crosses year-end when applicable. Check all your accounts, not only what one broker reports.

IRS Publication 550 — wash sales and investments · Revenue Ruling 2008-5 · IRC 1091(a) and (d), wash sales · IRS Instructions for Form 1099-DA

EXAMPLE A

No replacement in the wash-sale window

A’s complete review finds no substantially identical purchase within the 61-day window: 30 days before, the sale date and 30 days after.

Result and next action

No wash-sale disallowance arises on the stated facts.

EXAMPLE B

Identical taxable-account replacement

B buys the same 100 shares 20 days after the loss sale. All shares sold at a loss are replaced within the restricted window.

Result and next action

Disallow the full $3,000 current loss and preserve it in replacement basis.

IRS Publication 550 — wash sales and investments · Revenue Ruling 2008-5 · IRC 1091(a) and (d), wash sales · IRS Instructions for Form 1099-DA

STEP 3

Estimate this year’s tax change

Net only allowed amounts and distinguish current relief from deferral.

Net allowed short- and long-term gains and losses under the return rules before estimating tax. A deductible loss, an income reduction and a tax reduction are different quantities. This example uses a 15% teaching rate and does not calculate the entire return.

IRS Publication 550 — wash sales and investments · IRS Topic 409 — gains and losses · IRC 1211(b), individual capital-loss limit · IRC 1212(b), capital-loss carryforward

EXAMPLE A

No replacement in the wash-sale window

Allowed loss reduces net long-term gain from $5,000 to $2,000. At 15%, tax on those gains falls from $750 to $300, a $450 current reduction.

Result and next action

The benefit is $450, not a $3,000 refund or deduction against wages.

EXAMPLE B

Identical taxable-account replacement

With no allowed current loss, B’s net long-term gain remains $5,000 and the assumed tax remains $750. The taxable replacement purchase normally postpones the loss through basis.

Result and next action

Do not claim a $450 current reduction merely because the broker reports the sale loss.

IRS Publication 550 — wash sales and investments · IRS Topic 409 — gains and losses · IRC 1211(b), individual capital-loss limit · IRC 1212(b), capital-loss carryforward

STEP 4

Keep the basis records and review the investment decision

Reconcile actual trades, future basis and portfolio decisions.

Taxable-account replacement generally adds the disallowed loss to replacement basis and carries holding period forward. Track that adjustment and recheck later transactions; deferral is not an immediate saving.

IRS Publication 550 — wash sales and investments · Revenue Ruling 2008-5 · IRC 1091(a) and (d), wash sales · IRC 1223(3), holding period

EXAMPLE A

No replacement in the wash-sale window

Keep the $9,000 sale proceeds and trade records. A no longer owns those shares after the sale, so future market exposure differs from a repurchase strategy.

Result and next action

Evaluate investment objectives and costs; the $450 tax reduction alone is not investment profit or proof the sale was worthwhile.

EXAMPLE B

Identical taxable-account replacement

Add the disallowed $3,000 to the $9,000 replacement cost: new basis is $12,000, and the old holding period carries into the replacement shares.

Result and next action

Retain the basis adjustment for the future sale; another replacement can extend deferral.

A’s $3,000 allowed loss reduces the stated gains tax by $450. B’s same sale loss is deferred through $12,000 replacement basis and gives no current reduction. The different investment exposure and any trading costs must still be considered.

IRS Publication 550 — wash sales and investments · Revenue Ruling 2008-5 · IRC 1091(a) and (d), wash sales · IRC 1223(3), holding period

What to gather

  • Realized gain and loss report and prior Schedule D carryforward worksheet.
  • Candidate sale lots and purchase activity from 30 days before through 30 days after.
  • Relevant spouse transactions and IRA purchases and automatic-reinvestment settings; final confirmations.

Questions readers ask

Can I sell and immediately repurchase the same stock?

That can prevent the current loss deduction. Coordinate the tax review with your investment adviser before trading. A current tax deduction is not the only consideration: remaining out of a position can change market exposure, while an IRA replacement can have a particularly unfavorable result. Identify the purchases and accounts involved before acting and retain any required basis adjustment. Do not assume that using another broker or making the replacement in a retirement account avoids the rule.

Official sources

Where to go next

How BackForty can help

BackForty can review realized gains, carryforwards and potential wash-sale conflicts with your investment adviser. Bring transaction histories across relevant accounts rather than only a consolidated year-end statement. We can estimate how much loss would be useful in the current year and identify reporting adjustments, leaving investment selection and trade execution with you and your adviser.

Discuss this questionIndividual tax preparation