Compliance · The complete guide

Traceability MatrixRequirements Traceability Matrix

TL;DR

The Requirements Traceability Matrix (RTM) is the single document that proves every user requirement (URS) is covered by a design element, built into the system, and verified by an executed test — and that nothing in the build exists without a requirement behind it. Required by GAMP 5 (ISPE), EU GMP Annex 11 §4, FDA's CSA draft guidance and ISO 13485 §7.3.3 for device software.

Reviewed · By V5 Ultimate compliance team· 3,300 words · ~15 min read

01What an RTM actually is

The Requirements Traceability Matrix is the bookkeeping that turns a pile of documents (URS, FS, DS, configuration records, test scripts, test results) into a single auditable chain. Each row starts with a URS requirement ID and walks left-to-right through: the Functional Specification element that delivers it, the Design Specification element that builds it, the test case that exercises it, the executed test result (with run date, tester, outcome and any deviation), and — for medical devices — the risk-control measure the requirement implements. Read down a column you can answer 'are all requirements tested?'; read across a row you can answer 'why does this feature exist?'

02The canonical columns

  1. Requirement ID (URS-001, URS-002 …) — stable, immutable, never re-used.
  2. Requirement text — verbatim from the approved URS.
  3. Criticality (GxP / Business / Informational) — drives test rigour under CSA.
  4. Risk link — for device software: the ISO 14971 risk-control measure ID this requirement implements (or 'none').
  5. Functional Spec section — where the function is described.
  6. Design Spec section — where the build is specified (config item, code module, recipe step).
  7. Build evidence — config-baseline ID, code-review record, recipe-version pinned at release.
  8. Test case ID(s) — the IQ / OQ / PQ / UAT script(s) that exercise this requirement.
  9. Test result — pass / fail / partial; protocol-run date; tester e-signature.
  10. Deviation IDs — any test deviations and their disposition.
  11. Status — Open / Built / Tested / Released / Withdrawn.

03Trace in two directions

An RTM is bidirectional or it is not an RTM. Forward trace (left-to-right) confirms every URS line is built and tested — a missing test cell is a coverage gap. Reverse trace (right-to-left, sometimes called the 'orphan check') confirms every shipped feature, every test case, every line of GxP-relevant code maps back to an approved requirement. Orphans are the dangerous side: undocumented features mean the validation envelope does not match the released system, which is the second-most common Annex 11 / Part 11 finding behind audit-trail gaps.

04What CSA changed (and didn't)

FDA's 2022 Computer Software Assurance (CSA) draft guidance reframed CSV away from 'document everything' towards critical-thinking and risk-based test rigour. CSA explicitly endorses unscripted / ad-hoc / exploratory testing for low-risk requirements and scripted, signed protocols for high-risk requirements. What CSA did NOT remove is traceability itself — every requirement still needs evidence it was implemented and verified, the difference is the type of evidence is now proportionate to risk. The RTM is the place that proportionality is documented; the criticality column drives the test-rigour decision.

05Why a live RTM beats a snapshot

  • Change control feeds the RTM — every approved change adds / amends / withdraws requirements with the change-control ID linked.
  • Periodic review reads from the RTM — the periodic review is the orphan and coverage check at a point in time.
  • Re-qualification is scoped from the RTM — the OQ / PQ subset to re-run after a configuration change is the set of test cases linked to the impacted requirements.
  • Audit prep is the RTM with a date filter — 'show me everything that changed since the last inspection' is one query, not three weeks of forensic archaeology.

06Device software — IEC 62304 and risk-control trace

For medical-device software the RTM gains an extra dimension: every risk-control measure from the ISO 14971 risk file must trace to a software requirement, which traces to design, which traces to a verified test result, which feeds back into the residual-risk evaluation. IEC 62304 §5.1 and §7 require this loop explicitly; missing it is a top notified-body finding. The same RTM that satisfies GAMP 5 / Annex 11 for a manufacturing system is the spine of the IEC 62304 software safety classification for an SaMD product.

07Common findings on the RTM

  1. RTM built once, never updated — a change-control closed the spec but no-one walked back to the matrix.
  2. Coverage cells point to test-case IDs but the test cases were never executed (or executed and failed, with no deviation traceable).
  3. Reverse trace skipped — features in production with no requirement behind them.
  4. Requirements written so vaguely ('the system shall be user-friendly') that no test case can verify them — RTM compliant, but the underlying URS is unprovable.
  5. Criticality column blank, so all rows treated the same way — defeats the CSA risk-based logic.
  6. RTM held in a spreadsheet outside the validated environment, so the matrix itself fails Part 11.

08How V5 Ultimate maintains the RTM

  • URS, FS, DS, configuration baselines, test scripts and executed test results live in linked records — the RTM is generated, not authored.
  • Every change-control adds, amends or withdraws requirement rows; the matrix and the change record are always in agreement.
  • Criticality drives the validation template — high-risk requirements force a signed scripted protocol; low-risk requirements allow a CSA-style unscripted evidence record.
  • Coverage and orphan reports run on demand — pre-inspection prep is one click, not a fortnight of reconciliation.
  • For device-software customers, ISO 14971 risk controls link directly to URS rows, giving the IEC 62304 trace as a by-product of the same matrix.
  • Periodic review uses the RTM as its agenda — open requirements, failed tests, orphan features and overdue re-qualifications are surfaced automatically.

Frequently asked questions

Q.Does the RTM have to be a literal spreadsheet?+

No. GAMP 5 and Annex 11 require traceability, not a specific format. A relational database, a configuration-managed document or a generated report from a validated tool all satisfy the requirement, provided the matrix is current, controlled, and accessible to inspectors.

Q.How granular should requirement IDs be?+

Granular enough that one row maps to one testable behaviour. 'The system shall manage batch records' is too broad; 'The system shall block batch-record release if any open deviation remains' is testable. Most mature programmes end up with 200-2000 numbered URS lines per system.

Q.What about IQ — installation has no functional requirements, does it appear in the RTM?+

Yes. Installation-level requirements (server spec, OS version, integration ports, certificates, backup schedule) belong in the URS / FS too and trace to IQ test cases. Skipping them is the most common reason 'the system passed OQ/PQ but failed an Annex 11 §4 audit on installation evidence'.

Q.Does CSA mean we can replace scripted tests with screenshots?+

For low-risk requirements, an unscripted evidence record (screenshot, video, exploratory-test note) can be sufficient and is explicitly endorsed. For GxP-critical requirements — anything affecting product quality, patient safety or record integrity — a pre-approved scripted protocol with a signed test result remains the expected evidence.

Q.How often does the RTM need re-baselining?+

On every release and at every periodic review. Many companies also run a continuous-coverage check in CI/CD: any code change in a GxP module that does not link to a URS row blocks the merge. That continuous check is the most reliable defence against orphan features.

Primary sources

Further reading

Explore this topic

Traceability Matrix sits inside 2 overlapping topic clusters in our glossary. Every neighbour is one click away.

Validation & qualification
16 related entries

URS-through-PQ lifecycle, GAMP 5 categorisation and CSA's modern alternative.

See Traceability Matrix working on a real shop floor

V5 Ultimate ships with the Traceability Matrix controls already wired in — audit trail, e-signatures, validation evidence. Free trial, no credit card, onboard in days, not months.

Language