Mean Time to Detect (MTTD)

Mean time to detect (MTTD) is the average time between an attack or security problem starting and the organization discovering it. Lower is better, because attackers do most of their damage while they go unnoticed.

IntermediateCategory: Monitoring, testing and incident response

Also called: MTTD, mean time to identify, MTTI, dwell time

What is mean time to detect?

Mean time to detect (MTTD) measures how quickly you notice that something has gone wrong. For each incident, you measure the time from when it actually began, such as the attacker's first login, to when someone in the organization or its security provider realized it was happening. Average those times across incidents and you have your MTTD. The related term dwell time describes how long an attacker was inside before being found.

Why it matters

The longer an attacker goes unnoticed, the more time they have for lateral movement, stealing data and setting up ransomware. In IBM's 2025 Cost of a Data Breach study, organizations took an average of 181 days to identify a breach and another 60 days to contain it, a 241-day lifecycle. That was the shortest in nine years, but still months of exposure. IBM's research also finds that breaches identified and contained faster tend to cost less.

How it's measured

MTTD = total detection time for all incidents ÷ number of incidents

The hard part is knowing when an incident really started, which often only becomes clear after an investigation. Security providers sometimes report MTTD as the time from a suspicious event to an analyst confirming it, which is a much smaller number. Ask how a provider defines it before comparing.

How to reduce MTTD

  1. Collect the right logs, including sign-ins, email, endpoints, firewalls and cloud services, and keep them long enough.
  2. Deploy [EDR](/glossary/endpoint-detection-and-response/) on every computer and server.
  3. Monitor 24/7. Attacks often start on nights and weekends. A managed detection and response service provides round-the-clock coverage.
  4. Tune alerts so real threats aren't buried in false positives.
  5. Hunt proactively for threats that tools miss.
  6. Train staff to report anything odd quickly. Employees are often the first to notice.

When evaluating a managed security provider, ask for their detection and response times.

Related terms

Sources

  1. Cost of a Data Breach Report 2025 (IBM)
  2. SP 800-61 Rev. 3: Incident Response Recommendations and Considerations for Cybersecurity Risk Management (NIST)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.