MTTR answers one question: when something breaks, how long until it works again? The acronym is shared by IT operations and plant maintenance, and the "R" changes meaning depending on who is speaking. Always check which version a report or contract uses before comparing numbers.
MTTR full forms
- Mean time to repair: maintenance and hardware. Usually the hands-on repair time, sometimes including diagnosis.
- Mean time to recovery / restore: IT operations. From the start of the outage until users are served again, even if the root cause isn't fixed yet.
- Mean time to resolve: service desks. Until the issue is fully closed, including the permanent fix.
- Mean time to respond: security operations. Until someone acts on the alert.
The MTTR formula
MTTR = total downtime ÷ number of failures (or incidents)
The related measures:
- MTBF (mean time between failures) = total operating time ÷ number of failures. It measures reliability: how long things run between breakdowns.
- MTTD (mean time to detect) is the time from failure to the first alert. It is often the biggest part of MTTR, and it falls with better observability.
- MTTF (mean time to failure) is used for parts that are replaced, not repaired.
- Availability = MTBF ÷ (MTBF + MTTR).
Example: a month of incidents
A SaaS platform runs for 30 days (720 hours) and has four incidents:
| Incident | Detected after | Restored after |
|---|---|---|
| Database connections exhausted | 5 min | 40 min |
| Bad release | 2 min | 20 min |
| Cloud region network issue | 10 min | 3 h 30 min |
| Expired TLS certificate | 15 min | 1 h 30 min |
Total downtime is 6 hours.
- MTTR = 6 h ÷ 4 = 1.5 hours
- MTTD = 32 min ÷ 4 = 8 minutes
- MTBF = (720 − 6) h ÷ 4 = 178.5 hours
- Availability = 178.5 ÷ (178.5 + 1.5) = 99.17%
The average hides the shape. One regional incident caused more than half the downtime. Report the median and the worst case next to the mean.
On a factory line, the same arithmetic applies to machine stoppages. Shorter repairs raise the availability part of OEE, and predictive maintenance aims to turn unplanned repairs into planned ones.
MTTR in DORA metrics
DORA's research used "mean time to recover" and later "time to restore service" as one of its four key metrics. In 2023 it replaced it with failed deployment recovery time, which counts only recovery from failures caused by a change to production, not from external events such as a data centre outage. See DORA metrics for the current five.
How teams reduce MTTR
- Alert on user impact, using SLOs, so detection is fast.
- Make rollback a single step, for example with blue-green deployment.
- Keep runbooks for known failures and practise them.
- Agree roles and escalation in advance. Our incident response plan template covers this.
Common mistakes
- Rewarding a low MTTR on its own. Teams then close incidents early or split one outage into several tickets.
- Mixing definitions across teams or vendors, so the numbers can't be compared.
- Ignoring MTTD. A two-minute fix after a two-hour silence is still a two-hour outage.
We set up alerting, runbooks and incident reporting through our cloud and infrastructure work.