- Explainer
- Warehousing
- 3 min read
- Last verified 20 October 2026
FIFO, FEFO and LIFO: stock rotation rules explained
Learn how FIFO, FEFO and LIFO differ, where official rules mention each one, and when expiry dates should decide what leaves first.

In short
FIFO releases the oldest stock first, FEFO releases the stock that expires first, and LIFO releases the newest stock first. FEFO matters most for dated goods, while LIFO is mainly an accounting method and is ruled out for stock valuation under UK FRS 102.
Stock rotation decides which carton, pallet or lot leaves the warehouse first. Three terms come up again and again: FIFO, FEFO and LIFO. Their rules come from warehouse practice, customs procedures, food and product distribution guidance, and accounting standards. The right rule therefore depends on the goods, the country where you operate, and the authority that governs your records.
What each term means
FIFO stands for first in, first out. It moves the oldest received stock out first. FEFO stands for first expired, first out. It moves the stock with the earliest expiry date out first, even if it arrived later. LIFO stands for last in, first out. It assumes the newest purchases are used or sold first.
Two different questions get mixed up here. Warehouse rotation asks which pallet or lot the picker takes. Accounting asks which purchase price goes into cost of goods sold. The same three words are used for both, but the rules behind them differ.
Warehouse rotation versus accounting
In a warehouse, the rule decides which pallet a picker takes when several are available. Regulators and guidance documents test this in different ways. Customs records track which goods left under each withdrawal, while distribution guidance focuses on expiry order and the batch records that must be kept. A business that handles both dated food and customs-controlled goods may therefore need more than one rule, applied to different stock groups.
Accounting rules work differently. They govern how stock is valued on the balance sheet and how cost is matched against sales. A method that is acceptable for physical picking may not be acceptable for valuation, so the two decisions should be made separately.
Choosing the rule
Start with the authority that governs your records. Customs procedures, food distribution guidance and accounting standards each set their own expectations, and a rule that suits one may not suit another. For dated goods, the guidance cited here points to expiry order. For accounting valuation, the UK position recorded in the sources rules out LIFO.
Write down the chosen rule and the reason for it. Staff, auditors and inspectors can then see how stock leaves the building and check that the method matches the goods and the governing rules.
Side by side
| Compared | FIFO | FEFO | LIFO |
|---|---|---|---|
| Stock picked first | Oldest stock on hand, by receipt | Stock in expiry order, earliest expiry first | Most recent purchases, sold first |
| Typical setting | Customs warehouses and shelf-life items | Products with expiry dates under EU guidance | Stock valuation and cost accounting |
| Rule status cited | Accepted in U.S. customs warehouse records | Named in EU Good Distribution Practice guidance | Ruled out for stock valuation under UK FRS 102 |
Example
Consider a cold store holding two pallets of the same product. Pallet A arrived first and has the later expiry date. Pallet B arrived later and expires sooner. Under FIFO, the picker takes pallet A because it is the oldest receipt, even though pallet B is closer to its expiry date. Under FEFO, the picker takes pallet B because it reaches its expiry date first. Under LIFO, the picker takes the most recent arrival, which here is also pallet B, but the reason is receipt order rather than expiry. The example shows why FEFO suits dated goods: it protects the customer from stock that is close to its date, whereas FIFO only protects by receipt age.
In pictures
The same facts as this page, as images to save or share. Tap one to open it full size.
Official sources
- 19 CFR Part 191 - DrawbackeCFR (U.S. Government Publishing Office)
- 19 CFR Part 19 - Customs Warehouses, Container Stations and Control of Merchandise ThereineCFR (U.S. Customs and Border Protection regulations)
- Commission Guidelines on Good Distribution PracticeEuropean Commission, Health and Food Safety
- SPE15595 - Discharge of the customs warehousing procedure: First In - First Out (FIFO)HM Revenue and Customs (GOV.UK)
- BIM33120 - Stock: valuation: FIFO not LIFOHM Revenue and Customs (GOV.UK)
- Federal Register notice on inventory pricing (1981)Federal Register, published 14 July 1981
- 41 CFR Subpart 101-27.2 - Management of Shelf-Life MaterialseCFR (U.S. federal property management regulations)
- Challenges and Solutions in Lot-Level Food Traceability; Public MeetingU.S. Food and Drug Administration (Federal Register), published 9 October 2026
- PPE CASE Notes: Verifying Shelf Life for NIOSH Approved Filtering Facepiece RespiratorsCDC, National Institute for Occupational Safety and Health
- Warehouse Basics: Automated Storage Systems Embrace New RolesSupply Chain 24/7 (trade press)
Claims ledger: 19 facts and where each comes from
- Customs drawback rules treat each withdrawal under FIFO as coming from the oldest merchandise on hand at that time.1
- A customs warehouse operator may count interchangeable goods first-in, first-out instead of by entry number, if the recordkeeping rules are met.2
- Each addition to or deduction from a FIFO inventory category must be posted within 2 business days.2
- HMRC allows warehouse discharge in first-in, first-out order when goods from several declarations cannot be told apart.4
- The Commission's distribution guidance says picking should follow expiry order, with batch numbers recorded where they are required.3
- Returned goods that go back to saleable stock must be placed so that expiry-based picking still works.3
- A product should still have an appropriate remaining shelf life when it is picked.3
- Valuing unsold goods under LIFO leaves them carried at the cost of older purchases.5
- The UK's FRS 102 inventories standard rules out LIFO for valuing stock.5
- A 1981 Federal Register notice describes LIFO as a flow-of-cost assumption about which purchase is sold first.6
- For shelf-life items, federal property rules require storage that makes the oldest stock on hand go out first.7
- Federal agencies must flag shelf-life items in their stock records.7
- NIOSH notes that using the oldest purchases first can reduce the number of filtering respirators that reach their shelf life in stock.9
- A trade article groups LIFO, FIFO and FEFO together as rotation controls that automated storage systems must handle.10
- Pushback racks, where removing one pallet lets the next roll forward, keep FIFO rotation automatic once loaded.11
- Lot-level tracking is a core demand of FDA's food traceability requirements for listed foods.8
- FDA says a continuing appropriations law tells the agency not to enforce the Food Traceability Rule before July 20, 2028.8
- The agency says it plans to follow that congressional instruction.8
- The rule's original compliance date was January 20, 2026.8
Every figure on this page is tied to a cited source, last checked on 20 October 2026. Pages like this are re-checked every six months. Found something out of date? Tell the desk.

