The CNC self-piercing riveting machine is a device that mounts the self-piercing riveting machine onto a CNC platform, thereby achieving digital control of the self-piercing riveting machine. The self-piercing riveting machine can sequentially complete the processes of positioning, automatic rivet loading, and automatic riveting. In current production, due to the increasing demand for automation, more and more enterprises are using CNC self-piercing riveting machine equipment. For example, in industries such as busbar trunking, steel structure interior walls, and automotive firewalls, CNC self-piercing riveting machine equipment has a wide range of applications.