Are you leaving money on the table every time you sell crypto? Most investors default to FIFO and never think twice, but the cost basis method you choose can mean the difference between a four-figure tax bill and a three-figure one.
Here’s the thing: the IRS doesn’t pick your method for you. You get to choose. And that choice has real dollar consequences.
What Is Cost Basis and Why Does It Matter?

Cost basis is the original value of a crypto asset for tax purposes, typically the purchase price plus any fees. When you sell, swap, or spend crypto, the IRS calculates your taxable gain or loss as proceeds minus cost basis.
A simple example: You bought 1 ETH at $2,000 in January and another 1 ETH at $3,500 in March. You sell 1 ETH in December for $4,000.
Sell the $2,000 ETH
$4,000 - $2,000 = $2,000 gain. FIFO always picks your oldest lot first.
Sell the $3,500 ETH
$4,000 - $3,500 = $500 gain. HIFO picks the most expensive lot, minimizing the gain.
This is why cost basis optimization is the single most impactful lever in your crypto tax strategy. And it’s why the IRS requires you to report it on Form 8949 for every single disposal.
FIFO: The IRS Default
First-In, First-Out means the earliest-acquired units are sold first. It’s the method the IRS uses if you don’t specify anything else.
When FIFO works in your favor:
- You bought most of your holdings during a bull market (high basis)
- You’re selling during a downturn (lower proceeds)
- Your oldest lots already have favorable long-term capital gains treatment
When FIFO hurts:
- Your earliest purchases were at low prices (early adopter problem)
- Markets have appreciated significantly since you started buying
- You’re triggering large short-term gains unnecessarily
Most crypto tax software defaults to FIFO. That’s fine. It’s the safest choice. But “safe” and “optimal” are not the same thing.
HIFO: Minimize Your Tax Bill
Highest-In, First-Out means the most expensive lots are sold first. This minimizes your gain (or maximizes your loss) on every disposal.
HIFO is powerful because:
- It defers gains by always selling the highest-cost units first
- It’s fully compliant with IRS rules (as part of Specific Identification)
- It can dramatically reduce your current-year tax liability
But here’s where it gets interesting. HIFO isn’t a standalone IRS-recognized method. It’s a strategy within Specific Identification. You need to be able to identify exactly which lot you’re selling at the time of the sale.
How to Properly Elect HIFO
- Maintain detailed records of every lot (date, amount, price, fees)
- Identify the specific lot before or at the time of sale
- Document your selection: your crypto tax reconciliation report should show lot-level detail
- Keep broker confirmations or on-chain transaction records as backup
Specific Identification: Maximum Control
Specific Identification (Spec ID) lets you cherry-pick exactly which lots to sell for each transaction. It’s the most flexible method, and the most demanding.
With Spec ID, you can:
- Choose HIFO lots to minimize gains during profitable sales
- Choose LIFO (lowest-cost) lots to harvest losses during downturns
- Optimize for long-term vs. short-term capital gains treatment
- Combine strategies across different assets in your portfolio
If you can identify which units of property were sold, exchanged, or otherwise disposed of, you can use the specific identification method.
The Documentation Requirement
The IRS is clear: Spec ID requires adequate identification. You must specify the particular units being sold and receive confirmation from your broker or exchange. For crypto, this means:
- Centralized exchanges: Some (like Coinbase) now support lot selection. Check your exchange’s tax settings.
- DeFi transactions: On-chain activity doesn’t have a “lot selector.” You’ll need to reconstruct lot identification using transaction hashes, timestamps, and wallet records.
- Cross-chain transfers: Moving assets between wallets doesn’t change your basis, but you need to track the chain of custody.
How to Model the Right Method for Your Portfolio

Here’s where most investors get stuck: they pick a method once and never revisit it. But your optimal method can change year to year based on market conditions and your personal tax situation.
Step 1: Export your complete transaction history from every exchange and wallet you’ve used. Include deposits, withdrawals, trades, staking rewards, and airdrops.
Step 2: Run the numbers under each method. Tools like CoinTracker and Koinly let you toggle between FIFO, LIFO, and HIFO to see the tax impact. Or hand it to a crypto tax specialist who does this daily.
Step 3: Consider your full tax picture. Your crypto cost basis method doesn’t exist in a vacuum. If you have significant stock market losses, you might want to realize more crypto gains (FIFO). If you’re already at the top marginal bracket, minimizing gains (HIFO) is critical.
Step 4: Document your election. There’s no special IRS form for choosing a method. You simply apply it consistently on Form 8949 and keep your records.
A Real-World Comparison
Imagine a portfolio with 50 Ethereum transactions across 2024 and 2025, selling 10 ETH in Q4 2026:
| Method | Taxable Gain | Estimated Federal Tax (32% bracket) |
|---|---|---|
| FIFO | $28,400 | $9,088 |
| LIFO | $12,100 | $3,872 |
| HIFO | $8,300 | $2,656 |
| Spec ID | $6,900 | $2,208 |
That’s a potential $6,880 in tax savings just from choosing the right method. For larger portfolios, the numbers scale accordingly.
What About the New 1099-DA?
Starting in 2026, exchanges will issue Form 1099-DA reporting your digital asset transactions to the IRS. This changes the game for cost basis:
- Exchanges will report proceeds, but may not always have your complete cost basis
- Transfer basis tracking between exchanges is still inconsistent
- You’re still responsible for maintaining accurate cost basis records, especially for DeFi and cross-exchange transfers
The 1099-DA makes compliance more visible, but it doesn’t do the optimization for you. If anything, it makes proper cost basis selection more important. The IRS now has your transaction data and will compare it to your Form 8949.
Bottom Line: What to Do Next
Your crypto cost basis method is not a set-it-and-forget-it decision. It’s a strategic lever that can save you thousands of dollars annually.
Here’s your action plan:
- Audit your current method. If you’ve been defaulting to FIFO, run the numbers under HIFO and Spec ID for your latest tax year.
- Get your records in order. Complete transaction history, lot-level detail, cost basis for every acquisition. This is non-negotiable for Spec ID.
- Model before you sell. Before your next major disposal, calculate the tax impact under different methods.
- Talk to a specialist. A 15-minute crypto tax review can identify thousands in potential savings.
Don’t leave money on the table. Your cost basis method is the one thing you can control, and the difference adds up.