# What Is FEFO? First Expiry, First Out vs FIFO | ResolveAI

> FEFO (first expiry, first out) means the batch that expires soonest is issued first. See how it differs from FIFO, an example and how pharmacies apply it.

Source: https://www.resolveai.cc/glossary/fefo

Glossary · Pharmacy and stock

# What is FEFO?

First expiry, first out: the stock rule that stops medicines and food expiring on the shelf.

**Definition:** FEFO (first expiry, first out) is a stock rule where the batch with the earliest expiry date is issued or sold first, whatever date it arrived.

## FEFO vs FIFO

FIFO (first in, first out) issues the stock that arrived first. That works for items that do not expire. For medicines, food and chemicals, a batch that arrived later can expire sooner, so FEFO is the safer rule.

## Example

Batch A arrives on 1 March and expires in December. Batch B arrives on 10 March and expires in August. FIFO would issue A first. FEFO issues **B first**, because it expires sooner.

## How to apply it

* Record the batch number and expiry date of every item when it is purchased.
* Let the system pick the earliest-expiry batch at billing, so staff do not have to check labels.
* Run a near-expiry report every month, for example for stock expiring within 90 days, and return or use those batches first.

[See the Hospital ERP →](/hospital-management-software) [Open the live demo ↗](https://hospital.resolveai.cc)

FAQ

Where is FEFO used?+

Wherever stock has an expiry date: hospital and retail pharmacies, food and beverage businesses, cosmetics and chemicals.

What is a near-expiry report?+

A list of batches that will expire within a set number of days, such as 30, 60 or 90, so they can be used first, returned to the supplier or discounted before they become a loss.
