Tax-loss harvesting in crypto: how it works and why it matters
Tax-loss harvesting is realizing losses to offset gains. Crypto tax rules vary by jurisdiction — US, UK, and Australia treat wash-sale and short-interval repurchase very differently. Jurisdiction-specific breakdown.

Answer first
Tax-loss harvesting is the practice of selling an investment at a loss to realize that loss for tax purposes, so it can offset gains and reduce tax owed. That is the concept. Whether and how it works for crypto in your situation depends on where you are tax-resident, how your tax authority classifies cryptoassets, and which anti-avoidance rules apply locally.
Tax treatment varies by jurisdiction. Rules governing loss realization, repurchases, wash-sale or anti-avoidance provisions, and the classification of cryptoassets can differ substantially. The sections below cover a handful of jurisdictions where primary-source rules are publicly available. This page is educational and is not tax, legal, or accounting advice.
What tax-loss harvesting is as a concept
At its core, tax-loss harvesting has three moving parts that are consistent across most capital-gains systems:
- An unrealized loss. You hold an asset whose current market value is below your cost basis.
- A disposal event. You sell, swap, or otherwise dispose of the asset in a way the local tax authority treats as a realization.
- An offset. The realized loss reduces your taxable gains for the period (and sometimes a limited amount of ordinary income), subject to local rules on carry-forward, pooling, and anti-avoidance.
The nuance for crypto is that different tax authorities classify tokens differently — some treat them as property, some as intangible assets, some apply bespoke rules — which changes which anti-avoidance provisions attach.
Jurisdiction snapshots
The snapshots below are based on official guidance available at the date of review. Rules change; always re-check the primary source before acting, and consult a qualified local tax professional.
United States
- Authority: Internal Revenue Service (IRS); Internal Revenue Code (IRC).
- Classification: The IRS treats convertible virtual currency as property for federal tax purposes.
- Wash-sale rule: IRC §1091 disallows a loss on the sale of "stocks or securities" where substantially identical stock or securities are acquired within a 30-day window. Because the IRS currently classifies crypto as property rather than as a security, §1091 is not written to reach it on its face. Legislative proposals to extend §1091 to digital assets have been floated but have not been enacted as of the last review date. This may change.
- Loss limits: Net capital losses offset capital gains; up to $3,000 of excess per year can offset ordinary income (IRC §1211(b)), with the remainder carried forward (IRC §1212(b)).
- Sources: IRS Notice 2014-21 (classification); IRS Rev. Rul. 2023-14 (staking rewards); IRS crypto FAQ; IRC §§1091, 1211, 1212.
- Date checked: 2026-10-02.
United Kingdom
- Authority: HM Revenue & Customs (HMRC).
- Classification: HMRC treats most cryptoassets held by individuals as chargeable assets for Capital Gains Tax, documented in HMRC's Cryptoassets Manual.
- Loss realization and matching: HMRC applies share-matching rules to cryptoassets, including a "same-day" rule and a 30-day "bed and breakfasting" rule, before falling back to a pooled (Section 104) cost basis. In practice, disposing of a token at a loss and reacquiring the same token within 30 days causes the reacquired units to be matched against the disposal, which can change or eliminate the loss claimed.
- Sources: HMRC Cryptoassets Manual (CRYPTO22200 series on calculating gains and losses for individuals).
- Date checked: 2026-10-02.
Australia
- Authority: Australian Taxation Office (ATO).
- Classification: The ATO treats cryptoassets held by individuals as CGT assets; disposals (including crypto-to-crypto swaps) are generally CGT events.
- Anti-avoidance: The ATO has publicly cautioned that "wash sales" — disposing of an asset to crystallize a loss and reacquiring a substantially identical asset shortly afterward — can be challenged under Part IVA of the Income Tax Assessment Act 1936 as a scheme entered into for the dominant purpose of obtaining a tax benefit. There is no fixed day-count safe harbor equivalent to US §1091.
- Sources: ATO guidance on cryptoassets and CGT; ATO Taxpayer Alert and public statements on wash sales.
- Date checked: 2026-10-02.
If your jurisdiction is not listed here, that is not an opinion about how the rules work there — it means we do not have a primary source we are willing to cite in a YMYL page. Ask a qualified local tax professional.
Timing considerations
Readers often ask whether they can sell at a loss and immediately buy the same token back. The honest answer: the applicability of same-day or short-interval repurchase rules depends on jurisdiction and on the asset's legal classification locally. A US investor's position is not an Australian investor's position, and neither is a UK investor's position. Consult a qualified tax professional for your specific situation before relying on any particular timing.
When loss realization is worth thinking about
Separate from the mechanics, there are moments where it is worth sitting down with your records:
- End of the tax year. Review positions with unrealized losses against realized gains for the period.
- Rebalancing. Disposals triggered by portfolio rebalancing are already taxable events in most capital-gains systems; it is worth understanding how losses on one leg interact with gains on another.
- A large realized gain. If you have crystallized a sizeable gain this year, understanding how losses would offset it (and under what matching rules) is more valuable than usual.
When it does not help
- You have no gains to offset and your jurisdiction's ordinary-income offset is capped or unavailable.
- The cost-basis tracking effort exceeds the potential tax saving.
- The asset dropped for structural reasons and you would not want to rebuy regardless.
Record-keeping
Whatever your jurisdiction, you will need clean records: acquisition dates, cost basis, disposal dates, proceeds, and the specific units matched. Crypto tax software such as CoinTracker, Koinly, or CoinLedger can generate these from exchange and wallet data; see our overview of best crypto tax software.