On this page
- Before you start: size the fan and plan the vent path
- Gather your tools and materials
- Step 1: Cut the opening and dry-fit the housing
- Step 2: Mount the fan to the joists
- Step 3: Run the duct to the outside
- Step 4: Install the exterior cap
- Step 5: Wire the fan safely
- Step 6: Test, then finish
- Wrapping up: the checks that make it worth doing
The first ceiling I ever cut into for a bathroom fan had a surprise waiting: the old builder-grade unit was venting straight into the attic. Twenty years of shower steam had rotted a patch of sheathing the size of a dinner plate. The homeowner thought their fan worked fine because it was loud and blew air. It just blew that air nowhere useful.
That job taught me the whole point of this project. A bathroom fan is not really about noise or airflow you can feel. It is about getting warm, wet air out of the house before it condenses somewhere it shouldn’t.
If you can use a drill, run a wire, and get into your attic, you can install a bathroom exhaust fan in an afternoon. Here is how I do it.
Electrical and roof work carry real risk. If your wiring is aluminum, your panel is a mystery, or the only vent path is through a finished ceiling below, bringing in a licensed electrician or handyman is money well spent. Check your local code before you start.
Before you start: size the fan and plan the vent path
Two decisions matter more than anything you’ll do with a screwdriver. The first is airflow. Fans are rated in CFM, cubic feet per minute. For a bathroom under 100 square feet, the old rule of one CFM per square foot works well, so a 7×8 bath (56 square feet) wants at least a 60 CFM fan.
Bigger or fancier bathrooms need more. A room with a soaking tub, a separate shower, and a toilet often gets a fan sized per fixture. The ENERGY STAR program lists efficient, quiet models if you want a shortlist.
The second decision is where the air goes. Walk your attic or look at the exterior wall and pick the shortest, straightest route to a wall cap or roof cap outside. A 4-inch duct is standard; some high-CFM fans want 6-inch.
Every fan needs a dedicated cap that ends outside the building envelope. Dumping the duct near a soffit vent counts as venting into the attic, because the air gets pulled right back in.
Sone ratings and why quiet matters
Fans are also rated in sones for loudness. A 0.3-sone fan is barely audible; a 4-sone fan sounds like a small vacuum. Cheap loud fans get switched off, and a fan nobody runs does nothing for your humidity. I steer people toward 1.0 sone or quieter for any bath they use daily.
Gather your tools and materials

Nothing here is exotic. A trip to the hardware store and about $120 to $250 for the fan and duct kit covers most jobs.
- Exhaust fan unit sized to your room
- 4-inch rigid or insulated flex duct, kept as short as the run allows
- Wall cap or roof cap with a backdraft damper
- Drywall saw, drill, and a reciprocating saw or hole saw for the exterior cap
- Non-contact voltage tester (do not skip this)
- Foil duct tape, not cloth duct tape, plus foil-backed sealant
- Wire connectors, cable clamp, and a headlamp for attic work
Step 1: Cut the opening and dry-fit the housing
Kill the bathroom circuit at the breaker first, even for the cutting stage, so you never surprise a hidden wire. From inside the bathroom, trace the fan housing on the ceiling where it will sit between joists.
Drill a pilot hole, then cut the outline with a drywall saw. Push the housing up to confirm it fits between the framing. If you’re replacing an old fan, the new one may cover the existing hole, but check the dimensions before you buy.
Put the housing near the shower or tub, not by the door. Moisture rises off the water, and a fan on the far wall pulls that steam across the whole room before it exits.
Step 2: Mount the fan to the joists
Most housings have adjustable mounting brackets or tabs that screw straight into the side of a joist. From the attic, position the housing so its bottom edge sits flush with the finished ceiling, then drive the screws. It should not wobble.
If you have no attic access, you’ll fasten through the ceiling using the unit’s built-in brackets, which is fiddlier but doable. Take your time getting it flush so the grille sits tight to the drywall with no gap.
Step 3: Run the duct to the outside
This is the step people rush, and it is the one that ruins fans. Connect the duct to the housing collar and seal that joint with foil tape. Route it to your cap with as few bends as you can manage.
A fan is only as good as its duct. I have seen a 110 CFM unit move less air than a 50 CFM one, purely because the bigger fan fought thirty feet of crushed, sagging flex.
Keep flex duct pulled taut, not crumpled. Every sag traps condensed water and every 90-degree elbow steals airflow. In a cold attic, use insulated duct or wrap it, so shower steam doesn’t condense inside and drip back down through your new fan.
| Duct choice | Airflow | Best use |
|---|---|---|
| Rigid smooth metal | Best | Straight runs you can plan around |
| Semi-rigid aluminum | Good | Gentle bends, tight spaces |
| Insulated flex | Fair | Cold attics; keep it short and taut |
| Uninsulated flex | Worst | Short warm runs only |
Step 4: Install the exterior cap
From outside, cut the hole for your wall or roof cap using a hole saw or reciprocating saw. Feed the duct into the cap’s collar, seal the joint with foil tape, then bed the cap flange in exterior sealant and screw it to the siding or roof.
Confirm the backdraft damper flap swings freely and closes on its own. That flap is what stops winter wind, bugs, and cold air from riding back into your bathroom when the fan is off.
Step 5: Wire the fan safely
Circuit still off, verify it with your voltage tester at the fan location before touching anything. Feed the supply cable through the housing’s cable clamp and tighten it so the sheathing is gripped, not the bare wires.
Connect matching colors: black to black, white to white, and the bare copper ground to the fan’s green screw or ground lead. Cap each pair with a wire connector and tuck them tidily into the junction box on the fan.
If you’re adding a fan where none existed, you’re extending a circuit, and that often needs a permit and inspection. A combined fan/light on a single switch also may exceed what your existing switch and wiring were meant to carry. When in doubt, ask an electrician.
Step 6: Test, then finish
Restore power at the breaker and flip the switch. You should hear the motor and feel suction at the grille. Tape a single square of toilet paper over the grille; if the fan holds it up, you have real draw.
Then walk outside and confirm air is actually blowing from the cap. That outside check is the one most people skip, and it’s the only proof the whole path works.
Finally, seal the housing to the ceiling drywall with a bead of caulk or the foam gasket that came with it, then clip on the grille.
Set it up to actually run
A fan helps only when it runs long enough. Aim for the fan to run during the shower and for 15 to 20 minutes after. A cheap timer switch or a humidity-sensing switch handles this without anyone remembering. The EPA’s indoor air pages back up why steady moisture removal keeps mold at bay.
Wrapping up: the checks that make it worth doing
A good install comes down to three things you can verify with your own eyes: the fan pulls air, the duct runs short and sealed, and the air leaves the building through a proper cap. Get those right and you have protected your ceiling, your paint, and your framing for decades.
If your bathroom stays swampy even with a solid fan running, the fan may be undersized or the whole house may be holding too much humidity. That’s a different fix, and it may point toward a Dehumidifier Buying Guide for Damp Rooms rather than more airflow. But for most homes, a properly vented exhaust fan is the single best moisture upgrade you can make yourself.
Frequently asked questions
Can I vent a bathroom fan into the attic?
No. Venting into the attic dumps warm, moist air into a cold, enclosed space where it condenses on the sheathing and framing. Over time that causes mold, rot, and ruined insulation. The duct must carry the air all the way outside through a dedicated wall cap or roof cap with a backdraft damper. Ending the duct near a soffit vent does not count, because that air gets pulled right back in.
What size bathroom exhaust fan do I need?
For bathrooms under 100 square feet, use about one CFM per square foot, so a 50-square-foot room wants at least a 50 CFM fan. Round up to the next common size for a margin. Larger bathrooms with a separate tub and shower are better sized per fixture, which usually lands you between 90 and 150 CFM total. Also check the sone rating and aim for 1.0 sone or quieter so the fan is pleasant enough to actually use.
Do I need a permit to install a bathroom exhaust fan?
Replacing an existing fan on existing wiring usually does not need a permit. Adding a fan where none existed means running new electrical or cutting a new hole in your roof or wall, and many jurisdictions require a permit and inspection for that. Rules vary by town, so call your local building department before you start. It is a quick phone call that can save you trouble at resale.
How much does it cost to install a bathroom exhaust fan?
Doing it yourself, the fan runs about $40 to $150, plus $40 to $80 for duct, a cap, tape, and connectors, so figure $100 to $250 in materials. Hiring a pro typically adds $150 to $400 in labor, more if they have to run new wiring or cut a roof penetration. A quiet, higher-CFM unit with a humidity sensor costs more upfront but pays off in comfort and moisture control.
How long should a bathroom fan run after a shower?
Run it during the shower and for another 15 to 20 minutes afterward to clear the lingering steam that hangs in the air and soaks into towels and drywall. A simple countdown timer switch or a humidity-sensing switch handles this automatically so nobody has to remember. Leaving a fan on for hours wastes energy and pulls conditioned air out of the house, so a timed shutoff is the sweet spot.