A centerfire cartridge is a firearm metallic cartridge whose primer is located at the center of the base of its casing (i.e. "case head"). Unlike rimfire cartridges, the centerfire primer is typically a separate component seated into a recessed cavity (known as the primer pocket) in the case head and is replaceable by reloading.
Centerfire cartridges have supplanted the rimfire variety in all but the smallest cartridge sizes. The majority of today's handguns, rifles, and shotguns use centerfire ammunition, with the exception of some .17 caliber, .20 caliber, and .22 caliber rimfire handgun and rifle cartridges, a few small-bore/gauge shotgun shells (intended mainly for use in pest control), and a handful of antiquated centerfire, rimfire, and pinfire cartridges for various firearm actions.
An early form of centerfire ammunition, without a percussion cap, was invented between 1808 and 1812 by Jean Samuel Pauly. This was also the first fully integrated cartridge and used a form of obturation employing the cartridge itself. Another form of centerfire ammunition was invented by the Frenchman Clement Pottet in 1829; however, Pottet would not perfect his design until 1855. The centerfire cartridge was improved by Béatus Beringer, Benjamin Houllier, Gastinne Renette, Smith & Wesson, Charles Lancaster, Jules-Félix Gévelot, George Morse, Francois Schneider, Hiram Berdan and Edward Mounier Boxer.
Centerfire cartridges are more reliable for military purposes because the thicker metal cartridge cases can withstand rougher handling without damage, and is safer to handle because explosive priming compound in a protruding rim is more likely to be triggered by impact if a rimfire cartridge is dropped or pinched. The stronger base of a centerfire cartridge is able to withstand higher chamber pressures which in turn give a bullet greater velocity and energy. While centerfire cartridge cases require a complex and expensive manufacturing process, explosive handling is simplified by avoiding the spinning process required to uniformly distribute priming explosive into the rim because of uncertainty about which angular segment of a rimfire cartridge rim will be struck by the firing pin.