Resources

GAMP 5 Category 4 vs 5: how to decide

Published 1 December 2026

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:

  1. 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.
  2. 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.
  3. 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

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

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.

Start a free assessment

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

More resources