Decoded Intelligence Signal

HIFO (Highest In, First Out)

intermediate
strategy
4 min read
420 words

Published Last updated

Key Takeaway

A cost basis accounting method that assigns the highest-cost acquisition lots to each disposal first, minimising taxable gains or maximising losses reported in the current tax year.

Learn These First

What Is HIFO (Highest In, First Out)?

A cost basis accounting method that assigns the highest-cost acquisition lots to each disposal first, minimising taxable gains or maximising losses reported in the current tax year.

How HIFO (Highest In, First Out) Works

HIFO — Highest In, First Out — is a cost basis method that selects the most expensive units of cryptocurrency from your purchase history and assigns them to each disposal first, regardless of when those units were acquired. By pairing each sale with the highest available cost basis, HIFO minimises the taxable capital gain — or maximises the capital loss — on that transaction. For example, suppose you hold three lots of a token: 1 purchased at $5,000, 1 at $3,000, and 1 at $1,500. If you sell 1 unit today for $6,000, HIFO assigns the $5,000 lot, producing a gain of only $1,000. Under FIFO, the $1,500 lot would be assigned — producing a $4,500 gain. Under HIFO, the same sale results in $3,500 less taxable gain. HIFO is widely regarded as the most tax-efficient cost basis method for minimising gains in the current year because it consistently applies the largest available cost basis to every disposal. This is particularly valuable for investors holding positions acquired at varying price levels who want to reduce their tax bill in a given tax year. A key consideration is holding period. Because HIFO selects lots based purely on cost — not on acquisition date — the assigned lot may have been held for less than twelve months, producing a short-term gain even though a less expensive long-term lot was available. Investors must weigh the benefit of a smaller gain against the possibility of paying a higher short-term tax rate on that gain. HIFO falls under the broader category of specific identification, which the IRS permits when taxpayers can adequately identify the specific units being disposed of. This requires detailed, contemporaneous records of each lot, including purchase date, price, and amount. Crypto tax software facilitates HIFO calculation by automatically selecting the highest-cost lots for each disposal across an investor's full transaction history.

Frequently Asked Questions

What is HIFO and why do crypto investors use it?

HIFO — Highest In, First Out — is a cost basis method that assigns the most expensive purchased lots of cryptocurrency to each disposal first. Investors use it because it minimises the taxable capital gain on each sale by pairing every disposal with the highest available cost basis from their purchase history. Compared to FIFO or LIFO, HIFO typically produces the smallest gains — or the largest losses — in any given tax year. This makes it the most tax-efficient method for reducing current-year tax liability when a holding was acquired across multiple purchases at varying price levels. It is particularly effective for portfolios with a mix of high and low cost basis lots.

Is HIFO allowed by the IRS for cryptocurrency?

Yes — HIFO is generally considered permissible for cryptocurrency because it operates as a form of specific identification, which the IRS allows when taxpayers can adequately identify the specific lots being disposed of. Specific identification requires contemporaneous documentation: at the time of each disposal, you must be able to demonstrate exactly which lot was assigned, including its acquisition date, cost, and amount. Crypto tax software typically generates and stores this documentation automatically. Because HIFO is not specifically named in IRS guidance but falls under the accepted specific identification framework, consulting a qualified tax professional to confirm its applicability to your situation is recommended before adopting it.

What is the trade-off between using HIFO and getting long-term capital gains treatment?

HIFO selects lots based solely on cost — not on how long they were held. This means the highest-cost lot assigned to a disposal may have been purchased within the past twelve months, producing a short-term gain taxed at ordinary income rates. Meanwhile, a less expensive lot that has been held for more than one year and would qualify for lower long-term rates may remain in the portfolio unused. Investors must therefore weigh the gain reduction from HIFO against the rate premium on short-term gains. In some cases, assigning a slightly lower-cost long-term lot may produce less total tax than assigning the highest-cost short-term lot, making per-transaction analysis essential for optimal outcomes.

Common Misconceptions About HIFO (Highest In, First Out)

Common Misconception

HIFO eliminates capital gains tax entirely by always using the highest cost basis.

Technical Reality

HIFO minimises taxable gains by assigning the highest available cost basis to each disposal — but it does not eliminate gains entirely unless your cost basis equals or exceeds the sale price. If your entire holding was acquired below the current market price, every disposal will still produce a taxable gain, even under HIFO. The method reduces the size of the reportable gain compared to FIFO or LIFO in most scenarios, but it cannot convert a genuine profit into a zero-gain event. Investors expecting HIFO to make all their gains disappear will be disappointed and potentially underprepared for their actual tax obligation.

Common Misconception

You can apply HIFO retroactively after the tax year ends to reduce gains already reported.

Technical Reality

HIFO, like all specific identification methods, must be applied at the time of each disposal — not retroactively after the fact. The IRS requires contemporaneous identification of the specific lots being disposed of, meaning the lot assignment must be determined and documented when the transaction occurs, not when you are preparing your tax return months later. Retroactively selecting the most favourable lots after seeing the full year's results is not permitted and would constitute an improperly supported tax position. Crypto tax software helps enforce correct real-time lot assignment by automatically selecting and recording HIFO lots at the moment each disposal is logged.

Common Misconception

HIFO is always the best cost basis method for every crypto investor.

Technical Reality

HIFO is often the most efficient method for minimising current-year taxable gains, but it is not universally optimal for every investor or situation. Because HIFO prioritises cost over holding period, it can produce short-term gains taxed at high ordinary income rates when the highest-cost lots are recent purchases. An investor in a high tax bracket may find that a slightly larger gain taxed at long-term rates produces less total tax than a smaller gain at short-term rates. The best method depends on the specific mix of lots held, the investor's income bracket, and their overall tax strategy — making professional analysis of all available methods the ideal starting point before committing to HIFO.

Related Terms

Compare Adjacent Terms

Access Pro Research Infrastructure

Deciphering HIFO (Highest In, First Out) is just the first step. Apply for the Q3 2026 Beta to gain direct access to our 8-agent intelligence pipeline.