Early seismic prediction in tunnels has become a necessary task to prevent construction risks. The type and performance of the seismic source are crucial factors that affect its efficiency and prediction accuracy. Among the existing main types of tunnel seismic sources, both explosive and spark sources require pre-drilling and pose safety hazards. In addition, explosive sources pose a risk of damage to tunnel structure walls. Spark sources must be used in a water medium. Artificial hammer sources have weak energy and short prediction distance. This paper proposes a portable tunnel electromagnetic impulse shock source that overcomes the deficiencies of the aforementioned seismic sources. This paper elaborates on the design and working principle of the electromagnetic impulse shock source, and analyzes the electromagnetic force exerted on the hammer body during acceleration. Through finite element simulation, this paper analyzes the multi-physical field changes of the entire electromagnetic acceleration system. Meanwhile, combining experimental testing, the design parameters and energy of the seismic source are optimized to finally design a portable electromagnetic impulse shock source. The engineering measurement data results show that the seismic source can stably generate an output energy of 1500 J, and the overall weight of the seismic source does not exceed 40 kg, with a single shot time less than 30 s and an effective prediction distance over 100 m. This work has significant practical value and superiority.