A new spike-wave detection algorithm showing high sensitivity, low false positive rate and reduced computing time permits a good detection of electrical status epilepticus during slow sleep (ESES).