The invention relates to the technical field of valves, in particular to a natural gas valve which comprises a valve body, an exhaust mechanism, a gas transmission mechanism, a protection box, a shielding mechanism, a rotating mechanism, an opening and closing mechanism, a first adjusting mechanism, a second adjusting mechanism, a closing motor, a timer and a battery box. The exhaust mechanism isconnected with the gas transmission mechanism through the rotating mechanism; during the installation of a natural gas, the angle of the gas transmission mechanism can be changed freely according to the position of a gas stove, so that the natural gas valve is simple and convenient to install, wide in application range, and free of using multiple steering pipes; the opening and closing mechanism can be protected, so that dust collection at the rotating part is avoided, the occupied area can be reduced, and the natural gas valve is convenient to operate; when the valve is rotated to open, the second adjusting mechanism can contact the first adjusting mechanism so as to power on, so that the timer is powered for work; and if a user does not close the valve within the preset time, the closingmotor can start to close the valve, so that the safety of the valve is greatly improved.