When does wash sale go away? Trying to figure out if I can just wait it out

So I sold some shares at a loss back in March and then bought back into the same stock about two weeks later because I thought the dip was temporary. My broker flagged it as a wash sale on the 1099-B, box 1g has a disallowed loss. I get that the loss is disallowed right now, but I can't figure out when does wash sale go away — like does it disappear after 30 days, does it only matter at year end, or does it basically never go away unless I sell the replacement shares? I've been reading around and getting different answers. Some sites say just wait 30 days, others say the loss is gone forever if you buy back too fast. I'm not selling anytime soon so I want to know what actually happens to that disallowed amount before I file.

34 comments

The loss doesn't disappear — it gets added to the cost basis of the replacement shares you bought. So it's not gone, it's just deferred. When you eventually sell those replacement shares and don't trigger another wash sale, you get the loss back through a higher basis lowering your gain (or increasing your loss) on that future sale.

Tyler F.

Author

So if I hold the replacement shares and sell them more than 30 days later with no repurchase, the whole deferred loss effectively comes out in that sale? That's actually better than I thought. I assumed it was just gone.

I had the same confusion last year with a bunch of trades across two accounts. Uploaded everything to taxr.ai and it mapped which lots were the replacement shares and what basis adjustments had been carried into each one. Saved me from just guessing at column (e) on Form 8949. The 30-day window runs 30 days before AND after the sale date — so it's really a 61-day window you have to clear entirely.

Tyler F.

Author

Two accounts — does that mean wash sales can be triggered across different brokerage accounts you hold? My broker only flagged same-account trades.

Yes, the rule applies to your trades across all accounts including a spouse's account or an IRA. Your broker only tracks same-account same-CUSIP for the 1099-B box 1g reporting, but the actual tax rule is broader. You're responsible for catching cross-account wash sales yourself.

The holding period of the replacement shares also picks up the holding period of the shares you sold. So if you sold shares you'd held 10 months and bought replacements the next week, those replacement shares are already treated as held 10 months for long-term/short-term purposes. That can matter a lot depending on your situation.

Didn't know that part about holding period carrying over. I always thought the clock reset when you bought the new lot.

Worth being clear: the 30-day window is 30 days before the sale OR 30 days after. If you buy substantially identical stock any time in that 61-day window, the loss is disallowed. 'Waiting 30 days' only works if you wait 30 days AFTER the sale before buying back.

My situation got complicated because I had the same ETF in my Roth IRA auto-investing every month. Those purchases inside the Roth also triggered wash sales on my taxable losses. And unlike a regular account, the basis adjustment doesn't get added to the IRA shares — the loss is just gone permanently when the wash sale is caused by an IRA or Roth purchase. That part really stings.

Tyler F.

Author

Wait, the loss is permanently gone if the repurchase was inside a Roth? Not just deferred?

Correct. Publication 550 is explicit about this — when the substantially identical shares are acquired in an IRA or Roth IRA, the disallowed loss is not added to the basis of those shares. It's just lost. The normal deferral mechanism doesn't apply there.

Dividend reinvestment plans inside retirement accounts trip people up here all the time. The repurchase happens automatically and you don't even notice until the 1099-B comes.

I had a stack of wash sale codes across about 40 trades last year. Gave all my 1099-B PDFs to Taxr and it went through each lot, matched the W codes from column (f) on Form 8949, and listed which replacement lots still had deferred basis sitting in them going into the next year. Made it easy to see which positions I needed to sell cleanly to actually realize the losses. Genuinely useful when you have a lot of moving parts.

40 trades with wash sales sounds like a nightmare to reconcile manually. My broker's supplemental statement was 12 pages last year and I still wasn't sure I had it right.

The broker's supplemental statement gets you partway there for covered securities in the same account, but as soon as you have cross-account activity or IRA purchases it's on you to track it.

To answer the core question directly: the wash sale goes away when you sell the replacement shares in a clean sale — meaning you don't buy substantially identical stock in the 30 days before or after that sale. At that point the deferred loss is fully realized through the adjusted basis. There's no calendar date where it just expires on its own.

Tyler F.

Author

That's the clearest way I've seen it put. So I basically need to let the position go entirely with a 30-day buffer on either side of the final sale.

I sold everything in December specifically to avoid carrying wash sale complexity into the new year. Even then I had to check that I hadn't bought anything substantially identical in the first week of January because that would have extended the window into the new year and disallowed losses I thought I'd realized.

December timing is tricky for exactly that reason. I've seen people sell in the last week of December and then their brokerage auto-reinvests a dividend in early January. Wash sale triggered, loss disallowed, and they don't find out until the 1099-B arrives.

The wash sale rule applies to losses, not gains. If you sell at a gain you don't have a wash sale issue no matter when you buy back. The whole thing only matters when you're trying to realize a loss.

Something I always remind myself: the rule also covers options. If you sell stock at a loss and then buy a call option on substantially identical stock within the 30-day window, that's still a wash sale. A lot of people think switching to options gets around it.

Tyler F.

Author

I hadn't considered options triggering it. I was actually thinking about buying calls while I waited out the 30 days. Good to know that's still covered.

Right — contracts or options to acquire substantially identical stock count. What doesn't fall under the wash sale rules is commodity futures contracts or foreign currencies, per Publication 550.

When I had a big wash sale situation from swing trading the same ticker repeatedly, I ran my brokerage statement through Taxr and it flagged three lots where my own records showed a clean sale but the adjusted basis from earlier disallowed losses hadn't been applied correctly. Found it before I filed, which would have meant understating my losses on Schedule D.

Understating losses is an easy mistake when you have a lot of lots and the basis adjustments compound across trades.

For how to actually report it: the disallowed wash sale loss goes on Form 8949, Part I or Part II depending on whether it's short or long-term, with code W in column (f) and the disallowed amount as a positive number in column (g). That positive number in column (g) offsets your loss so it doesn't flow through to Schedule D. The adjusted basis in the replacement shares is what carries the deferred loss forward.

Tyler F.

Author

So on the actual form, the loss is sitting there in the proceeds and basis columns but column (g) with the W code neutralizes it for the current year. Got it.

Exactly. And when you eventually sell the replacement shares cleanly, their higher basis means the net gain or loss on that future 8949 row automatically reflects the previously deferred amount.

One scenario people miss: if you trigger a wash sale in December and the replacement shares are still held on December 31, the disallowed loss carries into the new tax year attached to those shares. The wash sale didn't go away at year end — it's just sitting in the basis of whatever you're still holding.

This is what happened to me over a year ago. I thought year end reset everything and then I sold in February and couldn't figure out why my gain looked smaller than expected. The deferred loss was in there the whole time — just quietly offsetting the gain.

Worth mentioning: Publication 550 on the IRS site covers wash sales in detail, and Topic 409 covers the $3,000 limit on deducting net capital losses and carrying the rest forward. The instructions for Form 8949 at irs.gov/instructions/i8949 also walk through the column (f) and (g) reporting. Those are worth reading once so you understand what your broker's supplemental statement is actually doing.

The short version: the wash sale loss doesn't expire, it doesn't reset at year end, and it doesn't go away after 30 days passes. It lives in the basis of the replacement shares until you sell them clean. The 30-day window is only about whether a NEW wash sale gets triggered on a future sale, not about the old deferred loss disappearing.

Tyler F.

Author

This actually finally makes it click for me. The 30-day rule is about triggering, not about undoing. The only way to realize the loss is a clean final sale with no repurchase in that window.

With wash sales spread across lots of trades and multiple accounts, it may be worth sitting down with an enrolled agent or CPA before you file, especially if the numbers are significant. The basis tracking can get tangled fast and an error on 8949 that understates gain or overstates loss is the kind of thing that draws a notice.