Blog Investing Crypto Tax Loss Harvesting: The Complete Strategy Guide
Investing

Crypto Tax Loss Harvesting: The Complete Strategy Guide

D
DennTech Team
June 05, 2026
Updated May 22, 2026
0 comments

Every time crypto prices fall, most investors see only losses. Sophisticated investors see an opportunity: a chance to harvest those losses for tax purposes — realising them on paper to offset other capital gains and reduce this year's tax bill — while immediately rebuying the same assets to maintain their portfolio exposure. This strategy, called tax loss harvesting, is legal, well-established, and uniquely powerful in crypto due to a regulatory gap that doesn't exist in traditional securities markets. Done consistently and correctly, it can save thousands of dollars annually and, when compounded over years, meaningfully improve your after-tax investment returns.

The Fundamentals: How Tax Loss Harvesting Works

When you sell a cryptocurrency for less than you paid for it, you realise a capital loss. This loss has immediate tax value: it directly offsets capital gains from other sales (reducing your taxable profit dollar-for-dollar) and, if your losses exceed your gains, you can deduct up to $3,000 of the excess against ordinary income per year in the United States. Losses beyond that carry forward indefinitely to future tax years.

Example: You bought 5 ETH at $3,800 each in January 2025 ($19,000 total). By March 2026, ETH is trading at $2,600. You also sold some Bitcoin earlier in the year for a $12,000 capital gain. If you sell your ETH now at $2,600 ($13,000 total), you realise a $6,000 capital loss. That loss offsets $6,000 of your Bitcoin gain, reducing your net taxable capital gains from $12,000 to $6,000. At a 20% long-term capital gains rate, this saves $1,200 in taxes — this year, with no long-term impact on your ETH position, because you can immediately rebuy 5 ETH at $2,600.

Your new cost basis for the ETH is $2,600 per coin. When ETH eventually recovers to $3,800 and you sell, you'll owe capital gains on the $1,200/coin appreciation. So tax loss harvesting doesn't eliminate taxes — it defers them. But deferred taxes are valuable: you keep the $1,200 now (or offset current gains that would otherwise be taxed at higher rates), and the future tax on the recovered appreciation occurs at potentially lower rates or in lower-income years. The time value of money makes current tax savings worth more than future tax payments of the same nominal amount.

The Wash Sale Rule Gap

In traditional US securities markets, the wash sale rule (IRC Section 1091) prohibits claiming a tax loss if you purchase "substantially identical" securities within 30 days before or after the sale. This prevents the strategy of selling a stock to realise a loss and immediately rebuying the same stock — exactly what crypto tax loss harvesting does. Why can you do it with crypto when you can't with stocks?

Because the IRS wash sale rule explicitly applies to "stocks or securities." Cryptocurrency is classified as property by the IRS (Revenue Ruling 2014-21) — not as a security. Therefore, the wash sale rule has not applied to crypto transactions. You can sell ETH for a loss on Monday and rebuy ETH on Monday — within seconds of each other — and still claim the loss. This gap is unique to crypto; it has no equivalent for stocks, bonds, or ETFs.

This gap is almost certainly temporary. The 2021 Build Back Better Act proposed extending wash sale rules to crypto; while the specific bill didn't pass, its inclusion reflected broad Congressional awareness of the loophole. Multiple subsequent bills in 2022–2026 have included crypto wash sale provisions. Tax professionals universally expect this gap to close eventually — possibly retroactively from a defined future date. Harvesting losses aggressively now, before legislation passes, captures a benefit that may not exist in future tax years. Do not assume this strategy will remain available indefinitely; check current legislation before your next harvest cycle.

Cost Basis Methods: HIFO Is Your Best Friend

Not all capital losses are created equal. Your cost basis method — which specific lot of an asset you're deemed to be selling — dramatically affects whether a sale creates a short-term or long-term gain or loss, and at what magnitude. US taxpayers can choose their cost basis method for crypto (confirmed by IRS guidance), and this choice matters enormously.

FIFO (First In, First Out): The oldest-acquired tokens are sold first. In rising markets, this maximises gains (you're selling your cheapest oldest tokens). In falling markets, you may be forced to realise gains on low-cost-basis tokens even when newer higher-cost-basis tokens are sitting at losses. FIFO is the default when no method is explicitly chosen — and usually the worst for tax optimisation.

HIFO (Highest In, First Out): The highest-cost-basis tokens are sold first. This minimises gains (or maximises losses) on any sale by always using the most expensive tokens as the "sold" lot. HIFO is generally the most tax-efficient method for crypto portfolios and is permitted by the IRS. On a portfolio with ETH bought at multiple prices, HIFO ensures that when you sell, you're selling the most expensive ETH first — minimising the gain or maximising the loss recognised. Always use HIFO in your crypto tax software settings.

Specific Identification: You designate exactly which lot(s) you're selling for each transaction. Maximum control, maximum tax efficiency potential — but requires meticulous record-keeping. Most good crypto tax software (Koinly, TokenTax) supports specific identification through lot selection interfaces. Use this when you have a specific large lot at a significant loss you want to realise.

Year-Round vs Year-End Harvesting

Most investors think of tax loss harvesting as a December activity — a year-end scramble to realise losses before the tax deadline. This is suboptimal for several reasons.

First, crypto markets don't wait for December. Significant drawdowns — the best harvesting opportunities — occur throughout the year. The February 2022 drawdown, the May 2022 Terra/LUNA crash, the November 2022 FTX collapse, the March 2023 banking crisis — all created substantial harvesting opportunities that resolved before year-end for some assets. Waiting for December misses these windows.

Second, year-end harvesting creates its own market dynamics. Many investors selling in December to harvest losses contributes to year-end selling pressure. You're competing with the market for execution at the worst prices. Harvesting during mid-year drawdowns — when most investors are panicking rather than optimising — gives you better execution in less crowded conditions.

Third, year-round harvesting allows you to match losses to gains as they occur, rather than discovering a year-end mismatch where you have large gains from Q1 sales and losses that emerged in Q4. Matching them throughout the year is cleaner accounting and ensures you don't accidentally create excess losses beyond what you can use (capped at $3,000 against ordinary income in the US).

Set a quarterly calendar reminder to review your portfolio for harvestable losses. Use Koinly or CoinTracker's unrealised gains/losses view to quickly identify positions in the red. When a significant drawdown occurs at any time of year, assess harvesting opportunities within days — drawdowns often recover quickly in crypto, and the window for capturing losses is narrow.

DeFi-Specific Loss Harvesting Opportunities

For active DeFi users, loss harvesting opportunities extend well beyond simple spot holdings. Consider:

Governance and yield tokens: Every token received as yield (liquidity mining rewards, governance token distributions, staking rewards) has a cost basis equal to its fair market value at the time you received it. If you received governance tokens worth $5,000 when distributed but they've since fallen to $1,500, you have a $3,500 harvestable loss — even if you never purchased any tokens on the open market. Sell them, realise the loss, and optionally rebuy at market.

LP positions: Withdrawing from a liquidity pool and selling the underlying tokens realises any loss relative to the deposit value. This is particularly relevant for DeFi positions that have suffered both price decline and impermanent loss since deployment. The tax treatment of LP positions is complex and jurisdiction-dependent; use crypto tax software and verify the classification.

Worthless tokens: If you hold tokens from failed projects, exploited protocols, or algorithmic stablecoins that have collapsed to near-zero (LUNA Classic, various 2022-vintage DeFi tokens), you can realise a near-total loss by selling even at fractions of a cent. For tokens with zero liquidity, some tax jurisdictions allow abandonment of worthless assets as a loss event — check with a crypto-specialized tax advisor for the specific treatment in your jurisdiction.

Tools and Software

Manual tracking of tax loss harvesting opportunities across exchanges, wallets, and DeFi protocols is impractical at any scale. Use dedicated crypto tax software to maintain an accurate, real-time picture of your portfolio's cost basis and unrealised gain/loss position.

Koinly (koinly.io) is the most widely used crypto tax platform globally, with real-time unrealised gain/loss views that make harvesting opportunity identification simple. Import all your exchanges and wallets, enable HIFO cost basis, and review the unrealised gains/losses dashboard regularly.

TokenTax is the premium option for complex DeFi portfolios — particularly strong at correctly parsing DeFi protocol transactions (LP deposits/withdrawals, yield harvesting events, cross-protocol interactions) that simpler tools misclassify. Misclassified transactions create incorrect cost basis calculations that undermine your harvesting strategy.

Whichever tool you use, review classified transactions regularly rather than doing everything at tax time. Incorrect classifications discovered in December are stressful to fix; incorrect classifications discovered in February (for the previous year's activity) are catastrophic. Build a habit of monthly transaction review — it takes 20–30 minutes for most active users and prevents the horror of year-end accounting surprises.

Important Caveats

Tax loss harvesting is tax optimisation, not tax elimination. Every loss you harvest today reduces your future cost basis, creating more taxable gain when prices recover. The benefit is timing and rate arbitrage — not permanent tax avoidance. If you're in a low-income year where you'd pay 0% on capital gains anyway, harvesting losses provides minimal value. If you're in a high-income year facing 20%+ capital gains rates, harvesting is maximally valuable.

Always consult with a tax professional who has specific crypto expertise for your individual situation — especially for complex DeFi portfolios, large harvest events, and cross-jurisdictional holdings. The general strategy described here is US-centric; other jurisdictions (UK, Germany, Australia, Canada) have different rules, wash sale equivalents, and treatment of DeFi transactions that require country-specific advice. The information here is educational; it is not tax advice.

0 Comments

No comments yet — be the first to share your thoughts.

Leave a Comment

Your email won't be published. After submitting, you'll receive a quick verification email — click the link to publish your comment.

Used only to verify your comment — never shown publicly.

0 / 2000

Free Newsletter

Get weekly crypto trading insights

New guides, tool updates, and market analysis — straight to your inbox. No spam, unsubscribe anytime.