A requirements traceability matrix template, with a filled-in example

A requirements traceability matrix template is a table with one row per requirement: its ID and one-line statement, the source it came from, the acceptance criteria or test conditions it breaks into, the test cases that cover each one, the latest result, and any defects raised against it. Read from requirement to test, it shows what was asked for and never checked. Read from test to requirement, it shows a test nobody asked for.

  • Template
  • 5 fields, explained
  • Updated

A requirements traceability matrix is read for two things: the requirement with nothing in its test column, and the test case that appears in no row. Every other cell records work that was going to happen anyway. A matrix that cannot show either of those has the shape of the document without its use.

Watercolour of a wooden spool of burnt orange thread with a length unwound across the paper

In the template

  1. Baseline
  2. Requirements to tests
  3. Tests with no requirement
  4. Gaps and decisions
  5. Requirements coverage

Traceability matrix template, ready to copy

Copy it as it is. There is no email step, and nothing on this page is behind one.

Which version of the artefact to show
# Requirements traceability matrix: [product and release]

## 1. Baseline
Requirements taken from (documents, with version or date):
Test cases taken from:
Results recorded on (build and environment):
Owner (one person):
Last updated:

## 2. Requirements to tests
One row per requirement. Results are Pass, Fail, Blocked or Not run, on the build named above. Write None where nothing exists, so that an empty cell means nobody has looked yet.
| Req ID | Requirement | Source | Criteria or test conditions | Test cases | Latest result | Defects |
|--------|-------------|--------|-----------------------------|------------|---------------|---------|
|        |             |        |                             |            |               |         |
|        |             |        |                             |            |               |         |
|        |             |        |                             |            |               |         |

## 3. Tests with no requirement
Every test case that appears in no row above.
| Test case | What it checks | Decision, and who took it |
|-----------|----------------|---------------------------|
|           |                |                           |

## 4. Gaps and decisions
Every requirement, criterion or condition with no test case.
| Req ID | What is missing | Decision | Owner and date |
|--------|-----------------|----------|----------------|
|        |                 |          |                |

## 5. Requirements coverage
Requirements in the baseline:
With at least one test case:
With a test case for every criterion or condition:
Of those, with every test case passed:
With a test case failed, blocked or not run:
Defects open against a requirement:
Test cases that trace to no requirement:
# Requirements traceability matrix: tenant repairs portal, release 1.3

## 1. Baseline
Requirements taken from (documents, with version or date): the statement of work, version 2, signed 1 September 2026. Stories TEN-41, TEN-42 and TEN-44, as worded on 28 September. Change request CR-07, approved 2 October.
Test cases taken from: the repairs suite in the test management tool, cases RP-01 to RP-09.
Results recorded on (build and environment): build 1.3.0-rc2 on staging, run on 7 and 8 October 2026.
Owner (one person): the QA lead.
Last updated: 8 October 2026, at the end of the second day's run.

## 2. Requirements to tests
One row per requirement. Results are Pass, Fail, Blocked or Not run, on the build named above. Write None where nothing exists, so that an empty cell means nobody has looked yet.
| Req ID | Requirement | Source | Criteria or test conditions | Test cases | Latest result | Defects |
|--------|-------------|--------|-----------------------------|------------|---------------|---------|
| REQ-01 | A signed-in tenant can report a repair for their own home | Story TEN-41 | 1 Sent with a category and a description. 2 Filed against the address on the tenancy. 3 Reference number shown and emailed. | 1: RP-01. 2: RP-02. 3: RP-03. | Pass, all three | None |
| REQ-02 | A tenant can add up to three photos to a report | Story TEN-42 | 1 JPEG and PNG files up to 10 MB accepted. 2 A fourth photo or a larger file refused, with a message naming the limit. | 1: RP-04. 2: RP-05. | RP-04 Pass. RP-05 Fail. | BUG-212, open |
| REQ-03 | A gas leak or a flood is not taken through the form. The tenant is shown the emergency telephone number | Statement of work, clause 4.2 | 1 Either category replaces the form with the number. 2 The number can be pressed to call from a phone. | 1: RP-06. 2: RP-07. | Pass, both | None |
| REQ-04 | A tenant can ask for a morning or an afternoon visit | Change request CR-07 | 1 Offered on every category that needs a visit. 2 Shown on the repairs team's copy of the report. | None | None | None |
| REQ-05 | A tenant can see the progress of each report they have made | Story TEN-44 | 1 The list shows that tenant's reports and nobody else's. 2 Each report shows its stage and the date the stage last changed. | 1: RP-08. 2: None. | RP-08 Pass | None |

## 3. Tests with no requirement
Every test case that appears in no row above.
| Test case | What it checks | Decision, and who took it |
|-----------|----------------|---------------------------|
| RP-09 | Pressing Send twice in quick succession files one report | Kept. No criterion said what a second press should do. On 8 October the product owner agreed to add it to TEN-41 as criterion 4, and RP-09 then moves to the REQ-01 row. |

## 4. Gaps and decisions
Every requirement, criterion or condition with no test case.
| Req ID | What is missing | Decision | Owner and date |
|--------|-----------------|----------|----------------|
| REQ-04 | No test case. CR-07 was approved after the cases were written. | Write one case for each criterion and run both before user acceptance starts | QA lead, 14 October |
| REQ-05 | No test case for criterion 2 | Write the case, on a report the repairs team has moved through two stages | QA lead, 14 October |

## 5. Requirements coverage
Requirements in the baseline: 5
With at least one test case: 4. REQ-04 has none.
With a test case for every criterion or condition: 3. REQ-05 has none for criterion 2.
Of those, with every test case passed: 2, REQ-01 and REQ-03.
With a test case failed, blocked or not run: 1, REQ-02, where RP-05 failed.
Defects open against a requirement: 1, BUG-212 against REQ-02.
Test cases that trace to no requirement: 1, RP-09.

The template below is that table, sized for a small team: seven columns, one row per requirement, and four short blocks around it for the baseline, the tests with no requirement, the gaps and the counts. It pastes into a spreadsheet or a document. The filled-in version is the same matrix for one release of a web portal where tenants report repairs to their housing association, and it has a gap and an orphan in it on purpose.

The definition of the term is in the glossary entry on the requirements traceability matrix. The links the table gathers are made in two neighbouring templates. The user story template numbers the acceptance criteria, and the test case template has a Traceability field naming the criterion a case covers. This page is where those links are read together.

What each field is for

Scroll the table sideways for the examples.

Field Why it earns its place Example
Baseline The version of the requirements the rows were drawn from, where the test cases are kept, the build and environment the results belong to, one owner, and the date of the last update. These lines are what let the table be dated. A Pass means nothing until the reader knows which build passed, and a row means nothing until they know which wording of the requirement it was written from. Statement of work version 2, three stories as worded on 28 September, change request CR-07. Results from build 1.3.0-rc2 on staging. Owner: the QA lead.
Requirements to tests The matrix itself, one row per requirement, in seven columns: the ID, a one-line statement, the source, the acceptance criteria or test conditions the requirement breaks into, the test cases that cover each, the latest result, and the defects raised. Read left to right it is forward traceability. The line above the table matters as much as the columns: None is an answer, and an empty cell means nobody has looked yet. REQ-02. A tenant can add up to three photos to a report. Story TEN-42. Criterion 1: RP-04, Pass. Criterion 2: RP-05, Fail. BUG-212, open.
Tests with no requirement The backward check: every test case that appears in no row of the matrix, with what it checks and what was decided about it. A case listed here has one of two explanations: nobody asked for what it checks, or somebody did and the requirement was never written down. The decision column records which, so the case ends up retired, or moved into a row once the requirement has been written. RP-09: pressing Send twice in quick succession files one report. Kept. The product owner agreed to add it to story TEN-41 as criterion 4.
Gaps and decisions One line for each requirement, criterion or condition with no test case: what is missing, what will be done about it, and who owns that by when. A gap that is listed and not decided is still a gap on the day of the release. A decision to leave something untested belongs here too, with the name of the person who accepted it. REQ-04: no test case, because CR-07 was approved after the cases were written. One case per criterion, run before user acceptance starts. QA lead, 14 October.
Requirements coverage optional Counts read off the tables above: requirements in the baseline, those with at least one test case, those with a case for every criterion, those fully passed, open defects and untraced tests. The second and third counts differ on purpose. One linked test is enough to put a requirement in the second count and says nothing about how thoroughly it is checked, and the gap between the two numbers is where to look. A matrix short enough to read whole can leave this block out. 5 requirements. 4 have at least one test case, 3 have a case for every criterion, and 2 of those have every case passed on build 1.3.0-rc2.

A traceability matrix row that proves nothing, and the same row that does

Not this

REQ-02 | Photo upload | Tested | Pass

This instead

REQ-02 | A tenant can add up to three photos to a report | Story TEN-42
1 JPEG and PNG files up to 10 MB accepted: RP-04, Pass on build 1.3.0-rc2
2 A fourth photo or a larger file refused, with a message naming the limit: RP-05, Fail on build 1.3.0-rc2, BUG-212 open

Both rows are about the same requirement on the same day. The first records that somebody tested photo upload and was satisfied. It names no test case, so nobody can run the check again, and no build, so nobody knows what passed. It also hides the result, because the check behind that Pass was the upload of one small photo. The second row splits the requirement into its two criteria and puts a case and a result beside each, and the requirement turns out to be unmet, with a defect open against it. Filling it in took longer for one reason: somebody had to look.

Forward and backward traceability, and where the template shows each

Traceability runs in two directions, and the template gives each one a table. Forward traceability follows a requirement to the test cases that check it. It answers whether everything that was asked for has been checked, and the main table is read that way, from left to right: a row whose Test cases cell says None is a requirement nobody has tested. Backward traceability follows a test case back to the requirement that justifies it, and it answers why that test exists. The third block is that check. It lists every test case that appears in no row, and a case found there is either checking something nobody asked for or pointing at a requirement missing from the list. A matrix that supports both readings is called bidirectional. The forward reading is the one a release decision leans on. The backward one is easier to skip, and it is the reading that turns up a requirement nobody wrote down.

The first three columns of the traceability matrix say what was asked for

Req ID is a stable reference that stays the same when the wording changes, because test cases and defects cite it. Requirement is the statement in one line, short enough to read across a row. The full text stays in the document it came from, and the matrix points at it. Source names that document: a user story, a change request or a clause of a contract. It is the column that says who to ask when the statement is unclear, and it shows at a glance which rows a client or an auditor will ask about. A row with nothing under Source is a requirement nobody can vouch for, and it is worth settling where it came from before any test is written against it. A priority column can be added beside these three. It is left out here because the tracker already holds each story's priority, and it earns a place when the matrix is used to decide which gap to close first.

The last four columns say what was checked

Criteria or test conditions breaks the requirement into the parts that can each pass or fail. A user story arrives with numbered acceptance criteria, so the cell cites each number with a few words and leaves the wording on the story. A contract clause arrives with none, so the team writes down the test conditions it reads in the clause. Test cases lists the case IDs against each number. That pairing is why the column before it exists: a requirement with three criteria and one test case looks covered when the count is taken per requirement, and the numbers show which two criteria nobody checked. Latest result is Pass, Fail, Blocked or Not run on the build named in the baseline, and a result carried over from an earlier build is recorded as Not run. Defects holds the ID of each defect raised against the requirement, with its state. The ID leads to the defect in the tracker, and the matrix repeats nothing from it. Where a defect began as a report somebody filed from the page through a feedback widget, the ID leads to that report: console logs, network activity, page URL, viewport and browser travel with the report, where capture settings, browser support and performance budgets allow.

Columns to add to the matrix, and when each one earns its place

The seven columns are the ones a matrix needs to answer what was tested. Published requirements traceability matrix templates often carry more, and each extra column answers a different question. Priority decides which gap to close first. Owner names who answers for a row when the product owner is not the only source. Release or sprint shows which rows a given release is judged on. Parent or related requirement links a system requirement to the user requirement it serves, and requirement type (user or system) goes with it on a project that writes both. A trace to the design specification or the development artefacts makes the matrix a record of design as well as testing, which a contract sometimes asks for. A verification method column is the one regulated and engineering teams add: NASA's Software Engineering Handbook notes that verification methods can include testing, analysis, demonstration and inspection, and that they can be included in the bidirectional requirements traceability matrix. Add a column when somebody will read it to make a decision. A column filled in because the template had it goes stale first.

The gap and the orphan in the filled-in example

The filled-in matrix is for release 1.3 of a tenant repairs portal, built by a small agency under a statement of work. It holds five requirements from three kinds of source: three user stories, one contract clause and one change request. Two rows are clean. REQ-02 has a failed case and an open defect, which the matrix points at and does not describe. REQ-04 is the gap. It came from change request CR-07, approved after the test cases were written, so its Test cases cell reads None, and the fourth block records who will write the cases and by when. REQ-05 is a quieter gap. It has one passing test, and its second criterion has no test at all. Counted per requirement it looks covered, and only the criteria column shows that half of it is unchecked. RP-09 is the orphan: a case a tester wrote from experience, which checks that pressing Send twice files one report. No requirement mentioned a second press. The product owner agreed that a criterion was missing and added it to the story, so the orphan ends as a new line in a row.

When a team needs a requirements traceability matrix, and when it does not

A small product does not need one. Where a team has a handful of stories in flight and each test case names the story and the criterion it covers, the links already exist in the tracker, and an untested story is visible to anyone who opens it. Copying those links into a separate table adds a document to maintain and tells the team nothing new. The matrix earns its place in two situations. The first is when somebody outside the team asks for evidence that every requirement was tested: a client whose contract lists the requirements, or a regulator or an auditor who asks for that record. The table is then the evidence, one row per requirement, with a result and a build beside it. The second is size. Once the requirement set is too large for one person to check by reading, a gap stops being visible, and a requirement that arrives late through a change request is easy to leave untested. The table finds it by having a cell that says None. Between those two cases the cheap version is enough: keep the Traceability field on every test case, and build the table on the day someone asks for it.

Keeping the matrix true when requirements and tests change

A matrix is correct on the day it is filled in and drifts from then on, because requirements are reworded, test cases are renamed and builds move on. Three habits slow the drift. The baseline block is updated whenever a result is, so that no Pass outlives the build it was recorded on. A change to a requirement goes through its row first. When a change request is approved, the row's statement and source are updated, and its Test cases cell is the list of cases to read again against the new wording. A defect that reaches production is traced the same way. If it falls under an existing row, the row shows whether a test existed and what it last reported. If it falls under no row, no requirement mentioned the situation, and the fix includes a new row or a new criterion. A spreadsheet is a reasonable place to start. Once the stories, the test cases and the defects are linked in the tracker or the test management tool, generate the table from those links, and stop keeping a copy that somebody has to edit.

Common questions

What should a requirements traceability matrix template include?

A requirements traceability matrix template should include one row per requirement with seven columns: the requirement ID, a one-line statement, its source, the acceptance criteria or test conditions it breaks into, the test cases covering each, the latest result, and the defects raised. Around the table it needs the baseline the rows were drawn from, a list of test cases that trace to no requirement, and a decision for every gap.

What is an RTM template?

RTM stands for requirements traceability matrix, so an RTM template is the empty table a team fills in to link each requirement to the test cases that check it. The one on this page has seven columns and one row per requirement, and it comes with a filled-in example for one release of a web product.

What is the difference between forward and backward traceability?

Forward traceability follows a requirement to the test cases that check it, and answers whether everything asked for has been tested. Backward traceability follows a test case back to the requirement that justifies it, and answers why the test exists. In this template the main table is the forward reading, and the block of tests with no requirement is the backward check.

Does a small team need a requirements traceability matrix?

A small team with a handful of stories can work without one, provided each test case names the story and the criterion it covers. The links then live in the tracker, and a separate table only repeats them. Build the matrix when a client, an auditor or a regulator asks for evidence that every requirement was tested, or when the requirement set has grown past what one person can check by reading.

Should a traceability matrix have one row per requirement or one row per acceptance criterion?

One row per requirement is enough while each requirement has two or three criteria, since the criteria and their test cases fit in two cells of the row. Split it into one row per criterion, repeating the requirement ID, when a requirement has more criteria than a cell holds legibly, or when results have to be filtered and counted per criterion in a spreadsheet.

How do you paste this traceability matrix template into a spreadsheet?

Copy the template, paste it into the first column of an empty sheet, and use the spreadsheet's command for splitting text into columns, with the vertical bar as the separator. Then delete the row of dashes under each header and the empty first column that the leading bar leaves behind. An editor that reads Markdown tables shows the same text as a table.

Is a traceability matrix the same as a requirements traceability matrix?

A requirements traceability matrix is one kind of traceability matrix. The ISTQB glossary defines a traceability matrix as "a matrix which correlates work products or items within work products to determine the coverage achieved", and that wording names no particular work product. The requirements traceability matrix is the case where the rows are requirements and the columns lead to the test cases that check them, which is the table on this page.

Who keeps a requirements traceability matrix up to date?

One named person owns it, and on a small team that is whoever leads testing for the release. The product owner supplies the requirement IDs and their sources, and testers fill in the cases and the results as they run them. The owner's own job is the two checks nobody else makes: reading the table for cells that say None, and listing the test cases that sit in no row.

Does a complete traceability matrix mean every requirement is well tested?

A complete matrix means every requirement has at least one linked test case with a result, which is a narrower claim. One linked test makes a requirement traced, and whether that test exercises the requirement properly is a separate judgement. The criteria column narrows the distance: in this template a requirement counts as covered only when each of its criteria has a case.

Is there an Excel version of this requirements traceability matrix template?

The template is plain text with vertical bars between the cells, so the same text becomes an Excel or Google Sheets workbook in a minute: paste it into the first column and split it into columns on the bar. Put each block on its own tab, and add a filter on Latest result and a highlight on any cell that reads None. Printing that sheet to PDF gives the version an auditor asks for.

What is a requirements verification traceability matrix?

A requirements verification traceability matrix adds a column for how each requirement is verified, because in engineering work a requirement is not always checked by a test. NASA's Software Engineering Handbook lists testing, analysis, demonstration and inspection as verification methods and says they can be recorded in the bidirectional traceability matrix. For a web product almost every row reads test, so this template leaves the column out.

What happens to a traceability matrix when a requirement changes?

The row changes first. Update the statement and the source, citing the change request, then read every test case listed in the row against the new wording. Each case is kept, rewritten or retired, and a new criterion gets a new case. Until that is done the row's results belong to the old requirement, so they are cleared or marked Not run.

More templates

  • Watercolour of a folded paper map with one burnt orange route traced across its green ground

    Template

    Test plan template

    A copyable test plan template covering scope, approach, entry and exit criteria, environments, roles and risks. The short version teams actually keep updated.

    9 fields, explained ·

  • Watercolour of a blank index card lying alone, one orange tick mark bleeding into its surface

    Template

    Test case template

    A copyable test case template with the fields that make a run repeatable: preconditions, exact test data, per-step expected results, and a recorded outcome.

    9 fields, explained ·

  • Watercolour of a rubber stamp resting on its side beside a dried ring of orange ink

    Template

    UAT test plan template

    A copyable UAT test plan template: scope, who signs off, the business scenarios to run, entry and exit criteria, and how a failure gets recorded.

    10 fields, explained ·

Or skip the template and capture the fields automatically.

Environment, console and network attach themselves, on the free plan.

<script src="…/widget.js" data-key="pb_pub_…">