Tax-Loss Harvesting: Wash Sale Rules and Real Benefits

How tax-loss harvesting works: 30-day wash sale window, substantially identical securities, the superfund rule, direct indexing advantage, and how to calculate net tax alpha.

The InfoNexus Editorial TeamMay 23, 20269 min read

Turning Paper Losses Into Real Tax Savings

Tax-loss harvesting generated an estimated $140 billion in deferred taxes for U.S. investors in 2022 — a year when broad market declines created widespread harvesting opportunities that efficient investors exploited systematically. The strategy is mechanically simple: sell an investment that has declined in value to realize a capital loss, use that loss to offset capital gains or ordinary income, and immediately reinvest in a similar (but not identical) position to maintain market exposure. Done correctly, tax-loss harvesting does not reduce wealth — it accelerates the timing of a tax benefit, allowing the deferred tax dollars to compound in the investor's portfolio for years before the eventual reckoning.

The tax benefit follows a clear hierarchy. Realized losses first offset short-term capital gains (taxed at ordinary income rates up to 37%). Remaining losses offset long-term capital gains (taxed at 0%, 15%, or 20%). Any remaining losses can offset ordinary income up to $3,000 per year. Unused losses carry forward indefinitely to future tax years. For a high-income investor with $50,000 in short-term gains, harvesting $50,000 in losses saves $18,500 in taxes at the 37% rate — savings that immediately reinvested at 7% compound to roughly $26,000 over 10 years.

The Wash Sale Rule: The 61-Day Minefield

The wash sale rule (Section 1091 of the Internal Revenue Code) disallows a capital loss deduction if the investor purchases a "substantially identical" security within 30 days before or after the sale that generated the loss. The window is 61 days total: 30 days before the sale, the day of the sale, and 30 days after. A wash sale does not permanently destroy the loss — it is deferred and added to the cost basis of the replacement security — but it defeats the purpose of harvesting by delaying the tax benefit.

ActionWash Sale Triggered?Loss Treatment
Sell SPY, buy VOO (both S&P 500 ETFs) next dayDisputed — likely yesLoss disallowed, deferred to VOO basis
Sell SPY, buy IVV (iShares S&P 500) next dayDisputed — likely yesLoss disallowed, deferred to IVV basis
Sell SPY, buy VTI (total market ETF) next dayGenerally noLoss recognized
Sell Apple stock, buy Apple next dayYes — identical securityLoss disallowed
Sell mutual fund, buy same fund 31 days laterNo — outside 30-day windowLoss recognized

Substantially Identical Securities: The Grey Zone

The IRS has never formally defined "substantially identical" for ETFs and mutual funds. The rule was written in 1921 with individual stocks in mind. The practical guidance from tax practitioners today:

  • An individual stock and that same company's bonds are not substantially identical
  • Two ETFs tracking the exact same index from different providers (e.g., SPY vs. IVV, both tracking the S&P 500) are considered substantially identical by most tax professionals
  • Two ETFs tracking different but similar indexes (e.g., S&P 500 vs. Russell 1000 vs. total market) are generally considered not substantially identical
  • An ETF and an index mutual fund tracking the same index (e.g., Vanguard S&P 500 ETF and Vanguard 500 Index Fund Admiral Shares) may be substantially identical because they hold the same portfolio

The risk is IRS audit scrutiny. Conservative investors replace harvested ETFs with clearly distinct alternatives. Aggressive investors swap near-identical ETFs and rely on the absence of explicit guidance. The safest approach is the 30-day wait followed by repurchase of the original security.

The Superfund Rule for Spousal Accounts

The wash sale rule applies across all accounts held by the taxpayer — including IRAs and Roth IRAs. Crucially, purchases in a spouse's taxable account, IRA, or Roth IRA within the 61-day window can also trigger a wash sale in the harvesting investor's account. This is the "spousal account" extension of the wash sale rule, which catches many investors by surprise. Automated portfolio management systems and robo-advisors that do not coordinate across spousal accounts can inadvertently trigger wash sales even when individual accounts are handled correctly.

  • Employer 401(k) accounts are generally considered separate for wash sale purposes if the investor does not control individual security selection
  • Wash sales triggered in an IRA are permanently lost — the deferred basis cannot be recovered because IRAs do not receive a step-up at death and gains inside IRAs are ordinary income upon distribution

Direct Indexing: Systematic Harvesting at Scale

Direct indexing holds individual stocks in an index rather than shares of an ETF or mutual fund. This structure creates far more harvesting opportunities because individual stocks within an index move independently. Even in a year when the S&P 500 rises 20%, dozens of individual index constituents will have declined — all potentially harvestable. Research by Parametric Portfolio Associates (owned by Morgan Stanley) estimates that direct indexing generates 1%–2% annual "tax alpha" — after-tax return improvement — over equivalent ETF strategies for high-income investors in high-capital-gains-rate jurisdictions.

VehicleMinimum InvestmentAnnual FeeTax Alpha Potential
Standard ETF~$10.03%–0.20%Minimal (fund-level only)
Direct Index (Fidelity)$5,0000%–0.40%0.5%–1.5% estimated
Direct Index (Parametric)$250,0000.20%–0.40%1.0%–2.0% estimated
Direct Index (Vanguard)$250,0000.20%–0.35%0.8%–1.5% estimated

The tax alpha from direct indexing is most valuable for investors in the 20% long-term capital gains bracket or higher, with significant taxable investment accounts, and a multi-decade investment horizon. For investors in the 0% or 15% capital gains bracket, the management fees may outweigh the tax benefit.

This article is for informational purposes only and does not constitute financial advice.

investingtax strategyportfolio management

Related Articles