Looking for a list of ETF pairs that avoid wash sale rule for tax loss harvesting

Been doing tax loss harvesting this year and I keep running into the wash sale rule whenever I try to sell and rebuy too quickly. I know the rule says 30 days before or after the sale, so I've been looking for a list of ETF pairs that avoid wash sale rule for tax loss harvesting — funds that track different enough indexes that the IRS won't treat them as substantially identical. I've tried swapping VOO for SPY and I think that might be a problem since they track the same index. Then I tried VTI for ITOT and I'm not sure if those count as substantially identical either. I'm mostly in broad US equity and some bond funds. Is there an actual published list anywhere, or is this just judgment call territory? And how do I report the ones I already swapped on Form 8949?

41 comments

The IRS has never published a safe-harbor list of ETF pairs. "Substantially identical" is a facts-and-circumstances determination and the IRS has not issued guidance specifically for ETFs. What practitioners generally point to: two funds tracking the exact same index (like SPY and VOO, both S&P 500) are the riskiest pairs. Two funds tracking different but correlated indexes are generally considered safer, though not guaranteed.

Diego R.

Author

So VOO → SPY is probably a wash sale but VTI → ITOT might be safer because VTI tracks CRSP US Total Market and ITOT tracks S&P Total Market? They're similar but not the same index?

Yes, that's the general reasoning people use. Different index provider, different constituent methodology. No IRS ruling confirms it, but that's the distinction tax professionals commonly draw.

I uploaded my year-end brokerage statement to taxr.ai and it flagged every transaction where I sold and rebuyed within the 61-day window, then showed me which ones had a "W" code on the 1099-B box 1g and which ones my broker had missed. That was actually useful because I'd already done a VOO-to-SPY swap and my broker hadn't flagged it but Taxr marked it as high-risk for substantially identical treatment. Made me go back and check the index methodology before filing.

Diego R.

Author

Did it tell you what to do with the ones your broker missed on the 1099-B?

Yes — it said even if box 1g is blank, the disallowed loss still can't be deducted, and I needed to report it on Form 8949 with code W in column (f) and the disallowed amount as a positive number in column (g). That matched what I found in Publication 550.

Pairs I've personally used and felt comfortable with after researching the indexes: US Large Cap: VOO (S&P 500) ↔ SCHX (Dow Jones US Large-Cap) US Total Market: VTI ↔ SCHB (Dow Jones US Broad Market) Intl Developed: VXUS ↔ IXUS (MSCI ACWI ex-US) US Bonds: BND ↔ AGG (Bloomberg US Aggregate) None of these are IRS-approved. The logic is different index, different provider.

BND and AGG both track the Bloomberg US Aggregate Bond Index though. That one might be the same index, different provider, which is a closer call than the equity pairs.

You're right, I should have flagged that. BND tracks the Bloomberg US Aggregate Float Adjusted Index and AGG tracks the Bloomberg US Aggregate Bond Index — they're very similar but technically distinct. Still a closer call than I implied. Worth checking the fund prospectuses.

Diego R.

Author

This is exactly the kind of detail I needed. So the safest pairs have both a different index AND a different provider?

Worth noting: even if two ETFs track different indexes, if their portfolios are substantially similar in composition the IRS could still argue they're substantially identical. No court case has tested this directly for ETFs, so everyone is operating on informed judgment, not certainty.

My understanding of how to report the ones you've already done: if the wash sale is on a covered security and your broker reports it, the "W" code and the disallowed loss appear in box 1g of the 1099-B. You then enter it on Form 8949 Part I (short-term) or Part II (long-term) with the matching box checked, code W in column (f), and the positive disallowed amount in column (g). The disallowed loss gets added to the cost basis of the replacement shares.

Diego R.

Author

And if the broker didn't catch it — like if they didn't flag the VOO-to-SPY swap — do I still have to report the W code myself?

Yes. Publication 550 is explicit: you can't deduct the loss even if it's not reported on Form 1099-B. You'd still use code W and the disallowed amount in column (g), and add that amount to your basis in the replacement shares.

Had about 40 transactions last October during a volatile week and I wasn't sure which ones triggered wash sales across accounts. Gave Taxr my two brokerage 1099-Bs and it cross-referenced the buy and sell dates across both accounts, listed which pairs fell inside the 61-day window, and drafted a column (g) adjustment worksheet I could hand to my preparer. Saved a lot of manual work. The cross-account piece is what brokers don't catch — they only look within their own account.

The cross-account issue is real. Your broker has no visibility into your other accounts at a different broker, so those wash sales are entirely on you to track.

Yes, and the IRS rule applies across all your accounts — including if your spouse buys substantially identical stock in a joint or separate account, or if a corporation you control buys it. Brokers can't catch any of that.

Sector ETFs can be useful for staying in the same general market exposure without hitting wash sale issues. Selling a broad S&P 500 ETF at a loss and buying sector ETFs that together approximate the index — not identical securities, different holdings — is a strategy some advisors use. More complex to manage but preserves market exposure.

Diego R.

Author

That's a clever workaround. Though I guess you'd have to buy like 11 sector ETFs to cover the whole S&P 500, which gets messy.

Exactly, and rebalancing gets complicated. It's more practical for larger portfolios where the tax savings justify the operational overhead.

One thing people get wrong: the holding period transfers too. If you sell shares you held for 8 months at a loss and it triggers a wash sale, the holding period of the new shares includes that 8 months. So your replacement shares might clear the long-term threshold faster than you think — or already be long-term when you sell them.

Yes, that's in Publication 550. The holding period of the new shares includes the holding period of the shares sold. Can actually work in your favor if you were close to the 1-year mark.

I'd also flag the IRA wash sale trap. If you sell stock at a loss in your taxable account and then buy substantially identical stock in your IRA or Roth IRA within the 30-day window before or after, it's still a wash sale — but the disallowed loss does NOT get added to the basis of the IRA shares. It's just gone. That's a worse outcome than a regular wash sale.

Diego R.

Author

Wait, that's really important. So the basis adjustment that normally softens the blow doesn't happen if the replacement buy is in a retirement account?

Correct. The IRS rule says the disallowed loss is added to the new stock's cost basis, except when an IRA or Roth IRA made the purchase. That exception is in Publication 550 and it's the reason you need to track this across account types, not just taxable accounts.

For bond ETF pairs, some people use: BND ↔ SCHZ (Bloomberg US Aggregate), or BND ↔ FBND (actively managed, different composition). The actively managed fund argument is stronger because the portfolio isn't tracking any index — harder to call it substantially identical to an index-tracking fund.

Ran into this last tax season with international ETFs — sold VXUS at a loss and rebought EFA without thinking through whether they were substantially identical. Uploaded both 1099-Bs to Taxr and it compared the index methodologies side by side, then prepared a memo showing why EFA (MSCI EAFE, developed markets only, no EM, no small cap) differed from VXUS (MSCI ACWI ex-US, includes EM and small cap). That memo was useful when my CPA asked how I'd concluded they weren't substantially identical.

Diego R.

Author

So VXUS → EFA is actually a pretty clean swap because EFA excludes emerging markets entirely?

Yes — different index, different universe of countries, different market cap scope. That's the kind of documented distinction that supports the position. Still a judgment call, but a well-supported one.

Worth being precise about the 61-day window: it's 30 days BEFORE the sale, the day of the sale, and 30 days AFTER. So if you sell on day 1, you can't have bought substantially identical shares anywhere from 30 days before day 1 through 30 days after day 1. People sometimes only think about the 30 days after.

Yes, the "before" part trips people up. If you bought shares in anticipation of harvesting a loss and then sell within 30 days, that purchase already locked in the wash sale before you even sold.

For emerging markets the common swap is VWO (FTSE Emerging) ↔ IEMG (MSCI Emerging Markets). Different index providers with slightly different country compositions — FTSE includes South Korea as developed, MSCI includes it as emerging. That's a real portfolio difference, not just a different name.

Diego R.

Author

That South Korea difference is exactly the kind of thing I'd never know without looking it up. So the index methodology documents are where you find the actual distinctions?

Yes, the fund prospectus and the index factsheet. Those are what you'd need if you ever had to defend the position that two funds weren't substantially identical.

Something to keep in mind for your 8949: if your broker has the wash sale correct on the 1099-B with box 1g filled, you enter the proceeds in column (d), the adjusted basis in column (e), code W in column (f), and the disallowed loss as a positive number in column (g). The net in column (h) reflects the reduced loss. The basis of your replacement shares goes up by that same disallowed amount.

My situation last year: I had harvested losses in October and then in November my employer's ESPP purchased shares in a fund that was in the substantially identical category. That counted as a wash sale because the ESPP purchase was within the 30-day after window, even though I didn't initiate it myself. The timing of automatic purchases matters.

No, that's right. The wash sale rule applies regardless of whether the purchase was intentional. DRIP reinvestments, automatic ESPP purchases, employer 401(k) contributions — if the timing and the securities match, it's a wash sale.

Exactly. I had to go back and manually track it because neither broker flagged it — different accounts, different institutions.

To bring the Form 8949 side together: once your replacement shares clear the 30-day window and you eventually sell them, your adjusted basis (original cost plus the disallowed wash sale loss) is what goes in column (e). The holding period on those shares also includes the holding period of the shares you originally sold. Both adjustments flow forward and reduce your gain or increase your loss on the later sale.

Diego R.

Author

So the wash sale loss isn't really gone — it's deferred into the replacement shares, as long as you don't trigger another wash sale on those too?

Yes, that's the right way to think about it. The loss is deferred, not permanently disallowed — unless the replacement purchase is in an IRA or Roth IRA, in which case the basis adjustment doesn't happen and the loss is permanently lost.