The present invention relates to an apparatus for treating a patient by tidal peritoneal dialysis, the dialysis treatment comprising a succession of cycles each having a fill period, a dwell period and a drain period, the apparatus having at least one cycler suitable for filling the patient's abdominal cavity with a defined admission volume of fresh dialysis solution until attainment of a defined patient volume in the fill period and for draining spent dialysis solution from the patient's abdominal cavity until attainment of a defined tidal discharge target in the drain period, the apparatus further having at least one processor which drives the cycler in at least one operating mode such that the drain period is ended before the tidal discharge target is attained, so that an allowable residual volume remains in the abdominal cavity and then a fill period is commenced, and the fill period is implemented in such a way that when the fill period has finished the fill volume of the patient is at an allowable patient volume which is above the defined patient volume.La presente invención se refiere a un aparato para llevar a cabo un tratamiento de diálisis peritoneal de marea de un paciente, en donde el tratamiento de diálisis comprende una secuencia de ciclos que tienen cada uno un período de llenado, un periodo de permanencia y un período de drenaje, en donde el aparato tiene al menos un ciclador que es adecuado para llenar la cavidad abdominal del paciente con un volumen de flujo de entrada específico de solución de diálisis nueva hasta alcanzar un volumen específico del paciente en el período de llenado y para vaciar la disolución de diálisis consumida desde la cavidad abdominal del paciente hasta alcanzar un objetivo específico de salida tidal en el periodo de drenaje, en donde el aparato además tiene al menos un procesador que controla el ciclador en al menos un modo de funcionamiento de tal modo que el período de drenaje se termina antes de alcanzar el objetivo de f