A sensor is provided, in particular a gas sensor for determining the concentration of a gas component in a measuring gas, which has a sensor element that projects from a housing by a measuring-gas-side end section exposed to the measuring gas, and a sheath tube having gas passageways, which is placed over the measuring-gas-side end section and affixed on the housing. To prevent condensation of water vapor contained in the measuring gas in the measuring space enclosed by the housing and the sheath tube, and thus the production of water droplets that reach the hot sensor element, sheath tube and/or sensor element are/is thermally decoupled from the housing. The thermal decoupling is produced using, for instance, a flange sleeve made of a material having poor thermal conductivity, which separates the sheath tube from the housing by a flange and, via a sleeve section, is inserted in the space between the housing and the measuring-gas-side end section of the sensor element.