The invention belongs to the technical field of connector engraving machines, and provides a clamping mechanism of a connector engraving machine. The clamping mechanism comprises a supporting assembly, a clamping assembly and an ejecting assembly. The supporting assembly comprises a base, vertical columns, mounting plates, guide strip holes, guide grooves and a clamping groove hole. The vertical columns are fixedly connected with the base, the four vertical columns are located in the four corners of the base correspondingly, and the mounting plates are fixedly connected with the vertical columns. Through the arrangement of the mounting plates, the guide strip holes, sliding seats and chucks, a connector can sleeve the outer sides of the four chucks, meanwhile, the four sliding seats and the chucks oppositely move, the four chucks make contact with the inner wall of the connector, then the connector is clamped, and the problems that when the connector is clamped by a traditional clamp,chucks are clamped on the outer side wall of the connector, thus, the connector of a hollow structure is prone to deforming when clamped, and the defective rate in the production process of the connector is high are avoided.