The invention relates to a pulmonary alveolus bionic structure based flexible self-driving gas sensor belonging to the technical field of gas sensors. The gas sensor comprises insulating bases which are sequentially laminated from top to bottom, a first friction electrification layer with two sides respectively deposited with an electrode layer and a gas sensitive film layer and a second frictionelectrification layer adopting an elastic material, wherein the first and second friction electrification layers are fixed at the peripheral edge; a gas channel is formed in the center of the insulating bases, an electrode layer, the first friction electrification layer and the gas sensitive film layer; under the action of air flow, unfixed parts of the first and second friction electrification layers form contact-separation circulation to generate induced charge, so as to output an electric signal with gas concentration characteristics to the outside. Compared with conventional gas sensors, gas concentration can be detected spontaneously without an external power supply system, the output performance of the sensor is steady, the structure is light and easy to carry, and the gas sensor iseasy to mount and place, simple to make, low in processing cost, and favorable for realizing large scale production of self power supply respiration sensors.