The invention discloses a device for detecting and adjusting a hot bed platform in the printing process of a 3D printer. The device for detecting and adjusting the hot bed platform in the printing process of the 3D printer comprises a fixed shell, a sliding rod, a material storage bin, a discharging spray nozzle, a distance measuring sensor, a fixing nut, a through hole, signal transmission lines,the hot bed platform, a servo spiral push rod, a collecting baffle and a motor box. The device for detecting and adjusting the hot bed platform in the printing process of the 3D printer has the beneficial effects that the material storage bin and the sliding rod are located on the same horizontal plane, so that assembly and disassembly of the device are convenient; the distance measuring sensor is provided with infrared interaction, the distance between the hot bed platform and the spray nozzle is accurately measured, so that detection and leveling of the hot bed platform are convenient; thesignal transmission lines are connected between the device and a control host, so that signals of the sensors can be accurately transmitted to the control host, and it is avoided that the sensor and other work portions of the printer interfere mutually; the top end of the servo spiral push rod is connected with the hot bed platform, and automatic vertical adjustment of the hot bed platform is achieved; the four corners of the collecting baffle are provided with flaky protrusions, so that redundant materials sprayed by a printing spray nozzle can be conveniently collected, cost is saved, and economic benefits are improved.