Bathroom fans fail quietly. You won’t notice until mold appears in the grout lines, or condensation starts dripping from the ceiling in winter. The fan might still spin when you flip the switch, but if it’s undersized or venting into your attic instead of outside, it’s not solving the moisture problem—just moving it where you can’t see.

Most bathroom exhaust fan replacements are DIY-able if you’re comfortable on a ladder and willing to follow electrical safety without shortcuts. The job takes 2-3 hours and costs $60-$200 depending on the fan you choose. The catch: this is not cosmetic. Wire it wrong and you risk electrical shock. Size it or duct it wrong and you’re setting up a mold problem that’ll cost hundreds to remediate later.

What you’ll need

Tools:

  • Non-contact voltage tester (mandatory—don’t skip this)
  • Power drill/driver
  • Screwdrivers (Phillips and flathead)
  • Adjustable wrench or duct clamps
  • Wire strippers
  • Tape measure
  • Straightedge or level
  • Caulk gun
  • Ladder (stable, three-point contact)

Materials:

  • Replacement exhaust fan (sized to your bathroom—see CFM calculation below)
  • Mastic-backed duct tape or metal duct clamps (not cloth tape)
  • Wire connectors or wire nuts
  • Acoustical caulk
  • Ductwork (if upgrading; typically 4” or 6” diameter rigid or flex duct)
  • Exterior termination cap (if replacing ductwork exit)

Prerequisites:

  • Attic, crawlspace, or ceiling access above the bathroom
  • Ability to turn off power at your breaker panel and verify it’s off
  • Confidence working on a ladder near electrical fixtures

Before you start: safety and code requirements

Electrical safety is non-negotiable. Turn off power to the bathroom fan circuit at your breaker panel. Flip the switch to confirm the fan doesn’t turn on, then use a non-contact voltage tester on the fixture wires before touching anything. A $12 voltage tester prevents a shock that could knock you off a ladder.

If your home was built before 1980, or if you’re unfamiliar with your electrical panel layout, hire an electrician. The National Electrical Code (NFPA) sets standards for safe residential wiring, and older systems often have nuances that require professional judgment.

Code compliance matters here. The International Building Code requires bathroom exhaust fans to provide at least 1 CFM per square foot of floor area. A 50-square-foot bathroom needs a minimum 50 CFM fan; if the bathroom has a shower or tub, many jurisdictions require higher rates.

But here’s where it gets specific: jurisdictions adopting ASHRAE 62.2 ventilation standards often distinguish between intermittent and continuous ventilation. Intermittent means a high-CFM fan (say, 80 CFM) that runs only when needed—when you flip the switch or during a shower. Continuous means a lower-CFM fan (often 20-30 CFM) that runs all the time at low speed to maintain baseline air exchange. Your climate and local code determine which you need. In humid regions, continuous ventilation helps prevent chronic moisture buildup; in cold climates, intermittent ventilation paired with occupancy sensors reduces heat loss.

Check your local building department’s website for your area’s specific CFM requirements and whether they mandate continuous or intermittent operation. This changes which fan you buy—a continuous-duty model must be rated for 24/7 operation and will cost more up front but uses less power per hour.

Ductwork must terminate outside the building envelope—through a roof cap, wall vent, or soffit vent. Venting into an attic is a code violation and the most common DIY mistake. According to the EPA’s guidance on mold and moisture, improperly vented bathroom moisture is a primary contributor to residential mold growth. Warm, moist bathroom air condensing in your attic promotes mold, wood rot, and insulation damage.

Step 1: Remove the old fan grille and access the housing

From inside the bathroom, remove the fan grille. Most grilles are held by four spring clips or small screws. Squeeze the clips inward or unscrew, then lower the grille.

Look inside the fan housing. If there’s a humidistat (humidity sensor) or delay timer, photograph the wire connections before disconnecting anything—you’ll want this reference when wiring the new fan.

Step 2: Access the attic or ceiling space above

Go into the attic, crawlspace, or ceiling plenum above the bathroom. Locate the fan housing from above. Lay down plywood walkways if you’re in an attic—stepping only on joists risks a foot through the drywall, and attics get very hot in summer. Work early morning if possible.

Trace the ductwork from the fan outlet. Note where it terminates. If it just ends in the attic with no exterior cap, you’ve found the problem—and you’ll need to fix the ductwork routing as part of this job.

Step 3: Disconnect power and wiring

Black mold and water condensation damage on bathroom ceiling
Photo by Max Vakhtbovych on Pexels

Verify power is off with your voltage tester on the circuit wires at the fan housing. Don’t assume—test.

Locate the wire connector joining the fan wires to your home’s circuit wires (usually a twist-on wire nut). Push the release tab or twist counterclockwise to disconnect. If wires are spliced directly, carefully cut or unsplice, then cap each wire with a wire nut to prevent contact.

Step 4: Disconnect ductwork and remove the old fan

Loosen the clamp or duct tape securing the duct to the fan outlet. Note the duct diameter (typically 4” or 6”)—you’ll want your new fan to match this size.

Remove the screws or bolts holding the fan housing to the ceiling joists or mounting frame (usually four fasteners). Lift the old fan out carefully.

Inspect the ductwork. If it’s crushed, kinked, or running long distances with sharp bends, this is a good time to upgrade to rigid ductwork or properly installed flex duct. Here’s the mechanism: kinked or undersized ductwork creates static pressure (backpressure) that forces the fan motor to work harder while moving less air. A fan rated for 80 CFM might deliver only 50-60 CFM of actual airflow if the duct diameter is too narrow or the run is convoluted. The fan outlet diameter must match the duct diameter—oversizing the duct doesn’t improve performance, and undersizing creates the backpressure problem.

For long duct runs, each additional foot and each bend reduces actual output. Minimize bends where possible and support flex duct every few feet so it doesn’t sag and restrict airflow.

Step 5: Install the new fan and size it correctly

Critical decision point: Choose a fan rated for your bathroom’s CFM requirement. Calculate your bathroom’s square footage (length × width). A 50-square-foot bathroom with a shower needs at least 70-80 CFM intermittent ventilation, or 20-30 CFM continuous if your jurisdiction requires 24/7 operation.

The Home Ventilation Institute (HVI) certifies bathroom fans for actual CFM output and noise levels, and their certified products directory is a reliable starting point when shopping.

Consider sone rating (noise level) while you’re shopping. Fans rated below 2.0 sones are noticeably quieter than older models. Panasonic WhisperCeiling and Broan are widely available, reliable options across a range of prices and CFM ratings.

Position the new fan housing in the same ceiling opening. Secure it to the ceiling joists or mounting brackets using the fasteners provided. Ensure all four corners are firmly attached—a loose fan will vibrate and make noise.

We may earn affiliate commissions on product purchases, but all recommendations are based on genuine performance and safety requirements.

Step 6: Reconnect and seal the ductwork

Attach the ductwork to the fan outlet. If you’re reusing the old duct and it’s in good shape, seal the connection with mastic-backed duct tape (brands like Nashua 357 or 3M Professional). Apply 2-3 wraps. Do not use shiny cloth-backed duct tape—it fails in humid environments within a year or two.

If you’re upgrading ductwork, ensure it slopes slightly downward toward the exterior termination to prevent condensation from pooling. Support the duct every 3-4 feet with metal hangers.

Verify the ductwork exits the building. Follow it to the termination point. You should see a roof jack with a weather cap or a wall vent cap. Avoid terminating into soffit vents in humid or cold climates—these can recirculate moist air back into the attic or freeze shut in winter, defeating the whole system.

Step 7: Check the damper before sealing everything up

Flex duct bathroom exhaust ventilation running through attic space
Photo by David McElwee on Pexels

Most new fans include a built-in backdraft damper (a flap that prevents outside air from flowing back in when the fan is off). Before you finish the install, verify the damper opens and closes freely. Push it by hand—it should swing open easily and snap back closed.

Common damper failures: installed backwards (flap opens the wrong direction), frozen shut from winter ice buildup, or stuck with construction debris. If you’re in a cold climate, check the damper again before winter operation. Ice forming on the damper can block airflow and cause condensation to drip back into the fan housing.

If the exterior termination cap also has a damper, make sure both dampers can open simultaneously when the fan runs. Redundant dampers sometimes fight each other and reduce airflow.

Step 8: Wire the new fan

With power still off at the breaker, connect the new fan’s wires to your home’s circuit wires. Match hot to hot (typically black), neutral to neutral (typically white), and ground to ground (bare copper or green). Use twist-on wire connectors and ensure each connection is tight.

If you’re reinstalling a humidistat or delay timer, follow the wiring diagram you photographed earlier. If you’re simplifying to a basic on/off switch, skip the extra controls.

Do not modify breaker sizes or splice into 240V circuits. Bathroom fans run on standard 120V circuits and draw minimal amperage.

Step 9: Install the grille and test

Return to the bathroom. Install the new fan grille—most clip or screw into the housing. Ensure it sits flush with the ceiling.

Apply a thin bead of acoustical caulk (not silicone) around the grille’s edge if you want to reduce noise transfer and prevent air leakage into the attic.

Restore power at the breaker. Flip the fan switch. The fan should spin immediately and move air noticeably—you should feel airflow if you hold your hand near the grille.

Verify it worked

Hold a tissue or piece of toilet paper near the grille while the fan runs. It should stick to the grille, pulled by suction. If it doesn’t, you have insufficient airflow—either the fan is undersized, the ductwork is blocked, or the damper is stuck.

Run the fan for 5-10 minutes after a shower. Moisture on the mirror should clear faster than it did with the old fan. If condensation lingers, recheck your CFM calculation and ductwork termination.

When to call a professional

Hire an electrician if:

  • You’re uncomfortable using a voltage tester or working near live wires.
  • Your electrical panel is over 30 years old or has aluminum wiring.
  • The existing fan circuit is shared with bathroom outlets or lighting (fans should ideally have a dedicated circuit).
  • You discover knob-and-tube wiring or any system you don’t recognize.

Hire an HVAC technician if:

  • The existing ductwork runs through walls in complex paths, or you’re unsure where it terminates.
  • You want to upgrade to a heat-recovery ventilator (HRV) or energy-recovery ventilator (ERV).
  • The bathroom is in a multi-family building where ducts tie into shared ventilation systems.
  • You find moisture damage or mold in the attic when you access the old fan—this indicates a prior venting problem that needs professional assessment.

This is not a DIY job if:

  • You’re unsure the power is truly off. A shock while balanced on a ladder is dangerous.
  • The old ductwork terminates into the attic and you can’t access or reroute it to an exterior termination yourself.

Common mistakes and how to avoid them

Undersizing the fan: Most people replace a fan with the same CFM rating as the old one, even if the old one was inadequate. Calculate your bathroom’s square footage and add headroom if you have a shower. A 60-square-foot bathroom with a shower needs 80+ CFM intermittent or a continuous-duty fan if your code requires 24/7 operation.

Venting into the attic: This is the single biggest code violation and mold risk. Always trace your ductwork to confirm it exits the building through a roof or wall cap, not a soffit vent that recirculates air back into the attic.

Using the wrong duct tape: Cloth-backed duct tape fails in humid conditions. Use mastic-backed duct tape (UL-rated) or metal clamps. It costs a few dollars more and lasts decades.

Ignoring the damper: If your new fan doesn’t include a backdraft damper, or if the damper is stuck or installed backwards, outdoor air will leak back into your bathroom when the fan is off. Test the damper by hand before sealing everything up.

Mismatched duct diameter: A 6-inch fan outlet connected to a 4-inch duct creates backpressure that reduces actual airflow. Match the duct diameter to the fan outlet, and don’t reduce duct size partway through the run.

FAQ

How long does it take to replace a bathroom exhaust fan?

Plan for 2-3 hours if you’re replacing a fan in the same location with accessible attic space and straightforward ductwork. Add time if you’re upgrading ductwork, moving the fan location, or troubleshooting electrical issues. The “30-minute replacement” claims you’ll see online assume everything goes perfectly and skip code-compliant steps.

Can I replace a bathroom fan without attic access?

Technically yes, but it’s much harder. You’ll need to disconnect ductwork and wiring from below, which means enlarging the ceiling hole temporarily or working through the existing opening with limited visibility. If you don’t have attic access, this is a strong candidate for hiring out.

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

In most jurisdictions, replacing an existing fan on the same circuit without changing ductwork paths does not require a permit. If you’re adding new wiring, changing the ductwork termination location, or upgrading the circuit, check with your local building department. A five-minute phone call can save you from a code violation discovered during a future home sale.

What’s the difference between CFM and sones?

CFM (cubic feet per minute) measures how much air the fan moves—this is the ventilation capacity you need for code compliance and moisture control. Sones measure noise level—lower is quieter. A 1.5-sone fan is noticeably quieter than a 4.0-sone fan. For bathroom exhaust fan installation, prioritize CFM first (meet code requirements), then choose the lowest sone rating you can afford.

What’s the difference between intermittent and continuous ventilation?

Intermittent ventilation uses a high-CFM fan that runs only when you turn it on—during showers or when you flip the switch. Continuous ventilation uses a low-CFM fan rated for 24/7 operation, maintaining baseline air exchange even when the bathroom isn’t in use. Many jurisdictions now require continuous ventilation in new construction or major remodels. Check your local code to determine which applies to your project.


If you’re seeing mold in your bathroom and suspect it’s from inadequate ventilation, fixing the exhaust fan is the preventive step—but you’ll need to clean up the existing growth first. The University of Minnesota Extension offers detailed guidance on identifying and addressing moisture problems in homes. Once you’ve upgraded to proper bathroom ventilation and confirmed the duct terminates outside, moisture problems should stop recurring. For renters: if your landlord’s fan is undersized or venting into the attic, documenting this with photos and requesting a code-compliant replacement protects your deposit and your health.