The invention provides a numerical control firecracker binding and firecracker barrel tail blocking machine to overcome the defects that a large number of waste firecracker barrels are produced due to the fact that an existing hand-operated firecracker binding and firecracker barrel tail blocking machine is high in labor intensity and positioning is inaccurate due to manual feeding, and belongs to the technical field of firework and firecracker machinery. According to the scheme, some technical measures are taken, namely, mechanical power replaces manual power, and numerical control automatic feeding replaces manual feeding. According to numerical control automatic feeding, firecracker barrels are fixed, clamped and bound on a longitudinal sliding table, and an electric firecracker barrel tail blocking machine head is arranged on a transverse sliding table. Through a single board computer and the like, the longitudinal sliding table and the transverse sliding table are controlled to move synchronously, therefore, firecracker barrel tail blocking needles can be aligned with each row of firecracker barrels, and numerical control automatic feeding can be achieved. According to the scheme, due to the fact that manual power is replaced by an electromotor, labor intensity of workers is greatly relieved, and meanwhile the working speed is greatly raised. After manual feeding of the firecracker barrel tail blocking machine is replaced by the numerical control automatic feeding, the feeding positioning accuracy of the firecracker barrels is greatly improved, and the phenomenon of appearance of the waste firecracker barrels caused by inaccurate positioning is basically eliminated.