A novel real-time patient-specific algorithm to predict epileptic seizures is proposed. The method is based on the analysis of the positive zero-crossing intervals in the scalp electroencephalogram (EEG), describing the brain dynamics. In a moving-window analysis, the histogram of these intervals in each EEG epoch is computed, and the distribution of the histogram value in specific bins, selected using interictal and preictal references, is estimated based on the values obtained from the current epoch and the epochs of the last 5 min. The resulting distribution for each selected bin is then compared to two reference distributions (interictal and preictal), and a seizure prediction index is developed. Comparing this index with a patient-specific threshold for all EEG channels, a seizure prediction alarm is finally generated. The algorithm was tested on ∼15.5 hours of multichannel scalp EEG recordings from three patients with temporal lobe epilepsy, including 14 seizures. 86% of seizures were predicted with an average prediction time of 20.8 min and a false prediction rate of 0.12/hr.