The invention discloses a digital thoracic cavity drainage device. The digital thoracic cavity drainage device comprises a main machine, a drainage bottle and a drainage tube, detection openings are formed in one side of the drainage tube and one side, fixedly communicating with the main machine, of the drainage tube, the two sets of detection openings fixedly communicate, drainage openings are formed in one side of the drainage tube and one side of the drainage bottle, and the two sets of drainage openings fixedly communicate. A liquid level detection module is arranged in the main machine, a bacteria filter is arranged in an extraction opening in one side of the drainage bottle, and the main machine comprises a controller, a display screen, keys, a power source, an air pump, a first pressure sensor, a second pressure sensor, an electromagnetic valve, an SD card, a storage chip and a buzzer. The first pressure sensor and the second pressure sensor are both arranged in the main machine, so that interface connection of the device is convenient for quick disassembly, pleural effusion is drained to the drainage bottle through the drainage openings, pleural air pressure is guided to the main machine through the detection openings for monitoring, and effusion backflow is avoided.