Skip to main content
All Articles
Financial Guide
6 min read May 18, 2026
Verified May 2026

FIFO vs HIFO Crypto Tax: Which Method Saves You More Money

Most crypto investors default to FIFO without running the numbers. That default can cost thousands in unnecessary capital gains taxes. The accounting method you choose is one of the most controllable variables in your crypto tax bill.

FIFO vs HIFO Crypto Tax: Which Method Saves You More Money

Key Takeaways

  • The IRS permits specific identification of crypto lots, meaning HIFO is a legal and accepted method under current guidance.
  • Investors who default to FIFO on a rising-cost-basis portfolio routinely overpay by $2,000 to $15,000+ per tax year depending on volume.
  • HIFO minimizes taxable gains by selling the highest-cost lots first, reducing your recognized gain on every disposal.
  • Tool: Run your crypto tax comparison with the CalcMoney calculator →

Compare Your OptionsSPONSORED

NerdWallet compares rates and fees across hundreds of financial products side by side.

Interactive Calculator
Full screen
Loading Mortgage Calculator
calcmoney.io/calculators/mortgageOpen full screen

The Accounting Method Nobody Explains to You

Your broker picks FIFO by default. Most crypto exchanges do too. Almost nobody tells you that you have a choice, and that the choice has a direct dollar value attached to it.

The IRS treats cryptocurrency as property. That means every sale, swap, or spend is a taxable disposal. Your gain or loss on each disposal depends on which specific units you are deemed to have sold. The accounting method you elect determines that calculation entirely.

Two methods dominate for active crypto holders: FIFO and HIFO. Understanding the mechanical difference between them is the first step. Quantifying the delta in your specific situation is where the real work happens.

What FIFO Actually Does

FIFO stands for First In, First Out. When you sell Bitcoin, FIFO assumes you sold the coins you acquired earliest.

In a market that trends upward over time, your earliest coins typically carry the lowest cost basis. Selling those first produces the largest taxable gain. It also maximizes the probability that those gains qualify as long-term, since older lots are more likely to be held beyond 12 months.

FIFO has one genuine advantage: simplicity. Record-keeping is straightforward. Most software handles it automatically.

The tradeoff is that simplicity can be expensive.

What HIFO Actually Does

HIFO stands for Highest In, First Out. When you sell, HIFO assumes you sold the coins with the highest purchase price first, regardless of when you bought them.

The logic is direct. Higher cost basis means smaller recognized gain. Smaller recognized gain means lower tax liability in the current period.

HIFO does not eliminate taxes. It defers them. Lower-cost lots remain in your portfolio and will eventually generate gains when sold. But deferral has real value. A dollar of taxes paid in 2031 costs less in present value terms than a dollar paid today.

The IRS Position on Specific Identification

The IRS addressed crypto accounting methods in Rev. Rul. 2023-14 and prior guidance. Taxpayers may use specific identification for virtual currency, provided they have records documenting which specific units were sold.

That documentation requirement matters. To use HIFO, you must be able to identify the specific lot sold, including the date acquired, the cost basis, and the wallet or exchange where it was held. If your records are incomplete, FIFO becomes your only defensible option.

Keep exchange statements, transaction histories, and cost basis reports. Software like Koinly, TaxBit, or CoinTracker generates lot-level records. Maintain those files with the same discipline you apply to brokerage statements.

Worked Example 1: The Rising-Cost Portfolio

An investor, call them Investor A, purchases Bitcoin across three tranches.

  • January 2023: 0.5 BTC at $17,400 per coin. Cost basis: $8,700.
  • August 2023: 0.5 BTC at $29,800 per coin. Cost basis: $14,900.
  • February 2024: 0.5 BTC at $51,200 per coin. Cost basis: $25,600.

In November 2024, Investor A sells 0.5 BTC at $68,000 per coin. Proceeds: $34,000.

Under FIFO, the January 2023 lot sells first. Cost basis is $8,700. Recognized gain: $34,000 minus $8,700 equals $25,300. The holding period exceeds 12 months, so this qualifies as long-term capital gain. At the 15% federal rate, the tax is $3,795.

Under HIFO, the February 2024 lot sells first. Cost basis is $25,600. Recognized gain: $34,000 minus $25,600 equals $8,400. The holding period is less than 12 months, so this is short-term, taxed as ordinary income. At a 24% marginal rate, the tax is $2,016.

HIFO saves $1,779 on this single transaction, even though the short-term rate is higher. The key variable is cost basis magnitude, not holding period. In scenarios where the HIFO lot is also long-term, the savings widen considerably.

The January 2023 lot stays in the portfolio under HIFO. Its unrealized gain of $25,300 carries forward rather than realizing now. That deferral compounds in value if the position continues to appreciate.

Worked Example 2: The Active Trader

Investor B trades Ethereum actively throughout 2024. They make 40 sales totaling $220,000 in proceeds. Their lot-level cost basis data shows an average purchase price of $2,100 per ETH across all units held, but the highest-cost lots average $3,400 per ETH and the lowest-cost lots average $800 per ETH.

Under FIFO, the earliest-acquired lots sell first. Those lots carry an average cost basis of $900 per ETH. Total cost basis applied: $88,000. Recognized gain: $132,000. At the 15% long-term rate on eligible lots: approximately $19,800 in federal tax.

Under HIFO, the highest-cost lots sell first. Total cost basis applied: $148,000. Recognized gain: $72,000. At the 15% rate: $10,800 in federal tax.

The difference is $9,000 on a single tax year. Over five years of active trading with comparable volumes, the cumulative difference can exceed $40,000 in federal taxes alone, before state tax considerations.

State tax amplifies the gap. In California, capital gains tax rates reach 13.3%. A $60,000 difference in recognized gains translates to an additional $7,980 in state tax liability under FIFO versus HIFO.

When FIFO Wins

HIFO is not universally superior. Three scenarios favor FIFO.

Harvesting losses in a down market. If your earliest lots carry losses, FIFO surfaces those losses first. That reduces your current tax liability. In a declining market, FIFO and HIFO switch roles.

Maximizing long-term treatment. If your highest-cost lots are short-term and your lowest-cost lots are long-term, HIFO may push gains into short-term territory at higher rates. Run the actual numbers before assuming HIFO wins.

Simplifying audits. FIFO is the default. Documentation requirements are lower. For investors with partial or incomplete records, FIFO reduces audit exposure.

Lot-Level Tracking: The Non-Negotiable Prerequisite

Choosing HIFO without maintaining lot-level records is not a viable strategy. The IRS requires you to identify which specific units you sold at the time of the transaction, not retroactively.

Practically, this means using software that assigns lot IDs to every purchase and tracks them through every disposal. Most major crypto tax platforms support HIFO as a selectable cost basis method. Enable it explicitly. Do not assume it is the default.

If you use multiple wallets and exchanges, consolidate your transaction history in one place before year-end. Gaps in records eliminate your ability to defend a specific identification method.

Tax Rate Context: 2025 Federal Brackets

Long-term capital gains rates for 2025 apply as follows based on taxable income for single filers.

  • 0%: up to $47,025.
  • 15%: $47,026 to $518,900.
  • 20%: above $518,900.

Short-term gains tax as ordinary income. Rates range from 10% to 37%.

The spread between short-term and long-term rates reaches 17 percentage points for investors in the 37% bracket. That spread affects the FIFO vs HIFO calculus directly. A HIFO lot that triggers short-term treatment may still beat a FIFO lot at long-term rates if the cost basis difference is large enough.

The Calculation You Need to Run Before Year-End

Tax optimization is a before-the-sale decision, not an after-the-sale one. Once you execute a disposal, the lot sold is the lot sold.

Before selling any position, identify your cost basis structure by lot. Determine which lot minimizes your recognized gain or maximizes your harvested loss given your current tax situation. Apply that selection explicitly in your exchange or tax software.

The CalcMoney crypto tax calculator lets you input multiple purchase lots, select your accounting method, and see the tax liability side by side under FIFO and HIFO at your specific marginal rate. The output tells you exactly how much each method costs in the current tax year and how much gain defers to future periods.

You Might Also Like

Run the numbers before year-end, not after. The method you apply on December 31 affects your April bill in a way that no amount of post-filing strategy can reverse.

Featured Partner
FIDELITY

Put These Numbers to Work

Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.

Run the Numbers

Affiliated. We may earn a commission.

OR

One money insight per week.

Calculator deep-dives, rate alerts, and financial analysis written for real decisions. Unsubscribe anytime.

1 email/week. No spam. Unsubscribe in one click.

Free Tools

Run the actual numbers

Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.

Open Free Calculators