# Mean time to recovery (MTTR)

What is MTTR?

MTTR is the average time it takes to get a failing service working again, taken over a number of incidents. The letters are not one standard term: depending on who uses them, the R stands for repair, recovery (or restore), resolve or respond, and each version starts or stops the clock at a different moment.

## How it works

Add up how long each incident lasted and divide by the number of incidents. Where an incident starts and ends decides the figure, and the sources do not agree:

- Google's SRE book uses mean time to repair, and describes reliability as a function of how long a system runs before it fails (mean time to failure) and how long it takes to repair it.
- DORA's research measured mean time to recover, also called time to restore service, from its first study in 2014. In its 2023 report DORA renamed and redefined it as failed deployment recovery time: the time it takes to recover from a deployment that fails and needs immediate intervention. The old definition did not separate failures caused by a change from failures caused by something outside, such as a data center outage.
- Others read the letters as mean time to resolve or to respond, which start or end the clock at different points again.

## Why it matters

Outages happen; how quickly a site comes back decides how much each one costs. The SRE book reports that writing down how to respond ahead of time, in a playbook, produced roughly a 3x improvement in MTTR. A recovery time that goes down shows detection, alerting and response getting faster, even when failures are not getting rarer.

## What can go wrong

- Two teams compare MTTR figures while one means recovery and the other means resolve.
- A few long incidents dominate the average. A report from Google's SRE team concludes that MTTR and similar statistics are poorly suited to decision making or trend analysis for production incidents.
- The clock starts when someone notices the failure instead of when it began, so slow detection disappears from the number.
- Short outages nobody wrote down are missing from the incidents, and the average looks better than the service was.

## Check it

Ranetrace's [uptime monitoring](/features/uptime-monitoring) records each outage with how long it lasted, and its recovery alert says how long the site was down. It does not calculate an MTTR figure, so you average those durations yourself. A [status page](/glossary/status-page) shows the same record to visitors: Ranetrace's [status pages](/features/status-pages) list the downtime recorded in the last 7 days.

Read this definition in a browser: https://ranetrace.com/glossary/mttr
