Humidity sensors may exhibit a relatively small amount of hysteresis and/or a faster response time. In some cases, a humidity sensor may include a polymeric humidity sensing layer disposed over an electrode layer. The polymeric humidity sensing layer may include a halogenated layer disposed over the polymeric humidity sensing layer. The polymeric humidity sensing layer may, for example, include a polyimide and the halogenated layer may include a monolayer or less than a monolayer of a halogenated material such as a fluorinated material.