Does the Wash Sale Loss Come Back When You Sell Again? (w/Examples) + FAQs

This article reflects federal tax rules as of June 2026 and covers tax year 2025 (the 2026 filing season). Most states that have an income tax start from your federal taxable income, so the federal wash sale treatment usually flows through to your state return — but conformity varies, so confirm your state’s current figures before you file. Tax law changes; verify current rules first.

Quick Answer

Yes — in most cases the disallowed wash sale loss comes back when you sell the replacement shares. The loss is not erased; it is added to the cost basis of the new shares and the old holding period is tacked on. When you finally sell those replacement shares (without rebuying), you recover the loss. One big exception: a wash sale into an IRA destroys the loss for good.

For tax year 2025, the wash sale rule under Internal Revenue Code Section 1091 still works the same way it has for years: sell at a loss, rebuy the same or a “substantially identical” security inside a 61-day window, and the IRS disallows the loss on that year’s return. The immediate sting is a tax bill you did not expect — but the loss is usually only deferred, not lost, and it returns to you through a higher cost basis on the shares you bought.

The catch is how and when it comes back, and the traps that can break the chain so it never does. If you keep rebuying inside each 30-day window, the recovery keeps getting pushed forward. If the replacement lands in a retirement account, the recovery never happens at all. Knowing which path you are on is the difference between a delayed deduction and a permanently forfeited one.

  • 📈 How the disallowed loss travels into the cost basis of your replacement shares — with the exact math.
  • 🔁 The “sell again” moment that releases the loss, shown step by step on Form 8949 and Schedule D.
  • ⛔ The IRA and Roth trap under Revenue Ruling 2008-5 where the loss vanishes forever.
  • ⏳ Why a chain of repurchases keeps deferring your loss into future years.
  • 🧭 A decision aid to find which exact situation applies to you and what to do next.

What the Wash Sale Rule Actually Is

A wash sale happens when you sell a security at a loss and buy the same or a “substantially identical” security within 30 days before or 30 days after that sale. Because the window runs in both directions, it covers a 61-day span — the sale day plus 30 days on each side. The rule lives in Section 1091 of the tax code, and the IRS explains it in plain terms in Publication 550.

The point of the rule is to stop investors from claiming a tax loss while never really leaving the position. Without it, you could sell a stock at a loss on the last day of the year, rebuy it the next morning, harvest the deduction, and keep your exact same investment. The rule blocks that by disallowing the loss on your current-year return. As Charles Schwab notes in its wash sale primer, the trigger does not even have to be intentional — reinvested dividends can spring it on you.

Here is the most important part for this article: a disallowed wash sale loss is usually not gone. The amount the IRS won’t let you deduct now gets added to the cost basis of the replacement shares, and the holding period of the shares you sold gets added to the holding period of the new shares. Fidelity’s wash sale guide describes both adjustments. Those two adjustments are exactly how the loss finds its way back to you later.

The consequence of ignoring this rule is a surprise tax bill. If you assumed a $5,000 loss would offset a $5,000 gain and the loss is disallowed, you owe tax on the full gain this year. The common misconception is that the money is lost forever — for a normal taxable account, it is not. What you should do: treat the disallowed loss as a deferred asset, track the adjusted basis carefully, and plan the clean sale that releases it.

The Core Answer: How the Loss Comes Back

The disallowed loss returns through the cost basis of your replacement shares. Cost basis is simply what the IRS treats as the price you paid; a higher basis means a smaller taxable gain later, or a bigger deductible loss later. When your loss is disallowed, it is bolted onto that basis, sitting there until you sell.

The release happens when you sell the replacement shares and do not rebuy within the wash sale window. At that point there is no new “substantially identical” purchase to attach the loss to, so the inflated basis does its job. Your gain is smaller, or your loss is larger, by the exact amount that was disallowed earlier. The loss has come full circle.

Schwab’s primer walks through this directly: a $200 disallowed loss raised the basis of $600 of replacement stock to $800, so a later $1,000 sale produced a $200 gain instead of a $400 gain — the disallowed $200 effectively came back. The tacked-on holding period is a quiet bonus; it can make a later sale qualify for the lower long-term capital gains rate even if you only held the replacement shares a few months.

A Fully Worked Example

Let’s use real numbers so you can copy the math. Maria buys 100 shares of TechCo for $50 each — a $5,000 cost. The stock falls, and on March 1, 2025, she sells all 100 for $40 each, taking in $4,000 and creating a $1,000 loss. Two weeks later, on March 15, 2025, she rebuys 100 shares at $38 each for $3,800. Because she rebought inside 30 days, the $1,000 loss is disallowed for tax year 2025.

Now the loss travels. Her $3,800 purchase gets its basis raised by the $1,000 disallowed loss, to $4,800. In November 2025, TechCo recovers and she sells all 100 shares for $52 each — $5,200 — and does not rebuy. Her taxable gain is $5,200 minus the adjusted basis of $4,800, or $400. Had the basis not been bumped, her gain would have been $5,200 minus $3,800, or $1,400. The $1,000 disallowed loss came back by shrinking her gain by exactly $1,000.

When the Loss Does Not Come Back

The recovery breaks in two situations, and both are costly. The first is a wash sale where the replacement is bought inside an IRA or Roth IRA. Under Revenue Ruling 2008-5, it is still a wash sale, the loss is still disallowed, but the basis of the IRA shares is not increased — so the loss is permanently forfeited, not deferred. Fidelity’s guide confirms the disallowed loss is “effectively forfeited.”

The second is a loss disallowed because your spouse or a company you control bought the replacement. The basis adjustment lands on that other account, and depending on the situation you may never personally capture it. What you should do: never use a retirement account or a spouse’s account to rebuy a security you just sold at a loss in your taxable account.

Which Situation Applies to You?

The answer to “does my loss come back?” depends entirely on what you did after the loss sale. Find your row below and read the matching section.

  • You sold the replacement shares cleanly and stayed out 31+ days — your loss comes back in full; jump to the worked example above and the Form 8949 walkthrough.
  • You keep rebuying inside the 30-day window — your loss keeps deferring forward; read the “Chained Wash Sales” section.
  • You rebought in an IRA or Roth IRA — your loss is gone for good; read “When the Loss Does Not Come Back.”
  • Your spouse or your company rebought it — the loss shifts away from you; treat it like the IRA trap and consult a pro.
  • You still hold the replacement shares at year-end — your loss is parked in the basis, waiting; the recovery happens in the year you finally sell.

Chained Wash Sales: The Loss That Keeps Moving

A chained or rolling wash sale happens when you keep selling at a loss and rebuying inside each new 30-day window. Every time you do, the previously disallowed loss rolls into the basis of the newest shares, and a fresh loss may be disallowed on top of it. The pile of deferred loss keeps growing and keeps moving forward in time.

The loss is not lost in a chain — it is stacked into the basis of whatever shares you hold last. The danger is timing: if the chain runs across December 31, your deferred loss can land in a later tax year than you wanted, leaving you with taxable gains in the current year and the offsetting loss stranded in the next. Schwab confirms the rule is not confined to the calendar year, so a December 15 loss sale followed by a January 4 repurchase is still a wash sale.

Consider Dev, an active trader. He sells a stock for an $800 loss on December 20, 2025, rebuys on December 28, sells again for another loss in January 2026, and rebuys once more. His 2025 loss is disallowed and pushed into his 2026 basis. On his 2025 return he still owes tax on his other gains, while the loss that would have offset them now sits in 2026 shares. What you should do: to release a chained loss, sell the final lot and then do nothing in that security for 31 days.

How to Report It: Form 8949 and Schedule D

You report investment sales on Form 8949, then carry the totals to Schedule D. A wash sale gets special handling on Form 8949 so the IRS sees both the raw loss and the disallowed portion. Your broker reports covered wash sales to you on a Form 1099-B, but only for the same security in the same account.

In the year the loss is disallowed, you enter the sale on Form 8949 with code W in column (f). You then enter the disallowed amount as a positive number in column (g), the adjustment column. That adjustment cancels the loss for the year. The loss shows up, but the code W and the column (g) entry zero out its tax effect.

In the year you sell the replacement shares cleanly, there is no code W. You report the sale with the adjusted (higher) cost basis, which is where the old loss now lives. The smaller gain — or larger loss — flows to Schedule D and finally delivers the deferred benefit. The consequence of skipping the code W in the disallowance year is an IRS notice (often a CP2000) when broker figures don’t match your return.

Watch Out for Cross-Account Reporting

Brokers only track wash sales on the same CUSIP in the same account, as Schwab explains. The rule, though, applies across all your accounts — including your IRA and your spouse’s accounts. So a wash sale you create by selling in one brokerage and rebuying in another may not appear on either 1099-B, yet you are still required to report it. What you should do: reconcile all your accounts yourself before filing, and adjust your Form 8949 manually for any wash sale your broker did not catch.

Three Common Scenarios

Below are the three situations readers most often face, each shown as what you did and what it means for your loss.

Scenario 1: Clean Recovery

What You Did What Happens to the Loss
Sold at a $1,000 loss, rebought within 30 days, then sold the replacement and waited 31+ days The $1,000 was disallowed first, then fully recovered through the higher basis when you sold cleanly

Scenario 2: The IRA Trap

What You Did What Happens to the Loss
Sold at a $1,000 loss in your taxable account, rebought the same stock in your Roth IRA within 30 days The $1,000 is disallowed and, under Revenue Ruling 2008-5, permanently forfeited — no basis bump in the IRA

Scenario 3: Year-End Chain

What You Did What Happens to the Loss
Sold at a loss on December 20, 2025, rebought December 28, still holding at year-end The loss is disallowed for 2025 and parked in the replacement shares’ basis, recoverable only when you sell them in a future year

Three Named Examples

Maria — the clean recovery. Maria triggered a $1,000 wash sale on TechCo in March 2025, then sold the replacement shares in November 2025 without rebuying. Her disallowed $1,000 returned by shrinking her taxable gain from $1,400 to $400. She captured the full benefit in the same tax year because she stayed out 31 days after the final sale.

James — the IRA trap. James sold 200 shares of an index ETF at a $3,000 loss in his taxable account on April 10, 2025. Eight days later he bought the identical ETF inside his Roth IRA. The wash sale rule applied, his $3,000 loss was disallowed, and because Revenue Ruling 2008-5 bars a basis increase in the IRA, the $3,000 is gone forever.

Priya — the substitution that worked. Priya wanted the loss but didn’t want to leave the market. She sold an S&P 500 ETF at a $2,500 loss and immediately bought a different total-market ETF that was not substantially identical. No wash sale was triggered, so her $2,500 loss was fully deductible in 2025 and she stayed invested — the approach Schwab describes for staying in the market.

Mistakes to Avoid

  • Rebuying in your IRA or Roth. The loss is permanently forfeited under Revenue Ruling 2008-5 — the worst outcome possible.
  • Forgetting reinvested dividends. A DRIP purchase inside the window quietly triggers a partial wash sale and disallows part of your loss.
  • Counting only 30 calendar days from the sale. The window is 61 days total — 30 before and 30 after — so a purchase before the sale counts too.
  • Assuming the calendar year resets the clock. A December loss and a January rebuy is still a wash sale, stranding your loss in the next tax year.
  • Trusting your 1099-B to catch everything. Brokers only track same-CUSIP, same-account wash sales; cross-account ones are your responsibility.
  • Having your spouse rebuy the stock. The IRS treats a spouse’s purchase as your own, so the loss is disallowed and may shift away from you.
  • Selling an ETF and buying a near-identical ETF. “Substantially identical” has no bright line, and a clone fund can trigger the rule and disallow the loss.
  • Never selling the replacement cleanly. If you keep rebuying, the deferred loss never gets released and the benefit keeps slipping into the future.

Do’s and Don’ts

Do’s

  • Do wait 31 days after the loss sale before rebuying, because that fully clears the post-sale window and preserves the deduction.
  • Do track adjusted basis on replacement shares, because that inflated basis is exactly where your deferred loss is stored.
  • Do reconcile all accounts before filing, because a wash sale across two brokers may appear on neither 1099-B.
  • Do consider a similar-but-not-identical fund, because it keeps you invested while still letting you claim the loss.
  • Do sell the final lot cleanly to release a chained loss, because only a clean exit ends the deferral.

Don’ts

  • Don’t rebuy inside a retirement account, because the loss becomes permanently nondeductible.
  • Don’t ignore automatic dividend reinvestment, because it can silently trigger a wash sale on a partial position.
  • Don’t assume the loss is destroyed in a taxable account, because it usually returns through basis.
  • Don’t skip the code W entry on Form 8949, because mismatched figures invite an IRS notice.
  • Don’t let a chain run past December 31 unintentionally, because it pushes your deduction into a later year.

Pros and Cons of How the Rule Treats Your Loss

Pros

  • The loss is usually deferred, not lost — in a taxable account you still get it back, just later.
  • Your basis rises, which means a smaller future gain or a larger future loss.
  • The holding period tacks on, which can convert a short-term gain into a lower-taxed long-term gain.
  • You can stay invested by substituting a non-identical security and still claim the loss now.
  • The recovery is automatic once you sell the replacement cleanly — no special election is needed.

Cons

  • You lose the deduction this year, which can create a surprise tax bill on offsetting gains.
  • The IRA version is permanent — the loss is forfeited entirely under Revenue Ruling 2008-5.
  • Tracking is on you across accounts the broker doesn’t reconcile.
  • Chains can strand the loss in a later tax year than you planned.
  • “Substantially identical” is vague, so even a careful substitution carries some risk of triggering the rule.

What to Do Next

  1. Identify whether a wash sale even occurred — check every account, including your IRA and your spouse’s, for a same or substantially identical purchase inside the 61-day window.
  2. Find where the disallowed loss went — locate the replacement shares and confirm their basis was raised by the disallowed amount.
  3. Decide your release plan — to recover the loss, sell the replacement shares and stay out of that security for at least 31 days.
  4. Report it correctly — use code W and a column (g) adjustment on Form 8949 in the disallowance year, and the adjusted basis in the recovery year, carrying totals to Schedule D. See our guide on how to fill out Form 8949 and our tax-loss harvesting overview.
  5. Gather records — pull every 1099-B, trade confirmation, and DRIP statement for the affected security.
  6. Call a professional when the situation is complex — chained wash sales across multiple accounts, an inadvertent IRA wash sale, or a large disallowed loss are worth a CPA or tax attorney’s review. This article is educational and is not a substitute for advice tailored to your situation; a pro typically reviews your trade history, recomputes basis, and amends returns if needed.

FAQs

Does the wash sale loss come back when I sell again? Yes — in a taxable account the disallowed loss is added to the replacement shares’ basis and is recovered when you sell those shares without rebuying within 30 days. It is deferred, not destroyed.

Is the disallowed loss ever gone for good? Yes, when the replacement is bought in an IRA or Roth IRA. Under Revenue Ruling 2008-5, the loss is disallowed but the IRA basis is not increased, so for tax year 2025 it is permanently forfeited.

How long do I have to wait to repurchase safely? 31 days. Waiting until the 31st day after the sale puts your repurchase outside the 30-day post-sale window, fully preserving the loss for tax year 2025.

How does the loss come back exactly? Through cost basis. The disallowed amount is added to the replacement shares’ basis, so when you sell them your taxable gain shrinks — or your loss grows — by that same amount.

What is the wash sale window? 61 days total. It covers 30 calendar days before the loss sale, the sale day itself, and 30 days after, in both directions.

Does the wash sale rule cross calendar years? Yes. A loss sale in December and a repurchase in January are still a wash sale, which can push your deferred loss into the next tax year.

Do I report a wash sale on Form 8949? Yes. Enter code W in column (f) and the disallowed amount in column (g) for the disallowance year, then totals flow to Schedule D.

Will my broker catch every wash sale? No. Brokers track only the same security in the same account. Cross-account and spouse-account wash sales are your responsibility to report.

Can reinvested dividends trigger a wash sale? Yes. A dividend reinvestment purchase inside the 30-day window counts as buying a substantially identical security and can disallow part of your loss.

Does my state follow the federal wash sale rule? Usually yes. States that tax income generally start from federal taxable income, so the federal treatment carries over — but confirm your specific state’s current rules before filing.

What happens if I keep rebuying in a chain? The loss keeps deferring. Each repurchase rolls the disallowed loss into the newest shares’ basis; it is released only when you sell the final lot and stay out 31 days.

Does the holding period carry over too? Yes. The original shares’ holding period is added to the replacement shares’, which can qualify a later sale for the lower long-term capital gains rate.

This article reflects federal rules and general state-conformity practice as of June 2026 for tax year 2025. Figures and rules change; confirm current details with IRS Publication 550 or a licensed tax professional before you file.