Skip to content
AI-ERP

Industry deep dives

FEFO and near-expiry control for pharma and food

How pharma and food businesses apply FEFO in warehouses and dispatch, set near-expiry alerts by customer requirement, and handle returns and expiry claims.

By the AI-ERP team 5 min read

For medicines and food, stock that expires is stock written off, and stock dispatched too close to expiry is often rejected by customers. FEFO, first expiry first out, is the rule that prevents both, but only if the warehouse follows it and the system makes it easy. This guide explains how to apply FEFO and manage near-expiry stock in practice.

FEFO versus FIFO

FIFO issues the oldest stock received first. FEFO issues the stock that expires first. They often match, but not always: a batch received later may have a shorter shelf life because it was older when it arrived. For products with expiry dates, FEFO is the right rule.

Recording expiry at receipt

FEFO depends on every batch being received with its batch number, manufacturing date and expiry date. These should be captured at the goods received note, ideally by scanning, and checked against the supplier's documents. Batches with less remaining shelf life than your policy allows can be flagged at receipt.

  • Batch number

    From the label or supplier invoice.

  • Manufacturing date

    Where printed.

  • Expiry date

    Mandatory for FEFO.

  • Remaining shelf life check

    Against your minimum acceptance policy.

Picking by FEFO

Picking lists should suggest batches in order of expiry. If the picker scans a different batch, the system warns. In warehouses where older stock is placed behind newer stock, bin layout and replenishment practice matter as much as software.

Customer-specific shelf life

Many customers, especially hospitals, modern trade and exporters, require a minimum remaining shelf life at delivery, such as a percentage of total shelf life or a number of months. The ERP should store this requirement per customer and exclude batches that do not meet it when allocating stock.

Customer-specific shelf life
Customer typeTypical requirement
Modern retailMinimum remaining shelf life at receipt
Hospitals and institutionsMinimum months to expiry
Export buyersAs specified in contract
Distributors and stockistsAs agreed in trade terms

Near-expiry alerts

Alerts for stock approaching expiry give time to act: sell to customers who accept shorter dates, offer schemes, transfer to a location with faster sales, or return to the supplier if terms allow. Alerts at several horizons, such as six, three and one month, suit different actions.

Expiry is predictable months in advance. Write-offs happen when nobody looks.

Returns and expiry claims

In pharma distribution, expired and near-expiry stock often comes back from retailers. Returns should be recorded by batch, with the reason, and matched to manufacturers' return and claim policies. Tracking claims until settled prevents lost credits.

Recalls

If a batch is recalled, FEFO records show where every unit went. Batch-level dispatch records let you contact affected customers quickly and block remaining stock.

Measuring results

Track the value of stock written off for expiry, the value of near-expiry stock at each horizon, and the number of customer rejections for short dating. These should fall as FEFO and alerts become routine.

An example from a distributor

A pharma distributor's near-expiry report shows stock worth a noticeable sum expiring within three months, mostly in two slow-moving products. The sales team offers them to hospitals that accept shorter dates and to retailers with a small scheme, while purchase reduces reorder quantities for those products. The next quarter's expiry write-off falls sharply. The report took seconds to produce; the value came from acting on it.

Food businesses and shelf life

Food businesses face the same issue with shorter shelf lives, sometimes days. Production planning should consider shelf life, making only what can be sold in time, and dispatch should prioritise the oldest batches still within customers' requirements. Daily rather than monthly alerts suit short shelf-life products.

Bin layout and physical practice

Software suggests the right batch, but the warehouse must make it easy to pick. Place earliest-expiring stock at the front or most accessible bins, label bins with batch and expiry, and replenish so that newer stock goes behind. Periodic checks that physical layout matches system suggestions prevent the gradual drift that leads to expired stock hidden at the back.

Key takeaways

  • Use FEFO, not FIFO, for products with expiry dates.
  • Capture batch and expiry at receipt, ideally by scanning.
  • Suggest batches by expiry and warn on out-of-order picks.
  • Store customer shelf-life requirements and apply them in allocation.
  • Alert on near-expiry stock at several horizons and track claims.

Questions on this topic

What is the difference between FIFO and FEFO?

FIFO issues oldest received first; FEFO issues earliest expiring first.

Can the ERP block short-dated stock for certain customers?

Yes, using each customer's minimum shelf-life requirement.

How early should near-expiry alerts start?

Several months ahead, depending on how fast the product sells.

Can retailers' expiry returns be tracked?

Yes, by batch, with claims to manufacturers tracked to settlement.

Does FEFO work in small warehouses?

Yes. Bin labels and picking lists by expiry are enough to start.

Can barcodes capture expiry?

Where the barcode or QR code carries expiry data, yes.

How is stock valued near expiry?

Accounting policies may require write-down of stock unlikely to be sold; ask your accountant.

Can expiry alerts go to sales teams?

Yes. Near-expiry lists can be shared with sales so they can offer stock to suitable customers.

Does FEFO apply to raw materials too?

Yes. Materials with expiry, such as some chemicals and ingredients, should be issued by FEFO.

Free 30-minute consulting call

Want this working in your business?

Book a free consulting call. The AI-ERP team will show you how it would look with your own data.

Before you go

Get a free ERP plan for your business

Leave your number and one line about your business. We send you a plan on WhatsApp: the modules we would suggest, a rough timeline and an estimated cost.

We use your number only to reply about this request.

Free 30-minute call

Book a free consulting call

Tell us a little about your business. Next, you pick a time that suits you.

No obligation. You leave the call with a clear plan either way.

Live demo

See AI-ERP in action

Get instant access to a working AI-ERP built for a valve manufacturer. Three quick details and you are in.

We only use these details to follow up about AI-ERP.