The invention relates to an automatic electric detonator packaging machine which relates to an automatic packaging machine capable of automatically taking electric detonators out, reshaping the electric detonators and packing the electric detonators with a thermal sealing mode in the electric detonator production process. The automatic electric detonator packaging machine aims to solve the problems that in the prior art, the full-manual operation is low in efficiency and the safety can not be ensured. The technical scheme of the automatic electric detonator packaging machine is as follows: the operation of the automatic electric detonator packaging machine is entirely controlled by a PLC (programmable logic controller) control system, and comprises a mould conveying device, a pipe bagging device, a device for cutting two sealed ends, a side sealing device, a upper film feeding device and a lower film feeding device, wherein the mould conveying device, the pipe bagging device, the device for cutting two sealed ends and the side sealing device are positioned on a workbench according to the order of stations, the upper film feeding device is positioned above the workbench, and the lower film feeding device is positioned under the workbench. The automatic electric detonator packaging machine can prevent operators from directly contacting the dangerous electric detonators, enhances the internal safety, meets the automatic and isolate production requirements on the functions of the stations, and enhances the production efficiency. The automatic electric detonator packaging machine is mainly applied to the automatic packaging of the electric detonator and other objects of the similar structures.