Tax-Loss Harvesting for Crypto: How It Works and When It Helps

How to use crypto losses to reduce your tax bill legally. Covers the mechanics, the wash sale question, practical steps, and which tax software actually supports it.

Tax
March 6, 202610 min

If you've held crypto through a downturn — and statistically, you have — some of those unrealized losses might be worth something at tax time. That's what tax-loss harvesting is: selling positions at a loss to offset gains elsewhere, reducing your total tax bill.

It's not a loophole. It's standard tax strategy. And crypto has some structural advantages here that traditional stocks don't (at least for now).

How it works, step by step

  1. You identify positions currently trading below your cost basis. If you bought ETH at $3,000 and it's now at $2,400, you have $600 of unrealized loss per ETH.
  1. You sell the position, locking in the loss. That $600 per ETH becomes a realized capital loss.
  1. You use the loss to offset capital gains. If you also sold SOL at a $1,200 profit this year, the $600 ETH loss reduces your taxable gain to $600.
  1. If losses exceed gains, you can deduct up to $3,000 of net capital losses against ordinary income (in the US). Remaining losses carry forward to future tax years.
  1. Optionally, you rebuy the asset. This is where it gets interesting — and where crypto currently differs from stocks.

The wash sale question

In traditional finance, the IRS wash sale rule prevents you from selling a security at a loss and rebuying it (or a "substantially identical" security) within 30 days. If you do, the loss is disallowed.

As of early 2026, the IRS has not explicitly applied wash sale rules to cryptocurrency. Crypto is classified as property, not a security, under current IRS guidance. That means — according to the prevailing interpretation — you can sell crypto at a loss and immediately rebuy it without triggering a wash sale disqualification.

Important caveats:

  • This could change. Congress has proposed extending wash sale rules to crypto in multiple bills
  • The IRS hasn't issued definitive guidance confirming this interpretation
  • If you're dealing with significant amounts, talk to a tax professional who follows crypto-specific developments
  • This applies to US federal taxes. State rules may differ

This is not tax advice. It's a summary of the current regulatory landscape. Act accordingly.

When tax-loss harvesting makes sense

It's worth doing when:

  • You have realized capital gains from other crypto sales this year
  • You hold positions with significant unrealized losses
  • You have the bandwidth to track cost basis accurately (or you use tax software that does it for you)
  • The transaction and gas fees don't eat into the tax benefit

It's less useful when:

  • All your positions are up (no losses to harvest)
  • You're in a low tax bracket where the benefit is minimal
  • You're holding long-term and don't want to trigger a taxable event
  • Gas fees on Ethereum L1 make the sell/rebuy cycle expensive relative to the loss

Practical steps

Step 1: Check your unrealized gains and losses

Your crypto tax software should show this. If you're using Koinly, go to the Portfolio tab — it shows unrealized gains/losses per position. CoinTracker has similar functionality in the portfolio view.

If you're not using tax software yet, use our Tax Software Finder to pick one. Manually tracking cost basis across multiple exchanges and wallets is a recipe for errors.

Step 2: Identify harvest candidates

Look for positions where:

  • The current value is meaningfully below your cost basis
  • Selling won't disrupt a position you actively need (like LP collateral or staked assets)
  • The loss is large enough to matter after fees

Step 3: Execute the sell

Sell the position on whatever exchange or DEX holds it. If you plan to rebuy, keep in mind:

  • On centralized exchanges, the sell and rebuy can happen within minutes
  • On DEXs, factor in gas and slippage
  • Record the exact sale price and date — your tax software should capture this automatically if you've connected your accounts

Step 4: Rebuy (if you want to)

If you're harvesting the loss but still want exposure to the asset, you can rebuy immediately under the current interpretation of crypto tax rules. Some people swap into a correlated asset instead (e.g., selling ETH and buying stETH) to maintain exposure while avoiding any future wash-sale risk.

Step 5: Verify in your tax software

After the sell and optional rebuy, check your tax software to confirm:

  • The realized loss appears correctly
  • It's offsetting your gains
  • The new cost basis of the repurchased asset is recorded

Which tax software supports harvesting?

Not all crypto tax tools flag harvesting opportunities proactively.

SoftwareHarvesting FeatureHow It Works
KoinlyTax-loss harvesting reportShows unrealized losses and estimated tax impact
CoinLedgerTax-loss harvestingIdentifies harvestable positions
CoinTrackerTax-loss harvestingPortfolio view highlights unrealized losses
TokenTaxManual identificationShows portfolio P&L; no dedicated harvesting tool

If this feature matters to you, it's worth comparing tools. See our full crypto tax software comparison or use the Tax Software Finder to narrow options.

Common mistakes

Forgetting gas fees. Gas is part of your cost basis (increases it) and also reduces proceeds on the sell side. Make sure your tax software accounts for on-chain transaction fees.

Not tracking the rebuy cost basis. If you harvest a loss and rebuy, the new position has a new (lower) cost basis. That means you'll pay more capital gains tax when you eventually sell at a profit. Harvesting defers taxes — it doesn't eliminate them.

Over-harvesting. If you sell and rebuy many times to generate losses, it becomes harder to track cost basis accurately and you may draw scrutiny. Harvest when the opportunity is meaningful, not as a daily habit.

Ignoring state taxes. Some US states don't conform to federal capital gains treatment. Check whether your state recognizes tax-loss harvesting the same way the IRS does.

The bottom line

Tax-loss harvesting is one of the few concrete, legal ways to reduce your crypto tax burden. It works best when you have gains to offset, losses to harvest, and tax software that tracks everything accurately. It's not magical — it mostly defers taxes rather than eliminating them — but deferral has real value, and in down markets, the savings can be substantial.

Disclaimer

This article is educational information, not tax advice. Tax rules vary by jurisdiction and change over time. Consult a qualified tax professional before making tax-related decisions.

Related tools and reading

tax
tax-loss-harvesting
beginners
tax-software

Some links on this page are affiliate links. We may earn a commission at no extra cost to you if you sign up or make a purchase through these links. This does not influence our editorial evaluations. Learn more