The invention belongs to the technical field of detection devices, and discloses an automatic detection device for an M-value of a worm and the runout of a tooth surface. The automatic detection device comprises a workbench, wherein the workbench is provided with a clamping unit used for clamping the worm and a measuring unit used for measuring the M-value of the worm and the runout of the tooth surface, the measuring unit comprises a contact portion, a measurement portion, a moving base and a measurement control portion, the contact portion is connected with the measurement portion, the measurement portion is arranged on the moving base, the measurement control portion is connected with the moving base, and the measurement control portion can control the measurement portion and the contact portion to move along a direction parallel to a clamping axis of the worm and a radial direction of the worm so as to enable the contact portion to be contacted with the tooth surface of the worm toperform measurement. The automatic detection device abandons a method of manually detecting the M-value, and improves the detection accuracy through refined component setting. Meanwhile, the automatic detection device is mechanically operated in the whole process, can realize full detection for the M-value of the worm, avoids the risk of manual wrong detection and missed detection and improves the detection efficiency at the same time.