Can You Sell Bitcoin at a Loss and Immediately Buy It Back?
Anyone who has watched a stock portfolio has probably heard of the wash sale rule, and the same question naturally comes up when a crypto position drops in value: can you sell, lock in the loss, and buy right back in?
The short answer
Under current tax rules, the wash sale rule — which disallows a deduction if you buy a “substantially identical” security within 30 days before or after selling it at a loss — applies to stocks and securities, not to cryptocurrency, which is classified as property. That means selling crypto at a loss and immediately repurchasing it can still produce a deductible loss under current law, though this is a distinction lawmakers have proposed closing, and tax rules can change.
Why the wash sale rule doesn’t currently apply
The wash sale rule was written into the tax code with securities in mind — stocks, bonds, and similar instruments. Cryptocurrency is generally treated as property for tax purposes rather than as a security, so it falls outside the rule’s literal text. This is a technical, definitional gap rather than a deliberate carve-out for crypto, and it’s been the subject of repeated legislative proposals aimed at extending wash sale treatment to digital assets. Until any such change actually takes effect, the rule’s language determines what’s covered.
How the mechanics actually work
- The sale locks in a realized loss. Selling crypto for less than its cost basis creates a capital loss that can generally offset capital gains, and a limited amount of ordinary income, in the year it’s realized.
- A same-day or next-day repurchase is currently permitted. Because the wash sale rule doesn’t apply, buying back the same asset immediately after selling doesn’t disallow the loss the way it would with a stock.
- The new purchase resets the cost basis. The repurchased coins have a new basis equal to what was paid to buy them back, and a new holding period begins for determining short-term versus long-term treatment later.
- Every transaction still needs to be tracked. Each sale and repurchase is a separate taxable event that has to be recorded accurately for reporting purposes.
What this looks like in practice
Say someone holds crypto with a cost basis higher than its current market value. Selling it realizes a capital loss. If they repurchase the same amount shortly after, current rules don’t disallow that loss the way they would for a stock trade — this is often referred to informally as crypto tax-loss harvesting. The example is illustrative only; actual tax outcomes depend on total gains and losses for the year, holding periods, and other individual circumstances.
What to weigh before relying on this
Tax law in this area has been actively debated, and Congress has considered legislation that would extend wash sale treatment to digital assets. A strategy that’s permitted under today’s rules could be curtailed for future tax years. There’s also the practical risk that comes with any repurchase: buying back into a volatile asset means still being exposed to further price swings, and crypto carries no FDIC or SIPC protection regardless of the tax treatment involved.
The bottom line
Current tax rules don’t extend the wash sale disallowance to cryptocurrency, so a sale-and-immediate-repurchase can still generate a deductible loss the way an equivalent stock trade wouldn’t. That said, this is a technical gap that lawmakers have targeted before, tax rules change, and outcomes depend on individual circumstances — a tax professional familiar with digital assets is the right resource for how any specific situation should be handled.