MARGINPAD
Home / Blog / Tax-loss harvesting

Crypto Tax-Loss Harvesting: The Legal Way to Cut Your Tax Bill (2026)

Guides · 7 min read · Updated June 2026

Every portfolio has losers. The tax code lets you turn them into something useful: a realized loss that lowers the tax on your winners. It's called tax-loss harvesting, it's completely legal, and most retail traders leave it on the table. Here's the mechanic — general information, not tax advice.

How it works

When you sell crypto at a loss, you realize a capital loss. That loss first offsets your capital gains, dollar for dollar. If your losses exceed your gains, in the US up to $3,000 can offset ordinary income each year, and anything beyond that carries forward to future years. So a painful position can still do work: it shrinks the tax on the trades that went right.

The wash-sale gray area

For stocks, the wash-sale rule blocks claiming a loss if you rebuy the same security within 30 days. That rule is written for "securities," and crypto has been treated as property — which historically left a gap: sell at a loss, rebuy immediately, keep your position and the loss. But this area is under active legislative attention and could close. Treat any strategy that leans on it as fragile, and confirm the current rules with a professional before acting.

Do it with records, not vibes

Harvesting only helps if you can prove the loss: date acquired, cost basis, date sold, proceeds. Work out the loss precisely with the cost basis calculator, see how it nets against your gains in the tax calculator, and keep the whole trail in the trading journal. Sloppy records turn a smart move into an audit risk.

A note on timing

Harvesting clusters around year-end, but the discipline is year-round: know your realized gains before you decide which losers to take. And never let the tax tail wag the trading dog — sell a loser because the thesis is dead or the tax math is worth it, not to chase a deduction.

Turn losers into a smaller tax bill. Size the loss with the cost basis calculator and net it in the tax calculator. Not financial or tax advice.

Comments