The invention discloses a detection device for safe use on a machine tool, which includes an automatic suspension oil collecting pan, a pipeline, a primary filter chamber, a secondary filter chamber, a suction plate, an ultrafine filter chamber, a decompression chamber, a liquid regeneration box, Electronic liquid discharge control box, carrying frame, liquid level detection tube, separation turntable, qualified detection tube, sterilization tube, waste liquid collection tank, upper cover plate, first side plate, rear cover plate, second side plate, lift Casters, electric box, flow detection tube and control panel. The beneficial effect of the present invention is: by setting a primary filter chamber, a secondary filter chamber and an ultra-fine filter chamber inside the device, high efficiency and high purification rate can be realized. By installing a qualified detection tube inside the liquid regeneration box, the loss of product scrapping caused by excessive cutting fluid particles and the labor cost of replacing the cutting fluid can be reduced. By connecting the sterilization pipe on the side of the waste liquid recovery tank, it is possible to eliminate the skin allergies and other diseases of the staff caused by the deterioration of the cutting fluid.