Pomegra Wiki

Wash-Sale Rule and ETFs

The wash-sale rule prevents investors from claiming a loss on the sale of an ETF if they buy a substantially identical ETF within 30 days of the sale. This rule applies to ETFs the same way it applies to stocks and mutual funds, creating a tax trap for loss-harvesting strategies if investors aren’t careful about replacement security timing and similarity.

How the 30-day window works

The wash-sale rule activates when an investor sells a security at a loss and then acquires a “substantially identical” security within 30 days — either before or after the sale. The 30-day window is strict: it runs 30 days before the sale date through 30 days after it. If you sell an ETF on March 15th, you cannot buy a substantially identical replacement between February 13th and April 14th without triggering the wash-sale rule.

The timing is often the easiest mistake to make. Many investors think “30 days after the sale” and miss the 30 days before. If you sense a loss coming and pre-emptively buy a replacement fund, the rule still applies.

Substantially identical funds and the gray zone

The IRS defines “substantially identical” conservatively, but the rules are less clear-cut for ETFs than for individual stocks. Buying the exact same ETF obviously triggers the rule. If you sell an S&P 500 ETF at a loss and buy a different S&P 500 ETF within 30 days, the IRS likely treats those as substantially identical, disallowing your loss. Many tax advisors recommend assuming they are, even though the IRS has never formally ruled on specific ETF pairs.

The harder question: what about buying a fund that tracks a broader or narrower index? Selling an S&P 500 ETF at a loss and buying a total U.S. stock market ETF within 30 days occupies a gray zone. The total market fund holds all 500 S&P stocks plus smaller-cap stocks, so it’s not identical. Some advisors claim this pair is sufficiently different to avoid the rule; others argue the heavy overlap makes them substantially identical. The IRS has not published a definitive position on this scenario.

To play it safe, most tax-conscious investors either wait 30+ days between selling and buying, or switch to a genuinely different fund — for instance, selling a large-cap U.S. ETF and buying an international stock ETF, or a small-cap fund.

What happens when the rule applies

When the wash-sale rule applies, the loss is disallowed — you cannot claim it on your tax return that year. The disallowed amount is not forfeited forever, however. Instead, the loss is added to the cost basis of the replacement security. That increases your basis, which reduces your future gain (or increases a future loss) when you sell the new position.

Example: you buy ETF shares for $10,000 and sell them for $8,000, realizing a $2,000 loss. Within 30 days, you buy a substantially identical ETF for $8,200. The wash-sale rule disallows the $2,000 loss. Your new ETF position gets a cost basis of $10,200 ($8,200 purchase price + $2,000 disallowed loss), not the $8,200 you paid. When you eventually sell those shares, your gain or loss will be calculated against the higher basis, effectively deferring the loss to a later tax year.

Loss harvesting across similar but distinct funds

Investors who want to harvest losses without triggering the wash-sale rule often use a strategy sometimes called “overlap harvesting.” The idea is to sell a losing position in one fund and immediately reinvest in a similar but not substantially identical fund, then wait more than 30 days before buying back the original (or original-like) position.

For example, an investor might sell a total U.S. stock market ETF at a loss and immediately buy a large-cap ETF, harvest the loss, then after 31 days return to a total market or broad index fund. Because the time gap exceeds 30 days, the final purchase should not trigger the wash-sale rule tied to the original sale.

This strategy works because the investor does stay invested in equities during the 30-day window, avoiding sequence-of-returns risk, while still claiming the loss. However, the choice between the intermediate fund and the eventual replacement fund matters for performance. If the large-cap ETF outperforms the total market during those 30 days, the investor benefits; if it underperforms, they lose relative return.

Wash-sale rules in a custodial account

The wash-sale rule applies in individual retirement accounts (401(k)s, traditional IRAs, Roth IRAs) just as it does in taxable accounts. However, since losses in IRAs are never deductible anyway, the rule has no practical effect in those accounts — you cannot claim the loss whether or not the wash-sale rule applies. A wash sale in an IRA simply adjusts your basis within the account, which affects the dollar value of your contribution limit or distribution calculations, but provides no immediate tax benefit or penalty.

In taxable accounts, the wash-sale rule is the practical concern. Investors should track all purchases and sales in every account to ensure they do not accidentally trigger the rule.

Tracking and documentation

The IRS does not send notifications if a wash-sale occurs. It is the investor’s responsibility to identify wash sales on their tax return. Most brokers flag suspected wash sales in the year-end tax reporting they send, and many tax-software packages automatically detect them. However, relying on automated detection can be risky if positions are held across multiple brokers or if a trade spans late December and early January.

Investors serious about loss harvesting should maintain a simple log of all sales and all purchases within 30 days before or after each sale, ideally noting whether the securities are substantially identical. This reduces the chance of a missed wash-sale issue during tax filing or in the event of an audit.

See also

  • Tax-Loss Harvesting — The strategy wash-sale rules constrain; how investors realize losses while managing portfolio risk
  • Cost Basis — How basis adjustments from wash-sale disallowances affect future gains and losses
  • Schedule D — The IRS form used to report capital gains, losses, and wash-sale adjustments
  • Holding Period — How owning a security long enough affects capital gains tax rates
  • ETF — The fund structure and its role in tax-efficient investing

Wider context

  • Capital Gains Tax (Investor) — The tax owed on profitable sales; wash-sale rules reduce losses that offset gains
  • Form 8949 — IRS form supplementing Schedule D; used to report individual transactions and wash-sale details
  • Mutual Fund — Similar tax rules apply to mutual fund losses under the wash-sale rule
  • Tax Bracket (Investor) — Your marginal rate determines the value of a deductible loss