FEFO and Expiry Control in the Warehouse: Rules, Mistakes, Automation
FEFO vs FIFO: tracking batches and expiry through receiving, storage and picking, plus quarantine, minimum remaining shelf life and expiry reports.
For a distributor of food, water and beverages, household chemicals or medicines, shelf life is money with an end date. Stock that does not leave in time becomes a write-off, a return from the outlet or a discount. The main tool against these losses is the FEFO rule plus batch tracking at every stage of the warehouse process.
This article belongs to the warehouse, WMS and inventory section. To see how it works in the software, visit batch and expiry tracking.
FIFO vs FEFO: the difference
- FIFO (First In, First Out) — what arrived first ships first.
- FEFO (First Expired, First Out) — the batch with the nearest expiry date ships first.
If every batch of an item arrives with the same remaining shelf life, FIFO and FEFO give the same result. In practice suppliers deliver from different production batches, returns come back with older dates and some stock arrives from another warehouse. In these cases FIFO ships the older-dated batch later than it should.
| Situation | FIFO | FEFO |
|---|---|---|
| Batch A arrived on the 1st, expires on the 30th; batch B arrived on the 5th, expires on the 20th | A ships first | B ships first |
| Customer return with an old date | Ships last as a "new receipt" | Ships first by date |
| Same dates in all batches | Same | Same |
What FEFO requires
- A product card flagged for expiry tracking. For these SKUs, batch and expiry date are mandatory.
- Batch capture on receipt. Batch number and date are entered or scanned at receiving, not “later”.
- Stock by batch. The system knows not just how much stock there is, but how much of each batch and where it sits.
- Batch prompt during picking. The storekeeper is told to take a specific batch from a specific bin.
- Verification during picking. Scanning prevents a different batch from going into the order.
Receiving: batches and dates from minute one
- Scan the item
- Enter batch and date
- Check remaining shelf life
- Quarantine or storage
Set a receiving rule: if remaining shelf life on delivery is below the threshold agreed with the supplier, the goods are not accepted without a buyer’s decision. The threshold belongs in the supplier contract, not in the storekeeper’s judgement.
Storage: quarantine and physical order
- A quarantine zone for damaged packaging, returns and batches under inspection. Quarantined stock is not available for sale and does not appear in the stock reps see.
- Physical rotation. Even with a system prompt, keeping the nearest-dated batch at the front of the rack speeds up picking.
- One batch per bin wherever possible. Mixed batches in one bin increase errors.
Picking: minimum remaining shelf life per customer
Many retail chains and pharmacies only accept stock with a certain remaining shelf life. Ship them a short-dated batch and it comes back. So alongside FEFO you need a rule: for customers with a date requirement, the system picks batches that meet it, and short-dated batches go to customers without such a requirement — for example, fast-moving traditional retail.
The “expiring soon” report: act before the write-off
A write-off is too late. Work with stock that still has shelf life left but is running out.
| Horizon | Action | Owner |
|---|---|---|
| 60–90 days before | Priority in the rep's suggested order | Commercial director |
| 30–60 days before | Promotion, volume bonus, transfer to a warehouse with higher demand | Commercial director, warehouse |
| Under 30 days | Decide: clearance, return to supplier under contract, or write-off | CFO |
The horizons depend on total shelf life: days for dairy, months for household chemicals. Set them by category.
Common mistakes
- Dates typed in “from memory” after receiving. Date errors make FEFO worthless.
- Returns straight onto the shelf. Old and new batches get mixed.
- A batch prompt without scanning. The storekeeper grabs the nearest carton, not the right batch.
- Nobody owns the “expiring soon” report. It gets generated, but nobody acts on it.
Industry specifics
- Water and beverages: high volumes, seasonality, short shelf life for part of the range. See water and beverage distribution.
- Food: the shortest shelf lives and the strictest chain requirements. See food.
- Pharma: batches, expiry, Asl Belgisi marking and traceability to the pharmacy. See pharma distribution and the pharma distribution warehouse.
The full warehouse process is in the warehouse management guide. To estimate what write-offs cost you today, use the loss calculator.
FAQ
Can we run FEFO without batch tracking?
No. FEFO requires knowing the expiry date of every batch in the warehouse, so the batch and expiry date must be recorded on receipt. Without that the system cannot tell you which batch to ship first.
What should we do with stock that is about to expire?
See it early in an 'expiring soon' report and hand it to the commercial team: a promotion, priority in the rep's suggested order, or shipment to customers without remaining-shelf-life requirements. The earlier the item appears on the list, the cheaper the fix.
How should outlet returns be handled?
A return arrives as a separate document and goes to the quarantine zone. After the packaging and date are checked, it either returns to stock under its own batch or is written off. Putting returns straight back on the shelf is a common cause of mixed batches.
We’ll show how this process runs in Mirasoft on your own data, in 30 minutes.
- On your own catalogue and routes
- Run by an implementation engineer, not a salesperson
- No commitment, no prepayment





- +200
“We don’t show slides. We take one of your real orders and run it from the sales rep to the warehouse and 1C, so you see exactly where money leaks.”— Mirasoft implementation team