Home & Garden
128,810 views
25 min · 3 min read
7 steps
Advanced

How to replace a bathroom exhaust fan and vent it properly through the roof

Replacing a bathroom exhaust fan and venting it through the roof improves air quality and prevents moisture damage. This guide walks you through selecting the right fan, removing the old unit, and installing a roof vent so the system runs quietly and drains condensate properly. Allow 2–4 hours for most DIY jobs and call a pro if you hit structural or electrical complications.

Verified by pleasexplain editors
  1. Step 1: Choose the right fan

    Measure the bathroom size in square feet and choose a fan with at least 1 CFM per square foot (typical 50–110 CFM). Also check sone rating for noise (look for 1.0 sone or less for quiet operation) and ensure the housing fits between joists or select a remodel housing for finish work. Confirm the fan has a suitable motor type (permanently lubricated or brushless) and consider integrated lights or heaters if desired.

    [Illustration: box of bathroom exhaust fan, spec label showing CFM and sone, measuring tape and room dimensions on paper]

  2. Step 2: Turn off power and prepare

    Shut off the bathroom circuit at the breaker and verify power is off with a noncontact voltage tester at the fan wiring. Lay down drop cloths and protect fixtures; place a small bucket to catch debris. Take photos of the existing wiring and duct layout for reference before removing the old fan.

    [Illustration: breaker panel with switch off, voltage tester near ceiling fan junction, drop cloth over bathroom fixtures]

  3. Step 3: Remove the old fan

    Unscrew the grille and disconnect the wiring and duct from the housing; cut cable ties and unclip duct as needed. Loosen mounting screws or remove spring clips and carefully lower the housing; seal any old attic insulation from falling with a light barrier. Inspect the ceiling hole and framing to determine if you need to patch, enlarge, or install a new housing bracket.

    [Illustration: old fan grille removed, installer lowering fan housing through ceiling hole, visible attic above with duct disconnected]

  4. Step 4: Plan roof vent location

    From the attic, choose a straight run up to the roof with minimal turns; keep duct length under 25 feet equivalent and limit bends to two 90-degree elbows (each counts as 5–10 feet). Aim for a roof location between rafters that avoids plumbing vents, skylights, and electrical lines; mark the roof from inside using a stud finder and measuring tape.

    [Illustration: attic view showing straight path to roof, measuring tape along rafters, marked roof location]

  5. Step 5: Install roof cap and flashing

    On the roof, cut a hole sized to the roof cap template and slide the flashing under shingles above the cut line and over shingles below, securing with corrosion-resistant roofing nails. Use a roof vent cap with a backdraft damper and apply a 3/8-inch bead of roofing sealant under the top edge of flashing to prevent leaks. Flashing and cap installation should take 1–2 hours depending on roofing type.

    [Illustration: roof with flashing being fitted under shingles, circular hole in roof, roof vent cap ready with backdraft flap visible]

  6. Step 6: Run rigid duct and connect fan

    Use 4-inch smooth metal duct (not plastic) and cut to fit the shortest practical run; secure joints with foil tape and 3 sheet metal screws per joint. Keep the duct slope upward toward the roof vent so condensate drains out; fasten the duct to rafters with metal straps every 4 feet. Reconnect the duct to the fan housing with a foil tape wrap and clamp, then reconnect the wiring using wire nuts and a junction box cover.

    [Illustration: attic with 4-inch metal duct running to roof vent, foil tape wraps at joints, straps securing duct to rafters]

  7. Step 7: Test, insulate, and finish

    Restore power and test fan speed and damper operation; measure noise and airflow if possible. Insulate around the housing with insulation baffles so attic insulation does not obstruct airflow and seal any gaps in the ceiling with acoustic caulk. Reinstall the grille, check the roof for flashing sealant squeeze-out, and monitor for leaks during the next rain.

    [Illustration: installer testing fan with hands near grille, insulation packed around housing, sealant bead visible on roof flashing]


  • Buy a fan with a built-in backdraft damper or add one at the roof to reduce cold drafts.
  • Label and photograph electrical connections before disassembly to avoid wiring mistakes.
  • Keep total duct run under 25 feet equivalent; account 90-degree elbows as 5–10 feet each in equivalent length.
  • Use smooth metal duct and foil tape; avoid flexible plastic duct which traps moisture and reduces airflow.
  • Wear safety glasses and a mask when working in the attic to avoid insulation and dust exposure.
  • Have a helper steady ladders and hand up parts; many steps are safer with one assistant.

  • Turn off power at the breaker and verify with a voltage tester; improper wiring can cause shock or fire.
  • Do not vent the fan into the attic; attic ventilation leads to mold and structural damage.
  • If roof sheathing or rafters must be cut, consult a professional; improper cutting can compromise roof structure and lead to leaks.
  • If you are uncomfortable on the roof, lack fall protection, or local code requires a licensed electrician or roofer, hire a pro rather than risking injury or code violations.

Was this guide helpful?