A safety structure of a gas burner is disclosed formed of a slide, a stop device and a housing. When pressed the slide, a third spring member is compressed to lower the stop device and to further disengage the retaining blocks of the stop device from respective retaining grooves of the slide, thereby releasing the stop device from the constraint of the slide. When the user keeps pressing the slide at this time, the retaining blocks are moved to a bottom side of the guide ribs of the slide and the frame base is forced to squeeze a first spring member to release the locked state.