Do wash sales apply to IRAs? What I found out after selling at a loss

Trying to figure out if wash sales apply to IRAs before I make a move here. I sold shares of a tech ETF in my brokerage account at a loss last month. About two weeks later I bought the same ETF inside my Roth IRA thinking that was fine since it's a different account. My broker's 1099-B shows an amount in box 1g and the loss is flagged as disallowed. I went back and read the wash sale rules but I'm honestly not sure if the IRA purchase triggers it or if the disallowed loss just gets added to the new shares' basis like normal. The IRS instructions I found aren't totally clear on this for the IRA scenario specifically. Does the wash sale rule actually apply when the repurchase happens inside an IRA rather than a taxable account?

32 comments

Yes, the wash sale rule does apply to IRAs, and the result is worse than the standard case. If you sell stock at a loss in a taxable account and buy substantially identical stock in your IRA or Roth IRA within the 30-day window, the loss is disallowed permanently. The key difference: when the replacement purchase is in an IRA, the disallowed loss is NOT added back to the cost basis of the new shares inside the IRA. It's just gone. That's spelled out in Publication 550 under the wash sale section.

Nina V.

Author

That's the part that really stings. So I can't recover it through basis either. The loss is just wiped out entirely?

Exactly. The basis adjustment that normally saves you only applies when you buy in a taxable account. The IRA purchase severs that connection entirely.

Worth noting the 30-day window runs both directions. It's 30 days before AND 30 days after the sale. So even if you had bought the ETF in your IRA first and sold in the taxable account two weeks later, same result.

Nina V.

Author

Yeah I knew about the both-directions part, just didn't realize the IRA counted as a "substantially identical" purchase trigger. Assumed different account types meant different rules.

The IRS is pretty clear that the substantially identical stock doesn't have to be in the same account for the rule to apply. Your spouse buying it also triggers it. A corporation you control buying it triggers it. The IRA rule is just another extension of that same logic.

Had almost this exact situation last tax year with index fund shares. I uploaded my 1099-B and the trade confirmations to taxr.ai and it walked through each flagged transaction, matched the dates, and showed me which losses were permanently disallowed versus which ones still had a basis adjustment available because the replacement purchase was in my regular account not the IRA. That breakdown saved me from reporting wrong numbers on Form 8949. For your situation specifically, the disallowed loss goes in column (g) of Form 8949 as a positive number with code W in column (f), and nothing gets recovered.

Nina V.

Author

This is really helpful context. So the form mechanics are the same (code W, column g) but the economic result is different depending on where you bought the replacement shares.

Right. The form looks the same either way. The difference only shows up in whether you eventually recover the loss through higher basis on the new shares, which you can't when those shares live inside an IRA.

Just to be careful here: the wash sale rules cover stock and securities. Commodity futures contracts and foreign currencies are specifically excluded. So if you were trading those, different story. But ETFs held as securities absolutely fall under the rule.

I lost a meaningful loss this way two years ago. Sold in my taxable account, then auto-reinvestment in my Roth kicked in and bought the same fund nine days later. Didn't catch it until the 1099-B arrived the following January. By then nothing I could do.

Auto-reinvestment is such a common trap for this. Dividend reinvestment plans inside an IRA can do the same thing to a loss sale in a taxable account.

Yes, and brokers don't always warn you. Some do now but not all.

The holding period rule is also worth knowing for the standard case (non-IRA repurchase). When the wash sale rules apply and the loss gets tacked onto the new shares' basis, the holding period of the shares you sold also gets added to the holding period of the new shares. So short-term shares can become long-term faster because of this. Doesn't apply to your situation with the IRA purchase since there's no basis carryover at all.

Went through a similar wash sale mess last filing season. I had a mix of IRA and taxable repurchases across a dozen transactions and couldn't tell which losses were gone versus which ones had basis relief. I uploaded everything to Taxr and it went line by line through the 1099-B, matched each disallowed loss to whether the replacement was in a taxable or IRA account, and produced a summary showing the permanent losses separately. Made filling out Form 8949 straightforward instead of a guessing game.

Nina V.

Author

That multi-account scenario is exactly what makes this confusing. Good to know there's a way to sort through it systematically.

One thing people get wrong: even if your broker doesn't report the wash sale on the 1099-B box 1g, you still can't deduct the loss. Publication 550 is explicit that the disallowed loss rule applies whether or not it appears on the form. You're responsible for tracking it yourself if the broker misses it.

Yes, and brokers only flag it in box 1g when it's a covered security AND the replacement shares have the same CUSIP AND it happened in the same account. IRA purchases often won't trigger the broker's system at all.

Exactly the problem. The broker reports nothing, you think you're fine, you deduct the loss, and you're not fine.

Nina V.

Author

This is probably what would have happened to me if I hadn't looked into it. The 1099-B would have shown the loss as deductible and I would have taken it.

For reporting: Part I of Form 8949 for short-term, Part II for long-term. Code W in column (f), the disallowed amount as a positive number in column (g), and the net in column (h) reflects the disallowance. The instructions for Form 8949 at irs.gov walk through the column (g) mechanics step by step.

Does the same IRA rule apply if the IRA purchase was the first transaction and the taxable sale came after? Like IRA buys in January, taxable account sells the same fund at a loss in February?

Yes, the 30-day window is symmetric. The IRA purchase 30 days before the taxable sale triggers the wash sale just the same as one after. The result is the same too: permanent disallowance, no basis recovery.

Ugh. So you have to watch the IRA activity in both directions around any loss sale. That's harder to track than I thought.

Crypto is its own animal here, since the IRS digital assets page notes it currently follows different reporting rules. But if you're in ETFs or regular securities, the wash sale analysis everyone's describing here is exactly right.

I had a letter situation where I thought I'd reported a wash sale correctly but the numbers didn't match what I'd put on Schedule D. I uploaded the letter and my Form 8949 to Taxr and it identified where the disallowed loss from an IRA purchase had been added into basis incorrectly, which isn't allowed, and showed me what the corrected column (g) entry should look like. Worth using if you're not sure your numbers are right before filing.

Nina V.

Author

The basis error is exactly what I was worried about making. Good to know that's a checkable thing before you submit.

To be clear on what Publication 550 says: the basis adjustment exception only saves you when the replacement purchase is in a taxable account. It says explicitly that when an IRA or Roth IRA acquires the substantially identical stock, the loss is disallowed and the basis adjustment does not apply. The loss is not transferred anywhere.

Worth saying plainly since a few older forum posts still say the basis just carries into the IRA. It doesn't. That's wrong and can lead to a real underreporting problem.

If the scale of this is significant for you it might be worth talking to an enrolled agent before filing, especially if you have multiple accounts and multiple flagged transactions. The interaction between IRA and taxable wash sales across a full year of trading can get complicated fast.

For anyone who wants to read the primary source, Publication 550 chapter 4 covers wash sales in detail including the IRA exception. Topic 409 at irs.gov also covers the limit on deducting capital losses and carrying the rest forward, and is worth reading alongside it.

Nina V.

Author

Going to read both of those before I do anything else. At minimum I need to understand what I'm reporting before I sit down with the forms.