<p>An igniter enabling the normal ignition of a gas generating agent even if the adhered state of a firing charge to a plug is eliminated by vibration or shock and a gas generator having the igniter. The igniter comprises the plug (13), two or more electrode pins (14) passed through the plug (13) and having head parts (25), a bridge wire (16) connecting at least two electrode pins (14) among the electrode pins (14) across the head parts (25), and the firing charge (10) ignited by the bridge wire (16) energized through the electrode pins (14). The plug (13) is formed of a hardened material of a thermosetting resin composition. The electrode pins (14) allowing the bridge wire (16) to be connected to the head parts (25) thereof are passed through the plug (13) at a specified distance (A) between the head parts (25) and the plug (13), and at least the head parts (25) and the bridge wire (16) are surrounded by the firing charge (10) in the form of a solid body and fixed to the plug (13).</p>