Blog Education Crypto Tax Methods Explained: FIFO, LIFO & HIFO — Which One Saves You the Most?
Education

Crypto Tax Methods Explained: FIFO, LIFO & HIFO — Which One Saves You the Most?

D
DennTech Team
July 08, 2026
Updated May 23, 2026
0 comments

For most crypto investors, the tax implications of their trading activity are an afterthought — something to deal with at the end of the financial year when the accountant asks for records that were never kept. This reactive approach is costly. The accounting method you use to calculate capital gains on cryptocurrency disposals can legally change your tax bill by thousands or tens of thousands of dollars in a single year, depending on your portfolio size and trading frequency. Understanding FIFO, LIFO, and HIFO before you need them is one of the highest-return education investments a crypto investor can make.

This guide explains what each accounting method means, provides concrete numerical examples, and walks through the strategic considerations that determine which method minimises your tax liability in different market conditions.

The Core Problem: Which Coins Did You Sell?

Imagine you bought Bitcoin three times over the past year: 0.5 BTC at $30,000 in January, 0.5 BTC at $45,000 in April, and 0.5 BTC at $55,000 in September. You now hold 1.5 BTC. In December, you sell 0.5 BTC at $60,000. Congratulations — you have a capital gain. But how much?

The answer depends entirely on which 0.5 BTC the tax authority considers you to have sold:

  • If you sold the January coins (cost $30,000): gain = $60,000 − $30,000 = $30,000
  • If you sold the April coins (cost $45,000): gain = $60,000 − $45,000 = $15,000
  • If you sold the September coins (cost $55,000): gain = $60,000 − $55,000 = $5,000

The tax owed on these three scenarios is very different. The accounting method you use determines which lot is deemed sold — and therefore which gain is reported. This is not manipulation or tax evasion; it is a legal election available to taxpayers in most jurisdictions that allows you to optimise your tax position using rules the tax authority explicitly provides.

FIFO — First In, First Out

FIFO is the most commonly used crypto accounting method and the default in many countries including the United States, UK (with some nuances), and Australia. The principle is simple: the first cryptocurrency you purchased is the first one you are deemed to have sold.

In our Bitcoin example, FIFO requires selling the January lot first (cost $30,000), producing a $30,000 gain. This is the largest possible gain of the three options — and therefore the highest tax bill in the current year.

However, FIFO has one important advantage that is frequently overlooked: long-term capital gains treatment. In the United States, assets held for more than one year before disposal qualify for long-term capital gains tax rates — 0%, 15%, or 20% depending on your income. Short-term gains (assets held less than one year) are taxed as ordinary income at rates up to 37%. If the January lot was purchased more than 12 months before the December sale, the $30,000 FIFO gain qualifies for the lower long-term rate. Depending on your income level, this rate advantage can more than offset the larger nominal gain produced by FIFO.

For long-term holders who rarely trade, FIFO combined with long-term capital gains rates is often the most tax-efficient approach. For active traders who accumulate and sell within 12-month windows, FIFO typically produces the worst outcome because it matches sales against the oldest, lowest-cost lots that rarely qualify for long-term treatment in fast-moving portfolios.

LIFO — Last In, First Out

LIFO assumes the most recently purchased coins are sold first. In our example, LIFO would match the December sale against the September purchase (cost $55,000), producing a gain of only $5,000 — the smallest possible gain in the current year.

This makes LIFO extremely attractive for minimising current-year tax in a rising market. By always matching disposals against the highest-cost (most recent) lots, LIFO reduces the taxable gain to the smallest possible amount. The older, lower-cost lots remain in the portfolio with their unrealised gains deferred to future years.

The critical limitation of LIFO is its legal availability. The IRS does not permit LIFO for cryptocurrency. The IRS treats crypto as property, and while LIFO is permitted for inventory (physical goods) by some businesses, it is not an accepted method for capital asset accounting in the US. The UK's HMRC has similar restrictions through its "30-day rule" and Section 104 pooling requirements. In Australia, LIFO is generally not accepted for CGT purposes either.

Before considering LIFO, you must confirm with a tax professional that it is legally permissible for cryptocurrency assets in your specific jurisdiction. Using LIFO where it is prohibited is not a grey area — it is incorrect tax reporting that creates serious audit risk and potential penalties.

HIFO — Highest In, First Out

HIFO is a variant of the specific identification method that always matches each disposal against the highest-cost lot in your portfolio, regardless of when it was purchased. The goal is to minimise taxable gains in the current year by always using the most expensive available cost basis.

In our Bitcoin example, if all three lots are still held, HIFO would select the September lot ($55,000 cost) for the December sale, producing a $5,000 gain — the same result as LIFO in this case, but derived differently. HIFO's advantage over LIFO becomes apparent in more complex portfolios: HIFO will always find the highest-cost lot regardless of purchase sequence, which may be from any point in time rather than just the most recent.

HIFO is permitted in the United States as a form of specific identification, provided you can document that you specifically identified these lots at the time of sale. The IRS requires that specific identification be applied to each individual transaction and that you maintain records demonstrating which lots you elected to sell. This is not something that can be done retroactively at tax time — you must designate the lots contemporaneously with each sale.

In practice, using HIFO requires crypto tax software (Koinly, CoinTracker, TaxBit, TokenTax) that tracks all purchases with their dates and cost bases, allows you to select HIFO as your accounting method, and generates the required documentation for each transaction. Most modern crypto tax platforms support HIFO/specific identification and can dramatically simplify the compliance burden.

Specific Identification: The Most Flexible Option

Specific identification is the umbrella category that includes HIFO and any other method where you consciously choose which exact lots are sold for each transaction. It gives you complete flexibility: on a transaction-by-transaction basis, you can choose to sell the highest-cost lot (HIFO), the lowest-cost lot (LOFO — if you want to realise gains to reset cost basis at a profit), or any other lot based on the specific tax circumstances of that sale.

This flexibility is powerful but requires meticulous record-keeping. You need a complete purchase history for every coin lot in your portfolio, including: date of acquisition, number of units acquired, cost per unit in your local fiat currency at the time of acquisition, and the exchange or wallet where the acquisition occurred. Without these records, specific identification is not legally supportable.

Tax Loss Harvesting: Turning Losses into Assets

Whichever accounting method you use, understanding tax loss harvesting is equally important. Tax loss harvesting involves intentionally selling positions with unrealised losses before year-end to realise those losses and use them to offset capital gains from other transactions. In the US, capital losses offset capital gains dollar for dollar, and if losses exceed gains, up to $3,000 of net capital loss can be deducted against ordinary income annually, with the remainder carried forward to future years.

In crypto, tax loss harvesting is particularly powerful because there is no wash-sale rule for digital assets in the US (unlike equities, where you cannot buy back the same security within 30 days of selling it for a loss). You can sell Bitcoin at a loss, realise the loss for tax purposes, and immediately buy it back at the same price — resetting your cost basis higher while maintaining your market exposure. This strategy, executed deliberately using an appropriate accounting method to identify which lots carry the most unrealised loss, can significantly reduce your annual tax bill without changing your actual investment position.

A Practical Comparison

Consider a more complex portfolio scenario: you accumulated 3 BTC across six purchases over 18 months, all at different prices. In December, you sell 1 BTC at $65,000. Let us compare the three methods:

Assume your purchases were: Jan ($28,000), Mar ($35,000), Jun ($42,000), Aug ($50,000), Oct ($58,000), Nov ($60,000). Total cost basis across 6 lots.

FIFO uses the January lot: Gain = $65,000 − $28,000 = $37,000 (potentially long-term if held 12+ months)

LIFO uses the November lot: Gain = $65,000 − $60,000 = $5,000 (short-term, held only 1 month)

HIFO uses the November lot (same as LIFO in this case): Gain = $65,000 − $60,000 = $5,000

At a 20% long-term capital gains rate (FIFO) versus 37% short-term rate (LIFO/HIFO in this case): FIFO tax = $37,000 × 20% = $7,400 versus LIFO/HIFO tax = $5,000 × 37% = $1,850. LIFO/HIFO wins here by nearly $5,500 despite the higher rate — because the nominal gain is so much smaller. The calculation shifts as market prices, holding periods, and individual tax brackets vary, which is exactly why there is no universal "best" method and why each investor's situation requires individual analysis.

Record-Keeping: Non-Negotiable

All three methods require accurate records. The IRS, HMRC, and equivalent authorities in most countries expect you to maintain documentation of every acquisition (date, amount, cost in local currency) and every disposal (date, amount, proceeds in local currency) for crypto assets. The record-keeping requirement typically extends 3–7 years from the filing date.

Use crypto tax software from day one. Connect your exchange accounts via API to automatically import transaction history, set your preferred accounting method, and generate tax reports. The time investment is minimal compared to the cost of poor record-keeping at tax time — or worse, the cost of an audit where you cannot document your reported gains and losses.

Always use the Profit / Loss Calculator to understand your realised gains on individual trades as part of your regular trading routine. Keeping track of P&L as you trade — rather than reconstructing it months later from exchange statements — dramatically simplifies year-end tax reporting.

Consult a Professional

Cryptocurrency tax law is complex, jurisdiction-specific, and evolving rapidly. The analysis in this guide is educational and general in nature. Before making accounting method elections that affect your tax return, consult a qualified tax professional with specific cryptocurrency expertise. The cost of professional advice is almost always justified by the tax savings it enables and the compliance risk it eliminates.

Conclusion

The difference between FIFO, LIFO, and HIFO is not a technicality — it is a legitimate, legal choice that can save you thousands of dollars per year in taxes on the same trading activity. FIFO is the default and most widely accepted method, with a potential long-term capital gains rate advantage for long-term holders. LIFO minimises current-year gains where legally permitted but is restricted in many jurisdictions. HIFO is the most aggressive tax-minimisation strategy and is widely available as specific identification in the US. Make an informed choice, keep meticulous records, use crypto tax software, and review your accounting strategy with a professional at least once a year.

Related topics: crypto tools.

To explore blockchain concepts related to Crypto Tax Methods Explained: FIFO, LIFO & HIFO — Which One Saves You the Most?, browse the DennTech crypto glossary for detailed term definitions.

0 Comments

No comments yet — be the first to share your thoughts.

Leave a Comment

Your email won't be published. After submitting, you'll receive a quick verification email — click the link to publish your comment.

Used only to verify your comment — never shown publicly.

0 / 2000

Free Newsletter

Get weekly crypto trading insights

New guides, tool updates, and market analysis — straight to your inbox. No spam, unsubscribe anytime.