A device and a method for separating a supernatant of a liquid sample are proposed, in which an outlet is closed off by a water-soluble membrane that dissolves after a certain length of time so that the supernatant of the sample is automatically drained away after centrifugation. The water-soluble membrane may in principle may also be used for other purposes for temporarily retaining a liquid in a holding chamber.