Strategy15 min readUpdated September 2026

Tax-Loss Harvesting for Crypto: A Complete Strategy Guide

How to use tax-loss harvesting to legally reduce your crypto tax bill — the strategy, the rules, country-specific considerations, and the tools that help.

What Is Tax-Loss Harvesting?

Tax-loss harvesting is the practice of intentionally selling investments at a loss to offset capital gains you owe taxes on. It doesn't avoid taxes forever — it defers them and reduces your current-year tax bill.

The concept is simple: if you have $20,000 in realized crypto gains this year and $8,000 in unrealized losses sitting in your portfolio, you can sell the losing positions to realize those losses. Now your net gain is $12,000 instead of $20,000 — and you pay tax on the smaller amount.

Tax-loss harvesting is widely used in traditional finance, but it's especially powerful for crypto because of one critical difference: the wash sale rule (usually) doesn't apply.

Why Crypto Is Uniquely Good for This

The Wash Sale Rule (and Why It Usually Doesn't Apply to Crypto)

In traditional investing, the wash sale rule prevents you from claiming a loss if you buy back the same or a "substantially identical" security within 30 days before or after the sale. If you sell Apple stock at a loss and buy it back the next day, the IRS disallows the loss.

As of 2026, cryptocurrency is generally not subject to wash sale rules in most countries:

  • United States: The IRS wash sale rule (Section 1091) specifically applies to "stock or securities." Crypto is classified as property, not a security. However, Congress has repeatedly proposed extending wash sale rules to crypto — this could change.
  • United Kingdom: The "bed and breakfasting" rule requires a 30-day window. If you sell and repurchase within 30 days, the loss is deferred through the "same-day" and "30-day" matching rules. So the UK wash sale equivalent does apply to crypto.
  • Canada: The superficial loss rule applies to crypto. If you buy back within 30 days, the loss is denied.
  • Australia: No formal wash sale rule for crypto, but the ATO may apply the general anti-avoidance rule (Part IVA) if the sole purpose is tax benefit with no genuine commercial rationale.
  • Germany: Not applicable for holdings over 1 year (tax-free), and for short-term holdings, the general abuse of law provisions may apply.

What This Means in Practice (Where Allowed)

In jurisdictions without wash sale rules for crypto (notably the US as of 2026), you can:

  1. Sell your BTC at a loss
  2. Immediately buy back the exact same amount of BTC
  3. Claim the capital loss on your taxes
  4. Continue holding BTC with no gap in exposure

Your new cost basis for the repurchased BTC is the lower price you bought back at. So while you claim the loss now, you'll pay more in gains when you eventually sell (since your cost basis is lower). The benefit is timing — deferring taxes is valuable because of the time value of money, and you may be in a lower tax bracket in the future.

Step-by-Step: How to Harvest Crypto Losses

Step 1: Identify Unrealized Losses

Look through your portfolio for positions where the current market value is below your cost basis. You need:

  • The asset and amount held
  • Your cost basis (what you paid, including fees)
  • The current market value
  • The unrealized loss (cost basis − current value)

Many crypto tax tools have built-in unrealized gains/loss reports that make this easy. Koinly, CoinLedger, and CoinTracker all have this feature.

Step 2: Calculate Your Realized Gains

Determine how much in capital gains you've already realized this year. This tells you how much loss you need to harvest to offset them. Consider:

  • Crypto-to-crypto trades that resulted in gains
  • Crypto sales for fiat
  • Any other capital gains (stocks, real estate, etc.) — crypto losses can often offset non-crypto gains too

Step 3: Sell the Losing Positions

Execute the trades on whatever exchange or platform you hold the assets. Key considerations:

  • Sell the full position if you want the maximum loss. Selling a partial position only realizes a partial loss.
  • Check which cost basis lots are at a loss. With HIFO or Specific ID methods, you might be able to sell just the high-cost-basis lots while keeping the low-cost-basis ones.
  • Document the trades. Keep records of the sale price, date, amount, and the exchange used.

Step 4: Repurchase (If Desired)

If you still want exposure to the asset:

  • In the US: You can buy back immediately (no wash sale rule for crypto as of 2026)
  • In the UK/Canada: You must wait 30 days before repurchasing the same asset, or the loss is disallowed
  • Alternative (for 30-day countries): Buy a different but correlated asset during the waiting period. For example, sell ETH and buy SOL for 30 days, then swap back. This maintains some crypto exposure without triggering wash sale rules.

Step 5: Record Everything

Your tax software will handle most of this automatically, but ensure:

  • The sale shows as a realized loss in your tax report
  • The repurchase (if any) shows as a new acquisition with the correct (lower) cost basis
  • Your net gains for the year correctly reflect the harvested losses

Advanced Strategies

Harvesting Against Specific Gain Types

In the US, the netting rules for capital gains and losses work in a specific order:

  1. Short-term losses first offset short-term gains
  2. Long-term losses first offset long-term gains
  3. Excess short-term losses offset long-term gains (and vice versa)
  4. If total losses exceed total gains, deduct up to $3,000 against ordinary income
  5. Carry remaining losses forward to future years

This means harvesting short-term losses can be especially valuable if you have short-term gains taxed at ordinary income rates (up to 37%).

Year-Round Harvesting vs. Year-End

Many people only think about tax-loss harvesting in December. But year-round harvesting is more effective:

  • Crypto is extremely volatile — losses appear and disappear quickly
  • A position at a 50% loss in March might be at a gain by December
  • Harvesting losses throughout the year captures more opportunities
  • Some tools (like CoinTracker and ZenLedger) can send alerts when harvesting opportunities arise

Harvesting Across Multiple Accounts

If you hold the same crypto across multiple exchanges and wallets, be strategic about which lot you sell. With the Specific Identification method (in the US), you can choose to sell the highest-cost-basis units regardless of where they're held. This maximizes your loss while keeping your lowest-cost-basis units intact for the future.

DeFi Loss Harvesting

Don't overlook losses in DeFi positions:

  • LP positions with impermanent loss: Withdrawing from a pool where you've experienced IL realizes the loss
  • Failed DeFi investments: Governance tokens or farm reward tokens that have lost value can be sold to realize losses
  • Dust tokens: Small amounts of worthless tokens from failed projects can be sold or sent to burn addresses

Limits and Pitfalls

Countries Where Loss Harvesting Doesn't Work

CountryCan You Harvest Losses?Notes
United StatesYes (very effective)No wash sale rule for crypto (yet). Up to $3,000/yr deduction against income.
United KingdomPartially30-day bed-and-breakfasting rule applies. Must wait to repurchase.
CanadaPartially30-day superficial loss rule. Must wait to repurchase.
AustraliaYes (with caution)No formal wash sale rule, but ATO may challenge schemes with no commercial purpose.
GermanyLimited valueGains after 1 year are tax-free anyway. Short-term losses can offset short-term gains.
IndiaNoCrypto losses cannot offset any income — gains or otherwise. Losses cannot be carried forward.

Common Pitfalls

  1. Forgetting the reduced cost basis. When you repurchase, your new cost basis is the lower price. You're not eliminating the tax — you're deferring it. You'll pay more gains later when you eventually sell.
  2. Transaction fees eating into small losses. If you're harvesting a $50 loss but paying $20 in gas fees and exchange fees, the net benefit is minimal. Focus on the largest losses.
  3. Triggering short-term vs. long-term reclassification. If you sell a position you've held for 11 months at a loss and immediately repurchase, your new holding period resets to zero. If you were close to qualifying for long-term rates, this may not be worth it.
  4. Over-harvesting and running out of basis. If you harvest very aggressively, you may end up with positions that have extremely low cost bases, meaning large gains in the future. Balance current-year savings against future tax liability.
  5. Not accounting for all your disposals. Spending crypto, DeFi swaps, and crypto-to-crypto trades all generate gains that can be offset by harvested losses. Make sure you're tracking everything.

Tools with Tax-Loss Harvesting Features

ToolTLH FeatureHow It Helps
KoinlyUnrealized gains reportShows all positions with unrealized gains/losses, sortable by amount
CoinLedgerTax-loss harvesting dashboardDedicated dashboard highlighting harvesting opportunities
CoinTrackerReal-time loss trackingPortfolio view with unrealized gains/losses, can model scenarios
ZenLedgerTax-loss harvesting toolDedicated TLH tool, identifies opportunities across your portfolio

Frequently Asked Questions

Can I harvest losses on crypto I staked?

Yes, but you need to unstake first (or sell the staked derivative token). The loss is based on your cost basis of the original tokens (or the fair market value when you received staking rewards) vs. the current value.

Can crypto losses offset stock gains?

In the US, yes. Capital losses from crypto can offset capital gains from stocks, real estate, or other capital assets. They're all netted together on your Schedule D. This makes crypto loss harvesting valuable even if your crypto portfolio is small relative to your stock portfolio.

Is there a limit on how much I can harvest?

There's no limit on how much loss you can realize. The limits only apply to how much you can deduct: in the US, losses first offset all capital gains (no limit), then up to $3,000 against ordinary income, with the remainder carried forward indefinitely. You can harvest $500,000 in losses in a single year if you have them — they'll carry forward for years.

Should I harvest losses even if I think the asset will recover?

If you're in a jurisdiction without wash sale rules (like the US for crypto), yes — it's generally a free win. You harvest the loss for the tax benefit and immediately buy back. You maintain your position, your long-term thesis is unchanged, and you've locked in a tax deduction. The only cost is the transaction fee.

When is the best time to harvest losses?

Year-round, whenever significant losses appear. Don't wait for December — crypto markets are volatile, and today's loss might be tomorrow's gain. That said, a year-end review is essential to optimize before the tax year closes.

Disclaimer: This guide is for informational purposes only and does not constitute tax, legal, or financial advice. Cryptocurrency tax rules change frequently and vary by jurisdiction. Always consult a qualified tax professional for advice specific to your situation.