· Codemax · 7 min read
FIFO vs FEFO: which stock rotation rule fits your central kitchen
FIFO uses what arrived first, FEFO uses what expires first. When the two disagree in a central kitchen, which rule to follow, and the dates each one needs.
TL;DR
FIFO (first in, first out) uses the stock that arrived first; FEFO (first expired, first out) uses the stock with the earliest expiry date. In Malaysia, the Food Hygiene Regulations 2009 require stock to be rotated on a first in first out basis. Central kitchens do best with a hybrid: FIFO by default, FEFO where dates don't follow arrival order, and expired stock never used.
- FIFO issues what arrived first; FEFO issues what expires first. They differ only when dates don't follow arrival.
- Regulation 38(1)(i) of the Food Hygiene Regulations 2009 requires stock rotated on a first in first out basis.
- FEFO earns its place for short-life stock, mixed-date deliveries, semi-finished batches and outlet transfers.
- Both rules need dates captured twice: at receipt, and when the kitchen produces or opens something.
- If the same item keeps expiring, fix the ordering, not the rotation rule.
FIFO (first in, first out) issues the stock that arrived first. FEFO (first expired, first out) issues the stock with the earliest expiry or use-by date, whatever order it arrived in. The FIFO FEFO difference only matters when those two orders disagree, and in a central kitchen they often do: short-life chilled goods, mixed-date deliveries, semi-finished batches and stock moved between outlets.
For most groups the practical answer is a hybrid. Rotate by arrival as the default, rotate by date wherever dates don’t follow arrival, and treat the expiry date as a hard stop either way.
What are FIFO and FEFO?
FIFO (first in, first out) is a stock rotation rule that uses the oldest received or produced stock first. FEFO (first expired, first out) is a stock rotation rule that uses the stock with the earliest expiry date first. Stock rotation itself is the habit of moving older stock forward so nothing ages out of sight at the back of the shelf.
In Malaysia, FIFO is the rule the regulations name. Regulation 38(1)(i) of the Food Hygiene Regulations 2009 says “the stock of food is rotated regularly on a ‘first in first out’ basis”, and regulation 38(1)(h) says raw materials and ingredients for food preparation must be labelled and stored to prevent deterioration. FEFO isn’t a term the regulations use. Read it as a refinement for when arrival order and date order disagree. If you’re unsure how a written FEFO rule sits with regulation 38, ask your state health department; this article is not legal advice.
New storeroom staff often look the terms up in Malay (fifo fefo adalah), so print both one-line definitions on the chiller door in both languages.
The FIFO FEFO difference in one table
| FIFO (first in, first out) | FEFO (first expired, first out) | |
|---|---|---|
| What goes out first | The stock received or produced first | The stock with the earliest expiry or use-by date |
| Date you must capture | Received or production date | Expiry or use-by date, plus received date |
| Best for | Dry goods, packaging, long-life items, stock with no printed date | Chilled and frozen proteins, dairy, semi-finished batches, transferred stock |
| Where it fails | A later delivery arrives with an earlier date and expires behind older stock | Dates are missing, wrong or unreadable, so the pick is wrong |
| Shelf layout | Newest stock to the back | Earliest date to the front, even if it arrived last |
| What the storekeeper checks | Received date on the label | Label date against other lots of the same item |
For many items the two rules give the same answer, because the lot that arrived first also expires first.
When does FEFO beat FIFO?
The FEFO vs FIFO question comes down to four situations.
Short shelf life. With cream, fresh noodles, cut fruit or marinated chicken, a single day matters, and arrival order leaves no margin when one delivery turns up short-dated.
Mixed-date deliveries. A distributor can send a lot older than the one already on your shelf. Arrival order says use the existing stock first; the dates say otherwise.
Semi-finished goods with their own use-by. A sambal base made today from chilli paste received a month ago carries the sauce’s own use-by, set by your shelf-life rule, not the paste’s arrival date. In the central kitchen, the production date is the “in” and your use-by is the “expired”.
Outlet transfers. When Outlet 3 sends trays to Outlet 7 on a busy night, the stock is new to Outlet 7 but not new. Labelled on arrival, it goes behind Outlet 7’s older stock when it should go first. The original date has to travel with the tray.
Take a hypothetical central kitchen supplying 12 outlets and using 10 litres of cooking cream a day from Tuesday. Monday’s delivery of 20 litres is use-by Saturday. Wednesday’s delivery of 20 litres is use-by Thursday, because the distributor sent an older lot. Under strict FIFO, the kitchen uses Monday’s lot on Tuesday and Wednesday, then Wednesday’s lot on Thursday and Friday, so the last 10 litres are past their date on Friday. Under FEFO, Wednesday’s lot goes first, on Wednesday and Thursday, the rest of Monday’s lot goes on Friday, and all 40 litres are used in date.
Better still, check remaining shelf life at receiving and decide whether to accept a short-dated lot at all.
What each rule needs: dates at receipt and at production
Both rules run on dates captured twice: when stock arrives, and when the kitchen makes or opens something.
At receipt. Record the received date and the date printed on each lot. Under regulation 14 of the Food Regulations 1985, an expiry date (shown as EXPIRY DATE, USE BY or CONSUME BY) is the date after which food may not keep the quality a consumer expects, while BEST BEFORE marks the date of minimum durability. A date showing only a month is presumed to mean the end of that month, and a code used for lot identification is not a date marking.
Not every pack carries a date. Regulation 14 requires date marking on packaged foods listed in the Fifth Schedule, such as bread, biscuits, sauces, fish balls, coconut milk, liquid egg and chocolate. For items without a printed date, the received date and your own shelf-life rule have to do the job.
At production and on opening. Every batch of semi-finished goods needs a label with its production date, its use-by and a batch code that links back to the batch ticket, as covered in batch traceability, explained for F&B operators. Opened packs need the date they were opened.
Storage conditions count too. Where a date depends on storage, regulation 14 puts the storage direction on the label, and regulation 14(9) says no one may prepare for sale or sell a package of food that has expired or has been kept in conditions that contradict those directions. A chilled lot left on the loading bay is a problem whatever its date says.
How to set a stock rotation rule for your central kitchen
- Sort items into two lists. FIFO by received date for long-life and undated stock; FEFO by expiry or use-by for chilled and frozen stock, dairy, proteins, semi-finished goods and anything transferred.
- Capture dates at receipt. No lot goes into storage without a received date and, where printed, its expiry or best-before date.
- Label at production and on opening. Production date, use-by and batch code on every tray, tub and bag; the opened date on every opened pack.
- Set every shelf to match the rule. Earliest date at the front in the walk-in, reach-ins, freezer and dry store.
- Make the pick list name the lot. If the storekeeper picks which lot to issue from memory, the rule is optional.
- Treat expired stock as wastage, not stock. Pull it, record it with a reason, and keep it out of the count. Month-end stock take without the spreadsheet chaos covers the count itself.
- Review expiry write-offs weekly. If the same item keeps expiring, rotation isn’t the problem; ordering is, and perishables and the forecasting tightrope is the place to start.
Where RMS fits
Codemax RMS (Resource Management System) applies the default rule where it’s easiest to skip: at stock-out. FIFO and expiry checks are enforced when stock leaves the shelf, so older stock goes first and expired stock is caught before it reaches a recipe or a dispatch. Batches are captured at supplier receipt, production generates batch tickets and pick lists automatically, and a QR-based trace links raw material to production to delivery.
Inter-branch transfers are recorded too, so stock moved between outlets stays on the trace. Live stock on hand and wastage are recorded by outlet, so the weekly write-off review starts from the same records as the count. Image and video SOPs on mobile show new storeroom staff how the rule works on your own shelves.
RMS doesn’t set your shelf-life rules or read what a supplier’s label says. Those stay with your QA team. If you’d like to see the stock-out checks on your own item list, talk to our team.
A ten-minute check in the walk-in chiller
- Pick three chilled items. Is the lot at the front the one with the earliest date?
- Does every opened pack show the date it was opened?
- Does every semi-finished tub show a production date, a use-by and a batch code?
- Did any of last week’s expiry write-offs sit behind a newer delivery?
- When an outlet receives a transfer, does it keep the original date or write a new one?
If the answers differ between the central kitchen and the outlets, the rule exists on paper but not on the shelf. Start there.
Frequently asked questions
What is the difference between FIFO and FEFO?
The difference between FIFO and FEFO is what decides which stock goes out first. FIFO (first in, first out) issues the stock received or produced first. FEFO (first expired, first out) issues the stock with the earliest expiry or use-by date, even if it arrived later. For most items the two give the same order. They differ when a later delivery carries an earlier date.
Is FIFO stock rotation required by law in Malaysia?
Regulation 38(1)(i) of the Food Hygiene Regulations 2009 requires food handlers to store food so that the stock of food is rotated regularly on a first in first out basis. Regulation 38(1)(h) also requires raw materials and ingredients for food preparation to be labelled. FEFO is not named in the regulations. For how a written rotation rule applies to your premises, check with your state health department.
What is the difference between an expiry date and a best before date in Malaysia?
Under regulation 14 of the Food Regulations 1985, an expiry date, shown as EXPIRY DATE, USE BY or CONSUME BY, is the date after which food kept as labelled may not retain the quality a consumer normally expects. A best before date is the date of minimum durability, until which the food keeps any qualities claimed for it. A date showing only a month means the end of that month.
Should a central kitchen use FIFO or FEFO for sauces and other semi-finished goods?
Semi-finished goods such as sauces, marinades and doughs suit FEFO, because each batch carries its own use-by from the kitchen's shelf-life rule rather than the arrival date of its ingredients. Label every batch with its production date, use-by and batch code, put the earliest use-by at the front of the shelf, and make the pick list name the batch to issue.
Does every packaged food in Malaysia need an expiry date?
Regulation 14 of the Food Regulations 1985 requires date marking on packaged foods listed in its Fifth Schedule, including bread, biscuits, sauces, fish balls, chocolate, coconut milk and liquid egg. Many other packs carry a date too. Where a pack has no printed date, a kitchen relies on the received date and its own shelf-life rule to decide what goes out first.
Make stock rotation happen at stock-out, not on a laminated sign.
See how Codemax RMS enforces FIFO and expiry checks at stock-out and traces every batch from supplier receipt to outlet sale.
Sources
- Food Hygiene Regulations 2009 (P.U.(A) 95/2009) — FAOLEX, Food and Agriculture Organization of the United Nations, 28 Feb 2009
- Food Regulations 1985 (P.U.(A) 437/85), updated until August 2026 — Ministry of Health Malaysia, Food Safety and Quality Division, 12 Aug 2026
- Schedules in Food Regulations 1985, updated August 2026 — Ministry of Health Malaysia, Food Safety and Quality Division, 12 Aug 2026
Related reading
- World Food Day: where food waste hides in your operation A stage-by-stage map of where waste hides in a central kitchen and outlet network, what to measure at each stage, and how to start a waste log that people actually use.
- Importing food into Malaysia: what your suppliers need by 1 March 2027 From 1 March 2027, prepared food brought into Malaysia must come from overseas premises running a food safety programme the Health Ministry recognises. Who it touches, what to collect, and a supplier table to start with.
- Monsoon season: keeping every outlet stocked when the roads flood The northeast monsoon runs until March, and the heaviest rain moves around the country. A practical plan for keeping outlets supplied from the central kitchen without putting anyone at risk.