Is cost basis increase on wash sale replacement shares permanent?

Sold 50 shares of a tech ETF at a loss in my brokerage account, then bought the same ETF back 10 days later (yes I know, wash sale). My 1099-B shows the loss disallowed in box 1g and my broker adjusted the cost basis on the replacement shares upward. What I can't figure out is whether that higher basis on the replacement shares is permanent or whether it disappears somehow when I eventually sell those shares for good. I've read a few conflicting things online. I already have the wash sale coded with "W" in column (f) on Form 8949 for the year of the original sale, so that part I think I understand. It's really the future sale treatment I'm confused about.

40 comments

Yes, the basis increase is permanent in the sense that it stays with those replacement shares until you sell them or trigger another wash sale. The disallowed loss gets added to the cost of the new shares under the wash sale rules (Publication 550 covers this in the wash sales chapter). When you eventually sell the replacement shares outside the 61-day window, you use that higher basis and the loss effectively gets realized then. It never just vanishes.

Chris P.

Author

So the loss isn't truly disallowed forever, it's just deferred into the basis of the replacement shares. That's actually a relief. I was worried I had permanently lost that deduction.

Exactly right. Think of it as the IRS saying "you can't take that loss now, but we're going to park it in your replacement shares' basis so you eventually get credit for it." The only scenario where it truly disappears is if the replacement shares end up in an IRA or Roth IRA — in that case Publication 550 is explicit that the disallowed loss is NOT added to the basis of the IRA shares, so it's gone for good.

Chris P.

Author

That IRA exception is really important and I had no idea. My replacement shares are in a taxable account so I'm fine, but that's a trap I could easily have fallen into.

The IRA exception catches a lot of people. Same CUSIP, same account type won't save you if one side is in a tax-advantaged account.

The holding period of the replacement shares also gets tacked on from the shares you sold. So your replacement shares' holding period includes the time you held the original shares — this matters a lot for whether your eventual gain or loss is short-term or long-term when you finally sell cleanly.

Chris P.

Author

Wait, so my replacement shares might already be long-term even though I bought them recently? That's actually useful.

Yes, if the shares you sold had been held long enough, that holding period carries into the replacement shares. Publication 550 is clear on this.

Had a similar situation last year — multiple wash sales across the same ETF bought and sold repeatedly. I uploaded my 1099-B and the broker's trade history to taxr.ai and it traced each disallowed loss to the specific replacement lot and showed me the adjusted basis and tacked-on holding period for every lot. Saved me from reporting the wrong basis on Form 8949 when I finally sold everything clean. The rule itself is straightforward once you see it laid out lot by lot.

Chris P.

Author

That lot-by-lot tracing is exactly what I need to do. I have a few more wash sale situations from December and I want to make sure the basis adjustments are all correct before I sell this year.

One thing to be careful about: if you trigger another wash sale when you sell the replacement shares (buying again within 30 days before or after), the adjusted basis rolls forward again into the next set of replacement shares. You can keep deferring indefinitely as long as you keep buying back within the window.

This is the part that trips up active traders. The chain can get very long and by the end of the year the adjusted basis on the "final" lot can be way off from what you'd expect if you hadn't tracked every step.

Is the 30-day window really 30 days on each side, so 61 days total? I always get confused about whether it's 30 before the sale OR 30 after.

Yes — the wash sale rule applies if you buy substantially identical shares within 30 days before OR 30 days after the sale. So the full window where a wash sale can be triggered is 61 days centered on the sale date.

OK that makes sense. So to safely harvest a loss you have to wait 31 days after selling before buying back.

The 1099-B from your broker will show the disallowed wash sale loss in box 1g only if both the sold securities and the replacement securities are covered securities with the same CUSIP bought in the same account. If you bought the replacement shares in a different account, the broker can't see that trade and won't flag it in box 1g — but the wash sale rule still applies. You still can't deduct the loss. Publication 550 is clear: not being reported on 1099-B doesn't make it deductible.

Chris P.

Author

This is important. I only have one brokerage account so I think I'm fine, but I can see how having a spouse's account or a second broker would create unreported wash sales.

I had a year with wash sales across two accounts and the adjusted basis on my 1099-Bs was completely wrong because neither broker saw the other's trades. I pasted both 1099-Bs into Taxr and it identified which lots were actually wash sales the brokers had missed, recalculated the correct adjusted basis for the replacement shares, and drafted the column (g) adjustments I needed on Form 8949. I then had my CPA review the numbers before filing.

Two-account wash sales are genuinely messy. Each broker reports what they see and you have to reconcile manually — or apparently with help like that.

Right, and the IRS doesn't care that your broker didn't flag it. The burden is on you to report correctly, so getting the column (g) adjustments right on Form 8949 matters.

To be precise about the Form 8949 mechanics for the year of the original wash sale: you report with the box checked for whether basis was reported to the IRS, put code W in column (f), and put the disallowed loss amount as a positive number in column (g). That reduces your loss to zero for that year. The basis increase on the replacement shares is tracked separately — it doesn't appear on this year's Form 8949, it shows up as the higher cost basis when you eventually report the sale of the replacement shares.

Chris P.

Author

That clarification helps a lot. The Form 8949 for the wash sale year only shows the deferral, not the future recovery. Got it.

Does the basis adjustment survive if you gift the replacement shares to someone? Like does the recipient get the adjusted basis?

Yes — for a gift where the fair market value at the time of the gift is at least equal to the donor's adjusted basis, the recipient's basis for figuring a gain is the donor's adjusted basis, which would include the wash sale adjustment. Publication 551 covers basis of gifted property. The adjusted basis travels with the shares.

Good to know. I was thinking about gifting appreciated shares and wondered if the wash sale history mattered.

What if the replacement shares become worthless? Does the deferred loss in the basis just disappear in that scenario?

No — if the shares go to zero you have a realized loss equal to your full adjusted basis, including the wash sale addition. Worthlessness is treated as a sale for zero proceeds. You'd report it on Form 8949 and claim the full adjusted basis as your loss, subject to the normal capital loss rules on Schedule D.

Worth noting: the wash sale rules as written in Publication 550 also apply to losses on contracts and options to acquire or sell stock or securities. So if you sold the ETF at a loss and then bought a call option on the same ETF within 30 days, that's still a wash sale. The rules do NOT apply to commodity futures contracts or foreign currencies though.

Options creating wash sales is something a lot of people don't realize. Covered calls and puts on positions you're trying to harvest losses from can really complicate things.

When I was sorting out a chain of wash sales from day-trading activity, I gave Taxr my broker's year-end lot detail report and it walked through each transaction in date order, flagged the wash sale links between lots, and laid out the adjusted basis and holding period for every replacement lot. I used that output to fill in my Form 8949 column (e) and column (g) entries. Having it mapped out in order made the Schedule D reconciliation straightforward.

Chris P.

Author

That's the workflow I need. I have about 8 lots to trace and doing it manually in a spreadsheet has already given me two different answers.

To confirm the original question one more time: the basis increase on replacement shares is permanent in the sense that it doesn't expire or phase out. It stays in the basis of those shares indefinitely. The only ways it goes away are: you sell the shares (and realize the deferred loss through the higher basis), you trigger another wash sale (and it rolls forward again), or the replacement shares went into an IRA where the adjustment was never added in the first place.

Chris P.

Author

This is the clearest summary of the three scenarios. The IRA one being the exception where the loss truly disappears is the part I'll remember.

Agreed on all three scenarios. And for anyone holding these replacement shares at year-end, make sure your broker's cost basis shown on your account matches what you've calculated — brokers sometimes don't update the adjusted basis correctly when wash sales cross account types.

For the eventual sale of the replacement shares, do you check box A or box D on Form 8949 based on the original purchase of the replacement shares, or based on something else?

You check the box based on whether the broker reported basis for the replacement shares to the IRS, not anything about the original wash sale lot. If the replacement shares are covered securities with basis reported, check A (short-term) or D (long-term) depending on the holding period — remembering that the holding period includes tack-on time from the original shares.

OK and the adjusted basis in column (e) would be the already-adjusted number the broker shows, or the corrected number if the broker got it wrong?

If box A or D is checked (basis reported to the IRS) and the broker's basis is correct, enter what the 1099-B shows. If the broker's basis is wrong, still enter what the 1099-B shows in column (e) and put a correction in column (g) with code B in column (f). The instructions for Form 8949 at irs.gov/instructions/i8949 spell this out for the case where basis was reported but is incorrect.

One edge case: if you inherited the replacement shares from someone who had a wash sale adjustment in their basis, the inherited basis is generally fair market value at the date of death. So the wash sale history of the original owner typically doesn't follow inherited shares — the step-up (or step-down) resets everything. Publication 551 covers inherited property basis.

Yes — inherited property basis is set at fair market value at date of death (or alternate valuation date if the estate chose it and had to file Form 706). The decedent's wash sale adjustments don't carry through to the beneficiary.