Research/Education/Crypto Tax-Loss Harvesting: How to Offset Gains Legally in 2026
# Investing

Crypto Tax-Loss Harvesting: How to Offset Gains Legally in 2026

BloFin Academy05/18/2026

Tax-loss harvesting is the practice of selling a crypto asset at a loss to create a realized capital loss that offsets realized capital gains elsewhere in your portfolio, reducing your total tax liability for the year. In the context of crypto tax planning and portfolio rebalancing, tax-loss harvesting is one of the few strategies that converts portfolio pain into measurable financial benefit. Unlike stocks, crypto currently operates without a federal wash-sale rule, creating a structural advantage that informed investors use to reduce taxes legally every year.

What you will learn:

  • What tax-loss harvesting is and how the mechanics work for crypto specifically

  • Why crypto's classification as property (not securities) creates a wash-sale advantage over stocks

  • The IRS wash-sale rule, the economic substance doctrine, and where the legal boundaries sit

  • Step-by-step execution: identifying losses, realizing them, and repurchasing

  • Year-end planning: timing, thresholds, and calendar deadlines

  • Software tools that automate the process (Koinly, CoinLedger, CoinTracker, TokenTax)

  • How tax-loss harvesting interacts with cost-basis methods, market cycles, and long-term portfolio strategy

Claims about IRS rules, wash-sale treatment, and reporting requirements reference current federal guidance and professional tax analysis as of early 2026. Tax law changes frequently. Always verify current rules with a qualified tax professional before executing a tax strategy.

How Tax-Loss Harvesting Works in Crypto

The concept is straightforward. You hold a crypto asset that has declined below your purchase price. You sell that asset, which turns your unrealized (paper) loss into a realized loss. That realized loss can offset realized gains from other crypto sales, stock sales, or other capital transactions during the same tax year.

Example: You bought 1 ETH at $3,800 in March. By October, ETH trades at $2,600. You sell for a $1,200 realized loss. Earlier that year, you sold some BTC for a $4,000 gain. Your net taxable gain is now $2,800 instead of $4,000. At a 24% tax bracket, that $1,200 harvested loss saves you $288 in federal tax.

If your total realized losses exceed your total realized gains for the year, you can deduct up to $3,000 of the excess against ordinary income. Any remaining losses carry forward to future tax years indefinitely (source: TokenTax).

The compounding effect: Tax-loss harvesting is not a one-year strategy. Investors who harvest consistently across multiple years build up a bank of carried-forward losses that reduce taxes for years, sometimes decades. In a volatile asset class like crypto, where 30-50% drawdowns occur regularly, the harvesting opportunities are frequent and substantial.

The Wash-Sale Advantage: Why Crypto Is Different from Stocks

This is the structural reason crypto tax-loss harvesting is more powerful than the stock market equivalent.

What the Wash-Sale Rule Is

IRS Section 1091 prohibits investors from claiming a loss on a security if they purchase a "substantially identical" security within 30 days before or after the sale. If you sell Tesla stock at a loss and buy it back within 30 days, the IRS disallows the loss. The rule prevents investors from harvesting a tax loss while maintaining the same economic exposure.

Why It Does Not Apply to Crypto (Currently)

The wash-sale rule explicitly applies to "stock and securities." The IRS classifies cryptocurrency as property, not a security (source: CoinLedger). Because crypto is property under current IRS guidance, you can sell Bitcoin at a loss and immediately repurchase Bitcoin, capturing the tax loss while maintaining your position. No 30-day waiting period. No need to buy a "different" asset.

This means a crypto investor can harvest a loss on ETH, immediately repurchase ETH at essentially the same price, and claim the full capital loss on their tax return. A stock investor cannot do this.

The Caveats

Economic substance doctrine: The IRS retains the authority to disallow transactions that lack economic substance beyond tax avoidance. If every single transaction in your account is a same-day sell-and-repurchase with no other purpose, aggressive auditors could challenge it. In practice, tax-loss harvesting with immediate repurchase is widely accepted and used by major crypto tax platforms, but the risk is nonzero (source: TokenTax).

Legislative risk: Congress has repeatedly proposed extending wash-sale rules to crypto. The Build Back Better Act, the Wyden-Brown crypto tax bill, and several infrastructure bill amendments all included provisions to close this gap. None have passed as of April 2026, but the political direction is clear. This advantage may not last forever.

State-level rules: Some states apply their own wash-sale rules that may cover broader asset classes than the federal definition. Consult a tax professional about your specific state.

When we review crypto tax strategies for Blofin Academy coverage, the wash-sale exemption is the single feature that makes crypto tax-loss harvesting distinctly more powerful than its stock market counterpart. Investors who understand this and act on it before any legislative change have a genuine financial edge.

Step-by-Step: How to Execute a Tax-Loss Harvest

Step 1: Identify unrealized losses in your portfolio

Review every crypto position. For each asset, compare your current market value to your cost basis (what you originally paid, including fees). Any position trading below your cost basis is a harvesting candidate.

Most portfolio tracking tools display unrealized gains and losses per asset. Koinly, CoinLedger, and CoinTracker all include dedicated tax-loss harvesting dashboards that flag positions with unrealized losses automatically.

Step 2: Calculate the potential tax impact

Not all losses are worth harvesting. Consider:

  • Short-term vs. long-term: Losses from assets held less than one year offset short-term gains first (taxed at ordinary income rates, up to 37%). Losses from assets held over one year offset long-term gains (taxed at 0%, 15%, or 20%). Short-term loss harvesting typically provides more tax savings per dollar of loss because it offsets higher-rate gains.

  • Transaction costs: Selling and repurchasing incurs trading fees and potentially spread costs. If the total round-trip cost exceeds the tax savings, the harvest is not worth executing.

  • Position size: A $50 unrealized loss on a micro-cap token is not worth the effort. Focus on positions where the potential tax savings justify the transaction.

Step 3: Execute the sale

Sell the asset on your exchange. The sale converts your unrealized loss into a realized loss for tax purposes. Record the date, quantity, sale price, and resulting gain or loss.

Step 4: Repurchase (optional but common)

Because no wash-sale rule applies to crypto, you can immediately repurchase the same asset. Your new cost basis resets to the repurchase price. This means you maintain your portfolio allocation while capturing the tax benefit.

Important: Your new cost basis is lower than your original. If you bought ETH at $3,800, sold at $2,600 (harvesting a $1,200 loss), and immediately repurchased at $2,600, your new basis is $2,600. When you eventually sell at a profit, your taxable gain will be larger because the basis is lower. Tax-loss harvesting defers taxes rather than eliminating them entirely. The value comes from the time value of money and the ability to offset current-year gains.

Step 5: Record everything

Document the original purchase date, original cost basis, sale date, sale price, repurchase date, repurchase price, and the resulting loss. Your crypto recordkeeping system must capture all of this. The IRS requires that you report every disposal on Form 8949 and Schedule D.

Cost-Basis Methods and Their Impact on Harvesting

The cost-basis method you choose determines which specific lots you sell, which directly affects how much loss you can harvest.

FIFO (First In, First Out): Sells the oldest lots first. If your earliest purchases were at the highest prices, FIFO may produce larger losses. If prices have generally risen over time, FIFO may produce gains when you want losses.

Specific Identification: You choose exactly which lot to sell. This gives you maximum control over tax-loss harvesting because you can select the lot with the highest cost basis (and therefore the largest unrealized loss) for each sale.

HIFO (Highest In, First Out): A subset of specific identification that automatically sells the lot with the highest cost basis first. This maximizes losses (or minimizes gains) on every sale, making it the most tax-efficient method for harvesting.

Under IRS Notice 2025-7 (extended by Notice 2026-20), taxpayers can use specific identification methods including HIFO for crypto transactions through December 31, 2026, without formally communicating a standing order to their broker (source: Recap.io). Starting in 2026, cost-basis reporting becomes mandatory for covered digital assets under the new Form 1099-DA framework, which tracks basis on a per-wallet, per-account basis (source: CoinTracker).

Practical recommendation: Use HIFO or specific identification when harvesting losses. This maximizes the loss captured per sale. Most crypto tax platforms support this selection.

Year-End Planning Calendar

Tax-loss harvesting is most impactful when planned around the calendar year.

September-October: Portfolio review

  • Run your tax software's unrealized loss report

  • Identify positions with meaningful unrealized losses (generally $500+ in loss for the effort to be worthwhile)

  • Estimate your total realized gains for the year so far

  • Calculate how much loss you need to harvest to offset those gains

November: Execute harvests

  • Sell positions with unrealized losses

  • Repurchase immediately if you want to maintain the position

  • Allow time for transactions to settle and for any exchange delays

December 1-31: Final window

  • Last chance to realize losses for the current tax year

  • All sales must settle by December 31 to count for the tax year

  • On centralized exchanges, settlement is typically instant. On-chain transactions, confirm blockchain finality

January: Reconcile

  • Export transaction history from all exchanges and wallets

  • Run your tax software to generate Form 8949 and Schedule D

  • Verify that all harvested losses appear correctly

  • File by April 15 (or October 15 with extension)

Do not wait until December 28. Exchange outages, blockchain congestion, and end-of-year volatility can prevent timely execution. Build in a buffer.

Software Tools for Automated Tax-Loss Harvesting

Manual tracking across multiple wallets and exchanges is error-prone. These platforms automate the process.

Koinly

Koinly connects to 800+ exchanges and wallets via API. Its tax-loss harvesting tool scans your portfolio in real time and flags every position sitting below cost basis, showing you the potential tax savings from harvesting each one. Koinly supports FIFO, LIFO, HIFO, and specific identification. It generates IRS Form 8949, Schedule D, and tax reports for 100+ countries. Pricing starts at $49 per year for up to 100 transactions (source: Koinly).

CoinLedger

CoinLedger integrates directly with TurboTax and H&R Block. Its tax-loss harvesting dashboard identifies unrealized losses and estimates the dollar savings from harvesting each position. CoinLedger supports all major cost-basis methods and generates IRS-ready reports. Pricing starts at $49 per year (source: CoinLedger).

CoinTracker

CoinTracker is Coinbase's official tax partner and has restructured its platform around the IRS per-wallet cost-basis tracking rules that took effect in 2025. It supports automated portfolio tracking, unrealized loss identification, and direct export to tax filing software. Pricing starts free for limited transactions (source: CoinTracker).

TokenTax

TokenTax targets active traders and DeFi users. It supports complex transaction types (liquidity pool entries and exits, staking rewards, airdrops) and offers a full-service filing option where their CPAs prepare your return. Pricing starts at $65 per year (source: TokenTax).

Tool selection criteria: Choose based on number of transactions (free tiers have limits), exchange and wallet integrations (check that your specific exchanges are supported), cost-basis method support, and whether you need international tax reports or US-only.

Common Mistakes in Crypto Tax-Loss Harvesting

Harvesting losses you do not need. If you have no realized gains for the year and your income is low enough that the $3,000 ordinary income deduction provides minimal benefit, harvesting losses just to "bank" them may not be worth the lower cost basis on repurchase. Evaluate the actual tax savings before executing.

Ignoring the cost-basis reset. When you sell at a loss and repurchase, your new cost basis is lower. Your future gain will be correspondingly larger. Tax-loss harvesting shifts taxes to the future. It is not free money.

Failing to track across wallets. The IRS now requires per-wallet cost-basis tracking. If you bought ETH on Coinbase and transferred it to a hardware wallet before selling, your cost basis must follow the specific lot. Crypto tax software handles this automatically; manual spreadsheets often miss transfers between wallets.

Triggering wash-sale rules on correlated securities. If you hold shares of a crypto ETF (like IBIT or FBTC) in a brokerage account and sell those shares at a loss, the stock-market wash-sale rule applies because ETFs are securities. You cannot sell IBIT at a loss and repurchase within 30 days. The crypto wash-sale exemption applies only to direct crypto holdings, not to crypto ETFs or other securities.

Not accounting for staking rewards and airdrops. Staking rewards are taxed as ordinary income when received. If the token price subsequently drops below the value at which you received the reward, you have an unrealized loss that can be harvested. Many investors forget to account for these positions.

FAQ

Is crypto tax-loss harvesting legal?

Yes. Tax-loss harvesting is a standard, IRS-recognized strategy for managing capital gains taxes. The IRS explicitly allows taxpayers to offset realized gains with realized losses. The crypto-specific advantage (no wash-sale rule) exists because the IRS classifies cryptocurrency as property rather than securities.

Can I sell crypto at a loss and buy it back immediately?

Under current IRS rules, yes. The wash-sale rule (Section 1091) applies to stocks and securities, not to property. Cryptocurrency is classified as property. You can sell at a loss and repurchase the same asset immediately without disallowing the loss. This may change if Congress extends wash-sale rules to crypto.

How much crypto loss can I deduct?

Realized crypto losses first offset realized capital gains dollar-for-dollar with no limit. If losses exceed gains, you can deduct up to $3,000 of the excess against ordinary income per year. Any remaining unused losses carry forward indefinitely to future tax years.

Does tax-loss harvesting work for staking rewards?

Yes. Staking rewards are taxed as ordinary income at the time you receive them, establishing a cost basis equal to the fair market value at receipt. If the token price later drops below that basis, you can sell to harvest the loss.

Which cost-basis method is best for tax-loss harvesting?

HIFO (Highest In, First Out) or specific identification maximizes the loss on each sale by selecting the lot with the highest original cost. IRS Notice 2026-20 extends the transitional relief for using specific identification through December 31, 2026.

Will the wash-sale rule eventually apply to crypto?

Likely. Multiple congressional proposals have sought to extend the rule to digital assets. No legislation has passed as of April 2026, but the trend suggests it is a matter of when, not whether. Investors benefit from using the current exemption while it exists.

Do I need special software for tax-loss harvesting?

You do not strictly need it, but it is strongly recommended. Manually tracking cost basis across multiple wallets, exchanges, and transaction types is complex and error-prone. Platforms like Koinly, CoinLedger, and CoinTracker automate loss identification and generate IRS-ready forms.

 


Researched and written by the Blofin Academy editorial team with AI-assisted drafting. All facts independently verified against IRS guidance, professional tax analysis from TokenTax and CoinLedger, crypto tax platform documentation, and current legislative proposals.

 

Disclaimer: This content is for educational purposes only and does not constitute financial, investment, legal, or tax advice. Crypto assets are highly volatile and carry significant risk of loss. Tax laws vary by jurisdiction and change frequently. Always consult a qualified tax professional before making tax-related decisions.