Provided is an electric marking punch pin device. The electric marking punch pin device aims at overcoming the defects that in the prior art, structures are immature and effects are unsatisfactory. According to the technical scheme, the electric marking punch pin device is characterized by comprising a shell, a shell back base, a punch, a punch pin, a forward punching electromagnetic coil, a return electromagnetic coil, a return spring, a stroke adjusting stud, a punch tailstock and a return buffer mechanism, wherein the punch is arranged on the shell in a sliding fit manner, and the punch pin is fixed to the front end section of the punch, the punch tailstock is fixed to the rear end section of the punch; the forward punching electromagnetic coil is installed on the front portion in the part, on the outer side of the punch, of a shell cavity, the return electromagnetic coil is installed on the rear portion in the part, on the outer side of the punch, of the shell cavity, and the shell back base is installed on the outer side of the rear end of the shell through the return buffer mechanism; the punch tailstock is located in a cavity of the shell back base, the limiting end of the stroke adjusting stud is located behind the punch tailstock arranged in the cavity of the shell back base, and the adjusting end of the stroke adjusting stud is exposed out of the shell back base; and the rear end section of the punch is sleeved with the return spring, one end of the return spring abuts against the punch tailstock, and the other end of the return spring abuts against the outer side of the rear end of the shell.