MTTR is the average time it takes to bring a failed system or service back to normal. In IT infrastructure and operations the “R” stands for one of four things (repair, recovery, resolve or respond), so the first job is to know which one your team measures.
This guide defines every variant, gives the formulas for MTTR, MTTD, MTTA, MTBF and MTTF, and works through the numbers. Then it covers the part most MTTR guides leave out: where the minutes go inside an incident. Detection, acknowledgement, the fix and the verification are short and predictable. Diagnosis is long and unpredictable, and it is the stage that decides your MTTR.
That stage is where Netdata works. Netdata is an observability platform for systems, networks, clouds and applications that scores every metric for anomalies and stores the verdict with every sample, so the evidence of what changed is ready before anyone forms a theory. Any alert is explained in about two minutes, one click away. The result: 80% faster MTTR.
Key takeaways
- MTTR has four meanings. Mean time to repair, to recovery, to resolve and to respond start and stop the clock at different moments. Agree on one before you compare numbers.
- The basic formula is total time divided by the number of incidents. The mean hides the spread, so track the median and the worst cases too.
- MTTD, MTTA and MTTR measure stages of one incident. MTBF and MTTF measure how often things fail.
- Most of an incident is diagnosis: finding where to look and what caused it. Runbooks, on-call process and postmortems leave it untouched for a failure nobody predicted.
- Evidence-first root cause analysis shortens diagnosis itself, because the evidence of what changed is ranked before anyone forms a theory. With Netdata: 80% faster MTTR.
What is MTTR?
MTTR is a reliability metric: the average duration of a failure, from the moment the system stops working to the moment it works again. IT operations, SRE and DevOps teams use it to measure how fast they restore service. This guide covers the IT infrastructure and operations meaning; maintenance teams use the same letters for equipment repair.
The abbreviation is shared by four metrics. They differ in when the clock starts and when it stops.
| Variant | Clock starts | Clock stops | What it measures |
|---|---|---|---|
| Mean time to repair | When repair work begins | When the system is working and verified | The speed of the repair itself |
| Mean time to recovery (or restore) | When the failure begins | When service is fully restored | The full outage, as users lived it |
| Mean time to resolve | When the failure begins | When the cause is fixed so it will not return | The outage plus the follow-up work |
| Mean time to respond | When the first alert fires | When service is restored | The response, without the detection delay |
Say which R you mean: a team that reports mean time to respond always looks faster than a team that reports mean time to resolve, on the same incidents. For an online service, pick the one your users feel. That is mean time to recovery, from the moment the service degraded to the moment it was healthy again. Tools differ too: some ITSM tools use “mean time to respond” for the time from the alert to the first response, so check your tool’s definition.
In DevOps, MTTR usually means mean time to recovery. It is one of the DORA delivery metrics. In 2023 DORA renamed and redefined it as failed deployment recovery time: the time it takes to recover from a failed deployment (DORA, 2024 Accelerate State of DevOps report).
How do you calculate MTTR?
The MTTR formula is the total time spent in incidents divided by the number of incidents, over a period you choose:
MTTR = total incident time / number of incidents
“Incident time” follows the variant you picked. For mean time to recovery it is the time from the start of each failure to the restored service.
A worked example. A platform team had four incidents in one month:
| Incident | Time to recovery |
|---|---|
| A: disk full on a database replica | 22 minutes |
| B: certificate expired on an internal API | 41 minutes |
| C: slow queries after a schema change | 95 minutes |
| D: checkout latency, cause unknown at first | 162 minutes |
| Total | 320 minutes |
MTTR = 320 / 4 = 80 minutes.
Look at what the mean hides. The median is 68 minutes. One incident took 22 minutes and another took 162. Incidents A and B had an obvious cause, so they were short. Incident D had no obvious cause, so it was long. The mean of 80 minutes describes none of them.
For this reason, record three things with every MTTR figure:
- The variant and the exact start and stop events.
- The median and the longest incident, next to the mean.
- The severity level. Mixing minor and major incidents in one average makes the number meaningless.
MTTR vs MTTD vs MTTA vs MTBF vs MTTF: what is the difference?
MTTD, MTTA and MTTR measure how fast you handle a failure. MTBF and MTTF measure how often failures happen. Together they describe reliability from both sides.
| Metric | Stands for | Formula | Question it answers |
|---|---|---|---|
| MTTD | Mean time to detect | Sum of (detection time minus failure start) / incidents | How long are we blind? |
| MTTA | Mean time to acknowledge | Sum of (acknowledge time minus alert time) / incidents | How fast does a person pick it up? |
| MTTI or MTTK | Mean time to identify, or to know | Sum of (cause known minus acknowledge time) / incidents | How long does diagnosis take? |
| MTTR | Mean time to repair, recovery, resolve or respond | Total incident time / incidents | How long until it works again? |
| MTBF | Mean time between failures | Total operating time / number of failures | How often does a repairable system fail? |
| MTTF | Mean time to failure | Total operating time / number of failed units | How long does a non-repairable part last? |
MTTD and MTTR. MTTD ends where the response begins. If MTTR is measured from the failure, MTTD is inside it. If MTTR is measured from the alert (mean time to respond), MTTD is outside it, and a slow detection never shows in your MTTR. Track both.
MTTA and MTTR. MTTA is a paging and on-call measure. A high MTTA points to routing, escalation or alert fatigue, not to a technical problem.
MTBF and MTTR. MTBF tells you how long the system runs between failures. MTTR tells you how long each failure lasts. Availability combines them:
Availability = MTBF / (MTBF + MTTR)
With an MTBF of 500 hours and an MTTR of 2 hours, availability is 500 / 502 = 99.60%. Cut MTTR to 30 minutes and it becomes 500 / 500.5 = 99.90%, with the same number of failures. Shortening incidents is often the fastest way to raise availability.
MTTF and MTBF. MTTF applies to parts you replace, such as a disk. MTBF applies to systems you repair and put back in service.
Where does the time go in an incident?
Every incident passes through five stages. MTTR is their sum, and they behave very differently.
| Stage | What happens | What limits it | How it behaves |
|---|---|---|---|
| 1. Detect | The failure starts and monitoring notices | Collection interval, alert coverage | Short when every component is watched every second. Unbounded when nothing watches the failing part |
| 2. Acknowledge | A person accepts the alert | Paging, on-call routing, alert volume | Minutes. A process problem |
| 3. Diagnose | The team finds what is wrong and why | Knowledge of the system, the evidence at hand | Minutes to hours. No upper bound |
| 4. Fix | Roll back, restart, scale, reconfigure | Tooling and access | Usually minutes once the cause is known |
| 5. Verify | Confirm the service is healthy | Resolution of the data | Minutes |
Four of the five stages are bounded. You can engineer them down with tooling and process, and they stay down.
Diagnosis is different. It runs on speculation. The engineer sees the symptom, assumes a cause, and tries to prove it or drop it. A good first guess ends the stage in minutes. A wrong one costs a full loop: open the dashboards, read the logs, call the owner of that system, rule it out, and guess again. The loop repeats until someone guesses right.
Three things make this stage slow:
- An alert names a symptom, not a cause. An alert tests a hypothesis someone formed in advance: is the disk filling, is latency above the limit. Incidents are rarely caused by what someone wrote a check for.
- It depends on who is on call. The engineer who built the system may find the cause in ten minutes. Everyone else starts from zero, at 3 a.m.
- The data may not show the order of events. Many products described as “real-time” collect every 10 to 60 seconds. At that resolution a cascade across five systems looks like five things failing at once.
The published numbers show the cost. In a 2024 PagerDuty survey of 500 IT leaders, the average customer-facing incident took 175 minutes to resolve. In New Relic’s 2025 Observability Forecast, 41% of 1,700 respondents said they still learn about service interruptions from customer complaints, tickets or manual checks, 30% of engineering hours go to fighting fires or disruptions, and the median cost of a high-impact outage is $2 million per hour. None of these surveys splits the time by stage, and few teams record it. Record it for your own incidents, and the pattern in the next example shows up.
A worked example: one incident, two ways to diagnose it
This example is illustrative: the components, the timings, the alert, the theories and the fix are chosen to show how the two ways of working differ. The pattern: a scheduled cleanup job disconnects thousands of clients, and the reconnect storm fills the message queues. The first version takes 175 minutes, the survey average quoted above. The second takes 35 minutes, which is what 80% faster MTTR looks like.
Diagnosis by speculation
| Minutes from the start | Event | Stage |
|---|---|---|
| 0 | The cleanup job runs and drops client connections | Failure starts |
| 3 | Alert: API latency above threshold | Detect (3 min) |
| 8 | The on-call engineer acknowledges | Acknowledge (5 min) |
| 8 to 45 | Theory 1: a bad deployment. Nothing was deployed | Diagnose |
| 45 to 90 | Theory 2: the database. The database engineer joins. Queries are normal | Diagnose |
| 90 to 130 | Theory 3: the network. The network engineer joins. Links are clean | Diagnose |
| 130 to 153 | Someone opens the message broker dashboard, sees the queue depth, and traces it back to the reconnects and the job | Diagnose (145 min in total) |
| 153 to 161 | Stop the job, limit the reconnect rate | Fix (8 min) |
| 161 to 175 | Queues drain, latency returns to normal | Verify (14 min) |
Time to recovery: 175 minutes. Diagnosis: 145 minutes, 83% of the incident. Three engineers were called in.
Diagnosis from evidence
| Minutes from the start | Event | Stage |
|---|---|---|
| 0 | The cleanup job runs and drops client connections | Failure starts |
| 3 | Alert: API latency above threshold | Detect (3 min) |
| 8 | The on-call engineer acknowledges and clicks “Ask AI” on the alert | Acknowledge (5 min) |
| 10 | The report arrives. At minute 0, connections dropped on every broker node. Reconnect rate, queue depth and API latency became anomalous in that order. It names the cleanup job as the application responsible | Diagnose |
| 10 to 13 | The engineer confirms it in the broker logs | Diagnose (5 min in total) |
| 13 to 21 | Stop the job, limit the reconnect rate | Fix (8 min) |
| 21 to 35 | Queues drain, latency returns to normal | Verify (14 min) |
Time to recovery: 35 minutes, 80% shorter. Detection, acknowledgement, fix and verification are identical in both versions. Only the diagnosis changed, from 145 minutes to 5, and one engineer handled it.
How do you reduce MTTR?
Reduce MTTR one stage at a time, and start with the stage that holds most of the minutes. Most advice on reducing MTTR is process: severity levels, runbooks, on-call rotations, postmortems. Each of these helps a specific stage, and it is worth knowing which.
| Technique | Stage it shortens | What is still open |
|---|---|---|
| Per-second collection and alerts on every component | Detect | Why the alert fired |
| Clear severity levels, routing and escalation | Acknowledge | The cause |
| Fewer, actionable alerts | Acknowledge | The cause |
| Runbooks and playbooks | Diagnose and fix, for failures seen before | Any failure nobody predicted |
| Rollback and remediation automation | Fix | What to roll back |
| Blameless postmortems | The next incident of the same kind (MTBF) | The incident in front of you |
| Evidence-first root cause analysis | Diagnose, for any failure | The fix, which stays your decision |
Practical steps, in order:
- Measure the stages. Record five timestamps per incident: failure start, alert, acknowledge, cause known, service restored.
- Close the detection gap. Monitor every component at high resolution, so the alert fires near the start of the failure and your customers are not your monitoring system.
- Make acknowledgement boring. One owner per alert, clear escalation, no alert that nobody acts on.
- Attack diagnosis. This is where the hours are. With evidence-first root cause analysis, Netdata delivers 80% faster MTTR. The next section explains how.
- Automate the common fixes, and verify with data that shows the effect within seconds.
- Learn from every incident, so the same failure stays fixed.
Runbooks deserve a note. A runbook is a recorded answer to a failure you have already seen. It shortens diagnosis only when the next incident matches the last one. The long incidents, the ones that set your MTTR, are the ones no runbook anticipated.
How does evidence-first root cause analysis cut the diagnosis stage?
Every other investigation starts with a guess. Netdata starts with the evidence.
Evidence-first root cause analysis reverses the order of diagnosis. It first shows what the data says: what was abnormal and what changed, across every metric of every system, in the seconds the incident happened. Theories come from that evidence, and then tools check them. You don’t need to know the system to find the cause. Netdata has already scored every metric and shows what changed.
It works because the analysis is done before anyone asks:
- A machine learning model for every metric. Netdata trains 18 models per metric, on the Agents and Parents that hold the data, and flags a sample as anomalous only when all of them agree. Nothing to configure, on one node or on 100,000+.
- The verdict stored with every sample. The anomaly flag is saved with the data, so anomaly rates exist for any metric, any time window and any point in history.
- A scoring engine. For any time window, the scoring engine ranks every metric by how anomalous it was, by how much it changed against its baseline, and by what changed together with it. Of millions of metrics, only a few hundred show synchronized anomalies in the same seconds, so Netdata drills down to them instantly, however large the infrastructure is.
- AI that starts from ranked evidence. Netdata AI receives the few metrics that were anomalous or changed, not the whole fleet. It reasons over them, checks its theories against live logs, processes and connections, and writes the report.
Because the data is per-second, Netdata also shows the order in which anomalies spread. That order separates the cause from its effects, and it shows the impact: every system the problem touched.
Netdata finds the root cause: the application responsible, what it did, and everything it affected. Root cause in about two minutes. One click. Zero playbooks.
That ends the longest stage of the incident, and the worst part of it. No war room. No fifteen people on a call, guessing. No waiting for the one engineer who knows the system: every engineer gets the answer, with the evidence on the screen for everyone to check. Nobody argues about whose system it was, because the data shows it. And when your environment is full of alerts and anomalies, Netdata tells noise from an incident, and it finds the incidents no alert rule anticipated.
What this changes for each stage of MTTR:
- Diagnose. One click. No prompts to write, no runbooks, no service maps, no instrumentation. Any alert is explained in about two minutes, one click away, so alerts no longer pile up for triage. The Anomaly Advisor shows the same ranked evidence on the dashboard for any time window you highlight.
- Detect. Per-second collection and more than 1,100 stock alerts apply to every component as soon as it appears. Anomaly evidence also exposes incidents that no alert rule had anticipated.
- Verify. Per-second data shows the effect of a fix within seconds.
- Start anywhere. You can install Netdata in the middle of a crisis and get real-time insights and AI-assisted troubleshooting immediately. Anomaly scores follow after about 15 minutes.
The result: 80% faster MTTR.
Two more points for teams with existing tooling:
- Bring your own AI. Claude, ChatGPT or Cursor ask Netdata what was anomalous and what changed during any alert, through Netdata’s MCP server.
- Follow the cause outside monitoring. Connect GitHub, Jira and PagerDuty, or any MCP server, and Netdata AI takes the investigation into your code, tickets and incidents.
Investigations start when you click, ask or schedule them. Teams that want investigations running on their own can talk to us about AI SRE.
What is a good MTTR?
There is no universal number, because the answer depends on the variant you measure, the severity of the incident and the kind of system. Two reference points help:
- DORA. In the 2024 Accelerate State of DevOps report, the elite performance level has a failed deployment recovery time of less than one hour (DORA, 2024).
- Your own trend. A falling median per severity level, quarter over quarter, tells you more than any industry benchmark.
A more useful target is per stage. Detection in seconds. Acknowledgement in a few minutes. Diagnosis in minutes, for known and unknown failures alike. If your diagnosis time varies from five minutes to three hours, your MTTR depends on luck, and that is the number to fix.
Is MTTR a good metric?
MTTR is useful when you know its limits. Practitioners criticise it for three reasons, and all three are fair:
- The mean is unstable. Incidents are few and their durations vary widely, so one long outage moves the average more than any improvement does. Google’s 2021 report “Incident Metrics in SRE” showed that MTTR-style statistics are poorly suited for decision making or trend analysis, so they are a poor basis for judging whether a change improved incident response.
- Definitions differ. Four meanings of “R” and no standard for when an incident starts make comparisons between teams unreliable.
- It rewards the wrong behaviour. A target on MTTR invites closing incidents early or declaring them late.
The fix is to measure what MTTR is made of. Report the median and the percentiles, split by severity, and record the stage timings. Stage timings are harder to game, and they point at the work to do.
MTTR FAQs
What does MTTR stand for?
MTTR stands for mean time to repair, mean time to recovery, mean time to resolve or mean time to respond. In IT operations and DevOps it most often means mean time to recovery: the average time from the start of a failure until service is restored.
What is the MTTR formula?
MTTR equals the total time spent in incidents divided by the number of incidents in the same period. Four incidents lasting 320 minutes in total give an MTTR of 80 minutes.
What is the difference between MTTR and MTBF?
MTTR measures how long a failure lasts. MTBF measures how long the system runs between failures. Availability is MTBF divided by the sum of MTBF and MTTR.
What is the difference between MTTD and MTTR?
MTTD is the time from the start of a failure until it is detected. MTTR is the time until the system works again. Depending on the variant, MTTR includes MTTD (mean time to recovery) or starts after it (mean time to respond).
What is MTTR in DevOps?
In DevOps, MTTR is mean time to recovery, one of the DORA metrics. Since 2023 DORA calls it failed deployment recovery time.
Do runbooks reduce MTTR?
Runbooks shorten diagnosis and repair for failures that have happened before. A failure nobody predicted has no runbook, and those are the incidents that take longest.
How does AI reduce MTTR?
AI reduces MTTR when it shortens diagnosis. An AI assistant that is handed raw logs and dashboards has to guess where to look, like a person. Netdata’s AI starts from ranked evidence: the metrics that were anomalous or changed during the incident, scored before the AI starts. The scoring engine has done the analysis before the AI starts, so Netdata finds the root cause in about two minutes, one click away. The result with Netdata: 80% faster MTTR.
Stop speculating
Stop speculating. See what the data says before anyone forms a theory.
MTTR is a sum of stages, and the long one is diagnosis. Process shortens the stages around it. Evidence shortens diagnosis itself. The 3 a.m. page stops being twelve open dashboards and a guess. It becomes one click and the answer. For related reading, see what AIOps is and what works, event correlation, the best AIOps tools and incident management.
Try it on your own systems. Start a trial or book a demo.








