A device for opening and closing an infusion tube clamp includes a slide link which is axially arranged to be movable on a flap and includes at least one projecting locking element for closing an infusion tube clamp. An infusion tube clamp includes a first clamping leg and a second clamping leg pivotally connected to each other at one end, and a keeper plate which is arranged on the first clamping leg. At the locking element, the slide link includes a slide link ramp at which a switching cam of the keeper plate is adapted to slide into a stress-free final closing position.