
Mean time to detect (MTTD) is a key indicator in cybersecurity. It measures the average time an organisation takes to detect a threat, an incident or an anomaly in its system. In an environment where cyberattacks are multiplying, reducing this time becomes crucial to limit damage and prevent potentially devastating impacts. The aim of this article is to guide you through understanding MTTD, how to calculate it, how it differs from other indicators such as MTTR (mean time to respond), and the best strategies for optimising it within your company.
Definition of MTTD
What is MTTD?
MTTD, or mean time to detect, is the average time between the moment when an incident, an anomaly or a cyber threat occurs and the moment when it is detected by the team in charge of cybersecurity. In other words, it is the time a system or a team takes to detect a problem that could compromise the security of data or the integrity of the network.
Why is MTTD a key indicator in cybersecurity?
MTTD is essential in the context of cybersecurity incident management. The lower the MTTD, the more quickly a company is able to detect a threat, which reduces the length of exposure to an intrusion or an attack. This makes it possible to avoid or limit the damage before it gets worse.
This indicator is often used together with other metrics such as MTTR (mean time to respond) and MTBF (mean time between failures) to assess the effectiveness of a cyber risk management strategy and the team’s responsiveness to incidents.

How to calculate MTTD?
Methodology for calculating MTTD
Calculating MTTD is relatively simple. It consists of dividing the total time elapsed between the start of each incident and its detection by the number of incidents detected over a given period. The formula is therefore:
MTTD = (Total time elapsed before detection / Number of incidents)
For example, if a company detected five incidents over a week, and the total time taken to detect them is 25 hours, then the MTTD will be 5 hours.
Practical examples of calculating MTTD
Let us take a concrete case. Imagine that you had four incidents last week:
- The first took 3 hours to be detected,
- The second took 5 hours,
- The third 2 hours,
- And the last one 6 hours.
The MTTD would therefore be:
MTTD = (3+5+2+6) / 4 = 4 hours
In this case, the team takes an average of 4 hours to detect a threat.
Tools and KPIs for tracking MTTD
The tracking of MTTD can be carried out using incident management tools such as intrusion detection systems (IDS), security information and event management systems (SIEM), or else observability platforms such as New Relic. These tools make it possible to track the time it takes to detect incidents in real time, to automate alerts and to optimise the monitoring of the network.

Difference between MTTD and MTTR
Definition of MTTR
MTTR (mean time to respond) measures the average time a team takes to respond to an incident once it has been detected. It is the time between the moment when a threat is identified and the moment when the incident is resolved, the threat neutralised and the system restored.
MTTD vs MTTR comparison
MTTD and MTTR are two different but complementary indicators. MTTD focuses on the time it takes to detect a threat, while MTTR is concerned with the time needed to react to this threat once it has been detected. An organisation can therefore have a low MTTD but a high MTTR, which means that it detects threats quickly but takes longer to respond to them.
Conversely, a company with a low MTTR but a high MTTD could respond quickly to incidents, but detect threats too late. For optimal protection, it is therefore crucial to keep both MTTD and MTTR low.
How to optimise both MTTD and MTTR
To reduce both MTTD and MTTR, here are a few strategies to adopt:
- Use automation and artificial intelligence tools to detect threats quickly.
- Train cybersecurity teams regularly to improve their ability to respond effectively to incidents.
- Work closely with SOC (security operations centre) teams to monitor systems in real time.
The importance of reducing MTTD in a cybersecurity strategy
The consequences of a high MTTD
A high MTTD means that a threat remains undetected for a prolonged period, thereby increasing the risk of significant damage. This can include:
- Financial losses: an undetected intrusion can lead to the theft of sensitive data, service interruptions or ransomware demanding payments.
- An impact on reputation: the disclosure of an incident that went undetected for several hours or days can damage a company’s reputation with its customers and partners.
- Regulatory sanctions: in the event of non-compliance with regulations such as GDPR, a high MTTD can lead to fines and sanctions.

The benefits of a low MTTD
Reducing MTTD allows an organisation to detect threats quickly, thereby limiting the potential impacts. Here are the main benefits:
- Reduced financial losses thanks to the rapid detection of incidents.
- Improved cyber resilience: by detecting threats earlier, a company can put corrective actions in place more quickly, minimising service interruptions.
- Better regulatory compliance: a low MTTD helps to meet the incident reporting requirements within the time limits set by regulations such as GDPR.
The factors that influence MTTD
Incident detection and analysis capability
The quality and capability of detection systems have a strong influence on MTTD. The use of technologies such as SIEM, intrusion detection systems (IDS) and behavioural analysis solutions makes it possible to spot anomalies in a network more quickly.
Quality of cybersecurity tools
Cybersecurity tools equipped with artificial intelligence and machine learning help correlate events, identify threats and trigger alerts in real time. Solutions such as Splunk or Elastic Security make it possible to track and analyse event logs for better responsiveness.
The human factor
The involvement of SOC analysts is also decisive in reducing MTTD. A well-trained team with in-depth expertise is able to spot anomalies more quickly and to take action accordingly. Ongoing training and incident simulations improve the skills and responsiveness of teams in the face of threats.
Strategies for reducing MTTD
Optimising detection and monitoring tools
Putting in place automated detection systems that are well configured and constantly monitored is essential to optimise MTTD. Observability solutions such as New Relic help monitor systems in real time, detect anomalies and reduce the time between the appearance of a threat and its detection.
Automation and AI to improve responsiveness
Artificial intelligence makes it possible to automate threat detection, by analysing thousands of events in real time to identify malicious behaviour. This considerably reduces MTTD by speeding up the detection process. AI can also correct certain anomalies without human intervention, which further improves responsiveness.
Collaboration with SOC teams
SOC teams play a central role in reducing MTTD. Smooth collaboration between internal teams and security operations centres makes it possible to monitor and to intervene quickly in the event of an incident. Holding regular incident post-mortems helps draw lessons to improve detection.
Setting up dashboards and KPIs
Setting up customised dashboards with KPIs such as MTTD, MTTR and MTBF allows teams to track their performance and to adjust their strategies in real time. This helps to identify the bottlenecks in the detection process and to correct them.

MTTD is a crucial indicator for measuring the performance of a cybersecurity strategy. A low MTTD reduces risks and enables proactive threat management. By implementing high-performing tools, by automating detection processes and by training teams regularly, it is possible to reduce this time effectively. Optimal management of MTTD and MTTR is the key to robust and resilient cybersecurity.



