Eine Vorrichtung für die Thoraxdrainage weist einen Behälteranschluss für einen mit dem Pleuraraum eines Patienten verbindbaren Sekretsammelbehälter (3) und eine Entlüftungseinrichtung (10) auf, um im passiven Betrieb den Sekretsammelbehälter zu entlüften. Um den Gegendruck beim Entlüften möglichst gering halten zu können und so das Auspressen von Luft aus dem Pleuraraum (1) eines Patienten zu erleichtern, weist die Entlüftungseinrichtung ein steuerbares Entlüftungsventil (12) auf. Eine Steuereinrichtung (7) ermittelt dazu den Druck im Sekretsammelbehälter, indem sie einen Drucksensor (11) ausliest, und steuert das Ventil an, um den Sekretsammelbehälter zu entlüften, wenn der ermittelte Druck einen Schwellwert übersteigt. Über einen Vakuumanschluss (25) ist die Vorrichtung optional auch aktiv betreibbar. Eine Hilfsleitung (2´) ermöglicht eine Überwachung der Drainageleitung (2).A device for the thorax drainage has a container connection for a secretion collection container (3) which can be connected to the pleural space of a patient and a venting device (10) in order to vent the secretion collection container during passive operation. In order to keep the back pressure when venting as low as possible and thus to facilitate the squeezing out of air from the pleural space (1) of a patient, the venting device has a controllable venting valve (12). A control device (7) determines the pressure in the secretion collection container by reading a pressure sensor (11) and actuates the valve in order to vent the secretion collection container when the determined pressure exceeds a threshold value. Optionally, the device can also be actively operated via a vacuum connection (25). An auxiliary line (2 ') allows monitoring of the drainage line (2).