How to Install a Bathroom Exhaust Fan: Sizing, Codes, and Step-by-Step

A bathroom that never dries out is usually missing one piece of equipment: an exhaust fan. Moisture-laden air attacks paint, warps doors and window sills, and leaves towels and curtains damp and musty, and mold can start forming on surfaces within a day or two of repeated condensation. A vent fan pulls that humid air outside before it settles. The installation is a middle-skill project that most homeowners finish in an afternoon with basic tools, and the electrical side is simple: one 120-volt circuit and a short run of duct. Older houses complicate the picture, but installing a bathroom exhaust fan in an older home is still manageable when you plan the wiring first. Expect to spend 2 to 3 hours and about $100 to $150 on materials, with most of the effort spent on a ladder and in the attic rather than at the workbench.

Sizing the Fan: CFM Rules and Noise Ratings

Fan capacity is measured in cubic feet per minute (CFM), and the standard rule is simple: one CFM for every square foot of bathroom floor area, with a 50 CFM floor for very small rooms. Add 50 CFM for a large shower or soaking tub, and add a little more for ceilings above 8 feet or rooms used by several people back to back.

The 1 CFM Per Square Foot Rule

Bathroom floor areaMinimum CFMDuct size
Up to 50 sq ft50 CFM4-inch
75 sq ft75 CFM4-inch
100 sq ft100 CFM4-inch, or 6-inch for long runs
150 sq ft150 CFM6-inch

Round up when in doubt. An undersized fan runs longer and still leaves condensation on the mirror, while an oversized fan clears the room fast and shuts off, which is fine. The rating printed on the box assumes a short, straight duct run; every 90-degree elbow and every extra foot of flex duct cuts real airflow, so a fan that tests at 100 CFM in the lab may deliver 70 CFM through a crooked attic run.

Sones: How Loud Is Too Loud

Noise is rated in sones. A rating of 0.3 sones is nearly silent, 1.0 sone is quiet conversation level, and anything above 3 sones sounds like a vacuum running. For a bathroom next to a bedroom, stay at or under 1.5 sones. Brushless DC motors run quieter and draw less power than standard AC motors, and the extra cost buys a fan you will actually leave running long enough to dry the room. The electrical work follows the same rules whether the fixture is a vent fan or a light, and the expert electrical advice that covers ceiling fans and bathroom chandeliers applies here as well.

What the Code Requires

Bathroom ventilation is regulated by the building code, and the requirements decide whether you need a fan at all, how big it must be, and where the duct may end.

Ventilation Rules in the International Residential Code

Section R303 of the International Residential Code covers light and ventilation. A bathroom without a window that opens needs a mechanical exhaust fan rated for 50 CFM intermittent operation or 20 CFM continuous operation. A window can substitute in many municipalities if it is at least 3 square feet in area and opens halfway, but confirm that plan with the local permit office before skipping the fan; the substitution is not automatic everywhere.

Where the Duct May Go

The duct must terminate outdoors, through the roof or an exterior wall. Venting into the attic dumps moisture into the insulation and framing, which causes the exact rot and mold problems the fan is meant to prevent. Use insulated duct in unconditioned attic space to stop condensation, and fit the fan or duct with a backdraft damper so outside air does not flow back in when the fan is off. For a visual walkthrough of the whole job, bathroom fan installation steps from a home improvement site cover the same sequence with photos, which helps before you cut your first hole.

Tools, Materials, and Prep

The shopping list is short. A fan unit sized for the room, 6 feet of duct, aluminum foil tape, screws, a vent cap, and exterior-grade silicone cover the materials; the tool list is standard homeowner gear. If the house predates modern wiring, review the approach for a bathroom fan with old wiring before opening the ceiling, because the junction box and grounding plan may need upgrades first.

What You Need Before You Start

  • 6-foot ladder and safety glasses
  • Dust mask or respirator for attic work
  • Reciprocating saw and drywall jab saw
  • Cordless drill with a 1/2-inch bit
  • Stud finder and pencil
  • Bathroom exhaust fan with housing and grille
  • 6-foot flexible duct (or rigid duct for straighter runs)
  • Aluminum foil tape for every joint
  • Round wall vent cap or roof vent cap with flashing
  • Exterior-grade silicone caulk
  • Screws for the housing, duct clamps, and cap

Planning the Route

Pick the shortest path from the fan to the outside. A run under 6 feet keeps the fan at full rated performance; longer runs need larger duct or a stronger fan. Choose the termination point first, then locate the fan housing so the duct stays as straight as possible, ideally over the shower where the moisture collects. Mark the joist locations in the ceiling before you cut, and confirm there is clear attic access to the spot from above.

Step-by-Step Installation

The sequence below matches standard practice and works for most ceilings. Choose a model that fits the cavity between joists, and if noise matters, shop with quiet ventilation strategies in mind, since a low-sone fan is hard to retrofit later without reopening the ceiling.

The Install Sequence

  1. Turn off power at the breaker and verify the circuit is dead with a tester.
  2. Mark the housing opening on the ceiling using the template, keeping the box between joists.
  3. Cut the drywall with the jab saw; if the housing needs a wider bay, cut and brace the joist per the manufacturer’s instructions.
  4. Route the cable from the switch location to the housing, leaving 6 to 8 inches of wire.
  5. Secure the housing to the joists with screws and level it.
  6. Connect the duct to the housing collar and to the vent cap, taping every joint with aluminum foil tape.
  7. Install the wall or roof cap, flashing it properly and sealing the flange with silicone.
  8. Wire the fan motor to the branch circuit and mount the grille.
  9. Restore power, test the fan, and check for leaks and vibration.

Duct Work That Performs

Rigid metal duct moves air better than flexible duct, which has ridges that add drag. If you use flex duct, pull it taut, avoid sharp bends, and never crush it to fit around framing. Slope the duct slightly toward the cap so condensation drains outside, and wrap attic runs in insulation so warm moist air does not condense inside the duct. Foil tape beats duct tape here; duct tape dries out and falls off inside a hot attic within a year or two.

Wiring, Switches, and Finishing

The fan connects to one 120-volt circuit, usually shared with the bathroom lighting. A 15-amp circuit with 14-gauge wire is standard for a fan; follow the manufacturer’s amperage rating and the local code. All bathroom receptacles need GFCI protection, and the fan should have its own switch so it can run independently of the light.

Switch Options

A plain wall switch is the minimum, but a timer is the better default because it keeps the fan running 15 to 20 minutes after you leave, which is when the room actually dries. Humidity-sensing fans turn themselves on when steam rises past a set point, and occupancy sensors start the fan when someone enters. Smart switches add scheduling and phone control, and they pair with the same app as the rest of the house’s lighting.

Accessible Placement

Put the switch near the door at a reachable height. That placement matches accessible bathroom design practice, which keeps controls within easy reach of everyone who uses the room, and it puts the switch on the same wall as the door swing so nobody reaches across a wet floor to find it.

Testing, Maintenance, and Seasonal Checks

Finish the job with a test. Run the fan with the door closed and hold a tissue at the grille; it should pull firmly. Listen for rattles, check the duct joints for leaks, and make sure the backdraft damper closes when the fan shuts off. Clean the grille every few months with a vacuum, and inspect the roof or wall cap annually for leaves, nests, or crushed duct. A fan that suddenly gets loud is usually a loose duct or a dirty wheel, both quick fixes.

The vent path matters in winter as much as in summer. In cold climates, bathroom ventilation affects roof snow accumulation; warm, moist exhaust aimed at a cold roof edge can melt snow unevenly and feed ice dams. A well-insulated duct that terminates above the snow line keeps the roof cold and the bathroom dry at the same time.