HIFO Accounting Method for Cryptocurrency
The HIFO method (Highest-In-First-Out) is a cost-basis accounting approach that minimizes taxable gains by selling crypto units with the highest purchase price first, though it requires strict IRS compliance and consistent application.
How HIFO Works
When you sell cryptocurrency, you must assign a purchase price to each unit sold. The HIFO method matches the highest-cost units in your portfolio to sales, leaving lower-cost units intact. This lowers your taxable gain per transaction.
Consider a holder who bought Bitcoin three times: 0.5 BTC at $20,000 (first lot), 0.3 BTC at $50,000 (second lot), and 0.2 BTC at $40,000 (third lot). When selling 0.5 BTC, HIFO pairs that sale with the 0.5 BTC from the $20,000 lot (the highest-priced purchase). A simpler example: if you acquired the same coin at $30,000 and $60,000, then sold one unit, HIFO treats the sale as coming from the $60,000 purchase, minimizing gain.
The IRS allows HIFO only if you explicitly identify which specific lots you are selling. You cannot simply declare “I’m using HIFO” and let it happen automatically. You must:
- Designate specific lots at the time of sale (or within a reasonable accounting period).
- Document this selection clearly in your tax records.
- Report the selection consistently across all future transactions.
HIFO vs. FIFO and LIFO
The three standard accounting methods produce very different tax outcomes in a rising market.
FIFO (First-In-First-Out) assumes you sell the oldest units first. In a rising market, this maximizes taxable gains because older units typically have the lowest cost basis. For the Bitcoin example above, FIFO would match the sale to the $20,000 lot, creating the largest gain.
LIFO (Last-In-First-Out) assumes you sell the newest units first. In a rising market, LIFO reduces gains more than FIFO but less than HIFO. LIFO pairs the sale with the $50,000 lot in the example.
HIFO (Highest-In-First-Out) sells the highest-cost units first, always producing the lowest gain in a rising market. It pairs the sale with whichever lot has the highest acquisition price.
In a falling market, these rankings reverse. FIFO would minimize losses, and HIFO would maximize them. Tax strategy must account for both the direction of price movement and your intention to harvest losses or defer gains.
IRS Consistency Requirement
Once you adopt HIFO for a particular asset, you must use it consistently in all future years. The IRS does not permit switching between FIFO, LIFO, and HIFO on a transaction-by-transaction basis or year-by-year basis (without formal application and approval).
If you use FIFO for one cryptocurrency and HIFO for another, that is permitted — different coins can use different methods. But for a single coin, you cannot switch methods arbitrarily.
Changing your cost-basis method requires filing Form 3115 (Application for Change in Accounting Method) with the IRS. Approval is not guaranteed, and the IRS may impose penalties or additional tax if the change is deemed improper. As a result, your first choice of method carries meaningful weight.
Documentation and Evidence
The IRS expects clear, contemporaneous records:
- Sale date and amount. When you sold, and how many units.
- Lot identification. Which specific purchase lot was matched to the sale.
- Cost basis. The acquisition price per unit for that lot.
- Calculation. The resulting taxable gain or loss.
Crypto exchanges and wallets often generate transaction histories, but most do not automatically track lot assignment. You are responsible for maintaining this yourself — in a spreadsheet, accounting software, or dedicated crypto-tax service. Many users rely on third-party platforms (like CoinTracker or ZenLedger) to track lot assignments and generate audit-ready reports.
If audited, the IRS will ask to see your contemporaneous documentation. Reconstructing lot assignments retroactively is much harder and less persuasive than records made at the time of sale.
When HIFO is Advantageous
HIFO shines in a sustained bull market, where older purchases have much lower prices than recent ones. A holder who bought Bitcoin at $5,000, $20,000, and $60,000 and later sells when the price is $70,000 can use HIFO to sell the $60,000 lot, recognizing only a $10,000 gain instead of the $50,000 or $65,000 gains that FIFO or LIFO would produce.
HIFO also proves useful for holders who made very-early purchases at tiny prices. If you acquired Bitcoin at $100 in 2010 and again at $50,000 in 2021, HIFO lets you use up the expensive 2021 lot first, deferring the huge gain on the 2010 purchase.
Over many transactions, HIFO can significantly reduce cumulative tax liability. In a volatile market with multiple price cycles, the advantage can compound.
Limitations and Pitfalls
HIFO offers no benefit in a falling market. If you acquired crypto at $60,000 and later prices dropped to $20,000, HIFO would force you to recognize a $40,000 loss (matching the expensive lot). FIFO would let you recognize a smaller loss by selling the cheaper lot first.
HIFO also requires meticulous record-keeping. One missed lot assignment or mislabeled transaction can trigger an IRS audit and the loss of your HIFO status, forcing retroactive recalculation under a default method like FIFO.
Lastly, not all crypto platforms or exchanges support explicit lot identification. Some only allow FIFO or average-cost accounting. If you use multiple exchanges, you must track lots manually across platforms, adding complexity.
See also
Closely related
- FIFO — First-In-First-Out cost basis method and tax implications
- LIFO — Last-In-First-Out cost basis method
- Specific Identification Basis — General rules for tracking and designating asset lots
- Cost Basis — What cost basis is and why it matters for tax calculation
- Capital Gains Tax (Investor) — How long-term and short-term gains are taxed
Wider context
- Schedule D — IRS form for reporting capital gains and losses
- Tax Bracket (Investor) — How different gains are taxed at different rates
- Long-Term Capital Gain Tax — Preferential rates for holding periods over one year
- Cryptocurrency Exchange — How crypto transactions originate