Life Money USA
Cluster guide · tax-planning

Crypto Cost Basis: FIFO vs LIFO vs Specific Identification in 2026

The IRS default for crypto is FIFO — but specific-identification with proper recordkeeping can save thousands by selling high-basis lots first.

Sarah Mitchell, CFP®, RICP®
Senior Retirement Income Planner
Updated May 1, 2026
2026 verified

The IRS treats cryptocurrency as property for tax purposes. When you sell, swap, or use crypto, the gain or loss is calculated against your cost basis. The default cost-basis method for crypto is First-In-First-Out (FIFO): the IRS assumes you sold your oldest holdings first.

But you can elect Specific Identification — explicitly choosing which tax lot you're selling — which lets you use Last-In-First-Out (LIFO), Highest-In-First-Out (HIFO), or any other method. Done correctly, this can save thousands by realizing lower gains (or larger losses) on each transaction. The catch: you must have contemporaneous records identifying the specific lots at the time of sale.

Crypto cost-basis methods

IRS default method
First-In-First-Out (FIFO)
Specific Identification allowed?
Yes (Notice 2014-21)
LIFO available
Yes, via specific ID
HIFO (highest in first out)
Yes, often optimal for tax-loss harvesting
Average cost basis
NOT permitted for crypto (allowed only for mutual funds)
Wash sale rule on crypto
Currently NO (legislative changes possible)
Long-term holding requirement
More than 1 year for LTCG rates
Tax form for sales
Form 8949 + Schedule D
Form 1040 crypto question
Mandatory; perjury exposure if false

Interactive calculator

Estimates only. Consult a licensed CPA or fee-only fiduciary for advice specific to your situation.

Tax lots (acquired)

DateQuantityCost / coin
FIFO basis$50,000
FIFO realized gain$45,000
LIFO basis$43,500
LIFO realized gain$51,500

IRS default for crypto is FIFO. Specific-identification requires contemporaneous records. LIFO can reduce gain when prices have risen — but only if you can prove specific lots were sold. Software like CoinTracker / Koinly handles lot tracking automatically.

Why HIFO is usually the best method for taxable crypto

Highest-In-First-Out treats your highest-basis lots as sold first. In a rising market, this minimizes realized gain. In a falling market, it maximizes realized loss for tax-loss harvesting.

The trade-off: HIFO depletes high-basis lots faster, leaving you with low-basis lots when you eventually liquidate the rest. The total realized gain across your full holding period is the same regardless of method — what differs is the TIMING of when gains are realized. For most investors, deferring gains (or realizing losses now to offset other gains) is preferable.

HIFO is not a magic strategy — if you're going to hold long-term and never sell the depleted positions, the lifetime tax is unchanged. But for active traders or those tax-loss-harvesting in a volatile market, HIFO is materially better than FIFO.

Real-world scenarios

Marcus, 3 BTC purchased over 4 years
Scenario

Marcus has 3 BTC: 1 BTC bought at $50K in 2021, 1 BTC at $25K in 2022, 1 BTC at $70K in 2024. He sells 1 BTC in 2026 for $95K.

Result

FIFO: gain = $95K - $50K = $45K (long-term, taxed at 15-20%). HIFO via specific ID: sells the $70K lot, gain = $25K (long-term). The HIFO election saves $20K of taxable gain — at 23.8% combined rate, ~$4,800 in tax savings on a single sale.

Sarah, tax-loss harvesting in a down year
Scenario

Sarah has 5 ETH at varying basis. ETH price has dropped 30%. She wants to harvest a loss to offset other capital gains.

Result

Using HIFO via specific ID, she sells the highest-basis lots first to maximize the loss. In a market down-year, this can generate $20K-$50K of paper losses to offset against equity gains. NOTE: as of 2026, wash-sale rules do NOT apply to crypto, meaning Sarah can immediately repurchase ETH and lock in the loss without waiting 30 days. Legislative changes are possible.

Priya, mining and staking — separate basis problem
Scenario

Priya mined 0.5 BTC at various dates in 2024. Each mining payout is a separate tax lot at the FMV-on-receipt-date. She also bought 1 BTC in early 2026 for $90K.

Result

Each mining payout is taxable as ordinary income on receipt (Schedule 1 Other Income). The FMV on receipt becomes the basis for that lot. When Priya sells, she can specifically identify which lot — the recently-purchased $90K lot or one of the mined lots — to optimize tax. Mining lots may also qualify as a 'trade or business' triggering self-employment tax, depending on activity level.

Tools and providers

Frequently asked

You can use specific-identification for individual sales as long as you have contemporaneous records identifying the lot at the time of sale. Many crypto-tax-software tools (CoinTracker, Koinly) support specific-identification by default. If you didn't track lots contemporaneously, the IRS expects FIFO.

The wash-sale rule under §1091 applies to 'stock or securities.' The IRS classifies crypto as property, not securities, so wash-sale rules don't apply. This is legislatively contested — multiple bills have proposed extending wash-sale to crypto. As of 2026, it has not passed. Watch for changes.

Staking rewards are taxable as ordinary income at the FMV on the date you receive (or have dominion over) the reward. The 2024 tax court ruling in Jarrett v. United States affirmed this treatment. The basis for that staked coin is the FMV-on-receipt amount.

Per Rev. Rul. 2019-24, a hard fork that results in new cryptocurrency you receive is taxable as ordinary income at FMV on receipt — but only if you have dominion and control. Airdrops are similarly taxable on receipt. This catches many DeFi users by surprise.

Yes. Every disposition of crypto — including swapping ETH for SOL, paying for goods/services, or trading on a DEX — is a taxable event. The gain or loss is calculated against your basis in the disposed crypto.

Theft losses on crypto are currently NOT deductible for individuals (TCJA 2018 eliminated personal casualty/theft loss deductions except in federally-declared disasters). Worthless-token losses are tricky — you may be able to claim a capital loss if the token has truly become worthless, but documentation and timing requirements are strict.

Free starter pack

Get the Life Money USA starter pack

Decision checklists, key 2026 federal + state numbers, and our glossary. Free, one click.

Send me the starter pack