The invention relates to a system and a method for the prediction of epileptic seizures by continuous measurement of at least one signal on the body of a user. A sensor unit measures the heart rate continuously and is connected to a processor unit. The processor unit comprises a verification unit, which stores those measurements that comprise verifiable heartbeats or heart rates in a database. An analysis unit in the processor analyzes the verified measurements to determine whether a preictal phase is present or not. The processor comprises a summation unit, which continuously determines the value of an indication signal on the basis of the signal from the analysis unit. The signal indicates the probability of an imminent epileptic seizure. The value of the indication signal may be determined on the basis of at least two values of the signal from the analysis unit. An alarm unit connected to the processor unit generates one or more alarms, if the indication signal exceeds one or more alarm levels.