Safety gas cooker can automatically turn off the gas valve in case of flame extinguished to prevent hazard that may happen by spreading gas.