GAMP 5 Category 4 vs 5: how to decide
Few classification questions cause as much debate in validation meetings as “is this Category 4 or 5?”. The short answer from GAMP® 5 Second Edition is that the question is often asked at the wrong level.
The categories in the Second Edition
GAMP 5 Second Edition names the software categories as infrastructure software, tools and IT services (Category 1), standard system components (Category 3), configured components (Category 4) and custom applications and components (Category 5). Category 2 is not used. Note the word components: the guide applies categories to the parts that make up a system, not to the system as a whole.
The guide also says that computerized systems are generally a combination of components from different categories, that categories 3 to 5 should be viewed as a continuum, and that the category is just one factor in a risk-based approach. Life cycle activities should be scaled on the overall GxP impact, complexity and novelty of the system.
Categorize components, not systems
A typical LIMS, MES or eQMS is not “a Category 4 system”. Its hosting and database are infrastructure, its configured workflows and roles are Category 4, and a custom report written in code or an interface script to your ERP may be Category 5. According to ISPE, the guide recommends whole-system categorization only to help define the approach to supplier assessment.
The deciding question
As summarized in ISPE’s Pharmaceutical Engineering magazine, the Second Edition groups components by asking what complexity of activity has to be done to create the component for this specific application. In practice, three questions settle most cases:
- Did anyone write new logic? Code, scripts, macros, stored procedures or calculations that did not exist in the product point to Category 5 for that component.
- Or were existing functions set up? Parameters, workflows, user roles, limits, templates and forms built with the product’s own tools point to Category 4.
- Is a built-in scripting language involved? If the product offers a scripting or formula language and you used it to create new behaviour, treat that piece as custom, even inside a configurable product.
Examples
- A document management workflow with approval steps and roles defined in settings: Category 4.
- The same system with a script that calculates review due dates from a custom rule: the workflow stays Category 4, the script is Category 5.
- A spreadsheet that only records readings with standard functions usually needs little effort. FDA’s CSA guidance gives a similar example, and notes that custom formulas used directly in production or the quality system may need additional validation.
- A bespoke interface that moves batch data between systems: Category 5, and often high risk, because data integrity depends on it.
What the choice changes
For a configured component, the focus is usually on verifying your configuration against your requirements and leveraging the supplier’s testing of the standard product. For a custom component, you typically add design review, code review and more testing of the logic itself, because no other user has exercised it.
But the category alone does not set the effort. ISPE notes that a very complex configured component can be more likely to contain residual defects than a very simple custom one. Combine the category with the risk of each function: a Category 5 script that only formats a report header may need little, while a Category 4 setting that decides whether a batch is released may need rigorous testing.
Common mistakes
- Declaring a whole platform Category 4 so that the custom parts escape scrutiny.
- Declaring everything Category 5 “to be safe”, which spreads effort thinly instead of focusing it.
- Copying the category from a supplier’s brochure without looking at what you actually configured or built.
A defensible record
For each significant component, write down its category, the reason in one sentence and how it influenced the assurance activities. That short rationale is what a reviewer or inspector will want to see, and it is more convincing than a single label on the cover page.
Try it on your own system
ValidaFast turns these steps into a draft risk classification and a proportional validation plan, in your browser. The free tool needs no account, and nothing you type is uploaded.
Human review required. This article is general guidance, not legal or regulatory advice. Check the current version of each source, and have qualified personnel under your quality system make and approve the final validation decisions.
Sources
- ISPE GAMP® 5: A Risk-Based Approach to Compliant GxP Computerized Systems (Second Edition), July 2022.
- K. Ashworth, When Is a Category Not a Category?, Pharmaceutical Engineering (ISPE), January/February 2026.
- S. Wyn, C. Clark, What You Need to Know About GAMP® 5 Guide, 2nd Edition, Pharmaceutical Engineering (ISPE), January/February 2023.
- FDA, Computer Software Assurance for Production and Quality Management System Software, guidance issued 3 February 2026, superseding the version of 24 September 2025. Quotes and summaries in this article refer to the 24 September 2025 text.