The invention discloses a transmission mechanism for an automatic thread rolling machine. The transmission mechanism comprises a supporting mechanism, a power mechanism and a machine body, wherein the power mechanism is fixedly installed at the top end of the supporting mechanism, the machine body is arranged on the side, close to the power mechanism, of the supporting mechanism, a cleaning mechanism is fixedly installed on the portion, on the side face of the machine body, of the supporting mechanism, a sliding mechanism is slidably connected to the side face of the supporting mechanism, a switching mechanism is fixedly welded to the side, close to the machine body, of the supporting mechanism, a fixing mechanism is fixedly installed on the side face of the switching mechanism, a material guiding mechanism is arranged at the position, under the sliding mechanism and the fixing mechanism, of the bottom end of the supporting mechanism, and thread rolling plates are fixedly connected to the side faces of the sliding mechanism and the fixing mechanism in a clamped mode. When the transmission mechanism is used, the transmission mechanism is linked with other parts in the thread rolling process, more effects are achieved, the product machining quality of the device is improved, the device is easier to use, and the part machining efficiency is higher.