Pharmaceutical SOPs

SOP Numbering System: Examples for Pharma Document Control

A solid SOP numbering system is the first requirement of a GMP documentation system: every procedure must be uniquely identifiable. This guide covers the recommended code structure, SOP numbering examples by department and the most common mistakes to avoid in audits.

G GuideGxP 4 min read
✓ Official sources and references ✓ Practical approach ✓ For pharmaceutical professionals
GUIDEGXP · PRACTICAL GMP INSIGHTS
Illustrazione editoriale GuideGxP a colori sul tema GMP: sistema di numerazione e codifica delle SOP nell'archivio documentale di un ufficio qualità farmaceutico.

An SOP numbering system is one of those details that look trivial until an inspection arrives: when the auditor asks "which version of this procedure was effective on the day the disputed batch was made?", a solid codification scheme lets you answer in seconds, while an improvised one opens a finding. A good SOP numbering system ensures that every quality system document is uniquely identifiable, traceable through its revisions and linked to the forms and attachments derived from it. In this article we look at how to structure the code, concrete examples by department and the mistakes that cost you in audits.

Why an SOP numbering system is a GMP requirement

No regulation mandates a specific code format, but the underlying requirement is clear. Chapter 4 of the EU GMP guidelines (EudraLex Volume 4, "Documentation") requires quality system documents to be uniquely identifiable, approved, signed and dated by authorised persons, and kept up to date through periodic review. The same principle appears, in nearly identical wording, in Chapter 4 of the PIC/S Guide to GMP (PE 009), applied by authorities in more than 50 countries. The WHO data integrity guidelines add an operational layer: the issuance and distribution of master documents and blank record forms must also be controlled, to prevent obsolete versions or untracked copies from circulating.

In practice, unique identification is the prerequisite for everything else. Without a reliable code there is no working document change control, no meaningful training records (which version was the operator trained on?), no periodic review and no historical reconstruction during inspections and investigations.

Anatomy of an SOP code: the recommended structure

The most common and robust structure combines a few elements, always in the same order:

  1. Document type — a prefix that distinguishes categories: SOP (procedure), POL (policy), WI (work instruction), FRM (form), LOG (logbook).
  2. Area or process — 2-4 letters identifying the department or process that owns the document: QA, QC, PRD, ENG, LOG.
  3. Sequential number — three digits assigned in sequence by document control (001, 002, …), with no hidden meanings.
  4. Version — stated separately from the code (e.g. "v03" or "Rev. 03"), with a defined effective date.

The result is an identifier such as SOP-QA-012 v03: readable, sortable, stable over time. The golden rule is that the code identifies the document for its whole life, while the version captures its state: at each revision only the version changes, never the number.

Topics like this one — documentation, audit readiness and quality systems that actually work — are the bread and butter of The Pragmatic GMP, our free weekly newsletter: one concrete method a week, straight to your inbox. Subscribe here.

SOP numbering examples by department

Here is a starting scheme that fits most pharmaceutical operations, from manufacturing sites to contract laboratories:

AreaPrefixCode exampleTypical documents
Quality AssuranceQASOP-QA-001Deviation management, CAPA, change control, self-inspection
Quality ControlQCSOP-QC-014Sampling, OOS/OOT handling, instrument use
ProductionPRDSOP-PRD-023Gowning, line clearance, equipment operation
Engineering & maintenanceENGSOP-ENG-007Preventive maintenance, calibration, utilities management
Warehouse & logisticsLOGSOP-LOG-005Goods receipt, storage, shipping
Linked formsFRMFRM-QA-001-01Record form referenced by the parent SOP

For forms, the most traceable choice is to tie the form code to the SOP that references it (FRM-QA-001-01 is the first form of SOP-QA-001): in an audit, the link between instruction and record is evident without separate cross-reference matrices.

Versioning, effective dates and obsolete documents

The code alone is not enough: you need consistent version management. Inspectors most often check four points. First, every version must have distinct approval and effective dates, with enough time in between to train personnel. Second, revision history must be reconstructable: a revision table in the document (or the audit trail of the electronic document management system) must state what changed and why. Third, obsolete copies must be withdrawn and archived as such: a superseded SOP found on the shop floor is among the most frequent findings. Fourth, if paper and electronic documents coexist, the numbering system must be a single one: parallel double codes between paper archive and eQMS create exactly the ambiguity Chapter 4 is meant to prevent.

A note on electronic document management systems: many eQMS platforms automatically assign an internal identifier to documents. That is fine, as long as that identifier is the official one cited in training, batch records and investigations — or as long as the "human" code remains the single reference and the system ID stays a technical detail. Decide this explicitly in your document management SOP, before migration: changing convention mid-flight means manually reconciling hundreds of cross-references.

The most common mistakes (and how to avoid them)

  • Overly clever "smart" codes — packing the year, edition, site and process into the number makes it fragile: one reorganisation is enough to make it inconsistent. Prefer a neutral sequential number and a well-kept document index.
  • Reusing numbers — the code of a retired SOP must never be reassigned to a new document: it would destroy the historical traceability of deviations, batch records and training files citing that code.
  • Coding based on the org chart — if the prefix reflects the department name rather than the process, every corporate reorganisation forces you to recode dozens of documents. Processes are more stable than structures.
  • Uncontrolled forms and attachments — photocopied forms modified locally with no code or version are among the most frequent causes of data integrity findings.
  • No procedure on the procedure — the numbering system must itself be described in an SOP (the classic "SOP on SOPs") defining prefixes, format, document control responsibilities and exception handling.

GuideGxP recommendation

If you are building or overhauling your documentation system, start simple: a short "SOP on SOPs", prefixes by document type and process, a three-digit sequential number, version kept separate from the code. Test the scheme on three real departments before rolling it out site-wide, and immediately list existing documents in a single index with status (effective, under revision, obsolete): it is the first document an inspector asks for. Resist the temptation to encode everything that can be encoded — every piece of information in the code is a constraint you will carry for years.

On GuideGxP you will find operational manuals, templates and checklists already built with this audit-ready logic, ready to adapt to your quality system: browse our catalogue of ready-to-use GxP manuals and templates.

Official sources

THE PRAGMATIC GMP · EVERY MONDAY

The GMP topics that matter, in 7 minutes.

One GMP topic, one real-world example and one practical action, based on official sources and inspection trends.
Discover The Pragmatic GMP →