TLH at the Mutual Fund Level: The Substantially Identical Test (2026)
A Dallas couple holds $320,000 in a Vanguard Total Stock Market Index Fund inside a taxable brokerage account. The market drops 18% in Q3, putting them $57,600 underwater on their cost basis. They sell and immediately buy the Schwab Total Stock Market Index Fund — same market exposure, different fund provider, different fund manager, different CUSIP. They harvest a $57,600 long-term capital loss. At the 15% LTCG rate plus 3.8% NIIT, that loss offsets $10,829 in future federal tax. The IRS doesn’t blink — because two index funds tracking different benchmarks from different providers aren’t substantially identical under IRC § 1091. But if they’d bought back the same Vanguard fund within 30 days, the entire $57,600 loss would be disallowed.
What the wash sale rule actually says
IRC § 1091 is one sentence of statute that generates more confusion than almost any other rule in the tax code. The core mechanic: if you sell a security at a loss and buy a “substantially identical” security within 30 days before or after the sale, the loss is disallowed.
The 30-day window runs in both directions — creating a 61-day total exclusion zone (30 days before + sale day + 30 days after). This means if you buy replacement shares before selling the losing position, you’ve already triggered the wash sale. It also means automatic reinvestment of dividends within that window counts.
The part most people miss: the statute says “substantially identical,” but the IRS has never published a bright-line definition for mutual funds. For stocks, it’s simple — 100 shares of Apple is substantially identical to 100 shares of Apple. For mutual funds and ETFs, the analysis is murkier, and that gray zone is where the real tax-loss harvesting opportunity lives.
Substantially identical for mutual funds: what we know
The IRS hasn’t ruled directly on whether two index funds from different providers tracking the same benchmark are substantially identical. But we have enough guidance to map the risk spectrum:
| Swap scenario | Risk level | Why |
|---|---|---|
| Same fund, different share class (e.g., VTSAX Investor → VTSAX Admiral) | Almost certainly identical | Same portfolio, same manager, same prospectus. Only the expense ratio and minimum differ. IRS Rev. Rul. 2008-5 treats conversions between share classes as non-events for basis purposes, implying identity. |
| Same fund → its ETF share class (e.g., VTSAX → VTI) | Likely identical | Vanguard’s patented structure makes VTI a share class of VTSAX — same portfolio, same manager. Most tax professionals treat these as substantially identical. |
| Same index, different provider (e.g., Vanguard S&P 500 → Fidelity S&P 500) | Gray zone | Different CUSIPs, different managers, different prospectuses, slightly different tracking methods. Most practitioners treat these as safe, but conservative advisors avoid it because both track the identical index. |
| Different but correlated index, different provider (e.g., S&P 500 → Total Stock Market) | Generally safe | Different benchmark, different holdings weight, different provider. The S&P 500 has 500 stocks; a total market fund holds 3,000+. Overlap is high (~80%) but the funds are structurally different. |
| Different asset class (e.g., US large cap → international developed) | Clearly not identical | Completely different holdings, benchmark, currency exposure. No wash sale risk. |
The practical consensus: most CPAs and financial planners treat different-provider, different-index swaps as the safe harbor for TLH. Swap Vanguard Total Stock Market for Schwab US Broad Market or iShares Core S&P Total US Stock Market — different fund family, different index methodology, different CUSIP. That’s the standard playbook.
Worked example: a Dallas couple harvests $57,600
A married-filing-jointly couple in Dallas with $400,000 AGI. They hold $320,000 of Vanguard Total Stock Market Index Fund (VTSAX) in a taxable Schwab brokerage account, purchased 14 months ago for $377,600. After an 18% market correction, the position is worth $320,000 — an unrealized long-term loss of $57,600.
They execute the TLH:
- Sell all VTSAX shares for $320,000. Realize a $57,600 long-term capital loss.
- Same day, buy $320,000 of Schwab Total Stock Market Index Fund (SWTSX) — different provider, different index (Schwab uses the Dow Jones US Total Stock Market Index; Vanguard tracks CRSP US Total Market).
- Market exposure is maintained. Portfolio allocation unchanged.
The tax math:
| Item | Amount |
|---|---|
| Harvested long-term capital loss | $57,600 |
| Offsets LTCG at 15% federal | $8,640 |
| Offsets NIIT at 3.8% (AGI $400K MFJ, above $250K threshold) | $2,189 |
| Total federal tax saved | $10,829 |
| If no LTCG to offset: $3,000/yr ordinary income deduction at 24% bracket | $720/yr (carries forward until exhausted) |
At the 24% federal marginal bracket (MFJ taxable income $206,701–$394,600 in 2026), the $3,000 annual capital loss deduction against ordinary income saves $720 per year. The $57,600 loss would take 19 years to fully deduct at $3,000/yr if no capital gains materialize — but most investors at this income level generate enough LTCG from rebalancing and fund distributions to use the full loss within 2–4 years.
The 61-day window: where people blow it
The wash sale window isn’t 30 days after the sale. It’s 30 days before and 30 days after — plus the sale day itself. That’s 61 calendar days total. Here’s how people accidentally trigger wash sales:
- Dividend reinvestment (DRIP): you sell VTSAX at a loss on October 15. On November 2, VTSAX pays a dividend and your automatic reinvestment buys 3 shares of VTSAX. That’s within 30 days. Wash sale triggered — on the portion of the loss corresponding to those 3 shares.
- 401(k) automatic contributions: your employer’s 401(k) plan includes a Vanguard Total Stock Market fund. Every two weeks, your paycheck deduction buys more shares. You sell the same fund in your taxable account. The 401(k) purchase within the window triggers a wash sale — and the disallowed loss basis adjustment inside a retirement account is permanently lost.
- Spouse’s account: IRS Publication 550 extends the wash sale rule to your spouse’s accounts. If your spouse buys VTSAX in her IRA within 30 days of your taxable-account sale, the loss is disallowed.
- Buying before selling: you buy 500 shares of SWTSX on September 1, then sell 500 shares of VTSAX at a loss on September 20. If SWTSX is substantially identical to VTSAX (debatable for different-provider total market funds, but if you’re conservative), the pre-purchase within 30 days triggers the wash sale.
The fix for DRIP: turn off dividend reinvestment on any fund you might harvest. Take dividends in cash, then manually reinvest after the 31-day window passes. This is the single most common accidental wash sale trigger.
The IRA trap: losses destroyed permanently
This is the most expensive mistake in mutual fund TLH, and most investors don’t know it exists.
When a wash sale occurs between two taxable accounts, the disallowed loss gets added to the cost basis of the replacement security. The loss isn’t gone — it’s deferred until you sell the replacement. But when a wash sale occurs because you purchased the replacement security in an IRA (Traditional or Roth), the loss is permanently destroyed. There’s no mechanism to add basis to an IRA — the account doesn’t track individual-lot basis the same way.
Example: you sell $200,000 of a total bond market fund in your taxable account for a $15,000 loss. Within 30 days, your automatic IRA contribution buys $7,500 of the same bond fund. The portion of the loss attributable to the IRA purchase is disallowed and never recoverable. On a $15,000 loss at the 24% bracket, that’s up to $3,600 in federal tax savings permanently lost because of a $7,500 automatic buy.
Building your TLH swap pairs
The standard approach: maintain a primary and secondary fund for each asset class in your taxable account. When you harvest, sell the primary and buy the secondary. After 31 days, you can swap back if you prefer the primary fund.
| Asset class | Primary fund (example) | TLH swap partner (example) | Different index? |
|---|---|---|---|
| US Total Stock Market | Vanguard Total Stock (VTSAX / VTI) | Schwab Total Stock (SWTSX / SCHB) | Yes — CRSP vs Dow Jones |
| US Large Cap | Vanguard 500 Index (VFIAX / VOO) | iShares Core S&P 500 (IVV) or Schwab S&P 500 (SWPPX) | Same index (S&P 500) — gray zone |
| International Developed | Vanguard Total International (VTIAX / VXUS) | Schwab International Equity (SWISX / SCHF) | Yes — FTSE vs MSCI |
| US Bonds | Vanguard Total Bond (VBTLX / BND) | iShares Core US Aggregate Bond (AGG) | Same index (Bloomberg Agg) — gray zone |
| US Small Cap | Vanguard Small-Cap Index (VSMAX / VB) | Schwab Small-Cap Index (SWSSX / SCHA) | Yes — CRSP vs Dow Jones |
The safest swaps use different providers AND different indexes (column 4 = “Yes”). Gray-zone swaps (same index, different provider) are widely used in practice, but if your loss is large enough to attract IRS scrutiny, the different-index approach is more defensible.
When TLH doesn’t save you money
Tax-loss harvesting is a tax deferral, not a tax elimination — except in specific cases. The replacement fund has a lower cost basis, so when you eventually sell it, you’ll owe more tax. The benefit is the time value of the deferred tax plus any rate arbitrage. Here’s where TLH underperforms:
- Short-term loss replacing a long-term position: you sell a fund held 14 months for an LTCG-rate loss, then the replacement fund rises for only 10 months before you sell it. The gain on the replacement is short-term (taxed at ordinary income rates up to 37%). You harvested at 15–20% and may repay at 24–37%. Net loss.
- Losses in the 0% LTCG bracket: if your taxable income is below $96,700 MFJ ($48,350 single) in 2026, your federal LTCG rate is already 0%. Harvesting a loss saves $0 in LTCG tax — though it can still offset $3,000 of ordinary income per year.
- Basis step-up at death: if you plan to hold the fund until death, IRC § 1014 resets the basis to date-of-death FMV. Any embedded gain — including gain from a lower TLH basis — is wiped. The harvested loss was real savings, but the lower basis on the replacement never generates extra tax because you never sell. In this case, TLH is a genuine tax elimination, not just deferral.
- High-turnover funds: actively managed mutual funds that distribute large capital gains annually can trigger wash sales against your own harvesting activity. Index funds are better TLH candidates because they distribute minimal gains.
TLH and NIIT: the stacking effect
For households above the NIIT thresholds ($200,000 single / $250,000 MFJ under IRC § 1411), harvested capital losses do double duty. They offset capital gains at the LTCG rate and reduce net investment income, which lowers NIIT exposure.
On a $50,000 harvested loss for a MFJ couple at $400,000 AGI:
- LTCG savings: $50,000 × 15% = $7,500
- NIIT savings: $50,000 × 3.8% = $1,900
- Combined federal savings: $9,400
Without accounting for NIIT, you’d underestimate TLH value by 20%. Every TLH analysis for $200K+ households should use the combined 18.8% (15% LTCG + 3.8% NIIT) or 23.8% (20% LTCG + 3.8% NIIT) effective rate, not just the LTCG rate alone.
Robo-advisors and the cross-account blind spot
Wealthfront, Betterment, and Schwab Intelligent Portfolios all run automated TLH algorithms. They maintain their own swap-pair lists and execute harvests automatically when losses cross a threshold. This works well within the robo-advisor account.
The problem: robo-advisors can’t see your other accounts. If your Wealthfront taxable account sells Vanguard Total Stock Market at a loss, and your employer’s 401(k) buys into a Vanguard Target Date fund that holds Vanguard Total Stock Market as an underlying position, you may have a wash sale. The robo doesn’t know. Your 401(k) provider doesn’t know. Nobody coordinates across accounts automatically.
The fix: if you use a robo-advisor for TLH, audit your 401(k) fund lineup and IRA holdings against the robo’s swap-pair list. Make sure no fund in your retirement accounts matches (or is substantially identical to) any fund the robo might harvest. If there’s overlap, change the retirement account fund to something the robo never touches.
Tracking your harvested losses: the mechanics
Every harvested loss is reported on Form 8949 and flows to Schedule D of your 1040. Capital losses offset capital gains dollar for dollar (short-term losses offset short-term gains first, then long-term gains; long-term losses offset long-term gains first, then short-term). Net remaining losses offset up to $3,000 of ordinary income per year ($1,500 if married filing separately), with unlimited carryforward.
Your brokerage issues a 1099-B with cost basis and proceeds for each lot sold. Check the basis. Brokerages report basis to the IRS only for “covered” securities (purchased after 2012 for most mutual funds). If you hold older lots, the 1099-B may show $0 basis or “noncovered” — and you’re responsible for providing the correct basis on Form 8949.
For serial tax-loss harvesters — those who swap multiple times across market cycles — basis tracking across swap partners is essential. A spreadsheet or portfolio tool that tracks adjusted basis across all TLH transactions will save you from a painful reconciliation at filing time.
Where the opposite is right
TLH is a powerful tool, but it’s not always the right move:
- Small losses, high hassle: harvesting a $500 loss to save $94 in federal tax (at 18.8% combined rate) isn’t worth the basis-tracking overhead and wash-sale monitoring for most manual investors. Robo-advisors can do this profitably because the marginal cost per harvest is near zero. For self-directed investors, a minimum threshold of $2,000–$5,000 in losses makes the math worthwhile.
- Charitable donation planned: if you intend to donate the appreciated replacement fund to a donor-advised fund or charity, TLH lowers the basis — which reduces the value of the charitable deduction relative to donating a position that was never harvested. In some cases, skipping TLH and donating the higher-basis appreciated shares produces a better after-tax outcome.
- Estate planning with step-up: for investors over 70 with strong intent to hold until death, the IRC § 1014 step-up resets all basis at death. TLH still works (the harvested loss is real), but the lower-basis replacement never generates additional tax because the step-up wipes it. This makes TLH unambiguously positive for estate-planning hold-to-death strategies.
Join the 2026 tax newsletter
Decision checklists + key 2026 federal/state numbers. Free, one click.
Frequently asked
The IRS has never published a precise definition of “substantially identical” for mutual funds. However, IRS Revenue Ruling 2008-5 and longstanding guidance make clear that two different share classes of the same mutual fund (e.g., Investor shares vs. Admiral shares of the same Vanguard fund) are substantially identical. Two funds from different providers that track different indexes — even if they hold similar stocks — are generally not. The key factors are: same fund family, same underlying portfolio manager, same prospectus, and same CUSIP. If those differ, you’re on safer ground.
This is the gray zone. Both funds track the exact same index (S&P 500), but they’re managed by different companies with different CUSIPs, different expense ratios, and different prospectuses. Most tax professionals treat this as a safe swap because the IRS has never ruled that two funds from different providers tracking the same index are substantially identical. However, some conservative advisors avoid same-index swaps and instead swap into a fund tracking a different but correlated index (e.g., S&P 500 to a total stock market fund). The IRS has not tested this in court.
Yes. The wash sale rule under IRC § 1091 applies across all accounts you own, including taxable brokerage, Traditional IRAs, Roth IRAs, and even your spouse’s accounts if you file jointly (per IRS Publication 550). If you sell a fund at a loss in your taxable account and buy the same fund within 30 days in your IRA, the loss is disallowed. Worse: unlike a taxable-account wash sale where the disallowed loss adds to the replacement security’s basis, a wash sale into an IRA permanently destroys the loss — you never recover it.
The wash sale window is 61 days total: 30 days before the sale, the day of the sale, and 30 days after. To be safe, wait at least 31 calendar days after selling before repurchasing the substantially identical security. If you sold on October 1, the earliest safe repurchase date is November 1. During the waiting period, hold the replacement fund (your swap partner) to maintain market exposure.
When a loss is disallowed under the wash sale rule in a taxable account, it’s not permanently lost — it’s added to the cost basis of the replacement security. So if you sold Fund A for a $10,000 loss and bought Fund A back within 30 days, your basis in the repurchased shares increases by $10,000. You’ll recover the loss when you eventually sell the replacement shares (assuming you don’t trigger another wash sale). The holding period of the original shares also tacks onto the replacement shares.
Most robo-advisors (Wealthfront, Betterment, Schwab Intelligent Portfolios) perform automated tax-loss harvesting and maintain pre-selected swap pairs. However, they only control trades within their own platform. If you hold the same or substantially identical funds in another account — a 401(k), an IRA at a different broker, or a spouse’s account — the robo-advisor can’t see those positions and may trigger a wash sale. You are responsible for coordinating across accounts.
Related guides
Direct Indexing for Tax-Loss Harvesting: Wealthfront vs Schwab
Direct indexing takes TLH beyond the fund level by owning individual stocks — harvesting losses on single names while the broader index rises. Eliminates the substantially identical problem entirely because each stock is its own security.
Crypto Tax-Loss Harvesting 2026
Unlike mutual funds, crypto is not subject to the wash sale rule (the IRS has not extended IRC § 1091 to digital assets through 2025). You can sell Bitcoin at a loss and buy it back the same day — a key difference from fund-level TLH.
Net Investment Income Tax § 1411: 3.8% Surcharge Guide
Harvested losses reduce net investment income, which directly lowers NIIT exposure for households above the $200K/$250K MAGI thresholds. The 3.8% NIIT savings stacks on top of the LTCG rate savings from TLH.
Year-End Tax Moves: Q4 Decision Checklist
Tax-loss harvesting is one of the core Q4 moves. The checklist coordinates TLH with Roth conversions and charitable bunching so you don’t accidentally wash-sale yourself across strategies.
Charitable Bunching with Donor-Advised Funds
Donating appreciated shares to a DAF avoids capital gains entirely. TLH and charitable giving are complementary — harvest losses on losers, donate winners — and together they can reduce a $300K household’s tax bill by $15K+ in a single year.
Join the Life Money USA newsletter
Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.
Join the newsletter