Michelle Legge
By Michelle LeggeHead of Crypto Tax Education
Updated Jan 6, 2026
This article has been fact checked and reviewed as per our editorial policy.

What Are The IRS Crypto Wash Sale Rules?

A wash sale is when investors artificially inflate their losses by selling and repurchasing assets. 

In response, the IRS has implemented specific rules to stop investors from exploiting artificial losses.

This guide covers everything you need to know about wash sales and the impact on your tax bill.

Key points

  • A wash rule is when an investor sells an asset at a loss and then repurchases the same kind of asset, effectively creating a paper loss.

  • Rules exist to prevent investors from utilizing these losses for tax advantages, but there is currently a loophole that means the IRS wash sale rule does not apply to crypto.

What is a wash sale in crypto?

A wash sale is when an investor sells an asset at a loss and later repurchases the same kind, or substantially similar, asset.

For example, if you had a large Capital Gains Tax bill looming, you could quickly look through your unrealized losses to figure out how many crypto assets you need to sell.

You would then sell these to create a realized loss, and then buy them all back immediately at the lower price before the market changes again. 

Technically, you don’t really have a loss as you’ve reinvested proceeds back into the same asset, meaning you have the same assets you always had. But you do have an artificial loss you can use to reduce your tax bill.

As you can probably imagine, this is easily exploited, which is why the IRS has put in stringent rules to try stop investors from creating artificial losses through a wash sale. 

What is a wash sale

How does the wash sale rule work?

The wash sale rule stops investors from claiming a capital loss on the capital assets that they sold and repurchased within a short period. This time period spans 30 days before and after the date of the sale.

Let’s put it into perspective with an example:

  • On December 30, Sarah has $20,000 of gains and $8,000 of losses, for an overall gain of $12,000.

  • She is also holding 100 shares of Apple Inc. (AAPL) with a cost basis of $10,000 (the current market value of those shares has fallen to $7,000).

  • Sarah decides to sell her 100 shares of AAPL for $7,000, realizing a capital loss of $3,000.

  • Within 30 days before or after the sale, Sarah could buy the same or a substantially identical security.

  • On January 10, she purchases 100 shares of AAPL for $7,500.

  • On her taxes, Sarah reports the $3,000 loss on the 100 shares of AAPL and uses it to offset her capital gains, lowering her overall gains from $12,000 to $9,000.

  • This is correct since the wash-sale rule applies. Her loss of $3,000 is disallowed for tax purposes.

  • The cost basis of Sarah's new 100 shares of AAPL is adjusted to reflect the disallowed loss.

  • Her adjusted cost basis for the new shares is $7,500 - $3,000 = $4,500.

  • If Sarah decides later to sell the new shares of AAPL for a gain, the adjusted cost basis of $4,500 is used to calculate the taxable gain.

Does the wash sale rule apply to crypto?

The short answer is no. The U.S wash sale rule currently only applies to assets that are classified as securities: Stocks, bonds, and other financial instruments.

The majority of cryptocurrencies aren’t classified as securities. Instead, the IRS classifies them as property, and as such, the IRS wash sale rule doesn’t apply to crypto.

An infographic highlighting information on the wash sale rule in crypto, presented by Koinly, a crypto tax software

Economic Substance Doctrine

It’s important to consider the Economic Substance Doctrine when claiming wash sales on crypto. This common law doctrine denies tax deductions when the related transaction lacks an underlying economic purpose.

Basically, if you're seen to be deliberately selling assets for the singular purpose of tax loss harvesting, then you're not conducting the transaction for a meaningful or substantial economic purpose.

As such, there is the potential risk that these losses would not be deductible against gains.

How does the wash sale rule impact my tax bill?

Given that the wash sale rule doesn’t apply to crypto yet, many opportunistic US investors make the most of this tax loophole.

They seize tax loss harvesting opportunities strategically throughout the year, by utilising dips in the market to sell their assets at a loss (and often repurchase them at a lower price) to lower their tax bill.

How to use a crypto portfolio tracker to identify losses

Koinly is both a crypto tax calculator and a crypto portfolio tracker, helping you keep track of your crypto portfolio performance on a macro and micro level. 

You can use Koinly to view your realized and unrealized gains and losses throughout the financial year. As well as identifying assets that are underperforming, so that you can utilize them for tax loss harvesting purposes before the end of the financial year.

FAQs

Does the IRS wash sale rule apply to crypto on Coinbase?
How does a wash sale effect a subsequent loss?
What if I made a wash sale but didn't gain?
How do I make a wash sale calculation?
What is the wash sale 61 day rule?
Does the wash sale rule apply to gains?
Disclaimer
The information on this website is for general information only. It should not be taken as constituting professional advice from Koinly. Koinly is not a financial adviser. You should consider seeking independent legal, financial, taxation or other advice to check how the website information relates to your unique circumstances. Koinly is not liable for any loss caused, whether due to negligence or otherwise arising from the use of, or reliance on, the information provided directly or indirectly, by use of this website.