BackgroundThere is no standardized EEG duration guideline for detecting epileptiform abnormalities in patients, and research on this topic is scarce. This study aims to determine an optimal EEG duration for efficient detection of epileptiform abnormalities across different patient groups.MethodsRetrospective analysis was performed on EEG recordings and clinical data of patients with the first seizure and epilepsy. Patients were categorized based on various factors, including the interval time since the last seizure, use of anti-seizure medication (ASM), and seizure frequency. The detection ratio (DR) of epileptiform abnormalities and latency time for their discovery were calculated. Statistical analyses, including chi-square tests, logistic regression, and survival analysis were utilized to illustrate DR and latency times.ResultsIn whole-night EEG recordings, the DR was 37.6% for the first seizure group and 57.4% for the epilepsy group. Although the maximum latency times were 720 min in both two groups, DR in the first seizure group was distinctly decreased beyond 300 min. Significant factors influencing the DR included the use of ASM in the first seizure group (P < 0.05) and seizure frequency in the epilepsy group (P < 0.001). For epilepsy patients who experience a seizure at least once a month or undergo timely EEG recordings (within 24 h after a seizure), the DR significantly increases, and the maximum latency time is reduced to 600 min (P < 0.001). Additionally, the DR was significantly reduced after 240 min in epilepsy patients who had been seizure-free for more than one year.ConclusionsIn this retrospective study, we observed a maximum latency of 720 min for detecting epileptiform abnormalities in whole-night EEG recordings. Notably, epilepsy patients with a higher seizure frequency or timely EEG recordings demonstrated both a higher detection ratio and a shorter maximum latency time. For patients exhibiting a low detection ratio, such as those experiencing their first seizure or those with epilepsy who have been seizure-free for more than a year, a shorter EEG duration is recommended. These findings underscore the importance of implementing customized EEG strategies to meet the specific needs of different patient groups.