Crypto wash sale: do the rules apply to cryptocurrency?
Crypto wash sale explained. A wash sale is selling an asset at a loss and quickly rebuying it to claim the loss while keeping your position. Whether the wash sale rule applies to crypto depends on your country — and the answer surprises a lot of people. This guide covers the mechanics, a worked example, the records you need, and how CryptaTax handles it automatically.
General information, not tax advice. Crypto tax rules differ by country and change over time — verify against your country's guidance or a qualified advisor.

What a wash sale is
A wash sale happens when you sell something at a loss and buy it back within a short window, so economically you never really left the position but you have booked a deductible loss. Tax systems dislike this, so many have a wash sale rule that disallows the loss when you repurchase the same asset too soon.
The reason it matters for crypto is tax-loss harvesting: deliberately selling losers to bank losses that offset gains. If a wash sale rule applies, harvesting and immediately rebuying does not work; if it does not apply, the same move can be perfectly valid.
Does the wash sale rule apply to crypto?
This is where crypto is genuinely different from stocks in several countries. In some jurisdictions the classic wash sale rule is written to cover securities, and cryptocurrency is often not classified as a security — which can mean the rule does not apply to it in the same way. In others, separate “bed and breakfasting” or same-day/short-window matching rules achieve a similar effect for crypto. The outcome is entirely jurisdiction-dependent, so this is exactly the kind of point to confirm for your country rather than assume.
Because the rules differ so much and can change, do not rely on a blanket “crypto is exempt” claim you read somewhere. Check your own country's current position — our country guides are a starting point, e.g. US crypto tax → and UK crypto tax →.
Why people care: harvesting losses
If your jurisdiction does not apply a wash sale rule to crypto, you may be able to sell a coin that is down, realise the loss to offset other gains, and rebuy it — keeping your exposure while reducing your tax. If it does apply, you generally have to wait out the window before rebuying for the loss to count. See our tax-loss harvesting guide →.
Why crypto is often treated differently from shares
The reason this question even arises is a classification quirk. Many wash sale rules were written specifically for securities — shares and similar instruments. Where a country does not treat cryptocurrency as a security, the wash sale rule written for securities may simply not reach it, which is why you will read that crypto can be harvested more freely in some places. But that is a side effect of classification, not a deliberate crypto exemption, and lawmakers are aware of it — so it is exactly the kind of rule that can change. Never plan around it without confirming it still holds for your country and tax year.
Same-day and short-window rules elsewhere
Even where the classic wash sale rule does not apply, other matching rules often do a similar job. The UK, for example, has same-day and 30-day “bed and breakfasting” rules that match a disposal to a reacquisition within a window, which blunts the harvest-and-rebuy move for crypto in practice. Several other countries have their own anti-avoidance provisions. So the real question is not only “does the wash sale rule apply” but “does any short-window matching rule apply to my crypto here” — and the two are easy to confuse.
What counts as the “same” asset
Where a rule does apply, it usually bites when you rebuy the same or substantially identical asset. With shares that is fairly clear; with crypto it raises genuine questions — is selling ETH and buying a wrapped or staked version of ETH the same asset? Is one stablecoin substantially identical to another? Guidance is thin and varies, so if you are relying on a rebuy being “different enough” to sidestep a rule, that is a point to get professional advice on rather than assume.
A practical example
Say a coin you hold falls well below what you paid. You sell to realise the loss, planning to offset a gain elsewhere. If no wash sale or short-window rule applies to crypto in your country, you may rebuy soon after and keep both the loss and your position. If such a rule does apply, rebuying inside the window typically disallows or defers the loss, so you would wait out the window first. Same action, opposite outcome — decided entirely by your jurisdiction's rules. This is illustrative, not advice.
Is the rule likely to change?
If your country currently does not apply a wash sale rule to crypto, do not treat that as permanent. The gap usually exists because the rule was drafted for securities before crypto mattered, and tax authorities are actively closing that kind of gap. Proposals to extend wash sale or short-window rules to digital assets surface regularly. The practical implication is that a strategy which works this year may not work next year, so build your plans on the current rule, keep an eye on changes, and avoid betting heavily on a loophole that is visibly on lawmakers' radar.
Stablecoins, wrapped tokens and other grey areas
The “same or substantially identical” test gets genuinely murky in crypto. If you sell one stablecoin at a loss and immediately buy another pegged to the same currency, are they the same asset? If you sell ETH and buy a wrapped or liquid-staked version, have you really changed your position? Reasonable people — and different tax authorities — answer these differently, and clear guidance is scarce. If your plan depends on a rebuy being “different enough” to dodge a wash sale rule, that is exactly the kind of judgement call worth running past a professional rather than deciding alone.
Practical steps if a rule applies to you
If you conclude a wash sale or short-window rule does apply to your crypto, you can still harvest losses — you just have to respect the timing. The cleanest approach is to sell the losing position and simply wait out the disallowance window before rebuying, accepting the market risk in between. Some investors instead rotate into a genuinely different asset for the window, though that reintroduces the “substantially identical” question. Whatever you choose, document the dates precisely: the entire dispute, if one ever arises, turns on exactly when you sold and when you bought back, so a clear, timestamped record is your best protection.
Records that protect you
- the dates and amounts of each loss sale and any repurchase;
- the gap between selling and rebuying the same asset;
- which gains the harvested losses are being used to offset;
- the cost basis of the rebought coins, which resets on repurchase.
How CryptaTax helps
CryptaTax tracks every disposal and repurchase with dates and cost basis, so you can see your realised losses and the timing around them clearly. It does not invent a jurisdiction's rule for you, but it gives you the accurate record you need to apply the rule that fits your country — and to support the figures if asked.
Keeping records that hold up
Whatever the topic, the difference between a clean return and a stressful one is records. Tax authorities expect you to be able to show how you arrived at a number, and crypto's volume makes that hard by hand. Keep, at minimum:
- the date, amount and value of every acquisition and disposal, in your home currency;
- the fees on each trade, transfer and on-chain transaction;
- transfers between your own wallets and exchanges, so cost basis follows the coins;
- the cost-basis method you used, applied consistently through the year;
- income receipts — staking, mining, airdrops — valued on the day you received them.
Good records are not just defensive. They are what lets you claim every loss and allowance you are entitled to, instead of rounding up out of caution because the paper trail is missing.
How your country changes the answer
Crypto tax is not one global rulebook. Tax rates, allowances, holding-period rules, which events are taxable and which methods are allowed all vary by country — and they change. The general principles on this page hold widely, but the specific numbers and edge cases are jurisdiction-dependent, so always check your own country's current guidance. Our country guides are a practical starting point: crypto tax by country →, including the US, the UK and Germany.
Common mistakes to avoid
- Treating self-transfers as sales — moving your own coins is not a disposal; matching the two legs is essential.
- Forgetting income events — staking, rewards and airdrops are usually taxable on receipt, not only when sold.
- Using a partial history — cost basis depends on your full record, not just the current year.
- Ignoring fees — they change your gain and are easy to leave out.
- Waiting until the deadline — reconciling a year of activity under pressure is where errors happen.
When and how you report it
Most countries fold crypto into your normal annual tax return rather than a separate crypto form, usually under capital gains for disposals and ordinary income for receipts like staking or mining. You typically report the totals for the tax year — proceeds, cost basis and the resulting gain or loss — and keep the transaction-level detail in case you are asked for it. The exact boxes, schedules and deadlines depend on where you live, and a few jurisdictions expect more granular per-disposal reporting. The practical takeaway is the same everywhere: the figures you file are only as good as the reconciled records behind them, so the work is in getting the numbers right, not in the form itself.
Putting it together
The recurring theme across every part of this topic is the same: the tax outcome follows the facts, and the facts live in your transaction history. Get the underlying record right — every acquisition, disposal, fee, transfer and income receipt, valued correctly and tracked consistently — and the reporting is almost mechanical. Get it wrong, and no amount of clever treatment at the end can rescue the numbers. The reason crypto tax feels hard is rarely the rules themselves; it is the volume and the reconciliation. That is precisely the part worth automating, so your attention goes to the decisions that actually need judgement rather than to stitching exports together by hand. Treat the guidance here as the general shape of the topic, confirm the specifics for your own country and tax year, and lean on accurate records for everything else — that combination is what turns a stressful filing season into a routine one.
How CryptaTax automates this
CryptaTax imports your activity from every wallet and exchange, applies your cost-basis method consistently, and produces a capital-gains and income report with each figure traceable to its source. The concepts on this page are handled for you, so you spend your time deciding rather than reconciling spreadsheets. Try the crypto tax calculator →
FAQ
It depends on your country. In some, the classic rule covers securities and may not apply to crypto the same way; in others, separate short-window rules do. Confirm your local position rather than assume.
Selling crypto at a loss and quickly rebuying it to claim the loss while keeping your position. Some jurisdictions disallow the loss when you rebuy too soon.
Only the tax effect is in question. Where no wash sale rule applies to crypto you may be able to; where one does, you typically must wait out the window for the loss to count.
Yes — when you rebuy, the new purchase sets a new cost basis for those coins going forward, separate from the position you sold.