Is selling an S&P 500 mutual fund and buying an S&P 500 ETF a wash sale?

Trying to harvest a loss before year end and my plan is to sell my S&P 500 index mutual fund (the one with the .mutual fund share class) at a loss and immediately buy an S&P 500 ETF from a different fund family. Same index, different product. My brokerage software is flagging it as a potential wash sale but their support just said "consult a tax advisor." I've read the basic IRS wash sale definition but I can't tell whether "substantially identical" covers this situation. The loss is real and I want to make sure I can actually deduct it on Form 8949 before I pull the trigger. Has anyone done this and had the IRS push back, or is this generally considered safe?

31 comments

The honest answer is: probably not a wash sale, but the IRS has never drawn a bright line here. "Substantially identical" is the test, and two funds tracking the exact same index with nearly identical holdings are closer to that line than, say, switching from an S&P 500 fund to a total market fund. Different fund families, different expense ratios, and different legal structures (open-end mutual fund vs. ETF) all push toward "not identical," but the IRS could still argue the economic exposure is the same. Most practitioners treat this as low risk, not zero risk.

Paul F.

Author

That tracks with what I've been reading. The "different legal structure" point is the one my brokerage ignored entirely when they flagged it.

Worth knowing what triggers the 1099-B reporting. Box 1g on your 1099-B only shows a wash sale disallowed amount if the securities sold were covered and the substantially identical ones bought had the same CUSIP number and were in the same account. A mutual fund and an ETF will never share a CUSIP, so your broker physically cannot flag it in box 1g. That doesn't mean the rule doesn't apply — you still have to self-report if it technically is a wash sale — but the CUSIP mismatch means no automatic 1099-B flag.

Paul F.

Author

This is actually the most useful mechanical detail I've seen. So the brokerage warning is just a generic caution, not a computed flag.

Correct. The brokerage is pattern-matching on "S&P 500" in the name, not running the CUSIP test. The CUSIP test is what the IRS uses to populate box 1g.

Switched from an S&P 500 mutual fund to a different family's S&P 500 ETF two tax years ago and took the loss with no issue. Filed it on Form 8949 Part I (short-term, box B since the mutual fund basis wasn't reported to the IRS for older shares) with no adjustment in column g. Never heard anything back.

Similar swap here, long-term shares, used Part II box E. Clean filing, no IRS correspondence.

I did almost the same harvest last December. Before filing I uploaded my 1099-B and my trade confirmations to taxr.ai and had Taxr check whether any of my transactions needed a wash sale adjustment in column (g) of Form 8949. It flagged two other sales I'd missed but said the mutual-fund-to-ETF swap had no matching CUSIP in the same account within the 61-day window, so column (g) stayed blank for that one. Gave me confidence to file it as a clean loss. The substantially identical question is a judgment call, but the CUSIP and account mechanics Taxr pulled from my documents matched what the instructions require for a reportable wash sale.

Paul F.

Author

That workflow makes sense — using the actual documents to check the CUSIP window rather than relying on the brokerage's generic warning.

One thing that matters a lot: are you buying from the same fund family? Vanguard's S&P 500 mutual fund and Vanguard's S&P 500 ETF are actually share classes of the same fund. That situation is much harder to defend as not substantially identical. Different families — Fidelity mutual fund to iShares ETF, for example — is a cleaner argument.

Paul F.

Author

Different families in my case, so that specific problem doesn't apply. But good flag for anyone at Vanguard doing this.

Don't forget the 30-day window runs both directions. If you bought the ETF within 30 days before you sell the mutual fund at a loss, that counts too. The rule is 30 days before or after the sale.

When I ran this scenario last year I uploaded both my year-end 1099-B and my brokerage transaction history to Taxr and it prepared a draft Form 8949 worksheet showing which column (f) codes applied and whether column (g) needed anything. For the mutual fund to ETF swap it left column (g) blank and noted the CUSIP difference. That matched what my CPA said when I ran the same question by her. Taxr pulled the trade dates, identified the 61-day window for each lot, and listed each one — saved a lot of manual cross-referencing.

Running it by a CPA after is the right call when the loss is big enough to matter. Good that the two checked out.

The legal structure difference does real work here. A mutual fund is priced once daily at NAV; an ETF trades intraday and has a creation/redemption mechanism that can produce different tax behavior. Courts and IRS guidance on substantially identical have mostly focused on options and bonds, not fund-to-fund swaps, so there's no ruling that nails this down cleanly.

If you want to eliminate the risk entirely, swap to an ETF tracking a different but correlated index — Russell 1000 or total stock market. You lose the pure S&P 500 exposure for 31 days but the substantially identical argument goes away completely.

This is what my advisor recommended. Russell 1000 covers the S&P 500 constituents plus a few hundred more names, so the beta is close but it's clearly a different security.

Paul F.

Author

I considered that but I'd rather hold the cleaner position. For the amount I'm harvesting the residual risk feels manageable.

Even if the IRS never challenges it, make sure you're reporting on the right part of Form 8949. Short-term lots (held one year or less) go in Part I, long-term in Part II. The holding period counts from the day after you bought the mutual fund shares to the trade date you sold them, not the settlement date.

Paul F.

Author

I have both short and long-term lots so I'll need entries in both parts. Good reminder on the trade date vs settlement date distinction.

If you do get a wash sale — say you have an automatic investment in the ETF that buys within 30 days — you don't just lose the deduction permanently. The disallowed loss gets added to the cost basis of the new ETF shares, so you recover it when you eventually sell those. The holding period of the old shares also carries over.

This is worth emphasizing. A wash sale defers the loss, it doesn't kill it. Unless the replacement shares end up in an IRA or Roth IRA, in which case the loss really is gone permanently.

Cancel any automatic dividend reinvestment or scheduled purchases in the ETF you're buying into during the 61-day window. Those auto-purchases count the same as a manual buy for wash sale purposes.

Report the sale on Form 8949 regardless. Use column (d) for the proceeds shown on the 1099-B, column (e) for your cost basis, and leave column (f) and (g) blank if there's no wash sale issue. That flows to Schedule D which carries to Form 1040.

And if your 1099-B does report basis to the IRS (covered shares, box A or D), use that exact basis in column (e) even if you think it's wrong — then adjust in column (g) if needed.

Worth noting: if your loss this year is large enough to exceed your capital gains, you can only deduct a limited amount against ordinary income in a single year. The rest carries forward. Publication 550 on the IRS site and the Schedule D instructions both cover the carryover worksheet if you need to calculate it.

Paul F.

Author

My gains and losses are roughly offsetting so the carryover issue probably won't hit me this year, but good to know.

The substantially identical question would get murkier if the two funds had identical portfolios by contract — like a fund that must hold the exact same 500 stocks in the same weights. Both an S&P 500 mutual fund and an S&P 500 ETF technically do that, which is why some practitioners flag it. The different-family argument is more about administrative independence than actual portfolio differences.

True. The clearest cases in IRS guidance involve things like Treasury bonds of slightly different maturities. Index fund swaps are genuinely unsettled territory.

To summarize where the thread landed: different-family S&P 500 mutual fund to S&P 500 ETF is widely treated as not a wash sale because the legal structures and fund families differ, and there's no IRS ruling saying same-index funds are substantially identical. The differing CUSIP only means your broker won't flag it in box 1g; it doesn't decide whether it's a wash sale. The risk isn't zero but it's low. Same-family (especially Vanguard share classes) is a different and riskier situation. Document your trade dates, hold the ETF past the 30-day window, and kill any auto-investments in the new security during that window.

Paul F.

Author

Exactly the summary I needed. Going ahead with the harvest using a different fund family and will report the loss clean on Form 8949 with no column (g) adjustment.