You can install a bathroom ventilation fan in a single afternoon if you plan the job correctly: pick the right fan size, route the duct to a true exterior termination, and follow basic electrical safety. Miss any of those steps and you will fail inspection, grow mold in your attic, or end up with a fan that barely moves air. This guide walks you through every stage so you get it right the first time.
Why Your Bathroom Needs a Working Exhaust Fan
Moisture is the enemy of every bathroom. Without adequate ventilation, steam from showers condenses on walls and ceilings, leading to peeling paint, foggy mirrors that stay fogged well after a shower, mildew spots, and eventually structural damage. Beyond cosmetics, the EPA warns that indoor mold growth poses real health risks, particularly for people with asthma or allergies.
Some older homes rely entirely on an operable window, but a window left closed in winter provides zero ventilation. A properly sized, properly vented exhaust fan is the only reliable solution. Many local building codes now require mechanical ventilation in all bathrooms, so check with your municipality before assuming a window is sufficient.
Choosing the Right Fan: CFM, Sones, and ENERGY STAR
Getting the sizing right before you buy prevents the most common installation mistake: putting in a fan that is too weak for the space.
CFM Requirements
The International Residential Code (IRC) sets a minimum of 50 CFM for intermittent operation or 20 CFM for continuous operation. In practice, the Home Ventilating Institute (HVI) recommends a more useful rule of thumb:
- Bathrooms up to 100 sq ft: 1 CFM per square foot of floor area
- Bathrooms over 100 sq ft: Add 50 CFM for each toilet, shower, and tub, plus 100 CFM for a jetted tub
A standard 8×10 foot bathroom (80 sq ft) needs at least an 80 CFM fan. Round up to the next standard size rather than down.
Sound Level and Efficiency
Fan noise is measured in sones. A fan running at 4 sones sounds roughly like a running refrigerator. To earn the ENERGY STAR Most Efficient 2025 designation, a bathroom fan must achieve a sound level of 4.0 sones or less at 0.25 inches of water gauge external static pressure at high speed, along with specific CFM-per-watt efficacy thresholds based on duct diameter. Quieter, more efficient models cost more upfront but save energy and reduce noise complaints for years.
Tools and Materials You Will Need
- Bathroom exhaust fan rated for your CFM requirement
- 4-inch or 6-inch rigid metal duct (preferred) or flexible metal duct
- Exterior vent cap with backdraft damper
- HVAC foil tape and duct clamps
- Duct insulation wrap (for attic runs)
- Non-contact voltage tester
- Wire nuts and electrical tape
- Drywall saw or jab saw
- Drill and bits
- Roofing cement or exterior caulk
- Safety glasses and dust mask
Step-by-Step Installation Guide
Step 1: Turn Off Power and Verify It Is Off
Go to your electrical panel and switch off the circuit breaker that controls the bathroom. Then use a non-contact voltage tester at the existing switch or outlet in the bathroom to confirm no voltage is present. Do not skip this step. Bathroom wiring near water is dangerous, and the NEC requires that any circuit serving both bathroom lighting and a ventilation fan be rated at 20 amps.
Step 2: Pick Your Location and Cut the Ceiling Opening
The ideal location is between the shower or tub and the toilet, away from any supply air registers that could short-circuit airflow. Avoid placing the fan directly against an exterior wall if it makes duct routing difficult. Use a stud finder to locate joists, then mark a cutout that falls between two joists. Cut along your marks with a drywall saw. If you are replacing an existing fan, check whether the new housing fits the old hole or if you need to enlarge it slightly.
Step 3: Mount the Fan Housing
If you have attic access, work from above. Slide the fan housing through the ceiling opening and use the adjustable mounting brackets to secure the housing firmly to the ceiling joists on either side. If you have no attic access, most modern fan housings include clips or expansion brackets that allow installation from below. The housing must sit flush with or slightly above the ceiling drywall surface so the grille seals properly.
Step 4: Run the Ductwork
This is the most critical part of the job. Every bathroom exhaust fan must discharge directly to the outdoors. IRC Section M1505.2 prohibits venting into an attic, soffit, ridge vent, crawl space, or any other interior building cavity. Doing so deposits warm, humid air into unconditioned spaces, which leads directly to mold growth and wood rot.
Use the largest duct diameter your fan supports, typically 4 to 6 inches. Rigid, smooth metal duct is the best choice because it maximizes airflow and minimizes noise compared to flexible duct. Keep the run as short and straight as possible. The IRC limits duct length based on diameter and fan rating. As a practical example, a 50 CFM fan rated at 0.25 inches of water column cannot be vented through 3-inch flexible duct at any length, and through 3-inch smooth-wall pipe the maximum is only 5 feet with no elbows. Each 90-degree elbow deducts 15 feet from the allowable run length, so minimize bends wherever possible.
Seal every joint with HVAC foil tape and secure connections with duct clamps. In an unconditioned attic, wrap the entire duct run with duct insulation to prevent condensation from forming inside the duct on cold days.
Step 5: Install the Exterior Vent Cap
Terminate the duct through an exterior wall or through the roof with a vent cap that includes a spring-loaded or gravity backdraft damper. This prevents outside air, insects, and small animals from entering when the fan is off. Cut the penetration hole, slide the duct through, and caulk or use roofing cement around the cap flashing to create a watertight seal. If penetrating a roof, slide the flashing under the shingles above the cap and over the shingles below it, just as you would for any roof penetration.
Step 6: Wire the Fan
Feed the house wiring through the fan housing’s built-in cable clamp and tighten the clamp so the cable cannot be pulled out. Connect black to black, white to white, and bare copper ground to the green or bare ground wire on the fan, using wire nuts. Wrap each wire nut connection with electrical tape. If your fan is installed directly over a tub or shower, the IRC and NEC require that the fan be specifically rated by the manufacturer for wet locations and that the circuit include GFCI protection. A standard ceiling location outside the tub or shower zone does not require a wet-location rating, but GFCI protection is still a best practice in any bathroom.
Step 7: Final Assembly and Testing
Plug the fan motor unit into its internal receptacle or connect it per the manufacturer’s wiring diagram. Snap or screw the grille into place. Restore power at the breaker, flip the switch, and hold a sheet of tissue paper near the grille. The tissue should be drawn firmly against the grille and held there by suction. If airflow seems weak, recheck your duct run for disconnected joints or crushed flexible duct sections.
Key Code and Safety Requirements at a Glance
| Requirement | Standard or Source | Key Rule |
|---|---|---|
| Minimum CFM (intermittent) | IRC | 50 CFM |
| Minimum CFM (continuous) | IRC | 20 CFM |
| Duct termination | IRC M1505.2 | Directly to outdoors only |
| Minimum duct diameter | IRC | 3 inches (4-6 inches recommended) |
| Circuit amperage (shared lighting circuit) | NEC | 20 amps minimum |
| Wet location fans (over tub/shower) | NEC / manufacturer rating | Must be wet-rated; GFCI required |
| ENERGY STAR Most Efficient 2025 sound limit | ENERGY STAR | 4.0 sones or less |
What Does It Cost to Install a Bathroom Fan?
If you hire a professional, expect to pay between $183 and $444 for a straightforward replacement, with a national average around $396. New installations that require running new ductwork and electrical work typically fall between $250 and $950. DIY installation saves most of that labor cost, but you still need to budget for the fan unit, duct materials, and a vent cap. Factor in permit fees if your municipality requires them for electrical or mechanical work, which many do.
The U.S. Department of Energy notes that proper home ventilation, including bathroom exhaust, reduces moisture-related damage costs and supports indoor air quality, making it one of the higher-value DIY upgrades a homeowner can complete.
When to Call a Licensed Professional
This project is manageable for a homeowner comfortable with basic electrical work and attic access. However, hire a licensed electrician or HVAC contractor if you need to run a new circuit from the panel, if the existing wiring is aluminum (common in homes built between roughly 1965 and 1973), or if your attic configuration makes duct routing genuinely hazardous. Always pull any required permits. Local building codes take precedence over national model codes like the IRC and NEC, so confirm requirements with your local building department before starting work.
Frequently Asked Questions
How much does it cost to install a bathroom exhaust fan?
Hiring a professional typically costs between $183 and $444 for a replacement, with a national average around $396. New installations requiring new ductwork and electrical work can run $250 to $950. DIY installation eliminates most labor costs but still requires spending on the fan unit, duct materials, and a vent cap.
What CFM size bathroom fan do I need?
For bathrooms up to 100 square feet, use 1 CFM per square foot of floor area as recommended by the Home Ventilating Institute. For larger bathrooms, add 50 CFM for each toilet, shower, and tub, and 100 CFM for a jetted tub. The IRC sets an absolute minimum of 50 CFM for intermittent operation.
Do bathroom exhaust fans have to vent to the outside?
Yes, without exception. IRC Section M1505.2 requires all bathroom exhaust fans to discharge directly to the outdoors. Venting into an attic, soffit, ridge vent, crawl space, or any interior cavity is a code violation and causes mold, wood rot, and structural damage.
Can I install a bathroom exhaust fan myself?
Yes, if you are comfortable with basic electrical work and can safely access your attic. The job involves cutting a ceiling opening, mounting the housing, routing rigid metal duct to an exterior termination, and connecting standard household wiring. If you need a new circuit from the panel or have aluminum wiring, hire a licensed electrician.
What electrical requirements apply to bathroom exhaust fans?
If a bathroom ventilation fan shares a circuit with bathroom lighting, the NEC requires that circuit to be rated at 20 amps. Fans installed directly over a tub or shower must be manufacturer-rated for wet locations and the circuit must include GFCI protection.
What type of duct should I use for a bathroom exhaust fan?
Rigid, smooth metal duct is the best choice because it maximizes airflow and minimizes noise. The minimum duct size is 3 inches, but 4-inch to 6-inch diameter duct is standard for most fans. All duct joints must be sealed with HVAC foil tape and duct clamps, and any attic runs should be insulated to prevent condensation.
Where is the best place to position a bathroom exhaust fan?
Place the fan between the shower or tub and the toilet for the most effective moisture capture. Keep it away from supply air registers, which can disrupt airflow patterns. Fans installed directly over a tub or shower require a wet-location rating from the manufacturer and GFCI-protected wiring.