The utility model belongs to the technical field of valves, and discloses a
gas meter front valve and a key thereof, which comprise a valve body, a valve rod and a
handle, a valve ball is arranged in the valve body, the valve ball is provided with a valve ball channel and a rotating groove, a first end of the valve rod is connected with the
handle, a second end of the valve rod forms a rotating bump, the rotating bump is inserted into the rotating groove, and the valve rod is driven by rotating the
handle. The position of a valve ball channel is changed, and the inside of the valve body is controlled to be switched on and off; a positioning protruding block is formed at the first end of the valve rod, a locking positioning groove is formed in the side face of the positioning protruding block, a spring and a locking
magnet are sequentially arranged in the locking positioning groove, and a locking groove is formed in the inner side face of the handle. By designing a
locking mechanism, a user is prevented from opening the valve arbitrarily, benefits of a gas company and life and property safety of the user are guaranteed, it can be guaranteed that the gas valve cannot be opened under the condition that a pipeline is abnormal or the user has potential safety hazards, and possible safety accidents such as
fire disasters and explosions are avoided.