Skip to main content
Crypto Taxation

Do Wash-Sale Rules Apply to Cryptocurrency?

Pomegra Learn

Do Wash-Sale Rules Apply to Cryptocurrency?

For decades, the wash-sale rule applied only to stocks and bonds, creating a gray area for crypto investors: did selling Bitcoin at a loss and buying it back trigger the same restrictions? The IRS answered definitively in 2023: yes. The wash-sale rule now applies to cryptocurrency, effective January 1, 2023. This means selling a digital asset at a loss and repurchasing it within 30 days disqualifies the loss deduction, just as it does for traditional securities. Understanding the 30-day window, the "same asset" definition, and strategic workarounds is essential for anyone harvesting crypto losses.

Quick definition: The wash-sale rule prohibits claiming a capital loss if you purchase substantially identical property within 30 days before or after the sale; for crypto, selling Bitcoin and rebuying Bitcoin violates the rule, but selling Bitcoin and buying Ethereum does not.

Key takeaways

  • The wash-sale rule applies to crypto effective January 1, 2023, per Treasury guidance and future regulations
  • The 30-day window runs from 30 days before the sale through 30 days after the sale; buying on day 31 is permitted
  • The rule applies to the same cryptocurrency; selling Bitcoin and buying Bitcoin Ethereum does not trigger it
  • Violating the rule disqualifies the loss and "tacks" the loss amount onto your new cost basis, deferring the tax benefit
  • Strategic loss harvesting involves rotating into different assets (Bitcoin → Ethereum) or waiting 31 days to maintain exposure while securing the loss

The wash-sale rule in traditional investments

The wash-sale rule originated to prevent investors from artificially manufacturing losses for tax purposes. If you could sell a stock at a loss, immediately repurchase it, and deduct the loss year after year, the rule would lose its integrity.

The traditional rule: if you sell a security at a loss, you cannot buy a substantially identical security within 30 days before or after the sale without disqualifying the loss. The loss does not disappear; it "tacks on" to the cost basis of the new purchase, deferring the benefit to whenever you eventually sell that position at a true gain.

For stock, the rule is strict: selling IBM and buying IBM again violates it. Selling IBM and buying a different company's stock does not. For bonds, purchasing a different bond from the same issuer with the same maturity might violate it (substantially identical). The IRS guidance emphasizes substance over form—the rule targets deliberate wash-sale schemes.

Crypto and the ambiguous years (2018–2022)

For the first decade of significant crypto taxation, the IRS did not explicitly address whether wash-sale rules applied to virtual currency. The Internal Revenue Code's wash-sale language referenced "stock or securities," and crypto was—legally and linguistically—a gray area. Some tax professionals argued that because crypto was not a "security" (in the legal sense), the rule did not apply. Others argued that the rule's economic substance should apply to any capital asset.

This ambiguity created a compliance risk. Large-scale crypto traders and institutional investors faced the question: Should I apply the wash-sale rule to crypto even if I believe it doesn't apply?

The answer came in late 2023. The IRS and Treasury Department signaled that wash-sale rules would apply to crypto and requested comments on implementation details. New legislation (expected 2024–2025) is likely to codify this, but guidance issued ahead of formal regulations already establishes that taxpayers should treat crypto wash-sale violations as disqualifying losses.

The 30-day window for crypto

The window is strictly defined: 30 days before the sale, the sale date itself, and 30 days after the sale. A total of 61 days is restricted if you count inclusively.

Timeline example:

  • December 15 (Day 0): You sell Bitcoin at a loss.
  • December 14 and earlier: Covered by the "30 days before" window. If you bought Bitcoin on December 14 or within the 30 days prior, the wash-sale rule applies.
  • December 15–January 14: The 30-day "after" window. Any Bitcoin purchase during this period violates the rule.
  • January 15 and later: Safe. You can repurchase Bitcoin on January 15 without triggering the rule.

Weekends and holidays do not pause the clock; it's a calendar-day rule. If your loss-sale occurs late in the day via timezone, be conservative and assume it counts as the sale date for IRS purposes.

Reinvestment strategy: rotating assets

If you want to lock in a loss but maintain market exposure, rotate into a different cryptocurrency.

Scenario: It's November 15. You hold 1 Bitcoin purchased at $45,000; current price $38,000. You harvest the $7,000 loss. To maintain upside exposure without violating the wash-sale rule, you immediately sell the Bitcoin at $38,000 and buy 15 Ethereum at ~$2,500 each.

Your loss ($7,000) is locked in. You still have cryptocurrency exposure and participate in potential Bitcoin recovery as long as you don't buy Bitcoin again until January 15. Ethereum and Bitcoin are separate assets; the wash-sale rule does not apply between them.

This strategy works because the rule is asset-specific. The IRS has not extended it to "crypto broadly" or "similar assets." Bitcoin and Ethereum are distinct digital currencies with different blockchains, use cases, and market dynamics. Swapping between them is permitted.

Stablecoin conversions

Some investors ask: if I sell Bitcoin at a loss and buy USDT (Tether stablecoin) immediately, does that violate wash-sale rules?

Technically, the rule should not apply—USDT and Bitcoin are different assets. However, the substance-over-form doctrine means the IRS could argue that buying a stablecoin is not meaningfully different from just holding cash, and thus buying it and later buying Bitcoin again within 30 days constitutes a scheme. Conservative advisors recommend avoiding stablecoin "parking" during the wash-sale window and instead moving to a genuinely different coin (Ethereum, Solana, etc.) if you want to lock in the loss while maintaining exposure.

Wash-sale decision tree

"Substantially identical" in crypto

For stocks, the test is strict: IBM stock and IBM stock are substantially identical. IBM stock and IBM bonds are not. For crypto, the question is whether Bitcoin and Bitcoin are substantially identical (clearly yes) and whether Bitcoin and Bitcoin Cash are (much murkier).

Bitcoin and Bitcoin Cash share the same blockchain history up to August 2017, when the fork occurred. They are often described as "similar" but are separate cryptocurrencies with different protocols and networks. The IRS has not explicitly ruled that Bitcoin and Bitcoin Cash are substantially identical, and most tax advisors treat them as distinct for wash-sale purposes.

However, given the IRS's explicit statement that wash-sale rules apply to crypto, advisors recommend caution when considering fork-related coins or wrapped versions of the same underlying asset (e.g., Wrapped Bitcoin on Ethereum). The safer strategy: rotate into a fundamentally different coin or wait 31 days.

Where the rule applies: CEX, DEX, and self-custody

The wash-sale rule applies everywhere you transact:

  • Centralized exchanges (Coinbase, Kraken, Gemini): Sales and purchases are clearly documented transactions.
  • Decentralized exchanges (Uniswap, Curve): Swaps are taxable events. Selling Token A and swapping to Token B is a realized loss (or gain). The swap is still a taxable transaction, and wash-sale rules apply.
  • Self-custody wallets: If you move crypto to a personal wallet, the rule still applies. Transferring Bitcoin to a hardware wallet is not a sale; selling it and then moving proceeds to a wallet is.

The medium (CEX, DEX, wallet, or blockchain) doesn't matter. If you realize a loss on a taxable transaction, the wash-sale rule applies.

Cost-basis tacking when the rule is violated

If you violate the wash-sale rule, the loss is disqualified, and the loss amount is added to the cost basis of the new purchase.

Example:

  • You buy Bitcoin at $45,000 (cost basis: $45,000).
  • You sell it at $38,000, realizing a $7,000 loss.
  • On the same day, you repurchase Bitcoin at $38,000 (within the 30-day window).
  • The wash-sale rule disqualifies your $7,000 loss.
  • Your new cost basis is $38,000 + $7,000 = $45,000.

This tacked cost basis means your deferred loss is preserved. If Bitcoin later rises to $50,000 and you sell, your gain is $50,000 − $45,000 = $5,000 (not $12,000). The $7,000 loss is still there; it's just deferred to a future transaction.

This deferral is not permanent. If Bitcoin continues rising and you hold it long-term, the loss eventually shelters future gains in that position. But timing matters: if Bitcoin drops again before you sell, you've lost the opportunity to harvest that loss.

Real-world examples

Case 1: The Missed 31-Day Window Priya harvested a $12,000 Ethereum loss on December 15, 2024. She was planning to sit in cash for 31 days and repurchase in January 2025. But Bitcoin surged on December 30, and she panicked, buying Ethereum again on December 31 (only 16 days later). The wash-sale rule applies. Her $12,000 loss is disqualified, and her new Ethereum cost basis becomes $38,000 (purchase price) + $12,000 (disqualified loss) = $50,000. She has to wait until her Ethereum reaches $50,000 just to break even on the combined transactions.

Case 2: Strategic Rotation Succeeds Marcus harvests a $8,000 Bitcoin loss on November 20, 2024. He immediately buys Solana at the same dollar amount. Solana surges 40% by January 5, 2025, while Bitcoin stays flat. On January 15, 2025 (outside the 30-day window), Marcus sells some Solana (locking in his 40% gain) and buys Bitcoin. He harvested the Bitcoin loss ($8,000), participated in Solana's surge, and maintained upside exposure without violating the wash-sale rule.

Case 3: The DEX Swap Violation Jamie harvests an Ethereum loss by selling on Uniswap (a DEX) on June 10, 2024. The next day, while browsing Uniswap's interface, Jamie impulsively swaps DAI (a stablecoin) back into Ethereum at the same Uniswap pool. This swap, executed 1 day after the loss sale, violates the wash-sale rule. The loss is disqualified, and the cost basis of the new Ethereum includes the tacked loss.

Documentation and record-keeping

Wash-sale violations are often discovered during audits. The IRS cross-references your buy and sell dates from exchange records. To minimize risk:

  • Track all transactions: Maintain a spreadsheet with buy date, sell date, quantity, and price.
  • Monitor the 30-day window: Use calendar reminders or alerts in your portfolio software.
  • Document rotation strategy: If you rotate into a different asset (Bitcoin → Ethereum), note the decision and rationale. This demonstrates good-faith compliance, not wash-sale schemes.
  • Archive exchange records: Brokers provide annual tax reports, but keep your own copies of all transaction history.

FAQ

Can I harvest a loss on crypto and buy the same crypto through a different exchange to avoid wash-sale rules?

No. The rule applies regardless of venue. Selling Bitcoin on Coinbase and buying it on Kraken within 30 days still triggers the rule.

If I sell Bitcoin and buy Bitcoin Cash within 30 days, does wash-sale apply?

Probably not—they are separate assets. However, given evolving IRS guidance, conservative advisors recommend waiting 31 days when in doubt.

What if I'm a trader and harvest multiple losses on the same crypto in a year?

Each loss-reacquisition pair is evaluated independently. If you sell Bitcoin on March 1 (loss), wait 31 days, sell Bitcoin again on April 15 (another loss), and wait 31 days, you've harvested two separate losses. The rule doesn't prohibit multiple harvests; it prohibits repurchasing within 30 days of each loss.

Do crypto forks (Bitcoin → Bitcoin Cash) trigger wash-sale rules?

If you hold Bitcoin through a fork and receive Bitcoin Cash automatically, no sale occurs—no loss is realized. If you later sell the Bitcoin Cash, you harvest a loss. Buying Bitcoin Cash within 30 days of selling it violates wash-sale rules, but buying Bitcoin does not (they are separate coins).

If I'm in a jurisdiction outside the US, do wash-sale rules apply?

This article addresses US tax law. Non-US residents may have different rules; consult a local tax advisor.

Summary

The wash-sale rule unambiguously applies to cryptocurrency as of January 1, 2023. If you sell crypto at a loss and repurchase the same asset within 30 days (before or after the sale), the loss is disqualified and tacked onto your new cost basis. The rule is asset-specific; selling Bitcoin and buying Ethereum is permitted. Strategic investors rotate into different coins or wait 31 days to lock in losses while maintaining market exposure. Detailed transaction records are essential for compliance. Rules change, and evolving IRS guidance may refine crypto wash-sale treatment—confirm current policy with a qualified tax professional.

Next

What Crypto Tax Forms Does the IRS Require?