FIFO issues the oldest received stock first. FEFO issues the stock that expires first, whatever its receipt date. If the goods you hold have an expiry date, use FEFO. If they only age on the shelf, such as spare parts, packaging or dry components, FIFO is enough. The rest of this article covers where the two rules split, the data each one needs and why a spreadsheet stops being reliable once batches multiply. SIX ERPAn ERP system connects a company’s core processes—such as sales, finance, inventory, manufacturing, and service—in one place so teams can work with shared information. handles this in its warehouse and inventory flow, SIX StockFlow.
What each rule actually does
FIFO stands for first in, first out. The unit received earliest leaves the warehouse earliest. FEFO stands for first expired, first out. The unit with the earliest expiry date leaves first. The WHO Collaborating Centre’s stock-taking page describes it the same way: FEFO moves the identical item with the earliest expiry before later-expiring stock, and FIFO uses the oldest stock before newer identical stock.

The two rules give the same picking order only when receipt order matches expiry order. That holds when every delivery has the same shelf life and arrives in a steady sequence. It breaks as soon as a later delivery carries a shorter shelf life. Picture 400 cartons of yoghurt received on Monday with 21 days of life left and 300 cartons received on Wednesday from another supplier with 12 days left. FIFO ships Monday’s cartons first. The Wednesday batch then sits behind them and goes out of date, although nothing in the warehouse looks wrong. FEFO ships Wednesday’s batch first.
The same thing happens with pharmaceuticals, chemicals, cosmetics, adhesives, paints and packaged food. Any product with a printed date can receive a newer batch that expires sooner.
When FIFO is the right rule
FIFO suits stock that has no expiry date but still loses value or becomes hard to trace as it ages. Examples are machine parts, fasteners, cable, packaging film, textiles, finished goods that go out of fashion, and electronic components. Rotating them oldest first prevents stagnation, where one pallet at the back never gets touched and becomes dead stock.
FIFO is also the simpler rule to run. It needs only the receipt date, which the system already stamps on every goods receipt. It doesn’t depend on someone reading a date off a label and typing it in correctly. For a distributor of non-perishable goods, adding expiry tracking would be extra work with no payoff.
FIFO also has a second meaning that is easy to confuse with the warehouse rule: cost valuation. In accounting, FIFO is one way of assigning a cost to the units that leave stock. A Bulgarian academic paper on inventory consumption methods notes that IAS 2 allows specific identification, FIFO and weighted average for writing off inventory cost, and that the older Bulgarian National Accounting Standard 2 also permitted LIFO when the recommended methods could not be applied. LIFO, last in first out, has no place in physical rotation of dated goods, because it leaves the oldest units on the shelf. Keep the two meanings apart when you configure a system: the picking rule decides which unit physically leaves, and the valuation method decides what cost your books show for it. Your accountant should confirm which valuation method applies to your company.
When FEFO is the right rule
FEFO applies wherever an expiry or best-before date limits how long you can sell or use the product. Food, beverages, medicines, chemicals, cosmetics and many consumables all fall in this group. In regulated sectors it is more than a preference. The EU’s Good Distribution Practice guidelines for human medicines call for stock rotation by expiry date of batches, and ECA Academy’s summary of the topic adds that any exception should be documented. If you distribute medicines in Bulgaria, your quality person should confirm the exact obligations that apply to your licence.
For food businesses, the Bulgarian Food Act provides for official control by the Bulgarian Food Safety Agency at all stages of production, processing and distribution. Whatever your HACCP plan says about rotation, an inspector expects your records and your shelves to match it. A documented FEFO routine is the easiest way to show that they do.
There is a third group, mixed warehouses, where some SKUs carry dates and some don’t. A manufacturer, for example, may hold dated adhesives and resins next to undated metal parts and packaging. The sensible setup is FEFO for dated items and FIFO for the rest, assigned per item, not per warehouse. The system should pick the rule from the item master, so nobody in the warehouse has to remember which is which.

The customer shelf-life problem
FEFO has one practical wrinkle that catches wholesalers and distributors. Retail customers often require a minimum remaining shelf life on delivery, say 60 percent of the total. Strict FEFO would send your oldest stock to the customer who cares most about freshness. The workable approach, described in Logio’s guide to FEFO and FIFO, is to set a minimum remaining shelf life per customer or channel and to route stock that falls below the threshold to a channel that accepts it, or to a markdown.
In practice that means the picking rule becomes: earliest expiry first, among the batches that still meet this customer’s minimum. A spreadsheet can’t apply that rule at the moment of picking. A system holding customer rules and batch dates can.
Where rotation fails in the warehouse
Most expiry losses come from handling, not from the choice of rule. A Bulgarian HACCP documentation guide from Uniil describes the usual failure. A new delivery goes into the first free space, older stock ends up hidden behind or below it, and nobody sees it until it has expired. The guide recommends placing new goods behind existing stock, comparing expiry dates when similar products arrive in different batches, and checking periodically.
Three habits cause most of the trouble:
- Mixed batches on one pallet or in one bin, so the system can see one quantity but the shelf holds two expiry dates.
- Missing or guessed dates at receiving. A made-up expiry date is worse than an empty field, because the picking list will trust it.
- Stock moved between locations without a transaction, so the system’s location no longer matches the physical one.
A FEFO rule is only as good as the date recorded at the dock door. The best time to enter the batch number and expiry date is at goods receipt, before put-away, by the person who is holding the box.
What your system must record to run FEFO or FIFO reliably
FIFO needs a receipt date and a location. FEFO needs more. For every distinct group of goods on a receipt, you need quantity, batch or lot identifier, and the real expiry date. Dated inventory has to stay separated by batch or expiry date in storage, because once two dates share a line the system can’t tell which to pick. If a supplier delivers without a date, the item should be held at receiving until the date is clarified, not given an invented one.
These are the capabilities to check in any ERP or warehouse system for dated goods:
- Batch or lot tracking at item level, with expiry date as a mandatory field for dated items.
- A picking rule set per item or item group: FEFO for dated goods, FIFO for undated ones.
- Separate stock lines per batch, so reservations and picks take the right batch automatically.
- Customer or channel minimum remaining shelf life.
- An expiry report that shows what expires in the next 30, 60 or 90 days, by location and value.
- Full transaction history, so you can trace a batch from receipt to the customer and recall it if needed.
A system entry doesn’t prove that the physical movement happened as recorded. As the 17TRACK warehouse guide points out, records of receiving, put-away, storage, picking and dispatch should hold the item, quantity, location, status, batch and transaction history, and the physical operation still has to follow them. Mobile scanning at receiving and picking closes most of that gap, because the person confirms the batch at the shelf.
How to switch from FIFO to FEFO
The rollout follows an order that keeps risk low.
- Start with the SKUs that carry expiry risk
List the items with a date on the label and rank them by value and by how fast they turn. A product that turns in a week needs less protection than one that sells slowly with a 90-day life. The top of that list is your pilot. - Fix the data before the rule
Check how expiry dates are captured at receipt today, and who enters them. If the answer is “sometimes, from the delivery note”, that is the first thing to correct. Set the date field as mandatory for dated items and agree what happens when a supplier doesn’t provide one. - Check layout and labelling
A FEFO rule can’t work if the oldest batch is physically behind the newest. Look at bin layout, whether batches are kept in separate positions, and whether labels show the batch and date in a form the picker can read. - Pilot, train, then extend
Run the selected products for a few weeks. Train the receiving team first, because their entries drive everything after them. Then compare expiry write-offs and customer complaints before and after, and extend to more SKUs. An ASC Software guide to FEFO lays out the same sequence: audit expiry-sensitive SKUs, define date capture, pilot, train receiving staff, configure rules, monitor.
Where SIX ERP fits
We map your warehouse and purchasing processes in detail before configuring anything, under what we call a no-gap policy. For a FEFO project that mapping is where the questions above get answered: which items carry dates, who enters them at receipt, how batches are stored, which customers need minimum shelf life. Our warehouse and inventory flow, SIX StockFlow, connects to SIX PurchaseFlow and to the sales and finance flows, so the goods receipt, the stock and the dispatch run through one system and not through three spreadsheets.
For a deeper look at what to demand from inventory software, our guide to the best ERP for inventory management covers the selection criteria.
Our view: the rule is easy, the discipline is the work
Choosing between FEFO and FIFO takes about five minutes: if the label has a date that limits sale or use, FEFO; if not, FIFO. The hard part is making sure the data behind the rule is right at the moment someone picks a pallet. That is why we start with process mapping and not with configuration. A warehouse that receives dated goods has a receiving process, a put-away process, a picking process and a returns process, and the expiry date has to survive all four. If one step is left out of the map, the rule fails there, usually quietly. We also think companies should begin with the flows they need today and add others later. A distributor can start with stock and purchasing, add sales when the picking rules are stable, and bring in finance after that. The platform is built to expand this way, so growth doesn’t mean replacing the system.
FAQ
Which is better, FIFO or FEFO?
FEFO is better for any product with an expiry date, because it ships what will spoil first. FIFO is better for undated goods, where receipt age is the only thing that matters and no date entry is needed. Many companies run both, assigned per item.
Can FIFO and FEFO give the same result?
Yes, when batches arrive in the same order as their expiry dates. Once a later delivery has a shorter shelf life, the two rules pick different units, and FIFO can leave the sooner-expiring batch on the shelf.
What is the difference between FIFO and LIFO?
FIFO uses the oldest units first, LIFO the newest first. In physical warehouses LIFO leaves old stock untouched, so it is not used for dated goods. As a cost valuation method, IAS 2 allows FIFO and weighted average but not LIFO, so ask your accountant which method your books use.
What data does FEFO need?
Each receipt line needs a quantity, a batch or lot number and the real expiry date. Different batches must stay in separate stock lines and, ideally, separate bin positions. If a date is missing, hold the goods until you know it.
Does FEFO work with customer minimum shelf-life requirements?
Yes. Set a minimum remaining shelf life per customer or channel, pick the earliest-expiring batch that still meets it, and route anything below the threshold to a channel that accepts shorter life or to a markdown.
Sources
- Stock-taking, WHOCC PPRI
- Guidelines on Good Distribution Practice of Medicinal Products for Human Use, European Commission
- FIFO, FEFO, LIFO: What is the meaning? ECA Academy
- Bulgarian Food Act
- Inventory consumption methods paper, ides.bg
- What are FEFO and FIFO? Logio
- Storage of food and the FIFO and FEFO principles, Uniil
- Warehouse management, 17TRACK Learning
- The Complete Guide to FEFO Inventory Management, ASC Software




