Skip to content
All guides

Cost basis · Tax firms · Oct 19, 2026 · 2 min read

Crypto tax-loss harvesting and the wash sale question

How harvesting works for crypto, where the wash sale rule stands, and the records that make a harvested loss defensible.

By ChainLedger editorial team · Crypto audit, tax and fund reporting · Last reviewed

Key takeaways

  • Selling crypto at a loss realizes a capital loss that can offset gains.
  • The wash sale rule in section 1091 applies to stock and securities; whether it reaches a given crypto asset depends on current law and the asset.
  • Lot selection and per-account tracking decide how large a harvested loss actually is.

Tax-loss harvesting means selling assets that are below their cost to realize a capital loss, which can offset capital gains and, within limits, ordinary income. Crypto's volatility makes it a common year-end conversation.

How the wash sale rule fits in

Section 1091 disallows a loss on the sale of stock or securities if substantially identical stock or securities are bought within 30 days before or after the sale. Crypto treated as property has generally not been considered stock or securities for this purpose, and proposals to extend the rule to digital assets have been made.

Even where the rule doesn't apply, transactions with no purpose other than a tax benefit can be challenged under general doctrines such as economic substance. Records showing what was actually done, and when, matter.

How lot selection changes the loss

Lots held in the accountSell 1 BTC at $60,000 usingResult
1 BTC at $30,000 and 1 BTC at $90,000FIFO (oldest first)$30,000 gain
Same lotsHIFO (most expensive first)$30,000 loss

The difference comes entirely from which lot is treated as sold. Since 2025, lots also have to be in the same wallet or account as the sale, and for assets held at a broker, the lots generally need to be identified at the time of sale.

Records that make a harvested loss defensible

  1. 1The lot method used for the account, recorded before the sale.
  2. 2The specific lots sold, with purchase dates and costs.
  3. 3The sale price, tied to the time of the trade.
  4. 4Any repurchase of the same or similar asset, with dates.
  5. 5Confirmation that all accounts are included, so the lots really were available.

ChainLedger tracks lots per account and lets you compare FIFO, LIFO and HIFO before deciding, showing exactly which lots move and how the gain or loss changes.

This guide is general information, not legal, tax, accounting or investment advice. Rules change and depend on the facts; confirm the treatment for any client with a qualified professional.