A method and system for detecting the onset of seizures comprising a measuring unit (1) 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 (3) comprising a high-pass filter which filters out noise and motion artefacts related to normal muscle activities. The preprocessing module is connected to a feature extraction module (4) 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 (5) 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.