The invention discloses a guardrail punching machine, and relates to the field of punching equipment. The guardrail punching machine comprises a rack, a pressure-bearing table and a punching head, the pressure-bearing table is connected with the rack, the punching head is slidably connected with the rack, the punching head is located at the top of the pressure-bearing table, the guardrail punching machine further comprises a punching ring and a driving assembly, the punching ring is arranged at the end, close to the pressure-bearing table, of the punching head, the punching ring comprises a plurality of punching cutters, and the multiple punching cutters are all hinged to the punching head. The driving assembly comprises driving blocks and guiding pieces, the driving blocks are located on the inner walls of the punching cutters and can move towards the side close to the punching head, the guiding pieces are located at the sides, facing the punching cutters, of the driving blocks, driving grooves are formed in the punching cutters, the driving grooves are formed in the moving direction of the driving blocks, the guiding pieces can slide along the driving grooves and can drive the punching cutters to move towards the sides away from each other or close to each other. According to the machine, the convenience of punching through holes with different diameters in a guardrail can be improved.