Search

How to Install or Replace a Bathroom Exhaust Fan (and When to Hire a Pro)

Swapping an old bathroom fan for a new one on existing wiring and ducting is a manageable DIY job. Adding a fan where there wasn't one means new wiring and a vent to the outdoors. Here's how to size it, vent it correctly and what it costs.

A bathroom exhaust fan removes moisture before it turns into peeling paint, mold and rot. Installing one is a very different job depending on whether you’re replacing an existing fan or adding one for the first time.

Replacing an existing fan New installation
Wiring Reuse existing New circuit or extension, plus a switch
Ducting Reuse if it’s in good shape and vents outdoors New duct and roof or wall cap
Typical cost (2026) $150–$550 installed $250–$950 installed
DIY? Reasonable for a confident DIYer Usually a pro job; may need a permit

Step 1: Size the fan

Fans are rated in cubic feet per minute (CFM). The Home Ventilating Institute (HVI) recommends:

  • Up to 100 sq ft: 1 CFM per square foot of floor area, with a 50 CFM minimum. A 7×9 ft bathroom (63 sq ft) needs about a 70 CFM fan.
  • Over 100 sq ft: add up the fixtures: 50 CFM each for the toilet, shower and tub, and 100 CFM for a jetted tub.

Building codes based on the International Residential Code require at least 50 CFM for a fan that runs on demand, or 20 CFM for one that runs continuously. Long or bendy duct runs reduce airflow, so size up if the duct is long. Look for an HVI-certified rating and a noise level of 1.5 sones or less if you want people to actually use it.

Step 2: Plan the vent

  • Vent outdoors through the roof or an exterior wall, never into the attic, a soffit that pulls air back in, or a wall cavity. Code requires this, and attic venting causes mold.
  • Use the duct diameter the fan specifies, usually 4 inches. Don’t step down to a smaller size.
  • Keep the run short and straight. Rigid or semi-rigid metal duct performs best.
  • In a cold attic, use insulated duct and slope it so condensation drains outside, not back into the fan.
  • Finish with an exterior cap that has a backdraft damper.

Step 3: Replace an existing fan (DIY overview)

  1. Turn off the circuit at the breaker and confirm the power is off with a non-contact voltage tester.
  2. Remove the grille and motor assembly, then disconnect the wiring and duct.
  3. Remove the old housing. If the new fan is a different size, you may need to enlarge the ceiling hole. “Retrofit” or “no-cut” fans are made to fit existing openings.
  4. Mount the new housing securely to a joist or with its mounting brackets.
  5. Connect the duct to the fan’s outlet and seal it with foil tape (not cloth duct tape).
  6. Connect the wiring per the manufacturer’s instructions, including the ground.
  7. Install the motor and grille, restore power and test.
When to hire a licensed electrician

Hire a pro if you’re adding a fan where there wasn’t one, running a new circuit or switch, adding a heater or light combo that needs more power, or installing a fan over a tub or shower (it must be listed for that location and may need GFCI protection). Many areas require a permit for new wiring.

Features worth paying for

  • Humidity sensor that turns the fan on and off automatically
  • Timer switch so it runs 20 minutes after a shower
  • Quiet motor (under 1 sone)
  • ENERGY STAR models, which use less power on long run times
  • Light or heater combos, which may need a separate circuit

Frequently asked questions

Can I vent a bathroom fan into the attic?

No. Warm, moist air condenses on the roof sheathing and insulation, leading to mold and rot. It must go outdoors.

How long should the fan run after a shower?

About 20 minutes, or let a humidity sensor decide.

Does a bathroom fan need its own circuit?

A basic fan usually doesn’t. Fans with heaters often do. Check the manufacturer’s requirements.

Related: Bathroom fan buying guide · Bathroom remodel cost

Sources: Home Ventilating Institute fan sizing guidance; International Residential Code bathroom exhaust requirements (via PNNL Building America Solution Center); HomeGuide, Fixr and Angi 2026 cost data.

Keep reading