Does buying and selling stock at a loss in IRA affect wash sale in taxable account?

Trying to figure out if does buying and selling stock at a loss in ira affect wash sale in taxable account rules. Here's my situation: I sold shares of a broad market ETF in my Schwab brokerage account at a loss in late November. About a week later I bought the same ETF inside my Roth IRA. My 1099-B from Schwab shows the loss, no wash sale code W in box 1g. But I've been reading that IRA purchases can trigger a wash sale even when the broker doesn't flag it. Does the IRA purchase actually disallow my taxable loss? And if the broker doesn't report it, do I still have to adjust Form 8949 myself? I already filed Schedule D but I'm second-guessing whether the loss was legitimate.

42 comments

Did you buy the exact same ETF in the Roth, same ticker and everything? That matters because the wash sale rule applies to "substantially identical" securities, and some people swap to a different-but-similar fund to avoid this.

Emily K.

Author

Yes, identical ticker, same fund. I didn't do a fund swap. That's why I'm worried now.

So the short answer is yes, it can. The wash sale rules specifically cover acquiring substantially identical stock in your IRA or Roth IRA within the 30-day window before or after the loss sale. I uploaded my 1099-B and IRA trade confirms to taxr.ai last year in almost exactly this situation, and it walked through each transaction date and flagged which loss was disallowed based on the IRA purchase date. The rule is in Publication 550 under Wash Sales. The key difference from a regular wash sale: when the IRA triggers it, the disallowed loss does NOT get added to the basis of the new shares. It's just gone.

Emily K.

Author

Wait, the loss is permanently gone when the IRA buys? Not just deferred?

Correct. With a normal wash sale the disallowed loss moves into the cost basis of the replacement shares. But when the replacement purchase is inside an IRA or Roth IRA, there's no mechanism to carry that loss into the account. Publication 550 says the disallowed loss is added to the cost of the new stock "except when the IRA or Roth IRA bought them." So yes, permanently disallowed.

Emily K.

Author

That's genuinely painful to find out after the fact. So I need to go back and correct my 8949.

Are you certain the 30-day window actually overlaps? The rule is 30 days before or after the sale date, not the settlement date. For exchange-traded securities the holding period and wash sale window runs from trade date.

Emily K.

Author

Sale was November 22, Roth IRA purchase was November 29. That's 7 days after. Well inside 30.

Yeah that's clearly inside the window then. No wiggle room there.

My broker didn't flag my IRA-triggered wash sale either. Brokers only report code W in box 1g on the 1099-B when the repurchase was in the same account with the same CUSIP. Cross-account and IRA purchases are invisible to them. You're on your own to track it.

This is the part that trips people up. The IRS rule still applies even if the 1099-B shows nothing. You can't deduct the loss just because the broker missed it.

So if the broker won't put code W on the 1099-B for an IRA-triggered wash sale, how exactly do you fix Form 8949? Do you use box B since basis wasn't reported to the IRS, or stay in box A?

You stay in whichever box matches what the 1099-B said — box A if basis was reported to the IRS, box B if not. Then you add code W in column (f) and put the disallowed loss amount as a positive number in column (g). The proceeds in column (d) stay exactly as the 1099-B shows them.

And the net effect is that column (h) ends up showing zero gain or loss on that row?

Right, the adjustment in column (g) offsets the loss so the net is zero for that lot.

Does this only apply to Roth IRAs or traditional IRAs too?

Both. Publication 550 covers any IRA. The rule applies when you or your spouse acquires substantially identical stock in an IRA, Roth or traditional.

What if the IRA purchase was made by your spouse in their own account? Does that also count?

Yes, a spouse's purchase of substantially identical stock counts under the wash sale rules, same as your own purchase. The rule specifically includes that scenario.

Didn't realize spouses were looped in. Good to know before my wife rebalances her IRA in December while I'm harvesting losses.

Had this exact problem last filing season. My 1099-B showed a clean loss, no codes, but I'd bought back the same fund in my traditional IRA nine days later. I ran my trade history through Taxr — gave it the taxable account 1099-B and the IRA trade confirmations — and it matched up each pair by date and CUSIP, then showed me exactly which rows on Form 8949 needed a W code and what number to drop in column (g). Saved me from reporting a loss I legally couldn't take.

Emily K.

Author

Did it also handle the part where the disallowed loss doesn't transfer to IRA basis? I want to make sure I understand the full picture before I file an amendment.

Yes, it was clear that the disallowed amount just disappears — no basis adjustment inside the IRA. That's the brutal part of the IRA wash sale versus a same-account one.

If you already filed and didn't make this adjustment, you'd need to file a 1040-X. The corrected Form 8949 and Schedule D would go with it. Probably worth calculating how much tax this actually changes before deciding whether to amend.

Emily K.

Author

Yeah I'm running the numbers now. Might be small enough that the amendment risk isn't worth it, but I want to know the right answer either way.

The permanently-lost piece is what most people miss. I uploaded my year-end IRA and brokerage statements to Taxr when I was trying to sort out a similar cross-account wash sale last year. It flagged the specific lots, identified which losses were permanently gone versus which ones just had a basis adjustment in the taxable account, and drafted a summary showing how column (g) on Form 8949 should read for each row. Really helped me see the difference between a standard wash sale and an IRA-triggered one before I sat down with my CPA.

Did your CPA agree with the analysis once you brought it in?

She did. She said the IRA wash sale issue is one she has to explain to clients every loss-harvesting season because brokers never catch it.

Worth noting: the wash sale rules don't apply to commodity futures contracts or foreign currencies, only to stock and securities. So if someone is harvesting losses in ETFs or individual stocks, they're squarely inside the rule. If you were trading something like a currency futures product it would be different.

Good distinction. For anyone holding crypto, the IRS treats digital assets differently from securities for wash sale purposes currently, though that's subject to change with new legislation.

Can the wash sale window go backwards too? Like if the IRA bought first and then the taxable account sold at a loss 20 days later, does that also trigger it?

Yes, it's 30 days before or after the sale. So if the IRA bought 20 days before you sold the same thing in the taxable account at a loss, that sale is a wash sale. The window runs both directions from the sale date.

That's the part I always forget. People think it's only about what you buy after you sell.

So to make sure I have this right: broker reports no W code on 1099-B, but taxpayer is still required to self-report the wash sale on Form 8949 with code W and a positive adjustment in column (g), and the loss is permanently gone with no basis pickup inside the IRA?

That's exactly the rule. The 1099-B instructions don't require brokers to flag cross-account or IRA wash sales. The obligation to report correctly sits with the taxpayer regardless of what the broker reports.

Publication 550 is the place to read the full wash sale rules including the IRA exception. The IRS also has instructions for Form 8949 at irs.gov/instructions/i8949 that walk through how to use code W and column (g). Both are worth bookmarking if you're doing any tax-loss harvesting.

Emily K.

Author

I found those pages after posting. The Publication 550 language is pretty clear once you read it carefully. Wish I'd checked before selling.

Has anyone dealt with a situation where only part of a lot was repurchased in the IRA? Like if the taxable account sold 100 shares at a loss but the IRA only bought 60 shares of the same fund?

The wash sale only applies to the number of shares that were repurchased, so only 60 out of 100 shares' worth of the loss would be disallowed. The loss on the other 40 shares should be deductible, assuming no other repurchases in the window.

Makes sense, proportional disallowance. So you'd have to split the lot on Form 8949 into two rows to show the disallowed portion and the allowed portion separately.

Exactly right. Two rows, same sale, one with code W and the adjustment, one clean.

The takeaway from this thread for anyone loss-harvesting across taxable and IRA accounts: either swap to a fund that isn't substantially identical, or wait the full 30 days before buying back in the IRA. There's no way to recover the loss once the IRA purchase triggers a wash sale — unlike a same-account wash sale where at least the basis carries forward.