An electronic device analogous to a thermostat but which responds to relative humidity, not temperature. Humidistats are used in a number of devices including dehumidifiers, humidifiers, and microwave ovens. In humidifiers and dehumidifiers the humidistat is used where constant relative humidity conditions need to be maintained such as a refrigerator, greenhouse, or climate controlled warehouse.