How do you derive IQ, OQ and PQ tests from the risk assessment?

By Cormac Falvey, BEng, BSc, PgDip. Published 11 November 2026. Updated 29 November 2026.

Start from the URS and the risk assessment, and for each identified risk ask what evidence would show that the control works. Allocate that evidence to the stage where it can be shown most directly: IQ for what is installed, OQ for how it operates, and PQ for how it performs under representative conditions. Take the acceptance criteria from the requirement, and record why any aspect is not tested.

Why derive tests from risk?

A protocol copied from a previous project tends to test what that project had. It can include tests for features that are absent here, and can miss the risks that are specific to this system. Deriving tests from risk means each test exists for a stated reason, and testing effort goes where failure would matter most.

EU GMP Annex 15 expects a risk-based approach to qualification, and ISPE GAMP 5 applies risk management to computerised systems.

What is the method?

  1. Gather the inputs. You need the approved URS, the design documents and process knowledge of what affects product quality.
  2. Identify the critical aspects. Decide which functions and features of the system affect product quality, patient safety or data integrity.
  3. Assess what can go wrong. For each critical aspect, identify the failure, its effect, and the controls in place.
  4. Turn each control into a verification need. Ask what would show that the control is present and works.
  5. Allocate to a stage. Choose IQ, OQ or PQ, or use FAT or SAT evidence where that has been justified.
  6. Write the test. Set out the method, the conditions, and acceptance criteria taken from the requirement.
  7. Record the links. Connect the requirement, the risk entry and the test.
  8. Record what is not tested. State the reason, so that it can be reviewed.

How do you choose between IQ, OQ and PQ?

  • IQ: Is it the right thing, installed correctly? Examples are components, materials, calibration status and documentation.
  • OQ: Does it operate as intended across its ranges? Examples are alarms, interlocks, sequences and control at the limits.
  • PQ: Does it perform consistently under representative conditions? Examples are repeated runs with real or representative loads.

A higher risk does not always mean more test steps. It may mean a more challenging test, more repeats, or tighter review of the results.

What does this look like in practice?

Illustrative example. The failures, controls and tests below are invented to show the method. Severity and ranking are left out because each company defines its own scales.

FailureControlEvidence neededStage and test
Temperature drifts out of rangePID loop and high and low alarmsControl holds at set point, alarms trigger at limitsOQ: hold test and alarm challenge
Wrong probe fitted, reads incorrectlySpecified probe, calibrationProbe matches specification and is in calibrationIQ: component and calibration check
Recipe altered without authorityAccess levels and change recordsUnauthorised users are refused, and changes are recordedOQ: access challenge and record review
Performance differs at full loadValidated operating rangeConsistent results at representative loadPQ: repeated runs

Real Life Example: When It Goes Wrong

On a perfusion bioreactor project, the 45-day process duration meant the qualification run doubled as both OQ and PQ. The anti-foam addition parameters were set up and verified beforehand, and the configuration looked correct. During the run, the control system dispensed the full volume of anti-foam in a single pulse, more than ten times what would normally be used across the whole run. The run failed and a deviation was raised. The vendor was called in and the control system was updated, which meant repeating multiple impacted tests and rerunning the bioreactor process. In total we lost more than a month. Verifying the parameters had shown that the dosing was configured correctly, not that it worked. When OQ and PQ are combined into a long run, a short test that challenges each high-risk control before the run starts, such as running the anti-foam addition and measuring what is dispensed, finds this kind of fault in hours rather than weeks.

Where do acceptance criteria come from?

They should come from the URS, the design specification or process knowledge, and should be set before the test is run. If a criterion cannot be traced to a source, find out where it came from. A value carried over from an earlier protocol may not apply to this system.

What happens when the risk assessment changes?

A revised risk assessment can add or remove the need for tests. Protocols generated from the earlier revision should be reviewed against the new one before execution, and changes made after execution has started need to go through change control.

What are the common mistakes?

  • Carrying out the risk assessment after the protocols have been written, to justify them.
  • Scoring risks without identifying a control that can be tested.
  • Writing a test that does not actually challenge the control, such as checking an alarm is configured without triggering it.
  • Leaving out the reason for not testing an aspect.
  • Using acceptance criteria that cannot be traced to a requirement.
  • Reducing testing on the grounds of low risk without documenting the reasoning.

Frequently asked questions

Which risk assessment method should I use?

Use whichever your quality system defines and that suits the system. Failure mode and effects analysis is common for equipment, but the value lies in linking each risk to a verified control.

Can low-risk functions go untested?

They may need no formal qualification test, but they should still be covered somewhere proportionate, such as commissioning, with the decision recorded.

Who should take part in the risk assessment?

Usually process, engineering, automation, validation and quality. The vendor can contribute knowledge of failure modes, but the regulated company owns the assessment.

Does every risk need its own test?

No. One test can verify several controls, provided the link from each risk to the test is recorded.

GMP Suite can generate protocol steps from an approved risk assessment, using a company's own approved test scripts.