Security operations

What is MTTD and MTTR

A plain guide to mean time to detect (MTTD) and mean time to respond (MTTR), the two metrics that decide how fast you catch and stop an attack.

Viktiga slutsatser
  • MTTD (mean time to detect) measures how long an incident runs unnoticed. MTTR (mean time to respond) measures how long it takes to act after detection.
  • MTTR is ambiguous. It stands for Respond, Resolve, Recover or Repair, so state which one before you measure.
  • The global average breach took 241 days to identify and contain in 2025, 181 days to detect and 60 to contain (IBM, 2025).
  • Breaches with a lifecycle under 200 days cost significantly less than those that run longer (IBM, 2025).
  • Equifax went undetected for about 76 days because its traffic-inspection certificate had silently expired (GAO, 2018).
  • Target’s tools fired alerts in 2013 but no one acted, and it learned of the breach from the US DOJ about two weeks later (US Senate, 2014).
  • Maersk rebuilt about 4,000 servers and 45,000 PCs in roughly 10 days after NotPetya, a recovery that usually takes months (World Economic Forum, 2018).
  • In Sweden the August 2025 Miljödata attack hit roughly 200 of 290 municipalities, and the regulator IMY found no real-time intrusion monitoring in place (IMY, 2026).
  • Under Cybersäkerhetslagen an early warning is due within 24 hours and a full notification within 72 hours, deadlines you can only meet with fast detection.
  • Speed metrics are only useful alongside quality. Use medians, severity bands and containment accuracy, not ticket-closing speed.

MTTD and MTTR in Plain Terms

MTTD and MTTR are two timing metrics for security incidents. MTTD, mean time to detect, is the average time an incident runs before anyone notices it. MTTR, mean time to respond, is the average time from that moment to dealing with it. Together they measure how fast you catch and stop an attack.

The gap between those two numbers is where damage happens. An attacker who sits undetected for weeks has time to read email, move between systems and copy data before a single control reacts.

This is why MTTD and MTTR turn up in board decks, vendor pitches and NIS2 conversations. Regulators now set reporting deadlines measured in hours, and the cost of a breach rises the longer it runs. Slow detection and response is no longer a technical footnote. It is a financial and legal exposure.

How MTTD and MTTR Are Measured

Both metrics are plain averages. You take every incident over a period, add up the time each one took and divide by the number of incidents. MTTD divides the total time to detection. MTTR divides the total time to response or recovery. The arithmetic is simple. The hard part is agreeing where each clock starts and stops.

How MTTD and MTTR Are Measured

Every incident runs through the same stages, and each metric times a different stretch of it.

  • Compromise: the attacker gets in. The MTTD clock starts here, usually before any alert exists.
  • Detection: a tool or a person notices. MTTD stops and the response clock starts.
  • Acknowledgement: someone picks up the alert and owns it. This is MTTA, mean time to acknowledge.
  • Containment: the spread is stopped. IBM calls this mean time to contain.
  • Recovery: normal service returns. This is where mean time to recover lands.

One warning before you compare numbers with anyone. MTTD and MTTR are measured at two very different scales, and the two are often confused.

At the whole-breach scale the clock starts at the first compromise and runs until the breach is found, and the figures are measured in months. At the operational scale the clock starts when a specific alert fires in your tooling and runs until an analyst acts, and a well-run team works in minutes to hours.

A vendor quoting a response in minutes and a report quoting months are not disagreeing. They are timing different things.

The Metrics Family Around MTTD and MTTR

MTTD and MTTR rarely travel alone. A handful of related metrics describe the same incident lifecycle, and naming them correctly stops a lot of confused reporting.

  • MTTD, mean time to detect: how long an incident runs before it is spotted.
  • MTTA, mean time to acknowledge: how long an alert waits before a human takes it on.
  • MTTC, mean time to contain: how long it takes to stop an active incident spreading.
  • Dwell time: the attacker’s time inside before detection, the same idea as MTTD seen from the attacker’s side.
  • MTBF, mean time between failures: a reliability metric that tracks how often systems fail, borrowed from engineering.

MTTR is the slippery one. The letters are used for at least four different measures, and teams often assume they all mean the same stretch of time.

  • Mean time to respond: from detection to the first response action.
  • Mean time to resolve: from detection to the incident being fully closed.
  • Mean time to recover: from the incident to normal operations returning.
  • Mean time to repair: from a failure to the fix, a term carried over from IT operations.

None of these is wrong. The mistake is leaving it unstated. Before you quote an MTTR or read one in a report, check which of the four it counts, or the number means very little.

Why Slow Detection and Response Costs More

The business case for cutting these numbers is not abstract. The longer an incident runs, the more it costs, and the relationship is steep.

The global average breach in 2025 took 241 days to identify and contain, split into 181 days to find and 60 days to stop (IBM, 2025). That is close to eight months of attacker access on the typical breach.

Time drives the bill directly. Breaches with a lifecycle under 200 days cost significantly less than those that run longer (IBM, 2025). Every extra week of dwell time is more data copied, more systems reached and a longer, costlier clean-up.

A long incident costs more through several mechanisms at once.

  • More data exposed: an attacker with weeks inside copies far more than one caught in hours.
  • Wider blast radius: time lets an intrusion spread from one machine to the whole estate.
  • Longer recovery: a deep, established intrusion takes longer to clean out and rebuild.
  • Regulatory exposure: miss a reporting deadline and fines and scrutiny follow.

Recovery time is the half people underestimate. After the Akira attack on Tietoevry’s Swedish data centre in January 2024, restoration ran for weeks while universities and government agencies fell back on manual payroll routines. Detection ends an incident’s secret phase. Recovery is what the business actually feels.

Real-World Cases

Four incidents show what MTTD and MTTR look like when they go wrong, and once when recovery went right.

Equifax, 76 Days Blind

In 2017 attackers reached Equifax through an unpatched flaw in Apache Struts and then sat inside for about 76 days without being seen (GAO, 2018).

Equifax had a tool that inspected encrypted traffic for exactly this kind of theft. Its digital certificate had expired about 10 months earlier, so the tool had quietly stopped inspecting anything. The moment staff renewed the certificate on 29 July 2017, the intrusion showed up at once. By then the data of about 145.5 million people was gone.

A detection tool that silently stops working turns MTTD into never. The lesson is to monitor the health of your monitoring, so a dead certificate raises an alarm long before an attacker does.

mttd and mttr real world cases

Target, the Alerts Nobody Answered

Target’s 2013 breach is the opposite failure. Its detection system worked. During the intrusion it fired several malware alerts, each flagged as high priority (US Senate, 2014).

No one acted on them. Target learned it had been breached about two weeks later, from the US Department of Justice, after roughly 40 million payment cards and the personal data of up to 70 million customers had already been taken.

Fast detection bought nothing because the response never started. Alerts only help when a team is staffed and empowered to triage them around the clock, with automatic containment ready for the clearest cases.

Maersk, Ten Days to Rebuild

Not every story is a failure. In June 2017 theNotPetya malware tore through Maersk, then the world’s largest container shipper NotPetya was built to destroy, not to extort, so paying would have restored nothing.

Maersk reinstalled about 4,000 servers, 45,000 PCs and 2,500 applications in roughly 10 days, a rebuild its chairman said would normally take six months (World Economic Forum, 2018). The company kept most cargo moving by hand while it worked. The damage still reached 250 to 300 million dollars.

What saved them was partly luck. One domain controller in Ghana survived on a power cut and held the only clean copy of the directory. Resilience you can count on is engineered, through tested offline backups and a recovery plan you have actually rehearsed.

Miljödata, a Swedish Supply-Chain Lesson

The most recent warning is close to home. On Saturday 23 August 2025 Miljödata, an HR systems supplier used by about 80% of Swedish municipalities, detected an intrusion. The attack disrupted services across roughly 200 of Sweden’s 290 municipalities.

Sweden’s data protection authority, IMY, later found the supplier had no automated real-time intrusion monitoring in place and issued a 1.8 million kronor fine (IMY, 2026).

Here the regulator named the missing control directly. Continuous monitoring across your own systems and your suppliers is what keeps MTTD from stretching into days, and it is increasingly what the law expects.

MTTD, MTTR and Compliance

In Sweden the law now puts a clock on response, which means it also puts a clock on detection. You cannot report in hours what you only detect in weeks.

Cybersäkerhetslagen (SFS 2025:1506), in force since 15 January 2026, transposes the EU NIS2 directive. It sets a reporting cascade to MCF (formerly MSB) and your sector authority. An early warning is due within 24 hours, a full notification within 72 hours and a final report within one month.

Those windows are detection deadlines in disguise. The 24-hour clock starts when you become aware of a significant incident, so a team that detects fast has hours to prepare while a team that detects slowly has already missed the first deadline.

The duty does not stop at reporting. Article 21 requires continuous monitoring and incident handling, and Article 20 makes the board responsible for overseeing security, with supervisory authorities able to hold members personally accountable. MTTD and MTTR are the numbers that show whether those duties are being met.

Other regimes add their own clocks. GDPR compliance requires notifying IMY of a personal-data breach within 72 hours under Article 33, and DORA compliance sets ICT incident-management duties for financial entities supervised by Finansinspektionen. For the full picture of the Swedish regime see our guide to NIS2 in Sweden.

What Good MTTD and MTTR Look Like

There is no single target that fits every organisation, but public frontline data gives you a frame.

The average breach in 2025 still took 181 days to detect (IBM, 2025), and the median time to fully remediate a known-exploited
critical vulnerability, one listed in CISA’s Known Exploited Vulnerabilities catalogue, was 43 days, up from 32 the year before (Verizon DBIR, 2026). Most organisations are slower than they think.

At the operational level the goal is different. A tuned detection pipeline flags a serious alert in minutes and a staffed team begins response within the hour. A benchmark earns its keep by telling you whether you are measured in minutes, hours or weeks, so you can move in the right direction.

One honest caveat. A speed metric is easy to game and easy to misread.

  • Use medians, not averages: one 90-day incident can drag a mean far from the typical case.
  • Segment by severity: a fast MTTR across trivial tickets hides a slow one on the incidents that matter.
  • Pair speed with quality: closing alerts quickly looks good until you count the ones reopened or missed.

A low MTTR that only means you shut tickets fast is a vanity metric. Speed is worth measuring only alongside whether the response was actually right.

How to Reduce MTTD and MTTR

Cutting these numbers is a mix of people, process and technology, and no single tool does it on its own.

How to Reduce MTTD and MTTR
  • Centralise your logs and monitor them continuously. A SIEM or an equivalent gives detection something to see, the thing Equifax’s expired certificate took away.
  • Staff triage around the clock, or buy it. Alerts only cut MTTR if someone acts on them day and night, through an in-house team or managed detection and response.
  • Automate the first response. Let clear-cut detections isolate a host or disable an account on their own, so containment does not wait for a human.
  • Define which MTTR you mean, and track the whole lifecycle. Measure detection, response and recovery separately, by severity, using medians.
  • Test that detection actually works. Run regular exercises and alert on the health of your tooling, so a silent failure surfaces fast.
  • Keep tested, offline backups and rehearse recovery. Mean time to recover is short only when the restore has been practised, not just planned.
  • Patch your exposed edge fast. The internet-facing devices attackers hit first are the ones to fix on the shortest clock.

Start by writing down your current numbers. You cannot improve a detection and response time you have never measured, and the first honest baseline is usually the most useful number you will produce all year.

Myter och fakta

Myt

MTTD and MTTR are the same thing.

A low MTTR means you are secure.

MTTR has one clear definition.

Detection tools alone shrink MTTD.

These are IT metrics, not board concerns.

Averages tell the whole story.

Fakta

MTTD measures time to detect an incident. MTTR measures time to respond or recover after detection. They are tracked separately and both matter.

A fast MTTR that only means you close tickets quickly is a vanity metric. Speed without accuracy and containment can hide real risk.

MTTR is used for Respond, Resolve, Recover and Repair. Unless a team states which one it means, the number is close to meaningless.

Target and Equifax both had detection tools. Tools only help when alerts are actioned and the tooling is actually working.

Under Cybersäkerhetslagen boards are accountable, and the 24-hour and 72-hour reporting deadlines depend directly on detection and response speed.

A mean is skewed by outliers. Use medians and segment by severity to see what is really happening across your incidents.

Testa dig själv

Fyra verkliga scenarier, sedan sex kunskapsfrågor. Se hur förberedd du skulle vara under press.

Scenariosimulering

  1. A tool that inspects your encrypted traffic has quietly flagged nothing for weeks, which is unusual.

    What do you do?

    • Assume the network is simply quiet and move on
    • Check that the tool and its certificates are actually working, and alert on tooling health
    • Buy a second detection product
    • Wait until an alert finally appears
  2. Your detection system fires several high-priority malware alerts overnight.

    What is the right response?

    • Assume they are false positives and close them
    • Investigate and contain at once, and make sure someone owns out-of-hours triage
    • Wait for business hours to look
    • Disable the alerts because they are noisy
  3. Ransomware has encrypted most of your servers and you need to restore operations.

    What most determines how fast you recover?

    • Paying the ransom
    • Tested offline backups and a rehearsed recovery plan
    • The size of your security team
    • Luck
  4. You detect a serious intrusion on a Saturday that affects citizen services.

    What does Swedish law require first?

    • Finish fixing it before telling anyone
    • Send an early warning to MCF within 24 hours and a full notification within 72
    • Wait for the one-month final report deadline
    • Only notify if data was stolen

Kunskapstest

  1. What does MTTD stand for?

    • Mean Time To Detect
    • Maximum Time To Deploy
    • Mean Time To Decrypt
    • Managed Threat Detection

    MTTD is mean time to detect, the average time an incident runs before it is noticed.

  2. MTTR is ambiguous. Which is NOT one of its common meanings?

    • Respond
    • Recover
    • Resolve
    • Reboot

    MTTR commonly means respond, resolve, recover or repair. Reboot is not one of them.

  3. In IBM's 2025 figures, how long did the average breach take to identify and contain?

    • 41 days
    • 101 days
    • 241 days
    • Two years

    The 2025 average was 241 days, 181 to identify and 60 to contain (IBM, 2025).

  4. Why did Equifax's 2017 breach go undetected for about 76 days?

    • It had no firewall
    • An expired certificate blinded its traffic inspection
    • Its staff were on holiday
    • The attackers left no trace

    The traffic-inspection certificate had expired, so encrypted exfiltration went uninspected (GAO, 2018).

  5. What does Target's 2013 breach mainly show?

    • Detection tools are useless
    • Detection without a response is not enough
    • You should never use alerts
    • Breaches are unavoidable

    Target's tools detected the malware, but no one acted, so a fast MTTD bought nothing.

  6. Under Cybersäkerhetslagen, an early warning to MCF is due within how long?

    • 24 hours
    • 72 hours
    • One week
    • One month

    The cascade is a 24-hour early warning, a 72-hour full notification and a one-month final report.

Ta den med dig

Dela sammanfattningen med ditt team

En kort sammanfattning i PDF: viktiga slutsatser, varningstecken och konkreta åtgärder.

Ladda ner PDF

Varför utbildning spelar roll

Most detection and response time is lost at the human layer. The human element was present in 62% of breaches (Verizon DBIR, 2026), and staff who recognise and report something odd shorten MTTD before any tool reacts. Staff who know the incident-response plan shorten MTTR when it matters.

eBuilder Security runs Sweden-based security awareness and phishing-simulation training that turns employees into an early detection layer and a faster response.

Vanliga frågor

What is MTTD and MTTR?

MTTD and MTTR are two timing metrics for security incidents. MTTD, mean time to detect, is the average time an incident runs before it is noticed. MTTR, mean time to respond, is the average time from detection to acting on it. Together they show how fast an organisation catches and stops an attack.

What does mean time to detect (MTTD) mean?

Mean time to detect, or MTTD, is the average time between an incident starting and someone noticing it. You calculate it by adding the time to detection for every incident over a period and dividing by the number of incidents. A lower MTTD means attackers spend less time inside unnoticed.

What is the difference between MTTD and MTTR?

MTTD measures how long an incident goes unnoticed, so it ends at the moment of detection. MTTR measures what happens next, the time from detection to responding, resolving or recovering. MTTD is about seeing the problem. MTTR is about fixing it. Both are needed, because fast detection is wasted without a fast response.

What does MTTR stand for?

MTTR stands for mean time to respond, but the letters are also used for mean time to resolve, mean time to recover and mean time to repair. These measure different stretches of an incident, so a reported MTTR is only meaningful once you know which of the four it counts.

What is a good MTTD and MTTR?

There is no universal target, but context helps. The average breach took 181 days to detect in 2025 (IBM, 2025), so most organisations are slow. Operationally, a tuned team detects a serious alert in minutes and begins response within the hour. Aim to measure in minutes and hours, not days and weeks.

How do you calculate MTTD and MTTR?

Both are simple averages over a period. For MTTD, add the time from start to detection for every incident and divide by the number of incidents. For MTTR, add the time from detection to response or recovery and divide the same way. Use medians too, since one long incident can skew a mean.

Why do MTTD and MTTR matter for NIS2 and Cybersäkerhetslagen?

Cybersäkerhetslagen, in force since 15 January 2026, requires an early warning to MCF within 24 hours and a full notification within 72 hours. You cannot report in hours what you detect in weeks, so these deadlines are detection and response obligations. Slow MTTD and MTTR put an organisation in breach of the law.

How can you reduce MTTD and MTTR?

Centralise and continuously monitor your logs, staff alert triage around the clock or outsource it, and automate the first containment step. Test that detection actually works, keep rehearsed offline backups for fast recovery, and patch internet-facing systems quickly. Then track detection, response and recovery separately so you can see what is improving.

Du känner till risken.
Se nu var ni står.

Boka en genomgång på 30 minuter med en av våra analytiker, eller kör den kostnadsfria intrångskollen först för att se vad angripare redan vet om er organisation.

Boka en genomgång på 30 min
Ingen säljpitch, bara en rak bedömning

Så kan eBuilder Security hjälpa dig

Medvetenhet är det första skyddslagret. Det här är tjänsterna som omsätter det i mätbart skydd.