Tax-Loss Harvesting for Crypto: When to Sell and When to Hold
Crypto markets are volatile — but that volatility can work in your favour. Here's how tax-loss harvesting works across jurisdictions, and why timing matters.
Photo by Behnam Norouzi on Unsplash
Bitcoin targeting $125,000. Ethereum recording its busiest on-chain quarter in three years. And somewhere in your portfolio, a bag of tokens sitting deep in the red. Volatility cuts both ways — and savvy crypto holders have long used market downturns to strategically lock in losses, reducing their overall tax bill. This strategy is called tax-loss harvesting, and it's one of the most widely used — and widely misunderstood — tools in the crypto tax planning toolkit.
This guide explains how tax-loss harvesting works, when it makes sense, and what traps to avoid — across the US, UK, Australia, and other major jurisdictions.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is the practice of disposing of a crypto asset that has fallen in value below your cost basis, deliberately realising a capital loss. That realised loss can then be used to offset capital gains you've made elsewhere in your portfolio, lowering your net taxable gain for the year.
Under IRC §1001, gain or loss is only recognised when a disposition occurs — meaning simply holding a depreciating asset generates no deductible loss. You must sell, swap, or otherwise dispose of it. The same principle holds across most major jurisdictions: realisation is the trigger.
Once realised, the mechanics are straightforward. If you made $10,000 in gains from selling ETH but also sold a position in a smaller token at a $4,000 loss, your net taxable gain drops to $6,000. In higher income brackets, that difference can represent a meaningful tax saving.
How Different Jurisdictions Treat Crypto Losses
United States
Under IRS Notice 2014-21, cryptocurrency is treated as property for US federal tax purposes. This means capital gain and loss rules apply — losses from crypto disposals can offset capital gains, and if losses exceed gains, up to $3,000 in net capital losses can be deducted against ordinary income each year, with any remainder carried forward indefinitely. IRS Publication 544 provides detailed guidance on how sales and dispositions of property assets are reported.
United Kingdom
HMRC treats cryptoassets as capital assets, and the HMRC Cryptoassets Manual confirms that capital losses can be offset against capital gains in the same tax year, or carried forward to future years. Critically, the UK operates a "bed and breakfasting" anti-avoidance rule: if you sell a crypto asset and buy the same asset back within 30 days, the loss is matched against the re-acquisition cost rather than the original cost basis. This effectively neutralises the harvesting benefit unless you wait out that window.
Australia
The ATO's crypto guidance confirms that crypto is treated as a capital asset, and capital losses can only be used to offset capital gains — not ordinary income. Unused losses carry forward to future income years. Australia's CGT discount (50% for assets held longer than 12 months) also plays into the "sell or hold" calculation: sometimes holding longer is more valuable than harvesting a short-term loss.
European Union
Tax treatment across EU member states varies significantly, as crypto tax rules remain largely governed at the national level despite the broader MiCA regulatory framework. Many jurisdictions — including Germany, France, and the Netherlands — allow capital loss offsets, but the specific rules on carryforward periods, loss ring-fencing, and what constitutes a disposal differ. Consult local guidance or a qualified adviser in your country of residence.
The Wash Sale Question: The Biggest US Opportunity (For Now)
In the US, equities are subject to the wash sale rule under IRC §1091, which disallows a loss deduction if you repurchase a "substantially identical" security within 30 days before or after the sale. Stocks, bonds, and most traditional securities fall under this rule.
Cryptocurrencies currently do not. Because the IRS classifies crypto as property — not a security — the wash sale rule as written does not apply. This means a US holder can, under current law, sell Bitcoin at a loss and immediately repurchase it, locking in the tax loss while maintaining their position. Many tax professionals have noted this as a significant planning opportunity that doesn't exist for stock portfolios.
However, this window may not remain open indefinitely. There have been repeated legislative proposals in Congress to extend wash sale rules to digital assets. As of April 2026, no such law has been enacted, but this remains an active area of regulatory discussion. Anyone executing a wash-sale-style crypto strategy should monitor legislative developments closely.
Outside the US, the rules differ: the UK's 30-day bed-and-breakfasting rule and Australia's specific anti-avoidance provisions mean similar strategies require more careful timing.
When Does Tax-Loss Harvesting Actually Make Sense?
Harvesting a loss isn't always the right move. Here's how to think through the decision:
✅ Sell and Harvest When:
- You have significant realised gains to offset. If you've already sold assets at a profit this tax year, losses directly reduce your taxable gain. The benefit is immediate.
- The asset has poor long-term fundamentals. If you don't believe in the project's recovery, selling and rotating into a similar-exposure asset (e.g., swapping one L1 token for another) lets you maintain market exposure while locking in the loss.
- You're sitting in short-term positions. Short-term losses (assets held under 12 months in most jurisdictions) offset short-term gains first — which are taxed at higher ordinary income rates in the US. This mismatch can amplify the benefit.
- Year-end approaches. In most jurisdictions, tax years are fixed. A loss realised on December 31 (or April 5 for the UK tax year) counts for that year; the same sale on January 1 does not.
❌ Consider Holding When:
- You're close to the long-term threshold. In the US, holding an asset for more than 12 months qualifies gains for preferential long-term capital gains rates (0%, 15%, or 20% depending on income). Selling a few weeks early to harvest a modest loss may cost you a lower rate on a future gain. Australia's 50% CGT discount makes this calculation even more pronounced.
- Transaction costs erode the benefit. Gas fees, exchange spreads, and slippage on illiquid tokens can eat into a harvested loss, particularly for smaller positions. Model the net benefit before executing.
- You're in a jurisdiction with loss ring-fencing. Some countries limit how capital losses can be applied (e.g., losses can only offset gains of the same asset class). Understand your local rules before assuming a loss is freely usable.
- The loss is unrealised and the asset may recover. Harvesting crystallises the loss permanently. If the asset recovers sharply after you sell — especially in a market trending toward new highs — you may regret exiting. This is a risk-management question as much as a tax question.
A Practical Example
Say you bought 10 SOL at $200 each (total cost basis: $2,000) earlier this year, and the price has dropped to $120 (current value: $1,200). You also sold an ETH position earlier in the year for a $1,500 gain.
If you sell your SOL now, you realise an $800 loss. Applied against your $1,500 ETH gain, your net taxable capital gain drops to $700 — a meaningful reduction, especially at higher marginal rates. If you believe SOL will recover, you could immediately repurchase it (taking advantage of the current absence of wash sale rules for crypto in the US) and reset your cost basis to $120, maintaining your position while locking in the tax benefit.
Under UK rules, if you repurchase SOL within 30 days, HMRC's bed-and-breakfasting rules would match the disposal against the new acquisition cost — neutralising the loss. You'd need to wait 30 days, or rotate into a different asset for that window.
Tracking and Reporting: Where Defitax Comes In
Tax-loss harvesting only works if your records are accurate. Identifying which lots are in a loss position, calculating your adjusted cost basis across multiple wallets and chains, and correctly matching disposals to acquisitions are all tasks that quickly become complex for active DeFi traders.
This is precisely where a tool like Defitax earns its keep. By aggregating your on-chain activity across multiple networks, Defitax can surface unrealised loss positions in real time, help you model the impact of a potential sale before you execute it, and generate jurisdiction-specific tax reports — whether you're filing in the US, UK, Australia, or elsewhere. Accurate cost basis tracking, as outlined in IRS Publication 551, is non-negotiable for any harvesting strategy to hold up under scrutiny.
Key Takeaways
- Tax-loss harvesting involves deliberately selling depreciated crypto assets to realise a capital loss, which can offset gains and reduce your tax bill.
- In the US, crypto is property — not a security — so the wash sale rule under IRC §1091 does not currently apply, allowing immediate repurchase. This advantage may not last as regulatory proposals evolve.
- The UK's 30-day bed-and-breakfasting rule and Australia's anti-avoidance provisions mean international holders need to plan repurchase timing carefully.
- Harvesting isn't always optimal: long-term holding periods, transaction costs, and the prospect of a sharp recovery all factor into the decision.
- Accurate record-keeping across all wallets and chains is essential — tools like Defitax make this manageable at scale.
Sources
- https://www.irs.gov/pub/irs-drop/n-14-21.pdf
- https://www.law.cornell.edu/uscode/text/26/1001
- https://www.law.cornell.edu/uscode/text/26/1091
- https://www.irs.gov/publications/p544
- https://www.irs.gov/publications/p551
- https://www.gov.uk/hmrc-internal-manuals/cryptoassets-manual
- https://www.ato.gov.au/individuals-and-families/investments-and-assets/crypto-asset-investments
This article is for informational purposes only and does not constitute legal, tax, or financial advice. Defitax is not a law firm, CPA, or licensed tax advisor. Always consult a qualified tax professional before making decisions based on this content.