Skip to main content
Apragya AIFree quotation builderQuotation builderQuote builderno signup
Glossary

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.

A warehouse supervisor checking a carton's sticker before picking in a pharma warehouse

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.

  1. Record batch and expiry at receipt.
  2. Sort available batches by expiry date.
  3. Skip expired, quarantined or too-short batches.
  4. Allocate from the earliest remaining expiry.
  5. 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

  1. Skipped: below the hospital's six months.

  2. 120 strips allocated first.

  3. 180 strips allocated next.

  4. Held by quality, not available.

  5. Sold to buyers without the clause.

  6. System choice kept, no manual change.

FEFO picked the earliest batch that the customer's shelf-life rule allowed.

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.

Three rows of medicine cartons, with the red-ribboned row set aside
The short-dated batch was held back for chemists, and the hospital received longer-dated stock.

How FEFO inventory management works in Apragya

Step 1 of 5

Batches with expiry

Receipts record batch, manufacturing and expiry dates.

  1. Batches with expiry: Receipts record batch, manufacturing and expiry dates.
  2. Batch balances: Stock is kept per product, warehouse and batch.
  3. Shelf-life rules: Minimum days or percentage left, by customer, group or for everyone, to block or warn.
  4. FEFO allocation: Orders are allocated earliest expiry first, skipping quarantined stock.
  5. 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

FeatureFIFO pickingApragya FEFO
Picking orderOldest receipt firstEarliest expiry first
Customer shelf-life termsChecked by handRules that block or warn
Quarantined stockKept apart physicallyExcluded from allocation
Manual changesNot recordedOverride recorded with a reason
Recall tracingFrom paperBatch 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

  1. Record batch and expiry on every receipt.
  2. Move existing stock into batch balances.
  3. Add shelf-life rules for customers who need them.
  4. Allocate orders by FEFO and pick by batch.
  5. 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

INR 3,999
Starter, a month
Up to 10 users, CRM and HR plus Inventory and Warehousing
2,000
AI Credits a month
Included on Starter
Free
Up to 3 users
CRM, HR and Vendor Onboarding

First expired first out, answered

Is FEFO required by law?
Rules differ by product. Pharmacy and food regulations require that expired goods are not sold, and FEFO is the usual way to comply. Check the rules that apply to you.
Can a picker choose a different batch?
Yes, where allowed. The override is recorded with who made it and why.
What if a customer accepts short-dated stock?
A shelf-life rule can be set to warn instead of block for that customer.
Does FEFO change stock valuation?
No. FEFO decides what is picked. Valuation follows the method set on the product.
What does it cost to start?
Inventory and Warehousing is available from the Starter plan, INR 3,999 a month for up to 10 users, which includes CRM and HR plus a choice of enterprise apps and 2,000 AI Credits a month. Pro, at INR 7,999 a month, covers 25 users and every enterprise app.

Ship the right batch every time

Record expiry at receipt and let allocation pick earliest expiry first.