FIFO (First In, First Out)
FIFO (First In, First Out) is an inventory valuation and lot-matching method based on the assumption that the earliest acquired assets are the first to be sold, exchanged, or disposed of. In crypto taxation, FIFO is one of the most widely adopted accounting standards globally for calculating recognized cost basis, realized capital gains, and capital losses.
Core mechanics of FIFO
When a partial disposal of a fungible crypto-asset occurs, the FIFO method chronologically exhausts the oldest available acquisition tax lots before moving to newer lots:
- Chronological matching: The disposal is paired against Lot #1 (the earliest purchase).
- Cost basis application: The historical cost basis of Lot #1 is deducted from the disposal proceeds.
- Lot exhaustion: Once Lot #1 is fully consumed, remaining quantities in the trade draw from Lot #2, and so forth.
| Market Condition | FIFO Economic and Tax Effect |
|---|---|
| Bull Market (Rising Prices) | Matches sales against older, lower-cost lots, resulting in higher realized capital gains and increased current tax liability |
| Bear Market (Falling Prices) | Matches sales against older, higher-cost lots, accelerating higher realized capital losses or reduced taxable gains |
| Record Keeping | Requires tracking the complete chronological order of all acquisitions from genesis |
| International Standard | Default or mandatory method in numerous jurisdictions (e.g. United States, Germany) |
FIFO vs LIFO comparison
The fundamental counterpart to FIFO is LIFO (Last In, First Out):
| Characteristic | FIFO (First In, First Out) | LIFO (Last In, First Out) |
|---|---|---|
| Order of consumption | Oldest acquired lots disposed of first | Most recently acquired lots disposed of first |
| Cost basis applied | Historical earliest purchase price | Recent acquisition price |
| Bull market impact | Higher capital gain | Lower capital gain (defers tax) |
| Mandatory in Italy | No (prohibited for Italian tax returns) | Yes (statutorily mandated by art. 67 TUIR) |
Statutory recognition across jurisdictions
Tax authorities worldwide adopt differing standards for crypto inventory accounting:
- FIFO as standard: Mandated or accepted as default by tax agencies in jurisdictions such as the United States (IRS) and Germany (Finanzamt).
- LIFO as mandatory: Strictly imposed by specific civil-law frameworks (such as Italy under Article 67, paragraph 9-bis of the TUIR), where calculating with FIFO would lead to non-compliant tax returns.
For practical calculation and tax declaration rules in specific jurisdictions (for example, under Italian tax residency), see our dedicated guides on Calculating Capital Gains and Cost Basis and the Italian Crypto Tax Return Guide.
The information in this article is for general literacy only. It is not tax, legal, financial, or accounting advice and does not replace Agenzia delle Entrate instructions or advice from a qualified professional for your circumstances. It must not be used to evade tax obligations. We make no warranty as to accuracy, completeness, or currency; rules and practice can change. Do not file returns or make decisions based solely on this text. RIXTO is not liable for loss arising from use of, or reliance on, this information.