Mainspring (firearms)
In firearms, the mainspring is a spring in the firing mechanism which stores the energy required to ignite the primer of the cartridge. The mainspring may be called a striker spring on striker-fired firearms, or hammer spring on hammer-fired firearms. After the trigger mechanism has been released, the tensioned mainspring will drive the firing pin or hit the firing pin so that it is driven.
Mainsprings can come in many shapes, such as a cylindrical spring, plate spring or spiral spring. On a number of automatic firearms, the recoil spring may also function as a mainspring.
Mainsprings should not be confused with the type of firing pin spring which is utilised in some designs instead of free-floating firing pins to prevent slamfire.