Humidity Control Basics for Terrariums and Vivariums

Humidity is the environmental variable that new keepers most often get wrong, partly because it is invisible and partly because the advice online is full of single numbers with no context. A species does not need one humidity level, it needs a range and usually a daily cycle, often higher overnight and after misting, then falling during the day. Just as important, it needs a humid retreat available at all times regardless of what the overall enclosure reads. An animal that can duck into a damp moss filled hide whenever it wants is far better served than one sitting in an enclosure that has been fogged to hit a number on a gauge.
Measure before you adjust anything. Use a digital hygrometer, ideally two placed at different heights or ends, and read them over several days rather than glancing once. Analogue dial hygrometers are notoriously inaccurate and will send you chasing problems that do not exist. Note that humidity readings move sharply after misting and settle over the following hours, so a single spot reading tells you almost nothing. What you want to know is the shape of the day: the peak after misting, the level it settles to, and the low point before the next cycle.
Raising humidity has a hierarchy of methods, and the durable ones beat the dramatic ones. Reducing ventilation is the most powerful lever, which is why tropical species do poorly in full screen top enclosures and much better in glass or PVC enclosures with limited vents, sometimes with part of the screen covered. A deep, moisture retentive substrate acts as a reservoir, releasing humidity slowly all day. A large water surface, or a water dish placed near the warm end, adds evaporation. Live plants and leaf litter both hold and release moisture. Misting and foggers sit at the top of the list as adjustments, not foundations, because their effect fades within hours.
Lowering humidity works the same way in reverse. Increase ventilation, use a drier substrate, move the water bowl to the cool end so it evaporates more slowly, and shrink its surface area. Check the room itself, since a damp basement or a humid summer will push every enclosure in it upward. Ventilation is doing double duty here: it controls humidity, and it prevents the stale, stagnant air that encourages mould and respiratory problems. Even a species that needs high humidity needs air movement, and high humidity combined with poor airflow is a genuinely bad combination.
Automation helps once the fundamentals are right, but it cannot rescue a badly ventilated or badly substrated enclosure. Automatic misting systems on timers give a repeatable daily cycle and are worth it for species with demanding regimes. Ultrasonic foggers produce dramatic visible fog with a modest actual effect and need scrupulously clean water to avoid pushing bacteria into the air. Whatever you automate, keep watching the readings, because a blocked nozzle or a drained reservoir is easy to miss when the system usually works.
The habitat will tell you when humidity is wrong, and it is worth learning the signals. Persistent condensation running down the glass with no drying period, a sour smell, or visible mould on the substrate means too wet, too still, or both. Stuck shed on toes and tail tips, retained eye caps, or an animal soaking in its water bowl constantly often points to too dry, though it can have other causes. Treat these as environmental prompts to recheck your setup. If shedding problems persist after the environment is corrected, or if you see any sign of a respiratory issue such as open mouth breathing, wheezing, or discharge, contact a reptile experienced veterinarian promptly rather than adjusting the misting schedule again.