TAX GUIDE

Wash Sale Rule Guide 2026: IRS Section 1091, Tax-Loss Harvesting & Crypto

KEY INSIGHT
The wash sale rule (IRS Section 1091) disallows a capital loss deduction if you buy a 'substantially identical' security within 30 days before or after selling at a loss. The disallowed loss is not gone permanently โ€” it is added to the cost basis of the replacement security, preserving the loss for the future. Tax-loss harvesting must carefully avoid triggering the wash sale rule. As of 2026, cryptocurrency is NOT subject to the wash sale rule (crypto is property, not a security), though proposed legislation could change this.
At a glance

Key Facts

30-Day Window
Wash sale rule applies to purchases within 30 days BEFORE or 30 days AFTER the loss sale โ€” a 61-day total window. Both prior purchases and subsequent purchases trigger the rule.
Substantially Identical
The rule applies to 'substantially identical' securities. Same stock: clearly identical. Different ETFs tracking the same index: may be substantially identical (if tracking the exact same index). Different funds in the same sector: generally NOT substantially identical.
Loss Not Lost โ€” Basis Adjustment
A disallowed wash sale loss is NOT forfeited โ€” it is added to the cost basis of the replacement security, reducing future taxable gain when the replacement is eventually sold.
Crypto Wash Sale (2026)
Cryptocurrency is NOT currently subject to the wash sale rule. You can sell Bitcoin at a loss, buy Bitcoin back immediately, and claim the full loss. Proposed legislation (not yet enacted) would apply wash sale rules to crypto.
IRA Wash Sale Trap
Buying a substantially identical security in an IRA within the 30-day window permanently loses the loss deduction โ€” the basis adjustment does not carry into the IRA. This is a common costly mistake.
Holding Period Impact
The holding period of the replacement security includes the holding period of the sold security (tacking) โ€” this can affect whether future gains are short-term or long-term.
Introduction

The wash sale rule prevents investors from claiming a tax loss while maintaining essentially the same investment position. It applies to stocks, bonds, mutual funds, options, and other securities โ€” but currently NOT to cryptocurrency. Understanding the wash sale rule is critical for tax-loss harvesting, year-end tax planning, and managing the tax cost of portfolio rebalancing.

Section 01

How the Wash Sale Rule Works

The wash sale rule has several key mechanics investors must understand:

The 61-Day Window

The wash sale rule applies if you sell a security at a loss AND you purchased or acquired a substantially identical security within the period starting 30 days BEFORE the sale and ending 30 days AFTER the sale. Example: You sell 100 shares of Apple at a $5,000 loss on December 15. If you bought Apple shares between November 15 and January 14 (30 days on each side), the loss is a wash sale. The rule applies to any purchase method: market purchase, dividend reinvestment, stock option exercise, or purchase in an IRA or 401(k).

What Happens to the Disallowed Loss

The disallowed loss is not gone โ€” it is added to the cost basis of the replacement shares. Example: You sell 100 Apple shares at a $5,000 loss, triggering a wash sale. You bought 100 replacement Apple shares at $150/share ($15,000). The $5,000 disallowed loss is added to your basis: new basis = $15,000 + $5,000 = $20,000. When you sell the replacement shares, your basis is $20,000 โ€” the $5,000 loss is effectively preserved for that future sale.

Substantially Identical Securities

The IRS has not defined 'substantially identical' precisely, but clear guidance exists for common cases:

The IRA Wash Sale Trap

This is the most costly wash sale mistake: you sell a stock at a loss in a taxable brokerage account, then buy the same stock in your IRA or Roth IRA within 30 days. This triggers a wash sale. However, unlike a taxable account where the basis is adjusted, the IRA cannot accept a basis adjustment. The $5,000 loss is permanently disallowed โ€” not added to any basis anywhere. The loss is gone forever. Avoid buying in an IRA any security you have sold at a loss in a taxable account in the prior 30 days, or plan to sell at a loss in the next 30 days.

Section 02

Tax-Loss Harvesting Strategies Around the Wash Sale Rule

Tax-loss harvesting realises investment losses to offset capital gains, while maintaining market exposure:

The Basic Strategy

You own S&P 500 ETF (VOO). It has declined 15%. You sell VOO to harvest the $10,000 loss. You immediately buy a different S&P 500 ETF โ€” say, iShares S&P 500 (IVV). IVV tracks the same S&P 500 but is a different fund from a different provider. Whether VOO and IVV are 'substantially identical' is debated โ€” both track the same index, have nearly identical holdings, and nearly identical performance. The IRS has not specifically ruled on this. Most tax professionals use funds tracking different (but correlated) indexes to be safe: sell S&P 500 ETF (VOO), buy Total Market ETF (VTI) โ€” different index, different holdings, not substantially identical.

30-Day Wait Strategy

If you want to repurchase the exact same security: sell at a loss, wait 31 days, then rebuy. This avoids the wash sale window entirely. Risk: the market moves against you during the 31-day wait (you miss a 10% rally). This strategy accepts market risk in exchange for tax certainty.

Cryptocurrency Tax-Loss Harvesting

As of 2026, cryptocurrency (Bitcoin, Ethereum, altcoins) is NOT subject to the wash sale rule. The IRS classifies crypto as property, not securities โ€” and Section 1091 applies only to stock and securities. This means you can: sell Bitcoin at a $20,000 loss, immediately rebuy Bitcoin, and claim the full $20,000 loss. No 30-day wait required. This makes crypto tax-loss harvesting much more straightforward than stock harvesting. Warning: proposed legislation (included in various tax bills since 2021) would apply wash sale rules to crypto โ€” if enacted, this advantage would end. Monitor legislation if you rely on crypto harvesting.

Year-End Tax-Loss Harvesting

December is peak tax-loss harvesting season. Key rules: (1) Losses must be realized by December 31 to offset 2026 gains; (2) Remember the 30-day look-back โ€” if you bought securities in late November, selling in December creates potential wash sale if you rebought within November; (3) Net long-term losses offset long-term gains first; net short-term losses offset short-term gains first โ€” excess of either type offsets the other; (4) Up to $3,000 of net capital losses can offset ordinary income per year; (5) Unused losses carry forward indefinitely.

๐Ÿ’ก

CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you. Learn more about our affiliate partnerships

Investment Tax CPA

TaxHub

โ˜… 4.8 verified reviews  ยท  3,758 reviews

Wash sale analysis, tax-loss harvesting strategy, and capital gains tax planning require CPA expertise. TaxHub connects you with investment tax specialists.

โš  Not for simple single-state returns. Free filing is fine for straightforward W-2 situations.

Get Tax-Loss Harvesting Help From a CPA โ†’
US Expat Investment Tax

Greenback Expat Tax Services

โ˜… 4.8 Trustpilot  ยท  1,625 reviews

US expats with investment portfolios face wash sale rules alongside PFIC, FBAR, and foreign tax credit considerations. Greenback specialises in US expat investment tax.

โš  Not the cheapest option โ€” best for complex situations and expats who want a dedicated CPA.

Wash Sale Help for US Expats โ†’
FAQ

Frequently Asked Questions

Does the wash sale rule apply to cryptocurrency in 2026?

As of April 2026, cryptocurrency is NOT subject to the wash sale rule. The wash sale rule (Section 1091) applies to 'stock and securities' โ€” cryptocurrency is classified by the IRS as property, not a security. This means you can sell crypto at a loss and immediately rebuy it without triggering a wash sale disallowance. However, proposed legislation has repeatedly attempted to apply wash sale rules to crypto (most recently in the Wyden-Brown crypto tax bill and various infrastructure bill proposals). If such legislation passes, the crypto wash sale exemption would end. As of our publication date, no crypto wash sale law has been enacted โ€” but monitor tax news if this strategy is important to your planning.

Can I sell a stock at a loss and buy a similar ETF to avoid the wash sale rule?

Possibly โ€” if the ETF tracks a meaningfully different index than the stock or fund you sold, it is generally not substantially identical. Common tax-loss harvesting swaps: sell Vanguard S&P 500 (VOO), buy Vanguard Total Market (VTI) โ€” different index, generally safe; sell a single stock (e.g., Microsoft) and buy a broad tech ETF (XLK or QQQ) โ€” different security, generally not a wash sale. The riskier swap is selling one S&P 500 ETF and buying another S&P 500 ETF โ€” both tracking the exact same index with nearly identical holdings. The IRS has not definitively ruled on this, but the risk of the IRS considering two S&P 500 ETFs 'substantially identical' is real. Using funds tracking different (but correlated) indexes is the more conservative approach.

What happens to the wash sale if I sell shares at different prices?

If you sell only part of a position at a loss, the wash sale applies proportionally. Example: You own 200 shares with a $5,000 embedded loss. You sell 100 shares (half the position) at a $2,500 loss, then rebuy 50 shares within 30 days. The wash sale applies to the 50 repurchased shares, disallowing half the loss ($1,250). The other $1,250 loss on the non-repurchased shares is fully deductible. The $1,250 disallowed loss adjusts the basis of the 50 replacement shares. For complex situations with multiple lots purchased at different dates and prices, your brokerage's tax reporting (Form 1099-B) should track wash sales, but you should verify the calculations, especially with dividend reinvestment plans.
Disclaimer:This guide provides general tax information for educational purposes only. Wash sale rule application to specific securities and strategies can be complex and fact-specific. Cryptocurrency wash sale rules may change with future legislation. This is not tax advice. Consult a CPA for wash sale analysis specific to your portfolio.
Keep reading

Related Guides