A sensor element of a gas sensor is described, this sensor being used to determine the concentration of at least one component of a gas mixture, in particular in exhaust gases of internal combustion engines. It includes at least two electrodes (22, 23) which are situated in an internal gas space (15) which is in direct contact with the gas mixture, the one electrode (22) containing a first material and the second electrode (23) containing a second material. The internal gas space (15) contains a means (34, 26, 38, 39) which acts physically and/or chemically to prevent diffusion of metal between the electrodes (22, 23).