An element composed of glass displaying reduced electrostatic charging is provided. The element is suitable as a housing component for electronic elements, an element implantable in the human or animal body including glass tubes for reed switches or transponders and/or implants. The glass includes at least one alkali metal and/or an alkali metal oxide and has a surface. The concentration of at least one alkali metal and/or the alkali metal oxide increases from the surface in a direction of an interior of the element in such a way that a maximum concentration of the alkali metal and/or the alkali metal oxide occurs at a distance of not more than 60 nanometres, measured perpendicularly from the surface.