What is IQ OQ PQ?

IQ, OQ, and PQ stand for Installation Qualification, Operational Qualification, and Performance Qualification. Together they form the core of the qualification lifecycle for any automated system installed in a GMP-regulated pharmaceutical environment.

Think of them as three layers of evidence. Each layer proves something increasingly important to the regulator: first that the system was built correctly, then that it works correctly, then that it performs correctly under real production conditions.

Key Principle

Regulators don't audit your engineering skill — they audit your documented evidence. IQ OQ PQ is the structured framework for generating that evidence.

The Three Phases

Before diving into what each protocol contains, it helps to understand the intent behind each one.

Phase 01
IQ
Installation Qualification
Proves the system was installed as designed. Hardware, software, cabling, network — all verified against the design specification.
Phase 02
OQ
Operational Qualification
Proves the system operates correctly across its full functional range — alarms, interlocks, edge cases, failure modes.
Phase 03
PQ
Performance Qualification
Proves the system performs consistently under real production conditions, with actual product or process fluids.
DOC URS DEFINE DOC FDS/HDS DESIGN TEST FAT SUPPLIER PHASE 01 IQ INSTALL VERIFIED PHASE 02 OQ OPERATE VERIFIED PHASE 03 PQ PERFORM VERIFIED CLOSE VSR VALIDATED GAMP 5 VALIDATION LIFECYCLE — DOCUMENT CHAIN OVERVIEW
// THE COMPLETE GAMP 5 DOCUMENT CHAIN — EACH PHASE GATES THE NEXT. NO VSR WITHOUT CLOSED IQ/OQ/PQ.

IQ — Installation Qualification in Detail

The IQ is the first thing you execute on site, typically after Factory Acceptance Testing (FAT) is complete and the system has been physically delivered and installed. Its purpose is simple: confirm that what was designed is what was installed.

For a typical PLC/SCADA system, your IQ protocol will cover:

Common Mistake

Many engineers treat the IQ as a formality and rush through it. Don't. Any deviation logged at IQ stage is much easier to justify than one found during OQ. A missing calibration certificate discovered during IQ is a minor admin issue. The same finding during OQ stops testing until it's resolved.

OQ — Operational Qualification in Detail

The OQ is where most of the testing effort sits. Once installation is confirmed, you now prove that every function of the system works correctly — across its full operational range, including failure modes and alarm conditions.

For a SCADA-based system, OQ test cases typically cover:

OQ PROTOCOL — TEST CASE ANATOMY TEST REF TITLE METHOD EXPECTED ACTUAL VERDICT OQ-041 High Temperature Alarm — Reactor Vessel 01 Inject simulated signal via SCADA SIM_TT_001 above alarm setpoint of 85°C Alarm HH_TT_001 activates ≤5s. Banner visible. Audit trail entry generated with timestamp + user. Alarm activated at t+2.3s. Banner confirmed. Audit trail entry: 14:22:07 / eng.smith / acknowledged. TEST PASS QA SIGN-OFF REQUIRED ________________
// EVERY OQ TEST CASE FOLLOWS THIS STRUCTURE — DEVIATION FROM EXPECTED RESULT TRIGGERS A FORMAL DEVIATION LOG

Each OQ test case follows a standard structure: a test reference number, a description of what is being tested, the step-by-step method, the expected result, the actual result, and a pass/fail verdict. Any deviation from the expected result is raised as a formal deviation and must be resolved before the protocol can be closed.

// TYPICAL OQ TEST CASE STRUCTURE TEST REF: OQ-041
TITLE: High Temperature Alarm — Reactor Vessel 01
METHOD: Inject simulated signal above alarm setpoint via SCADA sim tag
EXPECTED: Alarm activates within 5 seconds. Appears on alarm banner. Audit trail entry generated.
RESULT: PASS

PQ — Performance Qualification in Detail

The PQ is the final qualification stage and the one that carries the most regulatory weight. Where OQ proves the system can function correctly, PQ proves it performs consistently over time and under real conditions.

PQ typically involves running the system through a defined number of consecutive successful production runs — often three — with all process parameters within specification. The number of runs and acceptance criteria should be defined in the Validation Plan before execution begins.

For automation engineers, PQ often feels like less "your" work — the process engineering team usually leads it. Your role is to ensure the system is stable, the data historian is capturing all required parameters, and any control-system deviations are properly documented.

What Comes After PQ

Successful PQ execution, reviewed and signed by QA, leads directly to the Validation Summary Report (VSR) — the document that formally declares the system validated and fit for GMP use. Without a closed VSR, the system cannot be used in production.

The Documents You Need

Each qualification phase requires a protocol (the plan, written and approved before execution) and a completed version of that protocol with all test results, signatures, and any deviation references. Neither the IQ, OQ, nor PQ can be closed without QA sign-off.

PLC / SCADA SYSTEM — IQ VERIFICATION SCOPE L3 L2 L1 SCADA Server HISTORIAN · REPORTS · AUDIT TRAIL IQ ✓ Network Switch 192.168.10.x / PROFINET HMI Panel SIEMENS TP1500 · v4.1 IQ ✓ Eng. Workstation TIA PORTAL V18 PLC CPU S7-1516 · v2.9.2 IQ ✓ I/O Rack DI/DO/AI/AO Field Inst. CALIBRATED CAL ✓ UPS POWER · EARTHING
// TYPICAL PLC/SCADA ARCHITECTURE — IQ VERIFIES EVERY NODE, VERSION, IP ADDRESS, AND CALIBRATION STATUS ON THIS DIAGRAM

In a well-structured GAMP 5 project, the document chain looks like this:

What This Means for You

As the automation engineer delivering the system, you will typically author the IQ and OQ protocols — or at minimum, provide the technical content that a validation specialist formats into the final documents. The PQ is usually led by the client's process team, with your support.

The most important thing to internalise early: in a GMP project, the document is the product. A perfectly engineered system with poor documentation will fail a regulatory inspection. A well-documented system with minor technical imperfections — properly raised as deviations, with impact assessments and corrective actions — will pass.

That's not bureaucracy for its own sake. It's the mechanism by which a regulator can trust that a system is safe to use in the manufacture of medicines.

Ready to Start?

The QLean Automation framework includes fully structured IQ, OQ, and PQ protocols for PLC/SCADA systems — pre-populated with all required sections, regulatory language, and traceability architecture. Every test case format shown in this article is already in the templates.