The invention discloses a tapping machine, and relates to the field of mechanical processing devices. A hydraulic device is arranged in a working table, the hydraulic device is connected with a main body, the main body is connected with a connecting rod mechanism, a connecting sleeve is fixedly connected with a rotating shaft, the connecting rod mechanism is connected with a motor protection coverthrough a connecting block and a connecting body, the connecting block and the connecting body are in shaft connection, the motor protection cover is internally provided with a servo motor, and the servo motor is connected with a tapping mechanism; and a rotating motor is arranged below the rotating shaft, a rotating motor output shaft passes through the center of the rotating shaft to be connected with a first worm, the first worm is meshed with a first turbine, the first turbine is meshed with a first gear, the first gear is connected to a drive pulley rotating shaft, a drive pulley and a driven pulley are in belt connection, the drive pulley and the driven pulley are connected to a lower connecting rod, a driven pulley rotating shaft is provided with a second worm, the second worm is meshed with a second turbine, the second turbine is meshed with a second gear, and a gear shaft of the second gear is connected with the connecting body. The tapping machine can realize multi-directional rotation tapping, is convenient to use, does not need multiple positioning, and is high precision.