Glossary
What Is HIFO in Crypto Tax? Highest In, First Out Explained
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
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?
Can I use HIFO in the UK, Canada or France?
Does HIFO always lower my tax?
Can my crypto tax software apply HIFO automatically?
Sources
- IRS: Frequently asked questions on virtual currency transactions (Q39-Q41)
- IRS: Digital assets
- HMRC Cryptoassets Manual: CRYPTO22200
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.