GAMP 5 and the V-model have guided computerized system validation in the pharmaceutical industry for almost two decades. With the GAMP 5 Second Edition (ISPE, July 2022), the model was not abandoned: it was made more flexible and integrated with critical thinking, Agile approaches and FDA's Computer Software Assurance (CSA). In this practical guide we look at how to apply the V-model to a real CSV project — from the Validation Plan to release — without producing useless documentation, and arriving at the audit with defensible evidence.
GAMP 5 and the V-model: what they are and why they remain the standard
GAMP 5 ("A Risk-Based Approach to Compliant GxP Computerized Systems") is the ISPE reference guideline for validating GxP computerized systems. It is not law, but it is the framework that EMA, FDA and PIC/S inspectors expect to find in practice, consistent with EU GMP Annex 11 and 21 CFR Part 11.
The V-model is the graphical representation of its core principle: every specification must have a corresponding verification. The left side of the "V" descends through specifications (user requirements, functional specifications, configuration or design specifications); the right side ascends through verification (IQ, OQ, PQ or their risk-based equivalents). The apex is the build of the system. If a requirement is not verified by any test, or a test cannot be traced back to any requirement, the "V" is broken — and that is exactly what a Traceability Matrix must reveal before an inspector does.
GAMP 5 software categories: calibrating the effort
The V-model is not applied with the same depth to every system. GAMP 5 classifies software into categories, and the category — together with the risk assessment — determines how "wide" the V is: which specifications are really needed and how much documented verification is proportionate.
| GAMP 5 category | Description | Typical validation approach |
|---|---|---|
| Category 1 — Infrastructure | Operating systems, databases, middleware | Infrastructure qualification and version control |
| Category 3 — Non-configured products | Commercial software used "as is" | URS, installation verification and testing against requirements for use |
| Category 4 — Configured products | LIMS, MES, EDMS, ERP configured on the process | Full V-model focused on configuration and critical workflows |
| Category 5 — Custom applications | Bespoke code (including complex macros and spreadsheets) | Full V-model extended to code design and verification |
The Second Edition encourages using the categories as the starting point of reasoning, not as a bureaucratic label: a Category 3 system with direct impact on batch release may deserve more attention than a low-risk Category 4.
If you work in QA, IT or Validation and want a weekly dose of pragmatic approaches to GxP compliance — from CSV to data integrity — subscribe to The Pragmatic GMP, GuideGxP's free weekly newsletter: one operational topic every week, zero theory for its own sake.
The left side of the V: planning and specifications
Everything starts with the Validation Plan, which defines scope, roles (Business/Process Owner, IT, QA, supplier) and strategy. Even before that, two assessments set the course:
- GxP Assessment: does the system impact product quality, patient safety or data integrity? Only if the answer is yes does the system enter the validation scope.
- Risk Assessment: identifies the critical functions (calculations, electronic signatures, audit trail, interfaces) where detailed specifications and rigorous testing are focused, leaving lighter verification — including unscripted testing — for low-risk functions.
Then come the specifications, proportionate to the system category:
- URS (User Requirements Specification): specific, measurable, verifiable requirements. Always include data integrity requirements (audit trail, backup and restore, time synchronization) and security requirements (access management, password policy): they are the first things an inspector looks for in the matrix.
- Functional and configuration specifications: describe how the system meets the requirements. For configured commercial products, the configuration specification documents the choices made for the process; supplier documentation, if assessed through a supplier assessment, can be leveraged instead of rewritten.
The right side of the V: verification with IQ, OQ and PQ
Here the V ascends: each level of verification answers a level of specification.
- IQ (Installation Qualification): is the system installed as specified? Versions, components, separate environments (development, test, production), physical and logical protection of the infrastructure.
- OQ (Operational Qualification): do the functions operate as specified? This is the time for testing critical functions, negative testing (wrong inputs, network interruptions, unauthorized access attempts) and audit trail verification.
- PQ (Performance Qualification): does the system hold up in the real process? Trained users, representative data, end-to-end flows: this is where validation meets operational life, often as User Acceptance Testing.
GAMP 5 Second Edition explicitly legitimizes mixed testing strategies: scripted testing for high-risk functions, unscripted and exploratory testing documented in summary form for the rest. The goal is evidence of fitness for intended use, not the binder.
Traceability Matrix and test deviations
The Traceability Matrix links requirement → specification → test case → result. It is the tool that demonstrates coverage during an inspection: without it, you cannot prove you tested everything you declared critical. Keep it alive at every change control, not only at initial validation.
When a test fails, the temptation is to fix and re-run quietly: a mistake. Open a test deviation, investigate the cause (system defect, script error, tester error), correct and re-execute while documenting everything. Well-managed deviations are evidence of process control, not a weakness.
Critical thinking, CSA and where the V-model is heading
The regulatory context is moving in the same direction as GAMP 5. In September 2025 the FDA finalized the guidance Computer Software Assurance for Production and Quality System Software, which promotes a risk-based approach to assurance activities, with testing proportionate to risk and less emphasis on documentation for its own sake. In Europe, the revision of EU GMP Annex 11 — in draft since 2025 — strengthens requirements on data integrity, access management and supplier control. The V-model remains the backbone: the amount of paper changes, not the specification-verification logic.
Common mistakes and how to avoid them
- Testing only the happy path: always include negative tests and edge cases on critical functions.
- URS written after configuration: requirements that are a "photocopy" of the system already installed turn validation into a circular exercise. Write the URS first, even in lean form.
- Rewriting what the supplier has already tested: with a positive supplier assessment, leverage the supplier's documentation and focus your testing on configuration and process.
- Validate and forget: without periodic review and change control, the validated state erodes with every update.
GuideGxP recommendation
Design your V to fit the risk: a Validation Plan of few but honest pages on scope, a URS with explicit data integrity requirements, rigorous testing where risk is high and lean testing where it is low, an always up-to-date Traceability Matrix, and a Validation Report that clearly states fitness for intended use. In an audit, the winner is the one who can explain why they tested what they tested — and why not the rest.
To start from a ready-made structure, GuideGxP's Operational Guide to Computer System Validation (CSV) in the GxP Environment includes 175 operational pages and Excel and Word templates for the Validation Plan, URS, Risk Assessment, IQ/OQ/PQ protocols and Traceability Matrix, already aligned with GAMP 5 Second Edition and the new Annex 11/CSA landscape.