Skip to content
Guide

Bathroom fan humidity sensor switch: types, sizing, wiring

Updated

A humidity-sensing fan or wall switch turns the bathroom fan on when the air gets damp and off when it dries. Learn the types, the cfm you need and when to hire an electrician.

As an Amazon Associate we earn from qualifying purchases. Links to Amazon on this page are affiliate links: buying through them costs you nothing extra.

Why a humidity-controlled fan is worth considering

Moisture is the real problem in a bathroom. The EPA recommends running the bathroom fan or opening a window when showering, and keeping indoor relative humidity below 60%, ideally between 30% and 50%. A fan that people forget to turn on, or turn off too soon, leaves damp air to condense on walls and ceilings, which feeds mold and peels paint. A humidity-sensing control removes the need to remember. The Home Ventilating Institute (HVI) suggests running the fan for about 20 minutes after bathroom use, and recommends a timer for that.

Three ways to get automatic control

OptionHow it worksPrice rangeInstall
Fan with built-in humidity sensorThe sensor sits in the fan housing and turns the fan on and off by itself$70–$250 for the fanReplace the fan: a bigger job, often in the ceiling
Humidity-sensing wall switchReplaces your fan switch and senses the room’s humidity$25–$70Wire into the switch box: line-voltage work
Timer switch (countdown or delay-off)You press it; the fan runs for a set time$15–$50Wire into the switch box
Smart switch plus a separate humidity sensorAn automation turns the fan on at a humidity level and off after a delay$30–$100 combinedWire the switch; the sensor sits on a shelf or wall

The smart route is flexible: you can set the on and off levels, add a minimum run time and get notifications, if your hub or app supports a humidity trigger. It takes some setup. Our general guide to installing a smart switch covers the basic wiring steps, and smart switches without a neutral wire explains a common problem in older boxes.

Step 1: Check the fan before the switch

A better switch cannot fix a weak or blocked fan.

  1. Look for the rating on the fan. Remove the grille. The label shows airflow in cfm and noise in sones.
  2. Compare with the room size. HVI recommends about 1 cfm per square foot of floor area for bathrooms up to 100 sq ft. A 5-by-8-foot bathroom is 40 sq ft. For larger bathrooms, HVI adds 50 cfm for each toilet, shower or tub, and 100 cfm for a jetted tub.
  3. Check where it vents. The duct should go outdoors, not into the attic. Venting moist air into an attic can cause problems.
  4. Check makeup air. HVI notes bathroom doors should be undercut so air can enter; a tight door can choke the fan.
  5. Hold a tissue to the grille. A weak pull suggests a blocked duct or a failing motor.

If the fan is old, loud or undersized, replacing it may help more than a smart control. ENERGY STAR certified ventilation fans use about 48% less energy than standard models, according to ENERGY STAR, and fans with lights use about 70% less; the certification also covers noise and airflow performance.

Step 2: Pick the right switch

Step 3: Install, or hire help

A fan switch sits in a box in the wall on a 120 V circuit. Turn off power at the breaker, then confirm with a non-contact voltage tester that the wires are dead. If the box has multiple switches or a mix of wires, take a photo before disconnecting. Hire a licensed electrician if you are unsure, if the wiring looks old or damaged, if the box is crowded, or if your local code requires a permit or an inspection. Fans over a tub or shower need to be rated for that location, and the circuit may need ground-fault protection; follow the fan’s manual and local code.

Renters usually cannot replace a hardwired fan or switch. Ask your landlord, and in the meantime run the fan for 20 minutes after showers, open a window and use a battery-powered humidity sensor to see whether the room dries.

Setting the humidity level

A bathroom’s baseline humidity changes with the season. Start with the control’s middle setting, shower, and watch how long the fan runs. If it runs for hours in humid summer weather, raise the threshold or add a maximum run time. If the mirror fogs and the fan has not started, lower the threshold. A fixed run-on time of about 20 minutes, as HVI suggests, is a sensible starting point.

Common mistakes

For other humidity problems, such as a damp basement or a bedroom humidifier, see smart humidity control.

Shop by need

Replace an old, loud fan

What to look for: ENERGY STAR certification, cfm at least 1 per square foot of floor area, a low sone rating, a built-in humidity sensor option

Typical price: $70–$250

See options on Amazon

Keep your fan, add automatic control

What to look for: humidity-sensing wall switch rated for fan motors, adjustable threshold and run-on time, neutral wire requirement stated

Typical price: $25–$70

See options on Amazon

Simple timer for a shared fan and light

What to look for: countdown or delay-off timer rated for fan motors, 10 to 60 minute options, manual override

Typical price: $15–$50

See options on Amazon

Smart home automation

What to look for: smart switch for fan motors, separate temperature and humidity sensor, local control through your hub

Typical price: $30–$100

See options on Amazon

Frequently asked questions

How long should a bathroom fan run after a shower?

The Home Ventilating Institute suggests about 20 minutes after bathroom use. A timer or humidity-sensing control makes that automatic.

Can I put a humidity sensor switch on any bathroom fan?

Usually yes, if the switch is rated for fan motors at the fan’s amperage. Check the fan label, the switch box for a neutral wire and whether the light and fan share one switch.

What size bathroom fan do I need?

The Home Ventilating Institute recommends about 1 cfm per square foot for bathrooms up to 100 sq ft. For larger bathrooms it adds airflow for each toilet, shower or tub. Check your local code as well.

Do I need an electrician to install a humidity fan switch?

Not always, but it is work on 120 V wiring. Turn off the breaker and test the wires first, and hire a licensed electrician if you are unsure or local code requires it.

Sources

  1. Home Ventilating Institute — Bathroom ventilation guidelines
  2. Home Ventilating Institute — How much ventilation do I need?
  3. ENERGY STAR — Ventilation fans
  4. U.S. EPA — A brief guide to mold, moisture and your home

Related pages