Industry Guide 9 min read

Pharma warehouse management — batch tracking and compliance

In pharma, the batch is the unit of everything — quality, risk, recall and regulation. How a WMS keeps every batch identified, rotated, quarantined and traceable from gate-in to dispatch.

Vidya Kathare · July 18, 2026 9 min read Industries
The life of a pharma batch
Batch + expiry at GRNIdentity fixed at the door
Mandatory
Quarantine on arrivalHeld until QC release
Status: H
FEFO pickingEarliest expiry leaves first
Scan-enforced
Batch-wise dispatchWhich customer got which batch
Recorded
Audit trailEvery movement, user, timestamp
Complete

What pharma warehouse management means

Pharma warehouse management is the control of medicines and pharmaceutical materials in storage and distribution, where every unit must carry a batch identity, be tracked against its expiry date, be stored under the correct conditions, and remain fully traceable from receipt to dispatch. It adds four non-negotiables to ordinary warehousing: batch/lot tracking on every movement, FEFO rotation so the earliest-expiring stock leaves first, quarantine control for stock that is not released for sale, and an audit trail that can reconstruct the history of any batch on demand.

What makes pharma different from every other warehouse category is the cost of a single failure. A wrong dispatch in FMCG is a returned carton. In pharma, an expired strip reaching a patient, or a recalled batch that cannot be traced to its customers, is a regulatory event, a licence risk and a genuine safety issue. Pharma warehousing is therefore designed backwards from the worst case: assume you will one day need to prove exactly where a specific batch went — and build every daily process so that proof already exists.

Every other warehouse optimises for speed and cost. A pharma warehouse optimises for the question it hopes never to be asked: "where exactly did batch X go?"
Pillar 01

Batch tracking — the identity of every unit

In pharma, the batch (or lot) is the unit of quality and the unit of risk. Regulators approve batches, quality failures happen to batches, recalls target batches. So the first law of a pharma warehouse is: no anonymous stock. Every carton on every rack must be attributable to a specific batch, with its manufacturing and expiry dates known to the system — not written on a register that lives in a drawer.

In a WMS this identity is fixed at goods receipt: the operator cannot confirm a GRN without capturing the batch number, manufacturing date and expiry date, and the received stock is labelled with a scannable identity that carries the batch for its whole life in the warehouse. In Fast WMS, each received pallet or carton group becomes a uniquely numbered, barcode-labelled lot holding its batch (LPN), production date and expiry date — so every later movement is a scan against that identity, never a retyped batch number.

Two everyday consequences follow. First, the same product in two batches is two different stocks — stored, counted and picked separately, which is exactly what a drug inspector expects to see. Second, batch-wise stock reports become possible: how much of batch X remains, in which bins, at any moment.

Pillar 02

Expiry and FEFO discipline

Everything in a pharma warehouse expires, and expired stock is not merely a write-off — dispatching it is a compliance breach. The rotation rule is therefore FEFO — first-expiry-first-out — not FIFO: a batch received later can expire earlier, and expiry is the date that matters. (The distinction, and where each applies, is covered in FEFO in Indian warehouses.)

Enforcement works in two layers, both at the barcode scan. At picking, the pick list offers only the earliest-expiry eligible batch, and scanning any other batch — even of the correct product — is rejected. At dispatch, the load is validated again before it leaves, catching anything that bypassed the pick under time pressure. Between the two layers, an expired or wrong-rotation strip has no confirmed path out of the building.

Prevention runs upstream of enforcement: the lot expiry dashboard buckets every batch by time-to-expiry, so short-dated stock is flagged months ahead — while it can still be sold through faster channels or returned to the supplier under a saleable-return arrangement, rather than becoming an expiry-return dispute later.

💊 Indian trade reality: Expiry returns ("breakage & expiry") are a chronic margin leak across Indian pharma distribution — stockists and CFAs carry the working-capital pain of expired saleable stock. FEFO enforced by scan, plus a weekly short-dated review, attacks the problem at its source: stock stops ageing silently in the racks.
Pillar 03

Quarantine, hold and release

A pharma warehouse always contains stock that must not be sold: consignments awaiting quality release, batches under complaint or market investigation, recalled goods awaiting return to the manufacturer, expired stock awaiting documented destruction, and temperature-excursion suspects. Good practice — and every audit checklist — requires these to be segregated and controlled.

The manual version of quarantine is a marked area of the floor and everyone's good intentions. The WMS version is a status: a batch or pallet placed on hold is invisible to pick lists, cannot be allocated to any order, and cannot be dispatched — the scans simply refuse. Release is an explicit, recorded action by an authorised user; both the hold and the release land in the audit trail with user and timestamp. Damage and destruction states are equally explicit, so expired stock leaves the books through a documented disposal, not a quiet adjustment.

The same status machinery covers the receiving side: material can arrive into quarantine by default and only enter saleable stock on QC release — mirroring how GDP-compliant pharma receiving is supposed to work.

See batch control working end to end

Batch capture at GRN, FEFO picking, quarantine holds and the batch trace report — the Pharma configuration of Fast WMS.

Explore Pharma WMS
Pillar 04

The audit trail — proving what happened

Pharma compliance is ultimately about evidence. A drug inspector, a principal's auditor or a customer's quality team does not ask whether you intend to rotate stock correctly — they ask you to demonstrate what happened to a specific batch on specific dates. That demands an audit trail with three properties:

Completeness. Every movement — receipt, put-away, transfer, pick, dispatch, hold, release, adjustment — is recorded, with no off-system side doors. In a scan-driven WMS this happens naturally, because the scan is the transaction; there is no separate "writing it down" step to skip.

Attribution. Every record carries who did it and when. Role-based access means the person who holds a batch and the person who releases it are identifiable — and can be required to be different people.

Permanence. History is append-only: a pallet's location and status history accumulates; it is never overwritten. You can ask where batch X was on any past date and get an answer, which is precisely the question recalls and investigations ask.

The practical payoff is audit speed. When the evidence is a query rather than a stack of registers, an inspection that would have taken days of preparation becomes a report printed while the auditor waits.

Pillar 05

Recall readiness

A recall is where all four pillars are tested at once, under time pressure. The moment a batch is recalled — by the manufacturer, or by a regulator — the warehouse must answer three questions fast: How much of the batch do we still hold, and where? Which customers received the rest, on which invoices and dates? And can we prove the remaining stock is now blocked?

With batch-tracked, scan-recorded stock, the sequence takes minutes: the batch trace report lists remaining quantities by bin; a hold status blocks them from any dispatch; and the batch-wise dispatch history produces the customer list that drives the recall communication. Every step is itself logged — so the recall response is documented as it happens, which is what the post-recall review will ask for.

Illustrative example — representative of Fast WMS pharma-trade deployments

Pharma distribution warehouse, Western India

A pharmaceutical distribution operation handling several thousand SKUs ran batch records in registers and Excel. A manufacturer-initiated batch recall took the team nearly three days of challan archaeology to establish which stockists had received the batch — with the remaining stock frozen by taping off a rack. After implementing batch-tracked operations in Fast WMS, the same exercise is a report: remaining stock of any batch by bin in seconds, a system-enforced hold in one action, and the customer-wise dispatch list for the batch generated in minutes. Expiry management moved from an annual stock-take shock to a weekly dashboard review.

3 days → min
batch trace for a recall
100%
movements batch-attributed by scan
Weekly
short-dated stock review
Context

Serialisation and where regulation is going

Beyond batch-level control, pharma regulation worldwide is moving toward unit-level identification — serial numbers or QR codes on individual packs, so any pack can be verified and traced. India has been part of this shift for years: exported pharmaceuticals carry track-and-trace serialisation requirements, and barcode/QR-code identification has been mandated on top-selling domestic brands, with the coverage direction clearly expanding rather than contracting.

For warehouse operators, the practical takeaway is not to predict the exact next notification — it is that scan discipline is the foundation serialisation builds on. A warehouse already scanning batches at receipt, picking and dispatch has the workflows, hardware habits and data structures in place; adding deeper identifiers extends the same discipline. A warehouse still running on registers faces both transitions at once.

Temperature-controlled pharma adds one more dimension — chiller-zone storage and cold-chain discipline — which is covered in the companion guide, Cold storage warehouse management.

What to look for in a pharma WMS

Evaluating a WMS for pharma storage or distribution, test these capabilities explicitly:

CapabilityWhy pharma needs itWhat to check in the demo
Mandatory batch + expiry at GRNNo anonymous stock — identity must be fixed at the doorTry to receive without a batch or expiry — it must refuse
Scan-enforced FEFOExpired or wrong-rotation dispatch is a compliance breachScan a later-expiry batch against a pick — it must reject
Quarantine / hold / release statusesUnreleased, recalled and expired stock must be system-blockedHold a batch, attempt to dispatch it, then release with a logged user
Batch trace reportRecalls need remaining-stock and customer-wise dispatch answers in minutesTrace one batch end to end, including past bin locations
Append-only audit trailInspections demand who-did-what-when, uneditedView the movement history of a pallet including holds
Expiry dashboardShort-dated stock must surface months before it expiresBucket stock by time-to-expiry and filter one product
Role-based accessHold/release and adjustments need controlled authorityConfirm a picker cannot release a quarantined batch
GST documents + Tally syncIndian pharma trade runs its accounts on TallyDispatch and watch the invoice post via the Tally integration

For the wider foundations — receiving, put-away, picking and dispatch — start with the pillar guide, What is warehouse management?

Part of the Warehouse Management Guide A series of in-depth articles covering warehouse management for Indian businesses.
Back to: What is Warehouse Management?

Frequently asked questions

What is pharma warehouse management?
Pharma warehouse management is the control of medicines and pharmaceutical materials in storage and distribution, where every unit must be identified by batch, tracked against its expiry date, stored under the correct conditions, and fully traceable from receipt to dispatch. It adds four non-negotiables to normal warehousing: batch/lot identity on every movement, first-expiry-first-out (FEFO) rotation, quarantine control for stock that is not released for sale, and an audit trail that can reconstruct the history of any batch for regulators, auditors and recalls.
Why is batch tracking mandatory in a pharma warehouse?
Because in pharma, the batch is the unit of quality and the unit of risk. Regulatory action, quality failures and recalls all happen at batch level — so a warehouse must know exactly which batches it received, where each one is stored, and which customers received which batch. Without batch-level records, a single quality issue forces you to treat every unit of that product as suspect; with them, you isolate and recall precisely the affected batch.
How does FEFO work in a pharma warehouse?
Batch and expiry are captured at goods receipt and attached to the stock's barcode identity. When an order is picked, the system offers only the earliest-expiry eligible batch and rejects a scan of any other batch, so short-dated stock always leaves first. A second validation at dispatch catches anything that slipped through. On top of enforcement, an expiry dashboard buckets stock by time-to-expiry so short-dated batches can be returned to the supplier or liquidated before they expire in the racks.
What is quarantine in a pharma warehouse?
Quarantine is the controlled state for stock that must not be sold or used — newly received material awaiting quality release, batches under complaint or investigation, recalled goods awaiting return, and expired stock awaiting destruction. In a WMS, quarantine is a pallet status, not a floor corner: held stock is invisible to pick lists and cannot be allocated or dispatched until a recorded release, and every hold and release is logged with user and timestamp.
How does a WMS help with a pharma product recall?
A recall is a batch-traceability query: which quantities of the affected batch were received, where is any remaining stock, and which customers received the rest, on which invoices and dates. Because a WMS records every movement of every batch, that answer takes minutes — remaining stock is immediately blocked with a hold status, and the customer-wise dispatch list drives the recall communication. The same query done from paper challans and registers typically takes days, which in a recall is the difference that matters.
Does pharma stock in India need barcodes or serialisation?
The direction of Indian regulation is clearly toward unit-level identification: exported pharmaceuticals have carried track-and-trace serialisation requirements for years, and barcode/QR-code requirements now apply to top-selling domestic brands, with coverage expanding. For the warehouse this means batch-and-barcode discipline is becoming table stakes: a WMS that scans batches at receipt, picking and dispatch keeps your physical operation aligned with wherever the serialisation rules go next.

Batch-proof your warehouse

Batch identity at GRN, scan-enforced FEFO, quarantine control and a recall-ready audit trail — see the Pharma configuration of Fast WMS on your items.

Get a free demo
No commitment. No slides. Your warehouse on screen.