DockCountCreate your account

FIFO vs FEFO vs LIFO: Stock Rotation in a Warehouse

FIFO ships the oldest stock first, FEFO ships the stock that expires first, and LIFO ships the newest. When each one fits, when FIFO and FEFO pick different pallets, and what the dock has to write down for FEFO to work.

The short answer

FIFO, first in first out, means the stock received earliest is picked or used first. FEFO, first expired first out, means the stock with the earliest expiry or best before date goes first, whenever it arrived. LIFO, last in first out, sends the newest stock first, which suits goods that do not age, such as sand or steel in a pile. FIFO and FEFO give the same order when each delivery expires later than the one before. They split when a newer delivery carries a shorter date. FEFO only works if the expiry date of each lot is recorded when the goods are received.

Written by Hamza Rivera, founder, dockcount. How these are checked.

FIFO, FEFO and LIFO side by side

MethodWhat goes out firstWhat you need to knowUsed for
FIFO, first in first outThe oldest stock receivedThe receipt date of each pallet or caseDry goods, packaging, parts and anything with a long shelf life
FEFO, first expired first outThe stock with the earliest expiry dateThe expiry or best before date of each lotFood, drink, medicines, cosmetics, chemicals and adhesives
LIFO, last in first outThe newest stock receivedWhich stock arrived lastBulk material in piles, drive-in racking, and goods that do not age

In a warehouse these words describe how stock physically moves. In accounting, FIFO and LIFO are costing methods that decide which purchase cost goes to cost of goods sold, and they do not have to match the physical flow. A warehouse can pick FEFO while the books use FIFO or weighted average cost. LIFO costing is allowed under US GAAP and not permitted under IFRS.

When FIFO and FEFO pick different stock

Delivery A arrives on 1 March with an expiry date of 30 June. Delivery B arrives on 10 March, but the supplier sent older stock, and it expires on 15 May. FIFO picks A first because it came in first, and B may expire on the shelf. FEFO picks B first because it expires first.

DeliveryReceivedExpiresFIFO orderFEFO order
A1 March30 JuneFirstSecond
B10 March15 MaySecondFirst

Good distribution practice guidelines for medicines, such as those from the WHO and the EU, call for stock to be issued by expiry date, first expired first out. Food operations use FEFO to cut waste. FIFO is a fair stand-in only when every supplier ships fresh stock in date order.

FEFO starts at receiving

Any system, or a person with a pen, can only pick by expiry date if the date was written down when the goods came in. So stock rotation starts at the dock.

  1. 1
    Check the date against your minimum shelf life. Many buyers set a rule, such as a minimum number of days or a share of the total shelf life left on arrival. Stock below it can be refused or sent back. See what to reject at receiving.
  2. 2
    Write down the expiry date and the lot for each line. One line on the packing slip can arrive as two or three lots with different dates. Write down each lot number with its own date and quantity.
  3. 3
    Scan the date where the label carries it. A GS1-128 case label can hold the expiry date in application identifier (17), the best before date in (15) and the lot in (10). Dates are six digits: year, month, day. See GS1 barcodes at receiving.
  4. 4
    Mark the date where the picker will see it. If the supplier’s date is small or hidden, add a large date label or a colored label for the month on the pallet or case.
  5. 5
    Put it away behind the older stock. The shortest date should be the easiest to reach. See putaway.

FIFO in a warehouse without a system

In a stockroom with no warehouse system, rotation is done by hand. New stock goes behind or under the old stock, so the next pick takes the oldest. Flow racks do this by design: they are loaded from the back and picked from the front. Date labels on each case, written at receiving, let anyone check the order at a glance. Rotating stock means pulling the older stock forward before putting the new delivery away. A FIFO label is a sticker with the receipt date, or the expiry date for FEFO, on each case or pallet.

What goes wrong

  • New stock is put in front of old stock because it is quicker, and the old stock expires at the back.
  • A short-dated delivery is received without a date check, and nobody notices until it is too late to send back.
  • A pallet with two lots is written down under one date, so the pick order is wrong.
  • A cycle count finds expired stock, which is written off with an inventory adjustment.
  • Stock that arrived below the agreed shelf life is kept, when it could have gone back to the supplier as a return to vendor.

Lot numbers and expiry dates recorded at receiving also make a recall manageable, because you can find every place a lot went. See lot and batch traceability.

Worth knowing

A delivery with less shelf life than the purchase order or supplier agreement allows is a receiving discrepancy. Write the expiry date on the receiving record and the delivery receipt so the claim to the supplier has the date in writing.

DockCount does this job on a phone at the bay: count a delivery against the order it was placed on, photograph anything wrong, and the record writes itself. Receiving software that records each delivery as it reaches the dock. Every plan, free included, matches each delivery against its PO and flags short, over and damaged lines; damage photos start on Starter, and reading the slip from a photo and a summary emailed to purchasing start on Business. What each plan includes, from free.

Read next