The invention relates to the technical field of chemical industry and particularly rates to a device for extracting gasoline and diesel oil from used lubricating oil. The device comprises a settling tank, a high-temperature oil pump, a flash tank, a gasifying kettle, a gasifying kettle filter tower, an induced draft fan, a smoke purifying device, a fixed bed catalyzing tower, a fractionating tower, a water cooler for gasoline, a diesel oil intermediate tank, a gear oil pump, a diesel oil storage tank, as well as a vacuum pump set, an oil-gas separation tank, a reflux pump, a gasoline storage tank, a dry gas buffering tank, a dry gas desulfurating / dechlorinating tower, a dry gas holder, a fused salt heating furnace, a fused salt pump and a fused salt tank, wherein the settling tank, the high-temperature oil pump, the flash tank, the gasifying kettle, the gasifying kettle filter tower, the fixed bed catalyzing tower and the fractionating tower are connected in sequence, the fractionating tower is respectively connected with a gasoline extracting device and a diesel extracting device, and the fused salt heating furnace is used for providing a heat source for the whole set of device. The device is full automatic, pollution-free, zero-energy-consumption, environmentally friendly, low-consumption and easy to operate and can be used for treating used lubricating oil without causing any harm or pollution and realizing the best resource utilization of the used lubricating oil.