Among the numerous factors that are responsible for increasing road accidents, the second most common cause is drowsiness. In an attempt to reduce the rate of accidents, we propose a system which would efficiently handle the timely detection of drowsiness and would accordingly curb the speed of the vehicle being driven. As a proof of concept of the proposed method, we have trained the SVM classifier on the EEG (electroencephalogram) waves derived from “Analysis of a sleep-dependent neuronal feedback loop: the slow-wave micro continuity of the EEG” by Kemp et al. [1, 2]. The data is obtained from a wireless EEG headset. The classification results will determine whether the EEG data corresponds to drowsiness or alertness. This level of drowsiness is then used to determine the maximum speed limit. As the work in  has stated, there is a strong correlation between the number of accidents and the speed limit. Hence altogether, the proposed system integrates EEG waves for sleep level detection, and speed lock as a preventive measure to reduce the number of plausible accidents. © 2019, Springer Nature Switzerland AG.