GxP software validation: the complete guide for pharma, labs and life sciences
GxP software validation explained: which rules apply, GAMP 5 categories, the validation life cycle, Part 11 and Annex 11 controls, and what QA signs off.
- GxP software validation is documented evidence that a computerised system is fit for its intended use and stays that way.
- Part 11 and Annex 11 say what regulators expect; GAMP 5 is the widely used method for meeting it; CSA shapes how much testing each feature needs.
- The effort follows risk: what can affect patient safety, product quality or data integrity gets the deepest specification and testing.
- A supplier can write and execute much of the work, but approving the validation and releasing the system stays with the regulated company’s QA.
GxP software validation is the documented proof that a computerised system used in regulated pharma, lab or clinical work does what it is meant to do, reliably, and keeps its records trustworthy. You plan it, write testable requirements, assess risk, test in proportion to that risk, and keep the system under control until it is retired.
This guide is the hub for our regulated-software articles. It explains the regulations in plain language, walks through the life cycle from intended use to the validation summary report, and points to a deeper guide for each step.
What “GxP validation” actually means
GxP is shorthand for the “good practice” rules in life sciences: Good Manufacturing Practice (GMP), Good Laboratory Practice (GLP), Good Clinical Practice (GCP), Good Distribution Practice (GDP) and Good Pharmacovigilance Practice (GVP). Each of them expects the records behind a decision — a batch release, a stability result, a safety report — to be accurate, complete and attributable.
Once those records live in software, the software becomes part of the quality system. Validation is how you show it can be trusted. It answers three questions an inspector will ask:
- Intended use: what does the system do in your process, and which records does it create or hold?
- Fitness: where is the evidence that it does that correctly, including when users make mistakes?
- Control: how do you know it is still in that state today, after patches, configuration changes and staff turnover?
Validation is not a one-off test phase or a certificate from the vendor. It is a life cycle that starts before you build or buy and ends when the last record has been migrated or archived.
The regulations and guidance, side by side
Most confusion comes from mixing up law and guidance. Regulations say what must be true; industry guidance describes how companies usually get there.
| Document | Type | What it covers |
|---|---|---|
| 21 CFR Part 11 (US FDA) | Regulation | Electronic records and signatures: validation, audit trails, access and signature controls |
| 21 CFR 211.68 (US FDA) | Regulation | GMP rule for automatic and electronic equipment, including checks on inputs and outputs |
| EU GMP Annex 11 | EU GMP guideline | Computerised systems across the life cycle: risk, suppliers, validation, data, audit trails, change control |
| PIC/S PI 011 | Inspector guidance | How inspectors approach computerised systems in GxP environments |
| ISPE GAMP 5 (2nd edition, 2022) | Industry guidance | A risk-based method for specifying, verifying and operating GxP systems |
| FDA Computer Software Assurance | FDA guidance | Risk-based assurance for production and quality system software (medical devices) |
| Revised Schedule M (India) | Regulation | Indian GMP, revised in December 2023 and aligned more closely with WHO and PIC/S, including computerised systems |
If you export to the US, Part 11 applies to the records your predicate rules require. If you supply the EU or work with PIC/S inspectorates, Annex 11 is the reference; our EU Annex 11 guide walks through its sections. Diagnostic labs are usually assessed against ISO 15189 and NABL instead, covered in our guide to NABL and ISO 15189 software requirements.
Which systems need validating
Start with a GxP impact assessment for each system rather than a blanket rule. A system needs validating when it creates, changes, stores or uses records that a GxP rule requires, or when it controls a process that affects product quality or patient safety. Typical examples:
- LIMS and chromatography data systems in QC and R&D labs.
- Quality management systems for deviations, CAPA, change control and training.
- Pharmacovigilance safety databases and case-processing tools.
- Manufacturing execution, batch record and warehouse systems.
- ERP modules that hold batch status, quarantine or release decisions.
- Document management for SOPs and controlled records.
- Spreadsheets and small tools that perform GxP calculations.
Many real systems mix types. A configured LIMS with a custom instrument interface is part GAMP 5 Category 4 and part Category 5; our explainer on GAMP 5 Category 4 vs Category 5 shows how that changes the work.
The validation life cycle, step by step
Whatever the system, the life cycle follows the same logic. The GAMP 5 validation guide covers the V-model in detail; here is the short version.
- Define the intended use and GxP impact. Which process, which records, which users.
- Write the validation plan. Scope, approach, roles, deliverables and acceptance criteria.
- Write the user requirements (URS). Testable statements, each with an ID. Our LIMS URS template is a practical starting point.
- Assess the supplier and the risks. Decide what you can rely on and where testing must go deeper.
- Specify the design or configuration. Functional, design and configuration specifications as the category demands.
- Verify. Installation, operational and performance testing (IQ/OQ/PQ) in proportion to risk.
- Trace and report. A traceability matrix and a validation summary report support the release decision.
- Operate under control. Change control, incident management, periodic review, backup and, finally, retirement.
Together these documents form the validation package an auditor asks to see.
Data integrity: the controls inspectors test first
Data-integrity guidance from FDA, MHRA, WHO and PIC/S uses the ALCOA+ idea: records must be attributable, legible, contemporaneous, original and accurate, and also complete, consistent, enduring and available. In software, that turns into a short list of controls:
- Unique user accounts and role-based access, with no shared logins.
- A secure, computer-generated audit trail that keeps old values and reasons for change; see Part 11 audit trail requirements.
- Electronic signatures that show name, date, time and meaning, and stay linked to the record.
- Calculations inside the validated system, not in uncontrolled spreadsheets.
- Backups that are restored and checked, not only taken.
Our Part 11 checklist for LIMS turns each clause into a control you can check.
Risk-based effort: from CSV to CSA
Traditional computer system validation often meant scripted tests and screenshots for every screen. GAMP 5’s second edition and FDA’s Computer Software Assurance guidance both push the other way: think critically, test hardest where failure could harm patients or product, and use lighter, unscripted testing where risk is low. The difference is explained in CSV vs CSA.
Risk-based does not mean less rigorous. Audit trails, e-signatures, release calculations and anything that decides whether a batch or a patient result goes out are high risk almost everywhere, and get scripted tests with objective evidence.
Deeper guides by system
Each system type has its own questions. These guides go one level deeper:
| System | Start with | Then read |
|---|---|---|
| LIMS (choosing) | Custom vs off-the-shelf LIMS | LIMS development cost in India |
| LIMS (rolling out) | LIMS implementation checklist | LIMS URS template |
| Diagnostic lab software | NABL and ISO 15189 requirements | Part 11 checklist |
| Pharmacovigilance | E2B(R3) explained | PV software: build vs buy |
| Any GxP system | What is a validation package? | GAMP 5 Category 4 vs 5 |
Who does what: supplier, regulated company and QA
A good supplier does a lot of the work: a quality system for development, specifications, test scripts, executed testing in its own environment and a draft summary report. The regulated company still owns the decision. Its QA approves the plan and the URS, reviews evidence, executes or witnesses the testing it requires, and signs the summary report that releases the system for GxP use.
That split is how we work. We build regulated systems and write the validation deliverables alongside the code, and your QA reviews and signs off. For an existing system, our computer system validation service covers the documents from URS to summary report. Teams who want to do it in-house can learn the method in our Software Validation course.
Frequently asked questions
What is GxP software validation?
It is documented evidence that a computerised system used in GxP work, such as manufacturing, lab testing, clinical trials or pharmacovigilance, does what it is intended to do, protects its records and stays under control throughout its life.
Is GAMP 5 a regulation?
No. GAMP 5 is industry guidance published by ISPE. Regulations such as 21 CFR Part 11 and EU GMP Annex 11 require validated systems, and GAMP 5 is a widely recognised method for doing that validation.
Which software needs GxP validation?
Any system that creates, changes, stores or uses records required by a GxP rule, or controls a process that affects product quality or patient safety. A GxP impact assessment decides this system by system.
Can the software vendor validate the system for us?
A vendor can write specifications and test scripts, run testing and draft the summary report. Approving the validation and releasing the system for GxP use remain the regulated company’s responsibility, through its QA.
How is CSA different from CSV?
CSA is FDA’s risk-based approach to software assurance. It keeps the goal of CSV but focuses scripted testing on high-risk features and allows unscripted testing and leaner records where risk is lower.
Does validation end at go-live?
No. Change control, incident management, periodic review, backup and restore testing and a retirement plan keep the system in a validated state for as long as it is used.