Does swapping to different ETFs avoid wash sale rules — substantially identical securities?

Sold my S&P 500 index ETF at a loss in late November and bought a different S&P 500 ETF from another fund family two days later. Same index, different issuer, different ticker. My broker flagged it as a wash sale on my 1099-B — box 1g has the disallowed loss amount. I figured two ETFs tracking the same index from completely different companies couldn't possibly be "substantially identical." Tried reading Publication 550 but it doesn't give a bright-line answer for index funds. My tax software is just accepting the broker's flag and not letting me claim the loss. Does swapping to different ETFs actually avoid wash sale rules when the securities are substantially identical, or is my broker right that this counts?

33 comments

My broker did the same thing to me last December — flagged an SCHB-to-VTI swap as a wash sale. The honest answer is the IRS has never published a ruling specifically on whether two ETFs tracking the same index are "substantially identical." The term comes from Publication 550 but the IRS defines it by factors, not a checklist. Same index, same composition, same weighting — that's risky territory regardless of issuer.

Sam S.

Author

That's the part that frustrates me. My situation is literally two funds that track the identical index. I was hoping different issuers gave me cover but sounds like it might not.

Brokers are conservative on this because they face penalties if they misreport. The flag on box 1g doesn't legally bind you — if you believe the securities aren't substantially identical, you can override it on Form 8949. You'd put code W in column (f) if you agree with the disallowance, or report the loss without code W if you disagree and document your reasoning. The IRS could challenge it.

Overriding a broker-flagged wash sale sounds like a great way to get a CP2000 notice. I'd be very careful doing that without a written position on file.

Fair point. Having a documented position matters. If the amount is significant, an enrolled agent or CPA who works with investors is worth the cost before you override anything.

I uploaded my 1099-B and my trade history to taxr.ai last tax season when I had a similar ETF swap situation. It read through the box 1g entries, matched each flagged lot to the replacement purchase dates, and drafted a summary showing me exactly which lots were within the 30-day window and which weren't. Helped me see the problem clearly before I decided whether to push back. On the substance: Publication 550 says the wash sale window is 30 days before or after the sale — different ETF ticker doesn't automatically get you out if the holdings are nearly identical.

Sam S.

Author

The 30-day matching by lot is actually what I need to see. My trades are spread across a few dates and I'm not sure which specific lots are actually inside the window.

The "substantially identical" question on ETFs has never been definitively answered by the IRS for index funds from different issuers. Some tax pros argue two funds with different issuers, different portfolios (even if similar) and different expense ratios aren't substantially identical. Others think same-index funds are too close. The ambiguity is real and it cuts both ways.

My reading of it is that the closer the underlying holdings, the harder the argument. SPY vs VOO is a tougher position than SPY vs a small-cap ETF.

I took the loss on a similar swap and the IRS never questioned it. But I went from an S&P 500 fund to a total market fund — meaningfully different holdings even if they overlap. That distinction matters more than just different tickers.

Sam S.

Author

Total market vs S&P 500 is what I should have done. Mine was S&P 500 to S&P 500, just different fund company. That's the problem I think.

Yeah S&P 500 to S&P 500 is the hard case. S&P 500 to total US market or to a developed international fund is a much cleaner argument.

Even if the wash sale sticks, the disallowed loss isn't gone forever — it gets added to the cost basis of the replacement shares. So when you eventually sell those, your gain is reduced. Report the loss with code W and the disallowed amount as a positive number in column (g) of Form 8949, Part I or Part II depending on your holding period for the shares sold.

This is the part people miss. The loss defers, it doesn't disappear. You'll recover it when you sell the replacement position — as long as you don't trigger another wash sale on the way out.

I had a whole batch of these across four ETF pairs and I gave Taxr my trade confirmations and the 1099-B. It went line by line and flagged every lot where the replacement buy date fell inside the 30-day window on either side of the sale. It also listed the lots that looked like they were outside the window and might not qualify as wash sales. That gave me something concrete to bring to my CPA before she decided how to report them.

Sam S.

Author

Four ETF pairs sounds like a nightmare to untangle manually. Getting that laid out before meeting a CPA is exactly what I need to do too.

One thing worth knowing: the wash sale rules also apply if your IRA or Roth IRA bought substantially identical securities within the 30-day window, per Publication 550. And in that case the disallowed loss isn't added to any basis — it's just gone. So if you have automatic dividend reinvestment in a retirement account holding the same fund, check those dates too.

Sam S.

Author

I do have a Roth IRA and it holds an S&P 500 fund. I didn't even think about that. I need to check whether any reinvestment happened around those dates.

Look at the ex-dividend dates for the fund in the Roth. Reinvestment from a dividend can be a triggering purchase you never manually made.

My firm's tax department told me the cleaner swap to avoid this question entirely is moving to a fund with a genuinely different index — Russell 1000 instead of S&P 500, for example. Different construction methodology, different committee, different constituent list even if there's big overlap. Not a guarantee but a stronger argument than same-index-different-issuer.

I sold at a loss and swapped into a sector-rotation strategy for 31 days, then went back. More work but it kept me in the market, got me different exposure for the hold period, and the wash sale argument goes away entirely. 31 days clears the window on both sides.

31 days is the number. 30 days is the rule, so 31 is what clears it. Worth noting the window runs from 30 days before the sale through 30 days after, so you can trigger it on purchases before the sale too.

My broker's 1099-B had a wash sale flag on a lot I was pretty sure wasn't actually a wash sale. I checked the instructions for Form 8949 at irs.gov — specifically the section on code W and column (g) adjustments. If the basis reported on the 1099-B is wrong because the broker flagged something incorrectly, the instructions explain how to adjust it.

Correct process. With box A or D checked (basis reported to IRS), you enter what the 1099-B says in column (e) even if wrong, then adjust in column (g). With box B or E, you enter the correct basis in column (e) directly.

Nobody at the IRS has published a revenue ruling or even informal guidance saying same-index different-issuer ETFs are or aren't substantially identical. That gap means you're taking a position either way. If the amount of the disallowed loss is large enough to matter, that's a CPA or enrolled agent conversation, not a DIY call.

I reported the loss, got audited on an unrelated issue, and the auditor didn't even look at the ETF swap. That's not guidance, obviously, and audit selection is random, but I was more worried about it than I needed to be. I did have a written file explaining why I thought the funds weren't substantially identical.

The written file is the right move regardless of audit odds. If you're taking a position contrary to your broker's 1099-B, you want documentation of your reasoning in case you're ever asked.

My situation last year: sold an ETF, bought the "substantially identical" replacement 15 days later thinking the different ticker was enough. The broker flagged it, I accepted the disallowance, added the amount to my replacement shares' cost basis, and moved on. Sometimes accepting the deferral and tracking the adjusted basis carefully is simpler than fighting the classification.

Sam S.

Author

That might be where I land. The loss isn't huge and if it's just deferred rather than gone, maybe it's not worth the risk of overriding a broker flag on an unsettled legal question.

The holding period of the replacement shares also matters — Publication 550 says the holding period of the new shares includes the holding period of the shares you sold when a wash sale occurs. So if you held the original shares long enough that combined periods push you past a year, those replacement shares could qualify for long-term rates when you sell.

My replacement shares ended up long-term because of the tacked holding period even though I'd only owned them a few months. That actually worked in my favor when I eventually sold.

Bottom line from reading this thread: same-index different-issuer is legally ambiguous, your broker's flag isn't binding but overriding it is a risk, the loss is deferred not destroyed if the wash sale stands, and the cleanest avoidance strategy is a genuinely different index or waiting 31 days. That's the practical summary.

Sam S.

Author

That's exactly where I've landed. I'm going to accept the deferral for this year, adjust my replacement shares' basis, and next time I'll swap to a different index or wait out the window.