Gas sensor for detecting the concentration of a specific gas in a gas of a measuring object, wherein the gas sensor comprises: a sensor element that an element body comprising an
oxygen ion-conducting
solid electrolyte layer, wherein a sample gas flow section is arranged in the element body, which allows the sample gas to be introduced into and flow through it, a measuring
electrode that is arranged in the gas flow section of the object being measured, a device-gas-side
electrode that is arranged inside or outside the element body in such a way that it comes into contact with the device gas, a
reference electrode located inside the element body, and comprising a reference gas introduction section which allows a reference gas to be introduced into it and to flow through it to the
reference electrode, the reference gas being used as a reference for detecting the concentration of a specific gas in the gas of the object being measured; a detection device which detects the concentration of a specific gas in the gas of the object being measured based on a
voltage between the
reference electrode and the measuring
electrode; and a reference gas regulating device which allows an
oxygen pumping current to flow between the reference electrode and the device gas-side electrode for pumping
oxygen into the environment of the reference electrode from the environment of the device gas-side electrode, wherein a ratio R1 / R2 of a reaction resistance R1 of the reference electrode to a
diffusion resistance R2 of the reference gas introduction section is greater than or equal to 0.1 and less than or equal to 2.0, wherein the reaction resistance R1 of the reference electrode correlates with the amount of oxygen to be pumped from the environment of the device gas-side electrode into the environment of the reference electrode, and the
diffusion resistance R2 of the reference gas introduction section correlates with the probability that the oxygen in the environment of the reference electrode will be released to the outside.