Home › Articles › DIY Projects
DIY Projects

How to Install a Bathroom Exhaust Fan: A Beginner's Complete Guide

Oct 17, 2026 · 9 min read · By ElectricTechs Team
How to Install a Bathroom Exhaust Fan: A Beginner's Complete Guide
A single hot shower can dump half a litre of water into the air of a small bathroom. Without a working exhaust fan, that moisture soaks into paint, drywall, grout and framing, feeding mould and slowly rotting the structure around it. Installing a bathroom exhaust fan is one of the highest-value DIY electrical projects a homeowner can tackle: the fan itself is inexpensive, the wiring is straightforward, and the payoff is a bathroom that stays dry and healthy for decades. This guide walks through sizing, ducting, wiring and mounting, with the code rules that keep the job safe.

Why your bathroom needs a real exhaust fan

Warm shower steam carries a surprising amount of water. When that vapour hits cooler walls, mirrors and ceilings, it condenses into liquid water that paint, drywall and wood happily absorb. Do this every day for a few years and the results are predictable: peeling paint, crumbling grout, black mould in the corners, and in bad cases, rotted framing and subfloor that costs thousands to repair.

An exhaust fan breaks the cycle by capturing the humid air at the ceiling and dumping it outside before it can condense. Building codes take this seriously: the International Residential Code requires every bathroom to have either an openable window or mechanical ventilation moving at least 20 cubic feet per minute continuously, or 50 CFM on an intermittent switch. A bathroom with no fan and no window is not just unpleasant, it is a code violation in most jurisdictions.

Ventilation matters for health as well as for the house. Bathrooms grow mould faster than almost any other room, and mould spores aggravate allergies and asthma. A fan that runs during every shower and for twenty minutes afterwards is the simplest, cheapest mould-prevention system you can install. If your current fan is a rattling, 4-sone relic from the 1990s, upgrading it counts as one of the best returns on a Saturday afternoon.

Choosing the right fan: CFM, sones and ratings

Fan shopping comes down to three numbers. CFM, cubic feet per minute, is airflow. The rule of thumb is 1 CFM per square foot of bathroom floor area: a 60-square-foot bathroom needs at least 60 CFM. Code sets a floor of 50 CFM for intermittent fans, so even a tiny powder room gets a 50 CFM unit. For bathrooms over 100 square feet, or ones with a jetted tub or a tall ceiling, step up to 80 or 110 CFM. Bigger is not always better though: an oversized fan in a small bathroom can pull conditioned air out of the whole house and create drafts.

Sones measure noise, and this is where cheap fans betray themselves. A 4-sone fan sounds like a loud conversation; a 1.5-sone fan is a gentle hum; below 1.0 sones is near-silent. Here is the cruel irony of bath fans: a loud fan gets used less, and a fan that is never switched on does nothing. Pay the small premium for a quiet model, because a fan you will actually use beats a powerful one you dread.

Check the labels before you buy. Look for ENERGY STAR certification for efficiency, and check the duct size the fan expects, usually 4 or 6 inches, because that decides your ducting. If the fan will sit directly over a shower or tub, the model must be rated for wet locations, and it must be wired to a GFCI-protected circuit. That rating is printed on the box and in the manual; never assume.

Plan the duct route before you buy anything

The single most common bath-fan mistake is venting into the attic. Dumping warm, wet air into a cold attic is a recipe for mould on the roof sheathing and rotted insulation. The duct must terminate outside the building envelope: through a side wall, the roof, or a soffit, fitted with a proper exterior vent cap that has a backdraft damper to keep cold air and insects out.

Map the shortest, straightest route from the fan to the exterior. Every bend adds resistance and steals airflow, and long flex-duct runs sag between supports, creating low spots where condensation pools. Smooth rigid duct, galvanised sheet metal or PVC, moves air far more efficiently than flexible duct. If you must use flexible duct, pull it tight as a drum between supports so there are no sags, and keep the run as short as possible.

In cold climates, insulate the duct. Warm moist air in a cold uninsulated duct condenses inside the pipe, and that water either drips back onto the fan or runs out at the joints and stains the ceiling. Insulated flexible duct, or rigid duct wrapped in insulation, keeps the air warm enough to make it outside before it condenses. Plan the route, measure it, and buy the ducting at the same time as the fan.

Step-by-step: installing the fan

Start at the breaker panel. Switch off the circuit feeding the bathroom and confirm it is dead with a non-contact voltage tester. Test the tester on a known-live outlet first so you know it works; a dead battery in your tester is the lie that gets people hurt. If you cannot positively identify the right breaker, switch off the main breaker for the whole panel.

Position the fan between ceiling joists, ideally near the shower where the moisture is generated but not directly over the spray unless the model is wet-rated. Trace the manufacturer's template onto the ceiling and cut the opening with a drywall saw. Retrofit fans use adjustable brackets that span to the joists and tighten down with screws; the housing must be rock solid, because any movement turns into rattling noise later.

Connect the duct to the fan's exhaust port with a clamp, sealing the joint with foil tape or mastic, never cloth duct tape, which dries out and fails. Run the duct to the exterior cap, keeping it as straight and taut as possible. Wiring comes next: with power still off, connect black to black (hot), white to white (neutral), and green or bare copper to the ground screw on the housing, using wire connectors tightened firmly. If your fan includes a light, follow its wiring diagram for the extra conductors. Snap on the grille, restore power, and test. The fan should run smoothly with no rattle; if it rattles, the housing is loose or touching a joist, and fixing it now is far easier than later.

Wiring and code rules you must follow

Most bathroom fans land on the existing bathroom lighting circuit, and that is usually fine because a typical fan draws less than half an amp. But check the load first: add up everything on the circuit and keep the total under 80 percent of the breaker rating. If the bathroom circuit is already crowded, or you are adding a fan-heater-light combo unit that draws real current, run a new dedicated circuit, which is a job for a licensed electrician.

The GFCI rule catches people out. Any fan installed over a bathtub or shower must be on a GFCI-protected circuit, and the fan itself must be listed for wet locations. The combination matters: a wet-rated fan on an unprotected circuit is still a code violation and a genuine shock hazard. If your bathroom has no GFCI protection at all, which happens in older homes, call an electrician to sort the circuit before you hang the fan over the tub.

Control choice is worth some thought. A plain switch works, but most people switch the fan off the moment they leave the shower, exactly when the bathroom needs another fifteen to twenty minutes of ventilation. A countdown timer switch or a humidity-sensing switch solves this automatically: the timer runs the fan for a set period after you leave, and the humidity sensor runs it until the moisture is actually gone. Either one wires in place of a standard switch following its diagram. Use boxes and connectors rated for the job, keep splices inside the junction box, and never bury a junction box behind drywall.

Testing, troubleshooting, and when to call an electrician

Test the finished install properly. Hold a square of toilet paper up to the grille: a working fan should hold it firmly against the grille. Weak suction means a duct problem, usually a crushed flex run, a disconnected joint in the attic, or a blocked exterior cap. Go outside and confirm you can feel air moving at the vent cap while the fan runs; if you cannot, the duct is disconnected or blocked somewhere in the middle.

Noise after a fresh install almost always traces to the mounting, not the motor. A housing screwed down unevenly, touching a joist, or with the grille not fully seated will buzz and rattle. Loosen the mounting, reposition the housing so nothing touches wood except through the brackets, and retighten evenly. Persistent humming that changes with the switch can mean the fan is on a dimmer, which is wrong: bath fans must be on a plain on/off switch, a timer, or a humidity control, never a dimmer.

Know where DIY ends. Call a licensed electrician if you need a new circuit run from the panel, if the bathroom has aluminium wiring, if you find scorched insulation or a melted device when you open the box, or if the fan must go over a shower and the circuit has no GFCI protection. Moisture and electricity are an unforgiving combination, and the service-call fee is trivial next to the cost of getting it wrong.

⚠️ Safety first: Electrical work can be dangerous. Always turn off power at the breaker, verify with a tester, and follow local codes. When in doubt, call a licensed electrician.
E
ElectricTechs Team
Hands-on electricians sharing practical, real-world tips.
← PreviousCan You Install a Level 2 EV Charger Yourself? A Homeowner's Guide