The invention discloses a gun type fire extinguisher. The gun type fire extinguisher comprises a launching tube, a cartridge receiver, a safety cover, a handle, a medium barrel filled with fire extinguishing media and an integral cartridge case, an igniter, a firing pin assembly, a buffer filler, a limit assembly, a firing button and a firing pin spring, wherein the firing pin assembly can be contacted with the igniter and can ignite propellant powder, the limit assembly can axially limit the firing pin assembly along the cartridge receiver, the firing button can remove the limitation of the limit assembly to the firing pin assembly, and the two ends of the firing pin spring pushes against the firing pin assembly and the cartridge receiver respectively. According to the gun type fire extinguisher, based on the aerodynamic principle, shock waves generated by high-pressure airflows caused by propellant powder launching moment are utilized, so that the fire extinguishing media and air resistance form powerful storm surge currents which can put out a fire source instantly. The gun type fire extinguisher is a non-standard device, and can be applied to fire danger occasions with small spaces such as an indoor space and a vehicle-mounted space under complex environment climate conditions.