Device for drying a compressed gas in a non-dissipative manner, which mainly consists of a compressed gas supply (2), at least two pressure vessels (31, 32) with an input (33, 34) and an output (35, 36), and a take-off point (26), whereby the device (1) is additionally provided with a first distribution device (3) and a second distribution device (13) which is provided with one or several coolers (30) and whereby the device (1) can be controlled by means of nine or ten cut-off valves (7-12, 21, 22, 29, 38 and 40).