What Is FEFO? First Expired, First Out Meaning and Example
For pharma distributors, food businesses and warehouse managers: ship the batch that expires first, meet customers' shelf-life terms, and write off less.
What is FEFO? FEFO, or first expired, first out, is a picking rule that sends out the stock with the earliest expiry date first, whatever order it arrived in. It is standard for medicines, food, cosmetics, chemicals and anything else with a shelf life.
FEFO needs batch and expiry data on every receipt and a way to pick by batch. Without that, the picker takes whichever carton is nearest, and short-dated stock sits at the back until it expires.
This page explains the rule, a worked example, how it differs from FIFO, and how Apragya allocates batches by expiry.
FEFO meaning and a worked example
Under FEFO, when you pick stock for an order, you take the batch with the nearest expiry date that is still acceptable to sell. Receipt date does not matter. Batches that are expired, quarantined or too close to expiry for the customer are skipped.
A worked example: a warehouse holds three batches of a juice. Batch X, received first, expires in five months. Batch Y, received second, expires in two months. Batch Z expires in eight months. An order for 500 cartons takes Y first, then X, then Z if needed. FIFO would have taken X first and left Y to expire.
FEFO works only if expiry is recorded on every receipt and stock can be found by batch.
- Record batch and expiry at receipt.
- Sort available batches by expiry date.
- Skip expired, quarantined or too-short batches.
- Allocate from the earliest remaining expiry.
- Record which batch went on each line.
What ignoring FEFO costs
Expired stock
Batches past expiry must be written off or returned.
Rejected deliveries
Customers refuse stock with too little shelf life left.
Regulatory risk
Selling expired medicines or food can bring serious action.
Weak traceability
A recall cannot be traced without batch-level records.
An example: a Kochi pharma distributor
Take an illustrative distributor supplying hospitals and chemists. A hospital's rate contract says no batch with less than six months to expiry. An order arrives for 300 strips of an antibiotic.
The allocation for 300 strips
Skipped: below the hospital's six months.
120 strips allocated first.
180 strips allocated next.
Held by quality, not available.
Sold to buyers without the clause.
System choice kept, no manual change.
The hospital received stock with more than six months left, and batch A went to chemists who accept shorter dates. Each allocation was recorded on the order, so when a query came later the distributor could show which batch went where.
How FEFO inventory management works in Apragya
Step 1 of 5
Batches with expiry
Receipts record batch, manufacturing and expiry dates.
- Batches with expiry: Receipts record batch, manufacturing and expiry dates.
- Batch balances: Stock is kept per product, warehouse and batch.
- Shelf-life rules: Minimum days or percentage left, by customer, group or for everyone, to block or warn.
- FEFO allocation: Orders are allocated earliest expiry first, skipping quarantined stock.
- Allocation record: Each batch picked is recorded, with who overrode it and why.
FEFO vs FIFO: which one to use
FIFO sends out the oldest receipt first, which is fine for goods that do not expire. FEFO looks at expiry, because a later receipt can expire sooner. For anything with a shelf life, FEFO is the safer rule; FIFO can still be the valuation method in the books.
FIFO picking, against FEFO in Apragya
| Feature | FIFO picking | Apragya FEFO |
|---|---|---|
| Picking order | Oldest receipt first | Earliest expiry first |
| Customer shelf-life terms | Checked by hand | Rules that block or warn |
| Quarantined stock | Kept apart physically | Excluded from allocation |
| Manual changes | Not recorded | Override recorded with a reason |
| Recall tracing | From paper | Batch recorded on each line |
Checked against public information on 16 September 2026.
What sets Apragya apart for batch stock
Barcodes
Scan batches at receipt and picking.
Bins
Know which bin holds which batch.
Expiry alerts
See batches nearing expiry before they are lost.
One record
Purchase, stock, sales and returns on the same batch.
AI with human review
Agents can flag slow batches close to expiry.
Access by role
Only authorised users can override an allocation.
See expiry and FEFO, batch tracking, the AI agent for stock expiry alerts, and how it compares with FIFO.
Getting started
- Record batch and expiry on every receipt.
- Move existing stock into batch balances.
- Add shelf-life rules for customers who need them.
- Allocate orders by FEFO and pick by batch.
- Review near-expiry batches every week.
Batch discipline at the receiving dock is what makes FEFO work at the picking rack.
What it costs to start
First expired first out, answered
Is FEFO required by law?
Can a picker choose a different batch?
What if a customer accepts short-dated stock?
Does FEFO change stock valuation?
What does it cost to start?
Ship the right batch every time
Record expiry at receipt and let allocation pick earliest expiry first.