The IRA wash sale: why a repurchase in your IRA kills the loss permanently
Sell at a loss in a taxable account, buy the same thing in an IRA within 30 days, and the loss is disallowed and can never be recovered. Revenue Ruling 2008-5 explained.
Sell at a loss in a taxable account, let your IRA buy the same security within 30 days, and the loss is gone for good. In an ordinary wash sale the loss is only deferred. It moves into the basis of the replacement shares and comes back when they are sold. Revenue Ruling 2008-5 addressed a replacement bought inside an IRA or Roth IRA. The loss is disallowed under §1091, and the IRA's basis is not increased. Nothing in an IRA is taxed lot by lot, so there is no way to recover the loss.
How it happens by accident
The common case is dividend reinvestment. You sell an index fund at a loss in December to harvest the loss, and in the same month your IRA reinvests a distribution into the same fund. Another is a household owning the same ETF in a taxable account and a spouse's Roth. A third is a target-date or robo portfolio that rebalances into a fund you just sold. No broker reports any of these, because the two accounts are different and often at different firms.
Substantially identical may be broader than the same ticker
Whether two S&P 500 index funds from different providers are substantially identical is unsettled. The IRS has not ruled on ETF pairs and has given no safe harbor. Selling VOO and buying IVV in an IRA is a risk many practitioners would flag. By default WashTax treats funds that track the same index as identical. That is a cautious choice, not settled law.
What people do about it
A common precaution before harvesting is to list every account in the household, including IRAs and the spouse's, and check for purchases of the same or a look-alike security in the 61-day window. Another is to switch off automatic reinvestment in retirement accounts for the fund being sold. If a wash sale already happened, Publication 550 says the loss cannot be deducted whether or not the 1099-B shows it. It is reported with code W on Form 8949. Confirm your own situation with your preparer.
WashTax generates capital-gains forms and analysis. It is not tax advice and does not file your return. These articles explain the rules as we read them; confirm your own situation with your preparer. Sources: IRS Publication 550; Instructions for Form 1099-B and Form 8949; Revenue Ruling 2008-5; the broker help pages quoted on the broker comparison.