Skip to content
PayableWithCrypto

Glossary

What Is FIFO in Crypto Tax? First In, First Out Explained

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

Definition

FIFO (first in, first out): FIFO is a cost-basis method that treats the units you acquired earliest as the first ones sold, swapped or spent when you dispose of part of a holding.

On this page
  1. 1How FIFO works
  2. 2Where FIFO is used (from official sources)
  3. 3Why it matters when you spend crypto
  4. 4FIFO and transfers between wallets
  5. 5Tips for spenders
  6. 6Checklist
  7. 7Common questions

FIFO, short for “first in, first out”, is a way of deciding which coins you have sold when you only sell part of what you hold. Under FIFO, the earliest units you bought are treated as the first ones to leave. That choice sets both the cost basis and the holding period of each sale or card payment.

General information, not tax advice. Whether FIFO applies, and how, depends on your country’s tax law. Check your tax authority or a qualified adviser.

How FIFO works

Imagine three purchases of the same coin, then one sale:

Date Action Units Price per unit
January Buy 1 100
March Buy 1 300
June Buy 1 200
September Spend via card 1 worth 250

Under FIFO, the September spend uses the January unit. Cost 100, value 250, so a gain of 150. Under HIFO it would use the March unit (a loss of 50), and under average cost the basis would be 200 (a gain of 50). Same transaction, three different results.

Where FIFO is used (from official sources)

Country Is FIFO used? Notes
United States Default when units are not specifically identified IRS FAQ Q41; wallet-by-wallet from 1 January 2025 under Rev. Proc. 2024-28
Germany Yes, per wallet, where units cannot be traced Decides whether the one-year holding period is met; see Germany
Portugal Yes, applied per institution or service provider See Portugal
New Zealand One of the accepted methods, with weighted average Apply consistently; see New Zealand
United Kingdom No Same-day, 30-day, then pooled average cost; see United Kingdom
Canada No Average cost (adjusted cost base); see Canada
France No Whole-portfolio formula; see France

Why it matters when you spend crypto

Crypto cards and payment apps often sell small amounts many times a month. Under FIFO each sale draws down your oldest units first:

  • Rising market: oldest coins are usually cheapest, so FIFO tends to produce larger gains per spend.
  • Holding-period countries: oldest coins are the most likely to have passed a tax-free or discounted threshold, which can help.
  • Wallet scope: if you hold the same coin in several wallets, FIFO in one wallet ignores purchases in another under wallet-by-wallet rules.

Example (Germany-style, simplified)

You bought 1 ETH in February 2025 and another in March 2026, both in one wallet. In May 2026 you spend 0.5 ETH. Under FIFO it comes from the February 2025 lot, held more than a year, so under § 23 EStG the gain is not taxable. If you had instead kept the newer coins in a separate spending wallet, the result would follow that wallet’s history.

FIFO and transfers between wallets

Moving coins between your own wallets is not a sale in most countries (the IRS FAQ says so for the US), but it can scramble FIFO records:

  • Under wallet-by-wallet rules, the coins you move carry their own acquisition dates and costs into the new wallet. You need records showing which lots moved.
  • Network fees paid in crypto when transferring can themselves be small disposals in some countries.
  • Exchanges receiving a transfer usually cannot see your original cost, so their reports may show no basis.

Keeping transfer transaction hashes alongside purchase records solves most of these problems.

Tips for spenders

  1. Keep a dedicated spending wallet so FIFO lots are easy to follow; see separate spending wallet.
  2. Record every acquisition with date, units and price.
  3. In the US, decide whether to use specific identification instead, and document it at the time.
  4. Do not mix methods year to year without checking whether your country allows it.

Checklist

  • Confirm the method your country requires or allows.
  • Check whether it applies per wallet, per platform or across everything.
  • Reconcile platform reports with your own FIFO calculation.
  • Read taxes when spending crypto for the bigger picture.

Frequently asked questions

Is FIFO the default for crypto in the US?
Yes, if you do not specifically identify units. The IRS FAQ on virtual currency says that without specific identification, units are treated as disposed of in chronological order, first in, first out. From 2025 the IRS applies identification wallet by wallet or account by account.
Do I have to use FIFO in the UK?
No. The UK uses its own matching rules: same-day acquisitions first, then acquisitions in the next 30 days, then a section 104 pool with an average cost. FIFO is not the UK method.
Why does FIFO matter for crypto card spending?
It decides which purchase price, and which purchase date, applies to each spend. In countries with holding-period rules, such as Germany, FIFO can determine whether a payment is tax-free because the oldest coins have been held long enough.
Does FIFO apply per wallet or across all my coins?
It depends on the country. The US moved to wallet-by-wallet identification from 1 January 2025. Germany's guidance applies FIFO per wallet. Portugal applies FIFO separately for each institution or service provider. Check your own tax authority.

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