A method and system for detecting the onset of seizures comprising a measuring unit having one or more sensors for detecting the electromyographic signal of one or more muscles of the user. The sensors are connected to a pre-processing module comprising a high-pass filter which filters out noise and motion artefacts related to normal muscle activities. The pre-processing module is connected to a feature extraction module comprising a threshold detector which counts the number of crossings with a hysteresis within a predetermined time window. The feature extraction module is connected to a classification module which compares the extracted features to a first and second threshold and generates an event signal if the extracted features are above the first and second threshold.