Can a Wash Sale Happen Across a Taxable Account and an IRA?

Updated July 9, 2026 6 min read

Selling a losing position in a brokerage account and buying the same investment back inside an IRA might feel like two separate accounts doing two separate things, but the tax rules don’t see it that way.

The short answer

Yes. The wash sale rule can apply across account boundaries, meaning a loss realized in a taxable brokerage account can be disallowed if a substantially identical investment is purchased in an IRA belonging to the same person within the rule’s window before or after the sale. Many investors assume the rule only tracks purchases within the same account, but the rule’s focus on the taxpayer, not just the account, is what extends it further.

What the wash sale rule normally covers

In its basic form, the wash sale rule disallows a tax loss when a substantially identical security is bought within a window surrounding the sale that generated the loss, whether that purchase happens shortly before or after. This is meant to prevent someone from claiming a tax loss while economically staying in the same position. Most explanations of the wash sale rule focus on trades within a single taxable account, but the underlying rule’s reach extends beyond any one account.

Why the IRA connection surprises people

Because an IRA is a tax-advantaged retirement account with its own separate tracking, it’s intuitive to think of it as walled off from a taxable brokerage account for these purposes. It generally isn’t. If shares are sold at a loss in a taxable account and the same or a substantially identical investment is then bought inside a traditional or Roth IRA belonging to the same person, the loss can be disallowed — and, unlike a wash sale entirely within a taxable account, the disallowed loss doesn’t get added back to the cost basis of the new shares the way it normally would. Because the replacement shares sit inside an IRA, that basis adjustment mechanism doesn’t carry over the same way, meaning the loss can effectively be lost for good rather than deferred.

How this differs from ordinary tax-loss harvesting

This cross-account version of the rule is a narrower, more technical trap than the everyday version investors think about when doing tax-loss harvesting inside a single account. It’s especially relevant for anyone using direct indexing to generate frequent, smaller harvestable losses, since more transactions across more holdings means more chances for a purchase in another account to overlap with one of them. Someone who is careful about avoiding a wash sale in their brokerage account, but who also runs automatic investments or dividend reinvestment inside a retirement account holding similar securities, can trip the rule without ever intending to buy back the same investment in the account where the loss occurred.

What to weigh

Coordinating trades across every account a person owns adds real complexity to a strategy that’s supposed to be simple. Anyone actively harvesting losses across multiple accounts benefits from tracking purchases everywhere, not just in the account where the sale happened, and treating retirement account purchases of similar holdings as something that needs to be checked against recent taxable-account sales rather than assumed to be unrelated.

A practical habit

Before repurchasing an investment similar to one just sold at a loss, checking recent activity across every account, taxable and retirement alike, is the simplest way to avoid an unexpected wash sale. Because IRA basis mechanics don’t offset a disallowed loss the way a taxable-account repurchase does, this particular version of the rule rewards caution more than most.