Bookmarks

MTTR — mean time to recovery

A reliability metric: the average time from a service failing to being fully restored. It shows how quickly the team and infrastructure handle incidents.

Also: mean time to repair, mean time to restore, mean time to resolve, recovery time

checked 9 Nov

All terms

MTTR answers the question of how long a service stays down after a failure. Teams track the metric on reliability dashboards, discuss it in incident reviews and read it alongside availability: two services with the same number of nines can differ in how quickly they get back to work after a failure.

How it is calculated

MTTR is the arithmetic mean of recovery time across incidents in a period:

bash
MTTR = (total time from failure to recovery) / number of incidents
IncidentDowntime
Database disk failure40 minutes
API degradation after a release25 minutes
Load balancer failure15 minutes
TotalMTTR = (40 + 25 + 15) / 3 = 27 minutes

Time is measured from the failure until the service is fully restored for users, not until the root cause is fixed: rolling back a broken release closes the incident, refactoring afterwards does not.

One abbreviation, four meanings

Different teams mean different things by MTTR, and comparing numbers without clarification is risky:

ExpansionWhat it measures
Mean Time To Recovery / Restoreaverage time from failure until the service is restored
Mean Time To Repairaverage time to physically repair a device — a classic from hardware maintenance
Mean Time To Respondaverage time from detecting an incident to restoring the service
Mean Time To Resolveaverage time to fully close an incident, including the review and fixing the root cause

That is why contracts and reports spell the abbreviation out in words and specify exactly what counts as the start and end of the measurement.

MTTR in DORA metrics

Recovery time was part of the former DORA “four keys” as a measure of delivery resilience — alongside deployment frequency, lead time for changes and change failure rate. Since 2023 DORA has called this metric Failed Deployment Recovery Time — the time to recover from a failed deployment.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • MTBFmean time between failures

    MTBF measures how often failures happen — the uptime between them — while MTTR measures how long recovery after a failure takes.

  • RTOrecovery time objective

    RTO is the target recovery time from the disaster recovery plan, while MTTR is the actual average across real incidents.

In depth in the references

where the topic is covered in detail