The invention discloses an automatic oil-water separation device, which comprises a box body, a water inlet, a controller, a filter screen, a slag discharge valve, a separation box, an oil layer area, a water layer area, a sedimentation layer area, a floating oil collector, and an oil discharge valve , liquid level sensor, drainage pipe, motor, sewage valve, observation door and pulley, the upper end of the box is equipped with a controller, the bottom end of the filter screen is connected to the slag discharge valve, the lower end of the oil layer area is equipped with a water layer area, and the water layer area The bottom of the area is connected to the sediment layer area, the upper end of the oil layer area is equipped with a floating oil collector, and the inside of the tank is equipped with a liquid level sensor. The beneficial effects achieved by the present invention are: by installing the liquid level sensor and the controller, the oil and water precipitation can be effectively detected, which is beneficial to the control and separation of the controller, which is convenient and fast, and the installation of the floating oil collector facilitates the collection and separation of the oil, and the installation of drainage The pipe and the blowdown valve are effectively divided into tasks, and the invention has good separation effect, automatic separation, convenience, quickness, and ease of use.