The Wash Sale Rule: What Every Active Trader Needs to Know in 2026

This one rule trips up more active traders than anything else — and the penalties for getting it wrong add up fast.

The wash sale rule (IRC Section 1091) disallows a tax loss deduction when you sell a security at a loss and buy a "substantially identical" security within 30 days before or after the sale. For active traders making hundreds or thousands of trades per year, wash sales can silently inflate your tax bill by thousands of dollars. Understanding the rule — and knowing the legal strategies to work around it — is essential for tax-efficient trading.

How the Wash Sale Rule Works

The wash sale rule creates a 61-day window (30 days before + the sale date + 30 days after) during which repurchasing a substantially identical security triggers a wash sale:

  1. You sell Stock A at a $5,000 loss on March 15
  2. You buy Stock A again on March 25 (within 30 days)
  3. Result: The $5,000 loss is disallowed for that tax year
  4. The disallowed loss is added to the cost basis of the replacement shares
  5. The holding period of the original shares carries over to the new shares
Key Point: The loss isn't permanently lost — it's deferred. The $5,000 loss gets added to the cost basis of your new shares. When you eventually sell those shares (without triggering another wash sale), you'll recognize the deferred loss. However, if you keep triggering wash sales throughout the year, the loss can be deferred indefinitely.

What Are "Substantially Identical" Securities?

The IRS has never precisely defined "substantially identical," but guidance and case law establish:

Clearly substantially identical:

Generally NOT substantially identical:

Gray area — use caution:

Wash Sales Now Apply to Crypto (2025+)

A major change effective for tax years beginning after December 31, 2024: the wash sale rule now applies to digital assets. Previously, crypto traders could sell Bitcoin at a loss and immediately repurchase it without wash sale implications. That loophole is closed.

What this means for crypto traders:

The IRA/401(k) Trap — Closed but Still Relevant

A critical rule many traders don't know: buying a substantially identical security in your IRA or 401(k) within the 30-day window also triggers a wash sale. Worse, when the wash sale involves a tax-advantaged account:

This is one of the most expensive wash sale mistakes a trader can make.

How Wash Sales Affect Active Traders

For buy-and-hold investors, wash sales are rare. For active traders, they're pervasive. Consider this scenario:

You trade NVDA daily, buying and selling multiple times per week. On any given day, you might sell at a loss and repurchase within hours. Every one of those transactions is a potential wash sale. Over a year of active trading in the same securities, wash sales can:

Strategies to Manage Wash Sales

1. Elect Section 475 Mark-to-Market

The most powerful solution: Section 475(f) mark-to-market eliminates wash sale concerns entirely for covered securities. Since all positions are treated as sold at year-end at fair market value, with gains and losses as ordinary, the wash sale rule doesn't apply. This is the primary reason many active traders make the Section 475 election.

2. Wait 31 Days

The simplest approach: after selling at a loss, wait at least 31 calendar days before repurchasing the same security. For tax-loss harvesting at year-end, sell losing positions before December 1 and wait until January to repurchase.

3. Substitute with a Similar (Not Identical) Security

Sell the losing position and immediately buy a similar but not substantially identical security:

4. Close All Positions by Year-End

If you close ALL positions in a security by December 31 and don't repurchase within 30 days (through January 30), all deferred wash sale losses become recognized. This is a common year-end strategy for active traders who don't have Section 475.

Frequently Asked Questions

What is the wash sale rule 30-day window?

The wash sale rule looks at a 61-day window: 30 calendar days before the sale, the sale date itself, and 30 calendar days after the sale. If you sell a security at a loss and buy a substantially identical security anywhere within this window, the loss is disallowed and added to the cost basis of the replacement shares.

Does the wash sale rule apply to cryptocurrency in 2026?

Yes. Starting for tax years after December 31, 2024, the wash sale rule applies to digital assets including Bitcoin, Ethereum, and other cryptocurrencies. If you sell crypto at a loss and repurchase the same crypto within 30 days, the loss is disallowed. Trading between different cryptocurrencies (e.g., selling BTC and buying ETH) generally does not trigger a wash sale since they are not substantially identical.

Can the Section 475 election eliminate wash sale problems?

Yes. The Section 475(f) mark-to-market election is the most effective solution for active traders dealing with frequent wash sales. Under Section 475, all positions are treated as sold at fair market value on the last business day of the year, and all gains and losses are ordinary. The wash sale rule does not apply to securities covered by the Section 475 election.

What happens if a wash sale occurs between a taxable account and an IRA?

This is the worst wash sale scenario. If you sell a security at a loss in a taxable account and buy it within 30 days in an IRA, the loss is permanently disallowed — you cannot claim it in the taxable account, and the cost basis adjustment does not transfer to the IRA. The loss is effectively destroyed. Always avoid triggering wash sales across taxable and retirement accounts.

Need Help With Your Trader Taxes?

At Mello Tax Group, we specialize in tax preparation and planning for traders, self-employed individuals, and small business owners. Jordan McAfee, EA, will review your situation and build a strategy to minimize your tax burden legally. We serve clients in Sacramento and all 50 states. Schedule Your Consultation → Or call (650) 686-5219

Want more tips like this?

Get practical tax strategies and deadline reminders delivered to your inbox. No spam.