The present invention concerns a device (10) and a method for detecting if a bedridden person leaves his or her bed or has fallen out of his or her bed. The device carries out an analysis over time of the distances between the sensors of a detector (20) and the objects present in the detection field (50) of the detector. The detection is based on variations in said distances, and the locations of same within the monitored space (60).