A peristaltic pump (1) comprising a tray, referred to as a pump body (3), which comprises a substantially planar surface (32) against which a flexible tube (5) for the passage of fluid is intended to be positioned, and a system (2) for applying force comprising a plurality of support members (7), such as rollers, and drive means for moving said support members (7) in order to move said support members (7) against the tube in order to deform it against said pump body (3). Said pump body (3) is movably mounted relative to the system (2) for applying force between a position spaced apart from said system (2) for applying force, and a position adjacent to said system (2) for applying force. Said pump (1) also comprises means (36) for controlling the movement of the pump body (3) relative to the system (2) on the basis of a predetermined magnitude corresponding to the force applied to the tube.