Medium⏱ 3 hrsπŸ“‹ 9 stepsπŸ›  15 toolsπŸ’² $80-150

How to Install a Bathroom Exhaust Fan

Ceiling-level view of a newly installed white bathroom exhaust fan grille in a bright remodeled bathroom
AI-generated illustration Β· how we make images
Max Jiang, Founder & Editor, HandymanLib
By Max JiangGuides researched against primary sources where possible: manufacturer instructions, IRC/NEC building code, and agencies like the EPA, OSHA, and university extension servicesUpdated November 26, 2026Fact-checked against the sources listed below β€” editorial policy

Replacing a loud, underpowered bathroom fan with a quiet, properly sized model costs under $150 in parts and clears the shower moisture that feeds mold on walls and ceilings. This guide walks you through a like-for-like replacement in an afternoon, covering CFM sizing, wiring, and ductwork so you end up with a fan that actually does its job.

What You'll Need

πŸ›  Tools

πŸ“¦ Materials

Step-by-Step Instructions

Size the Fan for Your Bathroom

Measure the length and width of the bathroom and multiply to get square footage. The DOE Building America Solution Center checklist sets a floor of 50 CFM for a fan that runs intermittently, whatever the room size. For bathrooms of 50 to 100 sq ft, the Home Ventilating Institute (HVI) recommends about 1 CFM per square foot of floor area (50 CFM for anything smaller), and its own example puts a 7Γ—10 bathroom at 70 CFM, so buy the next size up if that exact rating isn't sold. For bathrooms over 100 sq ft, HVI adds up the fixtures instead: 50 CFM each for a toilet, a shower, and a tub, and 100 CFM for a jetted tub. Check local mechanical code too. While you're shopping, look for a sone rating of 1.0 or lower, the level HVI gives for quiet ventilation β€” anything louder is miserable to listen to twice a day.

Overhead shot of a bathroom floor tape-measured with a yellow tape measure stretched along white hex tile
AI-generated illustration
Pro Tip

Check the existing housing's rough-opening dimensions before you buy a new fan β€” matching the hole size saves you from patching and re-cutting drywall.

Shut Off Power and Verify

Flip the breaker that feeds the bathroom fan switch at your main electrical panel and turn the fan and lights on in the bathroom to confirm they're dead. Climb the ladder with a non-contact voltage tester, pop the grille off the old fan, and hold the tester against every wire inside the housing β€” it should stay silent. Only then do you touch anything.

A hand holding a yellow non-contact voltage tester against black and white wires inside an open white bathroom exhaust fan
AI-generated illustration
Warning

The switch leg can remain energized even when the fan is off β€” never skip the voltage test, and tape a note over the breaker so nobody flips it back while you're working.

Remove the Old Fan

Unplug the motor from the integrated outlet in the housing (most modern fans plug right in) or unscrew the wire-nut connections if it's direct-wired, noting which color went where. Slide out the motor assembly, then disconnect the flexible duct from the exhaust port and pull the Romex out of the internal clamp. Finally, unscrew the housing from the ceiling joist it's fastened to and lower the whole box out of the hole.

Low-angle view looking up at an old dusty white bathroom fan housing being lowered out of a square hole in a white ceiling
AI-generated illustration

Check the Ceiling Opening

Test-fit the new housing in the existing hole. If it drops in with a little slack, you're golden. If the hole is too small, trace the new housing footprint on the ceiling and enlarge the opening with a drywall saw, cutting just shy of the line and filing to fit. If the hole is too big, screw a scrap of drywall to the joist above to shrink the opening β€” you can always mud and paint later.

A hand holding a red-handled drywall saw cutting along a pencil line traced around a bathroom fan housing on a white
AI-generated illustration
Pro Tip

Spread an old bedsheet on the floor below before you cut β€” drywall dust gets into every tile grout line and is a nightmare to mop out.

Connect the Duct

From above (in the attic if you have access) or by working through the ceiling hole, slip the flexible or rigid duct over the new fan's exhaust collar. Secure it with a hose clamp, then wrap the joint tightly with UL 181 foil HVAC tape, not cloth duct tape: the DOE Building America Solution Center checklist calls for every duct seam and connection to be sealed with mastic or UL 181 tape. A zip tie alone is not a seal; you can use one temporarily to hold the duct in place while you tape, but the finished joint must be foil-taped. If you're running new duct, use rigid 4-inch metal pipe and take the most direct route outside, with as few bends as possible and none in the first 3 feet from the fan, as the same checklist specifies.

Gloved hands wrapping silver foil HVAC tape around the joint where a silver flexible duct meets the round exhaust collar
AI-generated illustration
Warning

Never terminate the duct in the attic or soffit β€” always run it to a roof cap or gable vent with a damper, and keep the termination at least 3 feet from any window or door.

Mount the Housing to the Joist

Feed the existing electrical cable through the internal strain-relief clamp on the new housing and tighten the clamp screw. Position the housing in the ceiling hole with the flange tight against the joist and drive 1-1/4 inch drywall screws through the mounting flange into the wood. The housing should feel rock-solid β€” any wobble will transmit vibration and make the fan sound loud regardless of the sone rating.

Low-angle shot looking up at gloved hands driving a silver drywall screw with a cordless drill through the white metal
AI-generated illustration

Make the Wire Connections

Inside the housing's wiring compartment, strip 3/4 inch of insulation off the house wires if needed. Connect black-to-black (hot), white-to-white (neutral), and ground-to-ground (green or bare copper) using yellow wire nuts, twisting clockwise until tight, then give each wire a firm tug to confirm it won't pull loose. Tuck the connections neatly into the compartment and replace the cover plate.

Hands inside an open white plastic wiring compartment of a bathroom fan housing
AI-generated illustration
Pro Tip

If your new fan has more wires than the old one (e.g., a separate light or heater), you may need to run 14/3 cable and add a second switch β€” plan for that before you open the walls.

Install the Motor and Grille

Plug the motor assembly into the integrated outlet inside the housing and screw it into place with the provided mounting screws. Squeeze the grille's spring-steel mounting wires together and push them into the matching slots in the housing until the grille seats flush against the ceiling. Run a thin bead of silicone caulk around the outside edge of the grille only if required by the manufacturer β€” most modern grilles seat cleanly without it.

Upward-angle close-up of a hand pushing a clean white square bathroom fan grille up into the ceiling
AI-generated illustration

Test and Confirm the Venting Path

Flip the breaker back on and turn the fan switch β€” it should start quietly and draw a steady stream of air (hold a tissue to the grille to see it pull in). Run the shower for 5 minutes with the door closed and watch how fast steam clears compared with the old fan. Finally, go outside and confirm the exterior vent flap is opening, proving the moist air is actually leaving the building envelope and not dumping into your attic.

Exterior view of a white plastic roof vent cap with its small flap lifted open by escaping air on an asphalt-shingled roof
AI-generated illustration
Pro Tip

Run the fan for at least 20 minutes after every shower, as Panasonic advises β€” a timer or humidity-sensing switch automates this so nobody has to remember.

Frequently Asked Questions

What size CFM bathroom exhaust fan do I need?

+

The DOE Building America Solution Center checklist sets a floor of 50 CFM for a bathroom fan that runs intermittently (20 CFM if it runs continuously). For bathrooms of 50 to 100 sq ft, the Home Ventilating Institute (HVI) recommends about 1 CFM per square foot of floor area, with 50 CFM as the minimum for smaller rooms. For bathrooms over 100 sq ft, HVI adds up the fixtures instead: 50 CFM each for a toilet, a shower, and a tub, and 100 CFM for a jetted tub. Check your local mechanical code as well. For master baths, also look for a sone rating of 1.0 or lower, the level HVI gives for quiet ventilation, so the fan is quiet enough to actually use.

Can I install a bathroom exhaust fan myself?

+

Yes β€” a like-for-like replacement (using the existing duct and electrical) is a 3-hour DIY project for anyone comfortable shutting off a breaker and making basic wire-nut connections. New installations that require running new electrical, cutting new ductwork, or installing a roof cap are significantly harder and may need a permit; check your local building code first.

Where can I vent a bathroom exhaust fan?

+

Vent through the roof (with a roof cap) or through a gable wall (with a wall vent). Never terminate the duct in an attic, soffit, crawl space, or between joists β€” the Department of Energy warns that bath-fan moisture exhausted into an attic or crawl space can cause mold and rot in building materials. Keep the exterior termination at least 3 feet from any window or door and at least 10 feet from a mechanical air intake, as DOE installation guidance specifies.

Do I need a permit to replace a bathroom exhaust fan?

+

Most jurisdictions don't require a permit for like-for-like replacement that reuses existing wiring and ductwork. Permits are typically required when you add a new circuit, cut new framing, or install a new exterior vent termination. Always check with your local building department before starting if you're unsure.

How long should I run a bathroom exhaust fan after a shower?

+

Panasonic advises running the fan during every shower and for at least 20 minutes afterward, which gives it time to clear the lingering moist air. To keep mold off grout, drywall, and ceilings, the Environmental Protection Agency recommends keeping indoor relative humidity below 60 percent, ideally between 30 and 50 percent. A timer or humidity-sensing switch automates the run time so nobody has to remember to turn the fan off.

Sources & further reading

More Electrical Guides

View all β†’

You Might Also Like

Close-up overhead shot of a chrome P-trap and threaded supply line under a white porcelain bathroom sinkEasy40 min
Plumbing

How to Fix a Leaky Pipe Joint

A weeping pipe joint under the sink is usually a cheap, do-it-yourself repair. Threaded joints get resealed with Teflon tape or pipe joint compound, compression fittings need a sound ferrule, a straight fit and the right amount of tightening, and slip joints need fresh washers and careful alignment, all with a couple of wrenches.

9 steps7 tools
An open refrigerator in a home kitchen with the interior lightMedium45 min
Appliance Repair

How to Fix a Refrigerator That's Not Cooling

A fridge that hums along but won't get cold is usually choking on its own dust or airflow β€” not dying. This guide walks the troubleshooting tree in order of likelihood, from temperature settings and blocked vents to dirty condenser coils, a frost-clogged defrost system, and the fans that move the cold air. Most causes are a free or under-$20 fix; a few mean it's time for a tech, and you'll learn how to tell them apart before you spend a dime.

9 steps7 tools
An open under-counter dishwasher in a bright modern kitchen with a couple of inches of dirty grey water pooled at the bottomMedium45 min
Appliance Repair

How to Fix a Dishwasher That Won't Drain

Standing water in the bottom of the dishwasher after a cycle usually traces back to restricted flow somewhere in the drain path: a clogged filter, debris in the sump, a kinked or blocked drain hose, or a clogged garbage disposal. The fix takes 30-45 minutes with basic tools, and most of those causes call for cleaning rather than new parts. This guide walks through every cause from simplest to most involved, starting with the checks Whirlpool says you can complete before scheduling service.

9 steps10 tools