FIFO (first-in, first-out) uses the oldest stock first; LIFO (last-in, first-out) uses the newest first. The terms describe two separate things: how you physically rotate goods, and which cost you assign to what you sell. They do not have to match, and the choice has real physical and tax consequences.
FIFO and LIFO sound like a single either-or, but they answer two different questions that people constantly run together. One question is about atoms: which physical unit leaves the shelf first. The other is about dollars: which unit's cost lands in cost of goods sold. A plant can rotate stock strictly oldest-first and still, on paper, account for it as if the newest went first. This post separates the two meanings, works through the rising-price case that makes them differ, and explains why perishables and traceability leave you no real choice on the physical side.
What is the difference between FIFO and LIFO?
FIFO means first-in, first-out: the oldest inventory is used or sold before newer inventory. LIFO means last-in, first-out: the most recently received inventory is used or sold first. That single sentence is the whole rule. Everything else is a consequence of applying it to either physical goods or accounting costs, which behave very differently.
Keep the two lenses apart from the start. Physical flow is the actual movement of goods through the storeroom or warehouse, which units a picker grabs. Cost flow is an accounting assumption about which purchase cost attaches to the units sold, used to value inventory and compute profit. A company can, and often does, run FIFO physically while choosing a different cost-flow method on the books, because accounting rules do not require the two to agree.
How do FIFO and LIFO work as physical stock rotation?
As physical rotation, FIFO means you sell or consume the oldest units first, so stock moves through in the order it arrived. LIFO physical rotation means you take the newest units first, which usually happens by accident, a new pallet stacked in front of an old one, rather than by design. For almost every operation, FIFO is the rotation you want, because it keeps the oldest stock moving and stops age piling up at the back.
This physical picture is why the layout of a storeroom matters. Flow-through racking and dedicated FIFO lanes enforce oldest-first by design, loading from one side and picking from the other, so a picker cannot accidentally take the newest. For dated goods, many operations tighten FIFO into FEFO, first-expired-first-out, ordering by expiry date rather than receipt date, because the oldest item is not always the one closest to expiring.
How do FIFO and LIFO work as a cost-accounting method?
As a cost-flow assumption, FIFO and LIFO decide which purchase cost you record when a unit is sold, and the difference only shows up when prices change. Under FIFO, the oldest (usually cheaper, in an inflationary period) costs flow to cost of goods sold first, leaving newer, higher costs in ending inventory. Under LIFO, the newest (usually higher) costs flow to cost of goods sold first, leaving older, cheaper costs sitting in inventory.
The consequence in an inflationary period is stark. FIFO reports higher profit and a higher-value inventory on the balance sheet, but pays more tax on that profit. LIFO reports lower profit and pays less tax, but carries an inventory valued at old, understated costs, the gap known as the LIFO reserve. Neither is more honest; they are different assumptions with different tax and reporting effects. Note too that this is purely a cost-flow choice: a company can rotate stock strictly FIFO on the floor and still elect LIFO on its books.
Can you use FIFO physically and LIFO on the books?
Yes, and many companies do exactly that. Because physical flow and cost flow are independent, an operation can rotate goods strictly oldest-first on the floor while electing LIFO as its cost-flow method for tax and reporting. The atoms follow one rule; the dollars follow another. The only hard link is legal, not physical: the US conformity rule ties your tax method to your book method, but neither is tied to how you actually pick stock.
How do you choose between FIFO and LIFO?
Split the decision the way the concepts split, physical first, then accounting, because different forces govern each.
- Decide physical rotation on spoilage and traceability, not tax. If the goods perish, degrade, or must be traced by lot, physical FIFO (or FEFO) is effectively mandatory.
- Design the storeroom to enforce it. Flow racking and FIFO lanes make oldest-first the path of least resistance, so rotation does not rely on discipline alone.
- Treat cost flow as a separate accounting election. Choose FIFO, LIFO, or weighted-average cost as a books decision, independent of how atoms move.
- Check the accounting standard you report under. LIFO is permitted under US GAAP but prohibited under IFRS, so international reporting removes LIFO from the table.
- Weigh the tax and conformity trade-off. In the US, electing LIFO for taxes triggers the conformity rule, which forces LIFO in your financial statements too.
- Keep the two records reconciled. Whatever you choose, make sure physical rotation and cost layers are tracked cleanly so audits and recalls do not become archaeology.
| Dimension | FIFO | LIFO |
|---|---|---|
| Physical rotation | Oldest units out first, ideal for perishables | Newest out first, oldest strands and ages |
| COGS under rising prices | Lower (older, cheaper costs) | Higher (newer, costlier costs) |
| Reported profit / tax | Higher profit, higher tax | Lower profit, lower tax |
| Ending inventory value | Closer to current cost | Understated (old costs, LIFO reserve) |
| Accounting standards | Allowed under US GAAP and IFRS | US GAAP only; prohibited under IFRS |
| Traceability fit | Strong, supports lot control and recall | Weak, oldest lots linger |
What do the standards say?
The accounting side is governed by named, primary rules:
- US GAAP permits FIFO, LIFO, and weighted-average cost as inventory cost-flow methods, codified in the Financial Accounting Standards Board Accounting Standards Codification Topic 330, Inventory.
- International standards go the other way: IAS 2 Inventories issued by the IFRS Foundation, prohibits LIFO on the grounds that it does not faithfully represent inventory flows.
- In the US the LIFO conformity rule, Internal Revenue Code Section 472 requires a taxpayer that uses LIFO for income tax to also use LIFO in its financial statements, tying the tax choice to the books.
The practical reading is that LIFO is a US tax-and-accounting construct with strings attached, while FIFO is universally accepted and, for physical goods, usually the only defensible way to rotate.
Why do perishables and traceability push toward FIFO?
Because for perishable and traceable goods, physical LIFO is not a strategy, it is a defect. If the newest stock ships first, the oldest sits and expires, spoils, or drifts out of spec, turning inventory into excess and then into a write-off. In food, pharma, and other dated products, FIFO or FEFO is the baseline for both safety and freshness. Traceability compounds the point: when a recall hits, you need to know which lots went where, and clean oldest-first rotation with lot discipline is what makes that lookup possible instead of a frantic search. This is the same waste-elimination instinct a lean operation applies everywhere, and it is why high-value, fast-moving A-class items get the tightest rotation control. On the cost side you still have a free accounting choice; on the physical side, for these goods, you do not.
Where FIFO and LIFO break in practice
The usual failure is that the physical record and the paper record drift apart. The floor believes it is rotating FIFO, but the receipt dates, lot numbers, and expiry dates live in a warehouse system, a spreadsheet, and a stack of printed labels that no longer agree, so nobody can prove which unit is actually oldest. When a customer or an auditor asks, or a recall lands, reconstructing the truth becomes archaeology. Harmony is an AI-native layer that connects machines, software, and paperwork into one operational layer, with no rip-and-replace, so receipts, lot numbers, expiry dates, and stock movements become one live record instead of three. AI search returns cited answers across those records, so a supervisor can ask which lots are oldest, which are nearing expiry, or where a specific lot was consumed and get a real, cited answer, and Harmony's digital workflows route each rotation check and hold to the right person. It is not an accounting system; it keeps physical FIFO honest and auditable by keeping the data in one place, the same paper-to-digital move Harmony makes on the floor (see the CLS case study and the product overview). The same clean lot record lets you watch inventory turnover and catch aging stock while it can still move, so a rotation policy on paper becomes a rotation policy that actually holds.