A bathroom exhaust fan is one of those small fixtures that does a surprising amount of work. It pulls steam out after a shower, clears odors, and keeps moisture from settling into paint, drywall, and wood trim. Without it, mirrors stay fogged for hours, grout darkens, and damp air finds its way into places it should never reach. Installing a new fan yourself is very doable for a careful homeowner, as long as you respect the electrical work, size the fan correctly, and vent it all the way outside.

Start With Sizing: The CFM Rule

Fan capacity is measured in CFM, or cubic feet per minute, which is simply how much air the fan moves. A fan that is too small will run loudly and still leave the mirror fogged. The standard rule is straightforward: for bathrooms up to 100 square feet, you need about 1 CFM per square foot of floor area. A 60-square-foot bathroom needs a 60 CFM fan, and an 80-square-foot bathroom needs an 80 CFM fan.

For bathrooms larger than 100 square feet, add up the fixtures instead. Count 50 CFM for each toilet, shower, and bathtub, and add 100 CFM for a whirlpool tub. A bathroom with a toilet, a shower, and a separate bathtub would need around 150 CFM by that method. If the ceiling is higher than eight feet, add a little extra capacity, since there is more air volume to move. When the calculation lands between two available sizes, round up slightly. A slightly stronger fan clears steam faster and can run for a shorter time.

Noise matters too. Fan sound is rated in sones. A rating of 1.0 sone or less is quiet, roughly the sound of a refrigerator humming in the next room. A 2.0 to 3.0 sone fan is clearly audible, and anything above 4.0 sones will feel loud every time it runs. Since a quiet fan is one people actually leave running long enough to do its job, spending a little more for a low-sone model is usually worth it.

Choosing the Right Fan Type

Most replacement fans fall into a few categories. A basic exhaust-only fan moves air out and does nothing else. A fan and light combination adds a light fixture in the same housing, which is handy in smaller bathrooms where ceiling space is limited. A fan, light, and heater combination adds a heating element for cold mornings, but it draws more power and may need a dedicated circuit, so check the electrical requirements before choosing one.

Humidity-sensing fans are another useful option. They switch on automatically when humidity rises and switch off after the air dries out. That helps in households where people forget to run the fan. Some models also include a timer that keeps the fan running for a set period after the switch is turned off. A timer is genuinely useful, because moisture keeps leaving towels, tile, and grout long after the shower ends.

Tools and Materials You Will Need

Gather everything before starting, because stopping halfway with the power off and a hole in the ceiling is no fun. You will need a non-contact voltage tester, a screwdriver set, a drill, a drywall saw, a utility knife, wire strippers, wire nuts, electrical tape, a ladder, safety glasses, and a dust mask. For the venting side, you will need ducting, usually rigid metal duct or insulated flexible duct, plus duct clamps, foil tape, and a roof cap or wall cap with a damper and a screen.

Safety First: Power Off and Test

Electrical safety is not optional on this job. Go to the breaker panel and switch off the circuit that feeds the bathroom fan. Tape a small note over the breaker so nobody switches it back on while you are working. At the fan location, use a non-contact voltage tester on every wire in the housing before touching anything. Test the tester itself first on a known live outlet, then test the fan wires, and confirm they read dead.

Homeowner wiring a new bathroom exhaust fan housing in a ceiling opening with the power switched off

Work from a stable ladder, not a chair or a wobbly step stool. Wear safety glasses when cutting drywall overhead, because dust and debris fall straight down. If the attic is involved, wear a dust mask and step only on joists or on boards laid across them. Never put weight on the drywall ceiling itself. If any wiring looks damaged, brittle, or scorched, or if the breaker panel has no clear labeling, stop and call an electrician rather than guessing.

Removing the Old Fan

Start by removing the grille, which usually pulls down on springs or unscrews. Unplug the fan motor if it has a plug-in connector, or disconnect the wiring if it is hardwired, after confirming the power is off. Loosen the mounting screws or tabs that hold the housing to the ceiling joists. If the housing is nailed or screwed from inside, a pry bar used gently can free it without tearing up large sections of ceiling.

Detach the old duct from the housing outlet and set it aside. If the old duct is crushed, torn, or full of lint, plan to replace it rather than reuse it. Check the ceiling opening and clean up loose insulation or debris. This is also a good time to inspect the area above the ceiling for moisture damage, such as stained wood or soft drywall. Stains around an old fan often mean the old unit was vented into the attic or the duct had come loose, which are both problems the new installation must fix.

Wiring the New Fan

Wiring a basic exhaust fan follows standard household color codes in most regions: black is hot, white is neutral, and bare copper or green is ground. Always follow the wiring diagram that comes with the specific fan model, since combination units with lights, heaters, and humidity sensors have extra wires and sometimes need separate switches. Match the new fan wires to the house wires by color, twist them together with wire nuts, and give each connection a firm tug to confirm it is tight.

Connect the ground wire to the green grounding screw inside the housing. Tuck the wires neatly into the housing junction box and secure the cable with the provided connector so it cannot pull loose. If the new fan needs a separate switch for the light and the fan, or a timer switch, wire it according to the diagram and label the switches clearly. Some models need constant power to the sensor and a separate switched wire for manual control.

Venting: Always to the Outside, Never Into the Attic

This is the most important rule in the entire installation: the fan must vent all the way to the outside of the house, through a roof cap or a wall cap. Venting into the attic is one of the most common and most damaging installation mistakes. It dumps warm, moist air directly into a cold attic space, where it condenses on wood framing and insulation. Over time that moisture feeds mold, rots roof sheathing, and ruins insulation. Building codes in most areas prohibit attic venting for exactly this reason.

Choose the shortest, straightest duct route practical. Every bend and every extra foot of duct adds resistance and reduces airflow. Rigid metal duct performs better than flexible duct because its smooth interior creates less friction, and it holds its shape instead of sagging. If flexible duct is used, pull it taut so it does not sag between supports, and keep the run as short as possible. Insulated duct is a smart choice for attic runs, because it reduces condensation forming on the outside of the duct in cold weather.

For a roof exit, cut the opening from below after confirming the location from the attic, install the roof cap, and seal it with roofing sealant and flashing according to the cap instructions. For a wall exit, use a wall cap with a damper that closes when the fan is off, which keeps cold air, insects, and rain out. Secure every duct joint with foil tape and a clamp, not just tape alone.

Bright clean bathroom with a new ceiling exhaust fan, clear mirror, and fresh white tile after installation

Mounting, Sealing, and Testing

Mount the new housing to the ceiling joists with the screws or brackets provided, making sure it sits flush with the finished ceiling surface. An uneven housing leaves gaps around the grille and lets air leak. Connect the duct to the housing outlet and secure it with a clamp and foil tape. Install the motor and blower assembly, attach the grille, and restore power at the breaker.

Test the fan by switching it on and holding a single square of toilet paper near the grille. A properly working fan should hold the tissue against the grille with suction. Listen for rattling, vibration, or grinding, which usually means a loose screw, a grille that is not seated, or a damper flapping. Step outside and confirm air is actually exiting through the cap.

Troubleshooting Common Problems

If the fan is noisy, the most common causes are a loose housing, a grille that is not fully seated, or a duct that is too small or kinked. Tighten mounting screws, reseat the grille, and inspect the duct from the attic if possible. If the fan runs but moves little air, suspect a disconnected duct, a stuck damper, or a duct crushed by stored boxes in the attic. A fan that hums but does not spin may have a failed motor or a jammed blower wheel, and replacement motors are available for many popular models.

If moisture problems continue after the new fan is installed, the issue may not be the fan at all. Long, hot showers with the door closed, a fan that is switched off too soon, or wet towels left in the room can all overwhelm even a good fan. A timer or humidity sensor helps here, because it keeps the fan running after people leave the room. Persistent damp patches on walls or ceilings after a proper vented installation should be checked by a professional, since plumbing leaks and roof leaks can look like ventilation problems.

When to Call an Electrician

DIY installation is reasonable for a straightforward swap on an existing, properly wired circuit. Call a licensed electrician if the job involves running a new circuit from the panel, upgrading a breaker, adding a heater unit that needs a dedicated circuit, or working with aluminum wiring, knob-and-tube wiring, or ungrounded circuits. Also call a professional if the breaker trips repeatedly, if wires show heat damage, or if anything about the panel feels uncertain. Electrical work rewards caution, and the cost of a professional visit is small compared with the risk of a faulty connection hidden inside a ceiling.

Final Thoughts

A well-installed bathroom exhaust fan is quiet, effective, and almost invisible in daily life. It simply does its job every time the shower runs, protecting paint, grout, woodwork, and the structure above the ceiling. The keys to success are sizing it with the CFM rule, choosing a quiet model, wiring it carefully with the power verified off, and venting it all the way outside through a proper cap. Take your time with the ductwork, test thoroughly before calling the job finished, and enjoy a bathroom that dries faster, smells fresher, and stays in better condition for years.