Glossary

What is mean time to detect (MTTD)?

Mean time to detect (MTTD) is the average time between a security incident starting and the organization detecting it, across a set of incidents. Lower is generally better, but the number means little until you know where the clock starts and stops.

What it means in practice

The arithmetic is simple. Add up the detection time for each incident in a period and divide by the number of incidents. The start time is the hard part. Vendor explainers anchor it in different places: the initial compromise, the first malicious action, the earliest log or telemetry signal, or the moment an alert fired. The stop is usually when someone confirms the threat is real, though some teams stop it when the alert fires.

Each choice gives a different number. Start the clock at the alert and every hour the attacker spent before the alert disappears. Stop it at the alert and you hide the hours the alert sat in a queue. One security vendor notes that organizations reporting MTTD often don’t document which definition they use, which makes comparisons across organizations unreliable.

Dwell time is the closest relative. Mandiant’s M-Trends reports calculate it as the number of days an attacker is present in a compromised environment before being detected. In effect, that’s detection time with the clock started at compromise. Mandiant reports a median rather than an average. For an organization with only a few incidents a year, one long intrusion can drag an average a long way.

Who did the detecting matters too. M-Trends 2025 reported dwell time separately depending on whether the organization found the intrusion itself, an outside party told it, or the attacker announced itself, notably in ransomware cases. The attacker-announced cases had the shortest dwell time. A fast detection that came from a ransom note isn’t a monitoring success.

NIST’s incident response guidance states the goal without a target number: organizations “should strive to find incidents earlier in the attack life cycle.”

Where it shows up in an incident

Nobody calculates MTTD during an incident. What matters then is the detection timestamp and the evidence for when the attack really began. Both belong in the incident record. A security incident report should carry the detection time and the best evidence of the start.

The security lead owns the metric, or the managed security provider if monitoring is outsourced. If a provider reports detection times, ask which clock it uses. For a mid-size organization, reviewing each incident usually teaches more than an average: when did it start, what first noticed it, and why not sooner?

Common mistakes:

  • Comparing your figure with a vendor’s or an industry number without matching definitions.
  • Starting the clock at the alert, which makes undetected time invisible.
  • Reporting one average to the board that hides a single very long case.
  • Log retention too short to show when the attacker really got in.

In a tabletop exercise

Inject, hour 2, from your managed security provider. “Our monthly report shows a mean time to detect of under an hour. The intrusion you’re dealing with began with a phishing login 23 days ago. Our first alert on it fired this morning.” Discussion: which number goes to the board? What does the provider’s figure actually measure? What would have to change for that login to be spotted on the first day?

Discussion question: “When we say we detected something, do we mean an alert fired, someone looked at it, or someone confirmed it?”

Sources

  • NIST SP 800-61r3, Incident Response Recommendations and Considerations for Cybersecurity Risk Management (2025) (finding incidents earlier in the attack life cycle)1
  • Mandiant (Google Cloud), M-Trends 2024 (definition of dwell time)2
  • Google Cloud, M-Trends 2025 (dwell time by detection source)3
  • Splunk, What is MTTD? (vendor explainer, December 2024: definition and calculation)4
  • NetWitness, What is mean time to detect? (vendor explainer: differing start points)5
  • Prophet Security, Mean time to detect: definition, formula and why the metric fails in practice (vendor blog, April 2026: alert versus activity clocks, undocumented definitions)6

Want to see how your team would handle this for real? Here is how a facilitated tabletop works.