Abstract: A device for keeping liquids separate in a pipe, especially for use in a petroleum well, where the device comprises a diaphragm, which in its operative position and through use of pretensioned slats is stretched across the cross section of the pipe, and where each of the two end portions of the slats is connected to a boss, respectively, in a manner such that each the slats forms an outward bow relative to the common axis of the bosses, when in the neutral position.