
Affiliate Disclosure
Some links on this page are affiliate links. As an Amazon Associate, we earn from qualifying purchases — at no extra cost to you. We do not buy, test, or physically handle the products we cover; our rankings come from aggregated owner reviews, ratings and expert consensus. Commissions never change our verdicts. How we rank · full disclosure.
Installing a bathroom exhaust fan is an intermediate DIY project: a straight swap into an existing opening and duct takes 1 to 2 hours, while a brand-new fan with fresh ducting and a roof or wall cap is a full-day job. Budget $40 to $150 for the fan and another $30 to $60 for duct and a vent cap. The tricky parts are venting it to the outdoors correctly and the electrical connection. Reusing an existing switched circuit is DIY-friendly; running new wiring or a new circuit is where local code, a permit, and often a licensed electrician come in.
Step-by-step: installing an exhaust fan
This sequence assumes attic access above the bathroom. Cut power at the breaker before touching any wiring.
- Size the fan and plan the vent path. Use 1 CFM per square foot, 50 CFM minimum. Decide whether you are going out through the roof or a sidewall, and pick the shortest, straightest route. Never plan to end the duct in the attic.
- Kill the power and remove the old fan or mark the opening. Switch off the breaker and confirm with a non-contact tester. For a replacement, disconnect the wiring and duct and drop the old housing. For a new install, mark the housing outline on the ceiling between joists and cut the drywall with a drywall saw.
- Mount the housing to a joist. Position the housing so its edge is flush with the finished ceiling and screw its bracket to the adjacent joist. It must sit tight to the drywall so the grille seals with no gap.
- Run the duct to the exterior. Connect smooth-wall rigid or insulated semi-rigid duct at the size the fan specifies (usually 4 inches) from the housing collar to a dedicated roof or wall cap fitted with a backdraft damper. Keep it short, minimize elbows, and slope horizontal runs slightly downhill to the outside.
- Seal and insulate the duct. Band and foil-tape every joint, and wrap the duct with insulation where it passes through unconditioned attic space to stop condensation from forming inside it and dripping back.
- Make the electrical connections. Match the fan leads to the supply cable, white to white, black to black (or to the switched leg), ground to ground, secured with wire nuts, and clamp the cable at the housing. If you are adding a new circuit or new cable, this is the point where code and permitting apply.
- Restore power and test. Turn the breaker back on and run the fan. Check that air moves out of the exterior cap: hold a tissue to the outside vent and confirm the flapper opens.
- Fit the grille. Squeeze the mounting springs into the housing slots and push the grille up flush to the ceiling.

Tools and materials
You need a drywall saw, a drill/driver, a non-contact voltage tester, wire nuts, foil duct tape and metal banding, rigid or insulated duct at the specified diameter, an exterior vent cap with a damper, and duct insulation for attic runs. A fan with a humidity sensor or a companion timer switch pays for itself in mold prevention. If poor ventilation has already left you fighting moisture and hard-water film in the shower, our exhaust fan roundup ranks the quietest high-CFM units owners keep, and a shower filter helps with the scale that humidity bakes onto glass and tile.

Venting, electrical and code
Two rules protect your house. First, the duct must terminate outdoors, at a roof or wall cap, never in the attic or a soffit; venting into the attic drives mold and rot and fails inspection. Second, treat the wiring seriously: cut power at the breaker, verify with a tester, and stop if you would be running a new circuit rather than reusing an existing switched one. Electrical near a wet room and new ductwork through the building envelope are governed by local mechanical and electrical codes, which vary by jurisdiction and frequently require a permit. When new wiring or a new penetration is involved, bring in a licensed electrician or contractor.
We never buy, test or physically handle the products we rank. Recommendations come from aggregated owner reviews, star ratings, review volume and expert consensus — see how we rank.
More from this hub: Bathroom · Resealing a shower · Regrouting tile · Installing a vanity light · Best exhaust fans · How we rank