Do wash sale rules apply to IRAs?

Trying to figure out if wash sale rules apply to IRAs before I make a move. Here's my situation: I sold shares of a tech ETF in my taxable brokerage account at a loss last month. About two weeks later I bought the same ETF inside my Roth IRA. My 1099-B for the taxable account will show the loss, but I've seen conflicting things online about whether the IRA purchase triggers a wash sale. Some sources say it doesn't matter because the IRA isn't a taxable account. Others say the IRS does treat this as a wash sale. I didn't repurchase anything in the taxable account itself. I just want to know if the loss on my 1099-B is actually disallowed, and if so what I do on Form 8949.

30 comments

Form 8949 is where this lands if the loss is disallowed. The wash sale rule is triggered when you buy substantially identical securities within 30 days before or after the sale — and Publication 550 explicitly covers purchases made in an IRA or Roth IRA as wash sale triggers. So yes, the IRA purchase counts.

Maya F.

Author

That's the confirmation I needed. So the loss is disallowed even though the repurchase was in a completely different account type?

yeah i made this mistake a couple years ago and it stung. sold at a loss in my taxable account, bought same fund in my rollover IRA like 10 days later thinking i was safe. the loss was disallowed and the worst part is it doesn't get added back to your IRA cost basis — it's just gone.

Maya F.

Author

That's the part I keep seeing and it scares me. The disallowed amount doesn't transfer to the IRA like it would with a regular account repurchase?

Correct. When a wash sale happens because the IRA bought the shares, Publication 550 says the disallowed loss cannot be added to the basis of the new shares in the IRA. With a taxable account repurchase, the disallowed loss adjusts the new cost basis. With an IRA repurchase, that adjustment doesn't apply — the loss is permanently gone.

Publication 550, chapter 4 covers this directly under Wash Sales. The IRA and Roth IRA purchase rule is spelled out there. Worth reading the full section because it also covers situations where your spouse buys the same security or a corporation you control does — the net is wider than most people realize.

1099-B box 1g is where the broker reports the disallowed wash sale loss if it's a covered security with the same CUSIP bought in the same account. Here's the catch though — when the repurchase is in an IRA, the broker often doesn't flag it in box 1g because the IRA is a separate account and they can't see across accounts. I uploaded my 1099-B and trade history to taxr.ai and it cross-referenced the dates and CUSIPs and flagged the wash sale I would have missed. The loss still has to be reported with code W in column (f) of Form 8949 even if box 1g is blank.

Maya F.

Author

This is exactly what I was worried about. So the broker might not catch it on the 1099-B at all, and I still have to self-report it with code W?

Exactly. The IRS rule applies whether or not it shows on the 1099-B. Publication 550 says you cannot deduct a wash sale loss even if it's not reported on Form 1099-B. You have to catch the cross-account situation yourself.

Form 8949 instructions say to put code W in column (f) and enter the disallowed loss as a positive number in column (g). That positive entry in column (g) offsets the loss in column (d) minus column (e), so the net gain/loss for that row comes out to zero. That's how you show it's disallowed without just leaving the row blank.

Maya F.

Author

Got it, the positive amount in column (g) neutralizes the loss on that row. And then it just flows through to Schedule D at zero for that position.

To get the right box on Form 8949 — if the ETF is a covered security and the broker reported basis to the IRS, you check box A (short-term) or box D (long-term) depending on your holding period. If the broker didn't report basis, it's box B or E. The wash sale code W goes in column (f) either way. The 2025 Form 8949 has new boxes for digital assets — those are G through L — but a regular ETF still uses the old boxes.

something worth noting: even if the 30-day window crosses into January, the wash sale still counts. people sometimes think the calendar year reset saves them. it doesn't.

sold in late december and rebought in IRA in early january one year thinking i was fine. it was not fine.

The holding period rule is also worth flagging. When a wash sale happens in a same-account repurchase, the holding period of the original shares carries over to the new ones. With an IRA repurchase, that carryover doesn't apply either — there's no new taxable lot to attach it to. So you lose the loss and the holding period adjustment.

Right, and that's because the IRA purchase creates no taxable basis event at all. The carryover mechanism only works when the disallowed loss is added to the new lot's cost basis, which can't happen inside an IRA.

Schedule D is where this ultimately lands — the zero from the wash sale row on Form 8949 flows to Schedule D line 1b, 2 or 3 if it's short-term, or line 8b, 9 or 10 if it's long-term, depending on the box you checked (lines 1a and 8a are only for rows with no adjustments, so a code W row can't go there). I had a string of these across a taxable account and a traditional IRA last year and the cross-account tracking was a mess. Uploaded everything to Taxr and it built me a complete list showing which sales were affected, what the disallowed amounts were, and which rows on Form 8949 needed code W. Saved me a lot of manual date-matching.

Maya F.

Author

Thanks — knowing Schedule D is the endpoint helps me see the whole picture. I'll start with Form 8949 and work from there.

One thing that matters for how bad this is: did you sell at a large loss or a small one? If it's small, it's annoying. If it's a significant amount, you've permanently lost that deduction, which could matter for your capital loss carryover situation on Schedule D.

Maya F.

Author

It's not huge but not trivial either. Enough that I'd rather not lose it permanently. Lesson learned on timing IRA purchases.

Publication 550 is the main reference here, specifically the Wash Sales section. The irs.gov page on digital assets is a separate matter — people sometimes confuse the two sets of rules. Crypto has its own wash sale status questions right now, but for ETFs and regular securities the Publication 550 rules apply cleanly.

worth asking your brokerage if they offer any cross-account wash sale tracking. some do, some don't. if yours doesn't, you're on your own for catching the IRA repurchase — the 1099-B will just show the loss as deductible and you have to override it.

Maya F.

Author

Mine definitely doesn't flag cross-account. I'll have to track it manually going forward.

Form 8949 column (g) instructions have a worksheet section too if you have multiple adjustments on the same lot — like if you also have a basis correction in addition to the wash sale code. Code B and code W go together in column (f) in alphabetical order ("BW") on the same row, with the net of both adjustments in column (g). Worth reading the instructions for Form 8949 carefully if you have both issues on the same row.

The capital loss carryover worksheet in Publication 550 is relevant if the wash sale kills enough of your losses to flip your Schedule D net. If you expected a net loss to deduct against ordinary income up to the annual limit and now you don't have it, your carryover calculation changes. Run the worksheet either way.

Maya F.

Author

Good reminder. I'll run the carryover worksheet regardless so I know where I stand.

Also worth flagging: the wash sale rule applies to losses only. If you had sold the ETF at a gain in the taxable account and then bought it in the IRA, there's no wash sale issue — gains aren't subject to the rule. Only losses trigger it.

right, wash sale is purely a loss-disallowance rule. gains are just gains.

If the complexity here is adding up — cross-account tracking, possible basis corrections, carryover worksheet — it might be worth a session with an enrolled agent or CPA before you file, especially if the disallowed amount is significant. They can also confirm whether your broker's 1099-B needs to be overridden on Form 8949 and how to document it.

Maya F.

Author

Thanks — I'll try to sort the Form 8949 entries myself first with the Publication 550 guidance, but I'll keep that option open if it gets complicated.