MTTR — Mean Time to Recovery
The average time a system takes to recover from a failure.
Definition
MTTR (Mean Time to Recovery / Mean Time to Repair) is the average time a service takes to recover from a failure, from the moment it happens until the service is back to normal.
How it's calculated
MTTR = Total recovery time / Number of incidents
Example: if you had 3 incidents this month, with recovery times of 30 min, 20 min and 10 min:
MTTR = (30 + 20 + 10) / 3 = 20 minutes
Why reduce MTTR?
A low MTTR means the team can detect, diagnose and fix failures quickly. For that you need:
- Observability: well-structured logs, metrics and traces
- Actionable alerts: they point to the problem, not just the symptom
- Clear runbooks for the most common incidents
- Well-defined on-call with clear responsibilities
MTTR vs MTTD vs MTTF
| Acronym | Meaning |
|---|---|
| MTTD | Mean Time to Detect — time to detect the failure |
| MTTR | Mean Time to Recovery — time to recover |
| MTTF | Mean Time to Failure — average time between failures |
MTTR = MTTD + diagnosis time + fix time