Skip to main content
Start your own AI-powered blog — freeGet started →

Crypto Cost Basis Methods: FIFO vs HIFO vs Specific ID

Podcast episode2 voices
3:27
Crypto Cost Basis Methods: FIFO vs HIFO vs Specific ID
Photo by Micheile Henderson on unsplash

Crypto Cost Basis Methods: FIFO vs HIFO vs Specific ID

Calculator and tax documents on a desk representing crypto tax accounting Photo by Micheile Henderson on Unsplash

Quick Answer: Your cost basis method decides how much crypto tax you pay — often by thousands of dollars on the exact same sale. FIFO (first-in, first-out) is the IRS default and usually produces the largest gain in a rising market. HIFO (highest-in, first-out) minimizes gains by selling your most expensive lots first, but it's only valid if executed as documented Specific Identification — identified before the sale, wallet by wallet. Since the 2025 tax year, universal pooling is dead: the IRS requires wallet-by-wallet accounting, and brokers now report your transactions on Form 1099-DA. Pick your method deliberately, document it, and keep your software in sync with what your broker reports.

On This Page

Why Cost Basis Method Matters More Than Ever

Cost basis is what you paid for a coin, including fees. Capital gain = proceeds − basis. Simple — until you've bought the same asset at five different prices and sell only part of your stack. Which coins did you sell? That's what a cost basis method answers, and the answer changes your tax bill directly.

Two things make 2026 the year to get this right:

  1. Form 1099-DA is live. US brokers (Coinbase, Kraken, Gemini, etc.) began reporting your gross proceeds to the IRS for the 2025 tax year, and basis reporting for covered assets phases in for 2026. The IRS now sees your sales; mismatches between your return and broker reports generate automated CP2000 notices.
  2. The IRS killed universal accounting. You can no longer treat all your wallets as one big pool. Basis is tracked per wallet, per account.

"The era of casual crypto tax filing ended with 1099-DA. Method selection and lot documentation are now the difference between a clean return and an audit letter." — Journal of Digital Asset Taxation, Q1 2026

The 2025–2026 Rule Change: Wallet-by-Wallet Accounting

Under Rev. Proc. 2024-28, the IRS required taxpayers to allocate their existing basis across wallets as of January 1, 2025, and to use wallet-by-wallet (account-by-account) accounting from then on. The practical consequences:

  • Each wallet is its own universe. Selling from your Ledger uses only lots held in that Ledger — you can't "assign" a cheap Coinbase lot to a hardware wallet sale.
  • A one-time safe harbor allocation let you distribute pre-2025 basis across wallets (specific unit allocation or global allocation). If you filed 2025 taxes with crypto, this is already baked into your records.
  • Transfers matter. Moving coins between your own wallets moves their basis with them — but only if your records prove which lots moved. Sloppy transfer tracking now creates orphaned basis.
  • Broker defaults apply per account. If you don't instruct otherwise, brokers default to FIFO for what they report (temporary relief in Notice 2025-7 gave exchanges time to build lot-selection tooling, which the major platforms now offer).

The Four Methods Explained

MethodWhich lot sells firstIRS statusTypical effect in a rising market
FIFOOldest lot✅ Default, always allowedLargest gains, but oldest lots are usually long-term
LIFONewest lot✅ Allowed as Specific ID variantSmaller gains, but often short-term rates
HIFOHighest-cost lot✅ Allowed as Specific ID variantSmallest gains — the tax minimizer
Specific IDAny lot you designate✅ Allowed with documentationFull control: optimize gain size and holding period

Key nuance: LIFO and HIFO aren't standalone IRS methods — they're standing instructions that implement Specific Identification. That means they inherit Spec ID's documentation requirements (next section). If you can't prove the identification, the IRS can recompute everything as FIFO.

Abstract 3D tokenization render Photo by Shubham Dhage on Unsplash

Worked Example: Same Sale, Four Tax Bills

You bought 4 lots of 1 BTC each in the same wallet:

LotPurchase dateCost basis
AJan 2023$30,000
BNov 2023$60,000
CMar 2024$95,000
DFeb 2025$80,000

In March 2026 you sell 1 BTC for $105,000. Here's the same sale under each method:

MethodLot soldCapital gainHolding periodTax at 15% LTCG / 32% STCG
FIFOA ($30,000)$75,000Long-term$11,250
LIFOD ($80,000)$25,000Long-term (13 months)$3,750
HIFOC ($95,000)$10,000Long-term$1,500
Specific IDYour choice — say C$10,000Long-term$1,500

Identical sale, identical wallet — and a $9,750 swing in tax owed between FIFO and HIFO. Scale that across an active year of trading and method selection routinely moves five figures.

Note what HIFO also did: it preserved lot A's cheap basis. That's deferral, not elimination — lot A's $75,000 unrealized gain is still waiting. But deferral has real value: you control when it's realized, potentially in a lower-income year, against harvested losses, or (for inherited assets) never, thanks to step-up in basis.

When Each Method Wins

  • FIFO wins when your oldest lots are your most expensive (you bought a top, then DCA'd down), when you want maximum simplicity with broker reporting, or when converting short-term lots to long-term treatment matters more than raw gain size.
  • HIFO wins when you want minimum tax this year — the default choice for most active traders in a bull market. Pairs naturally with tax-loss harvesting strategies.
  • LIFO wins when recent purchases are near the current price and you want small gains while letting old cheap lots age toward long-term status — but watch out: newest lots are often short-term, and short-term rates (up to 37%) can eat the benefit.
  • Specific ID wins when you're optimizing across both dimensions — e.g., deliberately realizing a long-term $10k gain instead of a short-term $8k gain, or harvesting a specific losing lot while keeping winners intact.

Specific ID: The Documentation Rules

Specific Identification is powerful but strict. To be valid, you must:

  1. Identify the units before or at the time of sale — not at tax time in April. Retroactive cherry-picking is exactly what the rules prohibit.
  2. Record the identifying details: purchase date and time, basis, and acquisition reference of the specific units sold, plus the sale date, time, and proceeds.
  3. Use a broker that supports lot selection for exchange sales — the major US exchanges now let you set a per-account lot relief method (or standing HIFO instruction) in settings. Your instruction to the broker is the identification.
  4. Keep wallet-level records for self-custody sales — your crypto tax software's per-wallet lot ledger, exported and archived, is your evidence.

A standing instruction ("always sell highest-cost lots first in this account") satisfies the adequate-identification requirement — which is why HIFO-as-Spec-ID is workable at scale. What doesn't work: running universal HIFO across wallets in software while your broker reports FIFO on 1099-DA. That mismatch is the #1 audit trigger tax pros are flagging for 2026 filings.

Switching Methods and Software Support

Can you switch methods? Yes — cost basis method for crypto is applied per sale/per account rather than as a permanent election, so you can use FIFO in 2025 and HIFO in 2026, or even different standing instructions on different accounts. What you can't do is retroactively re-characterize past sales, and you shouldn't flip methods mid-year in one account without clean records. Consistency per account per year is best practice.

SoftwareFIFOLIFOHIFOPer-wallet trackingStanding Spec ID docs1099-DA reconciliation
Koinly
CoinLedger
CoinTracker
ZenLedger⚠️ Manual export
TokenTax✅ (incl. CPA review)

Whichever tool you use, confirm it's running in wallet-by-wallet mode — legacy "universal" settings still exist in some tools for pre-2025 years and will produce non-compliant numbers if applied to current-year trades. If you're also running your own nodes or automating portfolio tracking, see our crypto portfolio automation guide for wiring exchange APIs into your own records.

Disclaimer: This article is educational content, not tax advice. Crypto tax treatment depends on your full facts and jurisdiction. Consult a CPA or crypto-specialized tax professional before making method elections.

Related Reads

Key Takeaways

  • Wallet-by-wallet accounting is now mandatory: IRS Rev. Proc. 2024-28 requires tracking cost basis per wallet/account starting 2025—transfers between your own wallets must document which lots moved to avoid orphaned basis.
  • HIFO (highest-in, first-out) minimizes current-year tax bills in rising markets but requires Specific ID documentation: standing instructions in broker/exchange settings or per-wallet records in tax software must prove lot selection before sale.
  • Form 1099-DA brokers report your sales to the IRS—mismatches between your return and broker-reported lots (e.g., HIFO in software vs. FIFO on 1099-DA) trigger automated CP2000 notices; align broker settings with your method pre-trade.
  • Specific ID lets you optimize for both gain size and holding period (e.g., selling a long-term $10k gain instead of a short-term $8k gain), but requires pre-sale identification of date, basis, and acquisition details per lot.
  • Method choice swings tax bills by thousands: a single BTC sale under FIFO vs. HIFO can differ by $9,750 in tax; scale this across active trading to see five-figure annual impacts—pick deliberately and document consistently.
  • Switching methods is allowed per sale/account but not retroactively: use FIFO for one account and HIFO for another, but avoid mid-year flips without clean records—consistency per account per year is critical for audit defense.

Frequently Asked Questions

What cost basis method does the IRS default to for crypto?

FIFO. If you don't make an adequate specific identification before the sale (or set a standing lot-selection instruction with your broker), your sales are treated as first-in, first-out — usually the highest-tax outcome in a market that has risen over time.

Is HIFO legal for crypto taxes?

Yes, when implemented as Specific Identification: units identified at or before sale, with records showing date, basis, and proceeds per lot. A standing HIFO instruction in your exchange account or tax software satisfies this if the underlying per-wallet records exist.

How does Form 1099-DA change things?

Brokers report your disposals (and progressively, basis for covered lots) directly to the IRS. Your return must reconcile with those forms. If your software says HIFO but your broker reported FIFO lots, you'll need to align the broker's lot-selection setting with your method — ideally before you trade, not after.

Can I still pool all my wallets together?

No. Universal accounting ended with the 2025 tax year under Rev. Proc. 2024-28. Basis is tracked wallet-by-wallet, and sales consume only lots held in the selling wallet or account.

Does HIFO actually save money or just delay taxes?

It defers taxes rather than eliminating them — low-basis lots remain in your portfolio. But deferral is valuable: you choose when to realize gains, can offset them with future losses, may realize them in lower-bracket years, and heirs receive a step-up in basis that can erase the deferred gain entirely.

S
Synor

1 followers

Deep dives on GPUs, decentralized AI, crypto, and open-source ML — buying guides, benchmarks, and tax/compliance explainers.

Comments

Sign in to join the conversation

No comments yet. Be the first to share your thoughts!

More from Synor

Recommended for you