What is FEFO?
FEFO stands for First-Expired, First-Out. It is a stock rotation rule that says: when it is time to sell or use a product, pick the batch whose expiry date is nearest. Not the oldest batch. Not the newest. The one closest to expiring.
The goal is simple — move short-dated stock before it becomes waste, and never dispense something that has already expired.
FEFO vs FIFO
FIFO (First-In, First-Out) rotates stock by arrival date. FEFO rotates by expiry date. They usually agree — but not always.
A newer delivery can carry an earlier expiry than one already on the shelf. Under FIFO, that batch stays behind and expires. Under FEFO, it moves first.
| Rule | Rotates by | Best for |
|---|---|---|
| FIFO | Arrival date | Non-perishable goods, general retail |
| FEFO | Expiry date | Pharmacies, food, cosmetics, reagents |
Why FEFO matters in a pharmacy
Expired medicine is not just lost revenue. It is a regulatory risk and a patient safety issue. FEFO addresses both at once.
- Fewer write-offs. Short-dated stock moves before it becomes unsellable.
- Regulatory compliance. Dispensing expired medicine breaches pharmacy rules.
- Patient safety. A reduced-potency or degraded drug can be worse than no drug.
- Cleaner audits. Every sale traces to a batch with a known expiry.
How to run FEFO day to day
FEFO only works if expiry data is captured at the point of receiving stock and enforced at the point of sale. Four steps:
- Capture the batch and expiry when goods arrive — not just the quantity.
- Store shelf-ordered by expiry, not by delivery date.
- Prompt the picker at sale time with the FEFO batch for that product.
- Review short-dated stock weekly and act before it expires.
Running FEFO without spreadsheets
Spreadsheets break under FEFO because they are not enforced at the point of sale. A clerk can pick any batch and the sheet will not stop them.
A point-of-sale or inventory system that stores batch expiry per unit and surfaces the FEFO batch during checkout removes the decision from the clerk. This is how KXBYTE handles pharmacy stock — batch, expiry, and sale are one flow.
Frequently asked questions
What does FEFO stand for?
FEFO stands for First-Expired, First-Out. It is a stock rotation rule where the batch with the earliest expiry date is sold or used first.
Is FEFO the same as FIFO?
No. FIFO rotates by arrival date — the oldest stock leaves first. FEFO rotates by expiry date — the batch closest to expiring leaves first. In a pharmacy, FEFO is safer because a newer batch can expire sooner than an older one.
Does FEFO apply to non-medicine products?
Yes. Any product with a shelf life benefits from FEFO — food, cosmetics, chemicals, and laboratory reagents included.

