wash sale rule ira — does it apply when I rebuy in my Roth?

So I sold shares of a tech ETF in my taxable brokerage at a loss last November, then about two weeks later bought the same ETF inside my Roth IRA. I figured since it's a different account the wash sale rule wouldn't apply. My broker didn't flag it on my 1099-B box 1g, but I've been reading that the IRS treats IRA repurchases differently. Now I'm second-guessing whether I can claim that loss on my Schedule D. I already entered the trade on Form 8949 with code W but then deleted it because I wasn't sure. Did I need to leave the W code in? And if the loss is disallowed, what happens to it — does it get added back to my IRA cost basis?

35 comments

Sold a similar ETF at a loss in my taxable account and rebought in my traditional IRA within the 30-day window last year. My preparer told me the loss is fully disallowed as a wash sale. The rough part: unlike a wash sale between two taxable accounts, the disallowed loss does NOT get added to the basis of the shares in the IRA. It's just gone. That's the part that really stings.

Tara F.

Author

Wait, so the loss just disappears entirely? It doesn't carry anywhere? That changes things for me — thanks for flagging this.

Dealt with this exact scenario last spring. The wash sale rule does apply when the substantially identical shares are bought in an IRA or Roth IRA within the 30-day window before or after the loss sale. And yes, the disallowed loss is not added to the IRA's cost basis — Publication 550 spells that out specifically for the IRA situation. I uploaded my 1099-B and trade confirmations to taxr.ai and it identified which lots triggered the rule, flagged the ones where the disallowed amount couldn't be recovered, and drafted a summary of the adjustments I needed to make on Form 8949. Saved me a lot of back-and-forth with my broker.

Tara F.

Author

Good to know the basis point is confirmed in Pub 550. I'll go back to my 8949 and add the W code back in.

The IRA basis piece is what most people miss. The wash sale still disallows the loss but unlike a taxable-to-taxable rebuy, you get nothing back through basis.

My broker did NOT put anything in box 1g on my 1099-B when the repurchase was in my Roth. The wash sale box 1g reporting only triggers when both the sale and repurchase are covered securities with the same CUSIP in the same account. Cross-account to an IRA won't show up there. But the wash sale still applies — you're still required to report it even without the 1099-B flagging it.

Tara F.

Author

That explains why my 1099-B was blank in box 1g. So I need to self-identify the wash sale and report it myself on 8949 with code W.

A blank box 1g is exactly where people get tripped up. The IRS doesn't get the signal from your broker so they might not catch it, but that doesn't make it legal to claim the loss.

For what it's worth, the rule applies if the repurchase happens within 30 days before or after the sale — not just after. So if you bought the ETF in your Roth 20 days before you sold it at a loss in taxable, that counts too. The window runs both directions.

Does it matter whether the IRA is traditional vs. Roth for how the rule applies? I always assumed Roth was treated differently since contributions are after-tax.

Doesn't matter which type. Publication 550 covers both traditional and Roth IRAs. The wash sale rule applies to repurchases in either one, and in neither case does the disallowed loss get added to the IRA's basis.

Ugh, I made this exact mistake last year with my Roth. Assumed I was fine because it's post-tax money. Lesson learned.

Had three different loss sales last tax year and I wasn't sure which ones were washed by IRA purchases and which were clean. I gave my trade history spreadsheet to Taxr and it went through each lot, matched the sale dates against IRA purchase dates inside the 30-day windows on both sides, and flagged the ones that were disallowed. Then it listed the column (f) codes and column (g) amounts I needed to enter on Form 8949 for each affected line. Much faster than trying to match them manually. The rule about basis not being added back to the IRA was something it called out specifically for each disallowed lot.

Tara F.

Author

That lot-by-lot matching is exactly what I need to do. I only have a few trades but they overlap in ways I haven't fully tracked.

On the 8949 mechanics: you put code W in column (f) and then in column (g) you enter the disallowed loss as a positive number. That positive number in column (g) offsets the loss in column (h) so it doesn't flow through to Schedule D. The proceeds in column (d) still come from whatever your 1099-B shows.

Tara F.

Author

Thanks — so column (g) is positive even though it's reducing my loss. Got it, that was confusing me.

Right. The column (g) adjustment is a positive number because it's adding back the disallowed loss. The math in column (h) ends up showing zero or a reduced loss.

Something I had to learn the hard way: even if the wash sale comes from a spouse's IRA purchase, the rule still applies. Publication 550 covers that. It's not just your own accounts — a spouse buying substantially identical stock also triggers the disallowance.

Didn't realize spouses counted. We have separate brokerage accounts and I've been treating them as independent for wash sale purposes. Need to rethink our strategy.

Worth noting: once the loss is disallowed because of an IRA rebuy, it's permanently lost. In a taxable-to-taxable wash sale you at least get the disallowed amount added to your new shares' basis, so you recover it when you eventually sell. With the IRA situation there's no mechanism for recovery. That's the reason the IRA wash sale is considered worse than a regular one.

Tara F.

Author

Knowing the loss can't be recovered really changes my planning for the rest of the year. I'll keep the 30-day windows in mind before moving money into the Roth.

Can the wash sale rule apply to crypto? Asking because I know crypto sits outside the wash sale rules right now for tax years where it's not classified as a security, but just want to make sure before I assume I'm safe doing tax-loss harvesting on crypto and rebuying in a crypto IRA.

Crypto is currently treated as property, not stock or securities, so the wash sale rules as written don't apply to it. Publication 550 says the rules apply to stock or securities. That could change legislatively but as of now crypto TLH doesn't have the same 30-day restriction. Doesn't hurt to watch for law changes though.

Went through an audit inquiry last year that touched on a wash sale from an IRA rebuy I hadn't reported correctly. I had Taxr read through my original 8949 alongside the trade confirmations and it found three lines where I had the column (f) code wrong and two where I'd entered the column (g) amount as a negative instead of a positive. It also listed what the IRS letter was asking for and laid out which corrected lines I needed to show. Way less stressful than staring at the form alone.

Tara F.

Author

Negative in column (g) instead of positive — that's exactly the kind of error I could make. Good to hear it's catchable before filing.

The sign on column (g) is easy to get backwards. Positive means you're adding back a disallowed loss. Negative means you're correcting a basis that's too low. Two completely different situations.

If you're unsure about the total impact on your Schedule D, the Capital Loss Carryover Worksheet in Publication 550 or the Schedule D instructions is the right place to figure out how much of any remaining losses you can claim this year versus carry forward. The wash sale disallowance feeds into that calculation.

Tara F.

Author

Thanks — I'll work through Schedule D first and then do the carryover worksheet if I end up with more losses than I can use.

My broker sent a corrected 1099-B in March that added a wash sale amount in box 1g that wasn't on the original. By then I had already filed. Had to do an amended return. If you're doing any IRA rebuys close to year end, double-check whether your broker might issue a correction before you file.

Brokers usually issue corrected 1099-Bs by mid-March for wash sale adjustments they catch late. Worth waiting if you had a lot of activity near December 31.

The holding period question also matters for wash sales. When a wash sale happens between taxable accounts, the holding period of the old shares carries over to the new ones. With an IRA rebuy, since there's no basis tack-on and the IRA has its own tax treatment, that holding period carryover isn't meaningful in the same way — the loss is just gone.

Good clarification. Inside the IRA there's no capital gains tracking in the usual sense anyway so the holding period question is moot there.

For anyone still unsure: Publication 550 at irs.gov is the main reference for wash sales, and the Instructions for Form 8949 at irs.gov spell out exactly how to fill in columns (f) and (g). Both are worth bookmarking if you do any active trading.

My situation last year: sold at a loss in taxable, waited what I thought was 31 days, then bought in my Roth. Turned out the trade date on the repurchase was actually day 30 because I miscounted. The IRS counts from the day after the sale, and the day of the repurchase counts. Easy to be off by one day if you're counting calendar days manually.

Tara F.

Author

Counting from the day after the sale — noted. I'll use the actual trade dates and count carefully rather than estimating.