Pharmaceutical SOPs

Pharmacy SOPs: Structure, Templates and Required Procedures

Pharmacy SOPs are the backbone of the compounding lab's quality system. A practical guide to structuring a well-written standard operating procedure, the minimum set of SOPs every pharmacy needs and the mistakes to avoid, with references to Italian NBP, Spain's RD 175/2001 and PIC/S PE 010.

G GuideGxP 5 min read
✓ Official sources and references ✓ Practical approach ✓ For pharmaceutical professionals
GUIDEGXP · PRACTICAL GMP INSIGHTS
Illustrazione editoriale GuideGxP a colori sul tema GMP: procedure operative nel laboratorio galenico di farmacia.

Pharmacy SOPs (standard operating procedures) are the documents that describe, step by step, how the compounding laboratory carries out its work: from cleaning the premises to preparing an extemporaneous formulation, from checking raw materials to labelling the finished preparation. They are not bureaucratic box-ticking: they are how the pharmacist demonstrates — to an inspector, to an auditor, to themselves — that every preparation was made under controlled, reproducible conditions. In this article we look at when written procedures are mandatory, how a well-written SOP is structured and which procedures no pharmacy compounding lab can do without.

What pharmacy SOPs are and when they are mandatory

A standard operating procedure is a written, approved and dated instruction that defines who does what, how, with which equipment and with which records. In the pharmacy setting — community or hospital — SOPs are the heart of the quality assurance system required by national compounding standards such as Italy's Norme di Buona Preparazione (NBP) published in the Farmacopea Ufficiale, which apply to magistral and officinal preparations made in the pharmacy.

The principle is the same one that governs SOPs in the pharmaceutical industry: what is not written down cannot be demonstrated. The difference lies in scale and proportionality. For non-sterile officinal preparations made on a small scale and for non-sterile magistral preparations, Italy's Ministerial Decree of 22 June 2005 allows simplified preparation arrangements as an alternative to full application of the NBP; for more delicate preparations, starting with sterile ones, full application remains mandatory. In both cases, written procedures are required: what changes is the level of detail, not the obligation to document.

The regulatory framework: NBP, RD 175/2001 and PIC/S PE 010

Anyone working in an international context will recognise the same architecture across Europe:

  • Italy — the NBP of the Farmacopea Ufficiale define quality management, personnel, premises, documentation, raw materials, controls and traceability for every preparation.
  • Spain — Real Decreto 175/2001 approves the normas de correcta elaboración y control de calidad for magistral formulas and officinal preparations: it requires written preparation and control procedures and recorded periodic self-inspections to assess how well they are applied.
  • International level — the PIC/S guide PE 010-4 (Guide to Good Practices for the Preparation of Medicinal Products in Healthcare Establishments) transposes GMP principles to preparation in healthcare settings, and Council of Europe Resolution CM/Res(2016)1 sets quality and safety requirements for medicinal products prepared in pharmacies for the special needs of patients.

The convergence is clear: everywhere, pharmacy preparation is legitimate and valuable precisely because it comes with a proportionate but rigorous documentation system.

If you work in compounding, quality or compliance and want practical content like this every week — requirements explained well, checklists and real cases — subscribe to The Pragmatic GMP, GuideGxP's free weekly newsletter.

The structure of a well-written SOP

An effective procedure has a fixed structure that makes it readable and verifiable. The outline below works for the pharmacy just as it does for industry:

  1. Header: title, identification code, revision number, issue date and effective date.
  2. Purpose: why the procedure exists and what outcome it guarantees.
  3. Scope: which activities, rooms, equipment or preparations it applies to (and what is excluded).
  4. Responsibilities: who performs, who checks, who approves. Under the NBP, responsibility for the preparation stays with the pharmacist, even when simple, repetitive operations are delegated to technical staff.
  5. Operational description: the steps in sequence, written in the imperative, with measurable parameters (quantities, times, temperatures) rather than vague wording.
  6. Records: which forms or worksheets are completed, who signs them and where they are filed.
  7. References and attachments: applicable standards, related instructions, form templates.
  8. Revision history: what changed from the previous version and why.

Two details make the difference during an inspection: every page must carry the code, revision and "page X of Y" numbering, and superseded copies must be removed from the lab and kept only in the historical archive.

The SOPs no pharmacy compounding lab can do without

The exact list depends on each pharmacy's activity (non-sterile magistral only, small-scale officinal, sterile preparation in hospital pharmacy), but a minimum set recurs everywhere:

AreaProcedureWhat it must cover
Premises and equipmentCleaning and sanitisation of the laboratoryFrequencies, products used, record of completed cleaning
InstrumentsChecking and calibrating balances and measuring devicesPeriodic checks, acceptance criteria, handling of a non-conforming instrument
Raw materialsReceipt, checking and storageVerification of certificates of analysis, internal numbering, storage conditions and expiry dates
PreparationCompounding of magistral and officinal preparationsWorksheet, in-process controls, assignment of the internal batch number
Control and releaseFinal checks and acceptance of the preparationChecks required per dosage form, conformity criteria, signature of the responsible pharmacist
LabellingPackaging and labelMandatory label content, use-by date, warnings
Non-conformitiesHandling deviations, returns and complaintsRecording the anomaly, impact assessment, corrective actions
PersonnelTraining and qualificationInitial and periodic training, records of training activities
DocumentationDocument management and archivingIssue, revision, distribution of procedures and retention periods for records

In Spain, RD 175/2001 organises the same set by chapter — personnel, premises and utillaje, documentation, raw materials and packaging materials, preparation, dispensing — and is an excellent reference for anyone wanting to self-assess the completeness of their documentation system.

Typical mistakes to avoid

  • Photocopied procedures from generic templates never adapted: they describe a lab that is not yours, and inspectors spot it immediately.
  • Unworkable instructions: if the procedure prescribes a check nobody actually performs, the problem is not the operator but the document.
  • Retrospective records: a worksheet completed from memory at the end of the day defeats the traceability that compounding standards put at the centre.
  • Revisions frozen for years: a procedure dated ten years ago, with outdated regulatory references, signals a dormant quality system.
  • No self-inspection: without periodic, recorded internal checks, there is no way to demonstrate that procedures are applied.

GuideGxP recommendation

Start from a map: list your lab's actual activities and check that each one is covered by an up-to-date, approved procedure known to the people who apply it. Write little but true: a two-page procedure applied every day is worth more than a fifty-page manual nobody opens. Plan a revision cycle (for example every two years, or at every relevant regulatory change) and at least one documented self-inspection per year. Finally, make the worksheet the pivot of the system: if from that document you can reconstruct raw materials, quantities, operator, checks and outcome for every preparation, your documentation system is working.

On GuideGxP you will find ready-to-use GxP manuals and templates, written for people who work with pharmaceutical quality and compliance every day: browse the full catalogue.

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 →