Skip to content
PayableWithCrypto

Glossary

What Is HIFO in Crypto Tax? Highest In, First Out Explained

Editorial teamFact-checked against official sources Last updated 3 min read

Definition

HIFO (highest in, first out): HIFO is a lot-selection approach that treats your highest-cost units as sold first, which usually minimises taxable gains; it is only possible where specific identification is allowed.

On this page
  1. 1HIFO in numbers
  2. 2Where HIFO is and isn’t possible
  3. 3Trade-offs
  4. 4HIFO and crypto card spending
  5. 5HIFO vs other approaches at a glance
  6. 6Checklist
  7. 7Common questions

HIFO, or “highest in, first out”, means treating the units you paid the most for as the first ones sold or spent. Because the highest cost is matched to each disposal, gains shrink and losses grow. It is not an official method in most countries; where it is possible at all, it is a strategy applied through specific identification.

This page is general information, not tax advice. Lot-selection rules are strict and country-specific. Check your tax authority or a qualified professional.

HIFO in numbers

You hold three lots of a coin and spend one unit worth 250:

Lot Bought at Gain if this lot is used
A (oldest) 100 +150
B 300 −50
C (newest) 200 +50

FIFO would use lot A (+150). HIFO uses lot B (−50). The difference is large on one transaction and can be very large across a year of card spending.

Where HIFO is and isn’t possible

Country HIFO possible? Why
United States Possibly, via specific identification IRS FAQ Q39 allows choosing units if you can specifically identify them; otherwise FIFO (Q41). From 2025, identification is per wallet or account
United Kingdom No Mandatory same-day, 30-day and section 104 pool matching
Canada No Average cost (adjusted cost base) for identical property
France No Portfolio-wide formula
Germany Generally no FIFO per wallet where units are not individually traced
Australia Not confirmed We could not confirm the ATO’s position on parcel selection from an official page as of December 2026; check ATO guidance

Country pages: United States, United Kingdom, Canada, Australia.

Trade-offs

  • Deferral, not elimination. Using expensive lots now leaves cheap lots for later.
  • Short-term risk. In the US, high-cost lots are often recent; selling them within a year makes the gain short-term (taxed at ordinary rates), though here the gain is usually small or a loss.
  • Record burden. You need clear records for every lot and a contemporaneous identification.
  • Platform limits. Custodial platforms record a method for each account. If the broker’s records apply FIFO and you report HIFO, your return and your Form 1099-DA will not match.

HIFO and crypto card spending

Card spending creates many small disposals automatically. To use HIFO in the US you would need the identification to be valid for each of those sales, which in practice usually means a standing instruction to the platform that holds the coins, in place before the sales happen. Retroactively relabelling lots at year end is the weak point regulators look at.

Example

A US user holds BTC in one exchange account and spends through the exchange’s card. Before year start they set a standing order with the exchange to select the highest-cost lot first, and keep the confirmation. Their software applies HIFO to the same account, and the broker’s records agree. That is a defensible set-up. A user who spends through the card with no instruction, then applies HIFO in software, is using FIFO in the eyes of the broker.

HIFO vs other approaches at a glance

Approach Picks Typical effect in a rising market Record burden
FIFO Oldest units Larger gains, more long-term lots Low
HIFO Highest-cost units Smallest gains now High
Average cost Blended cost In between Medium
LIFO Newest units Often smaller gains, more short-term lots High

Whichever approach you use where a choice exists, apply it consistently and be able to show how each disposal was matched. Switching methods to suit each year’s result is the pattern most likely to attract questions.

Checklist

  • Confirm whether your country allows lot selection at all.
  • In the US, set standing instructions with each platform before trading.
  • Keep confirmations and lot records.
  • Compare your figures with broker forms before filing.
  • Read cost basis and taxes when spending crypto.

Frequently asked questions

Is HIFO allowed for crypto in the US?
HIFO is not a separate IRS method. It is a way of choosing lots under specific identification, which the IRS allows if you can specifically identify the units disposed of. Without valid identification, the default is FIFO.
Can I use HIFO in the UK, Canada or France?
No. The UK requires same-day, 30-day and pooled average cost matching; Canada uses an average adjusted cost base; France uses a whole-portfolio formula. None of these lets you pick high-cost lots.
Does HIFO always lower my tax?
It lowers gains now, but it leaves your cheaper coins for later, so future gains are larger. In systems with a lower long-term rate, picking recent high-cost lots can also mean short-term treatment. The net effect depends on your situation.
Can my crypto tax software apply HIFO automatically?
Many tools can calculate HIFO, but in the US the identification must be valid for the account or wallet where the sale happened. Software output alone does not make an identification valid if your broker records something different.

Sources

Facts were checked against these pages on the date shown above. Terms change; confirm on the official page before acting. General information, not financial, tax or legal advice. See our methodology.

Related terms

Compare cards Find a store