FEFOStock rotationBest beforeWarehouse

FEFO vs FIFO for food and drink warehouses

The difference between first in, first out and first expired, first out, why they diverge in a real warehouse, and what you need in place to run FEFO properly.

By the FTP EDI team 6 min read

In short: FIFO picks the stock that arrived first. FEFO picks the stock that expires first. They give the same answer only when deliveries always arrive in date order, which in food and drink they do not. If your products carry a date and your customers care how much life is left, you need FEFO, and FEFO needs the date recorded against every pallet.

The two rules

FIFO, first in, first out. Stock is picked in the order it was received. It needs nothing more than a receipt date, which every system has.

FEFO, first expired, first out. Stock is picked in order of its best-before or use-by date, earliest first, whenever it arrived. It needs the date captured for each pallet or batch at goods-in. There is a short definition in the glossary.

A third term, LIFO (last in, first out), describes what happens by accident in block-stacked or drive-in storage, where the newest pallet is the easiest to reach. Nobody chooses it for dated goods.

Why they diverge

If every delivery had a later date than the one before, FIFO and FEFO would always agree. In practice they part company regularly:

  • A supplier ships an older batch after a newer one, because of how its own warehouse was picked.
  • Stock is transferred from another site or returned by a customer, arriving late with an early date.
  • Two production lines or two co-packers make the same product with different shelf lives.
  • A promotional pack and the standard pack share a product code but not a date.

In each case FIFO sends out the newer stock and leaves the older stock in the racking, where it gets shorter and shorter until it cannot be sold to the customers who would have taken it.

Shelf life on arrival

Most retailers do not just want stock that is in date. They want a minimum amount of life remaining when it reaches their depot, so that there is time to move it through the depot, onto the shelf and into a customer’s kitchen. The requirement is set in each retailer’s supply agreement or product specification and varies by retailer and by product category, so check your own.

This changes what “first expired” means in practice. The right pallet for an order is not simply the earliest-dated one. It is the earliest-dated pallet that still meets that customer’s minimum. Stock that fails one retailer’s rule may be perfectly acceptable to a wholesaler or a discount channel, and a good allocation rule knows the difference.

It also explains why a pallet standard may insist on one date per pallet: a depot that rotates by pallet cannot do so if the pallet holds two dates. Marks & Spencer’s pallet standard, for example, expects one product and one date life per pallet unless agreed in advance; see the M&S requirements.

Best before and use by are not the same

A use-by date is about safety, and food must not be sold after it. A best-before date is about quality. The distinction matters for what you do with short-dated stock, and it is explained in best-before versus use-by. For rotation purposes both are simply the date FEFO sorts by. On a GS1-128 label they are carried in different application identifiers, 15 for best before and 17 for expiry.

What you need to run FEFO

FEFO is a rule. The rule is only as good as the data it sorts.

  1. The date captured at goods-in, per pallet. Ideally scanned from the supplier’s label rather than typed. See receiving pallets by scanning SSCC labels.
  2. Batch recorded alongside the date. Two pallets with the same date can be different batches, and a recall is by batch. See batch versus lot.
  3. Stock held by pallet and location, not as one figure per product, so the system can name the pallet to pick.
  4. An allocation rule that understands minimum remaining life per customer, and says so when no stock qualifies rather than quietly allocating something that will be refused.
  5. Pick instructions that are followed. If the operative can take any pallet and the system accepts it, the rule is advisory. A scan of the pallet’s SSCC at the pick confirms the right one was taken.

Where FEFO goes wrong

  • Pick faces with mixed dates. When a pick face is topped up before it is empty, old cases end up at the back behind new ones. Either let it empty first, or replenish from the earliest date and make sure the remaining cases are brought forward.
  • Dates typed wrongly at receipt. A day and month transposed puts a pallet at the wrong end of the queue. Scanning the date, or a check that it is plausible for the product’s shelf life, catches most of these.
  • Block stacking. If the earliest pallet is physically behind three others, it will not be picked first whatever the screen says. Storage layout has to allow the rule to be followed.
  • Overrides nobody reviews. There are good reasons to skip a pallet, such as damage or a hold. Each should be recorded with a reason, so that a pattern becomes visible.

When FIFO is enough

For goods with no date, or with a shelf life so long that it never constrains a sale, FIFO is simpler and perfectly adequate. Many warehouses run both: FEFO for dated lines, FIFO for the rest. The rule should be set per product or per customer rather than for the whole building.

How FTP EDI helps

FTP EDI is adding warehouse management to its retailer EDI platform, released in stages.

Next step

Ready to stop worrying about EDI?

Tell us who you trade with and what you ship. We'll come back with a plan, a price and a go-live date within one working day.

Set-up
No software to install
Go-live
Live in days
Support
UK-based support