How to Vent a Bathroom Fan Through the Roof, Not Into the Attic
A fan that dumps into the attic is a moisture machine. Run an insulated duct to a proper cap, sloped so condensation drains out.
- Advanced
- 3 to 5 hours
- Updated
The short answer
A bathroom fan must vent to the outside, never into the attic. Run a smooth-walled, insulated duct from the fan to a roof cap, keep it short and straight, and because a roof cap sits above the fan, use a drip loop or condensation trap where the fan maker allows so condensation cannot run back into the fan. Cut the roof hole between rafters, flash the cap like any roof penetration, and seal the duct joints with foil tape.
Venting a bathroom fan into the attic is one of the most common causes of attic mold locally. A fan can move a large amount of water vapour out of a bathroom, and if that moist air is dumped into the attic, it condenses on cold roof sheathing and framing in the winter, wets the insulation and grows mold. Fans that stop short of a proper outlet, vent into the soffit or just end in a flexible duct lying on the insulation all do the same damage.
The fix is to vent it outside through a dedicated duct, and a roof cap is the common route when there is no suitable exterior wall nearby. The duct must be short, smooth and insulated so warm humid air does not condense inside it and run back down.
If you are dealing with mold already, see how to fix attic mold caused by poor ventilation. For the wider system, see how attic ventilation works. For a similar roof penetration, see how to install a pipe boot.
Tools
- Drill with a long bit
- Reciprocating saw or jigsaw
- Tin snips
- Tape measure
- Hook blade utility knife
- Roofing hammer
- Caulking gun
- Screwdriver or drill driver
Materials
- Bathroom fan, with housing already in the ceiling
- Roof vent cap with a damper and flange sized to the duct, commonly 4 inch
- Insulated flexible or rigid duct of the size specified by the fan, commonly 4 inch
- Foil tape and duct clamps
- Roofing nails, 1-1/4 inch
- Self-adhered membrane and shingles to match
- Duct hanging straps
Safety first
- Work tied off on the roof. WorkSafeBC requires fall protection at 3 metres (about 10 feet) and wherever a fall could cause serious injury.
- Turn off power to the fan circuit before working on the fan, and keep off the ceiling drywall in the attic. Step only on joists or boards laid across them.
- Check the attic for wiring and other ducts before cutting the roof.
Step by Step
Step 1: Check where the fan currently vents
Find the fan housing and follow the duct. Many older installations have a short flexible duct that stops in the open attic, or one that is connected to a soffit vent, where the moist air is drawn right back into the attic. Both count as venting into the attic.
Look for signs of damage: stained or black roof sheathing, wet or matted insulation and rusty nail tips near the fan.
Watch out: Do not vent a bath fan into a soffit, a ridge vent or an attic. The moisture re-enters the attic or condenses on the roof deck.
Step 2: Choose the route and keep it short
Every bend and every extra foot of duct adds resistance and reduces airflow. Fan ratings assume a limited duct length and a small number of elbows, so check the fan's instructions. Shorter is better, and rigid smooth duct moves more air than flexible ribbed duct.
Choose a spot on the roof that is between rafters, as close to directly above the fan as possible, and on the upper half of the roof plane where practical. Avoid valleys and locations under heavy debris.
Step 3: Mark and cut the roof hole
Drill a pilot hole from inside, between rafters. On the roof, place the vent cap's neck over it and trace the opening, then cut the shingles and deck. Loosen the shingles above so the flange can slide under them.
The hole should be just large enough for the duct, commonly 4 inches, plus a little room for the cap's neck. Clean up the opening and patch the underlayment around it.
Step 4: Install the roof cap with proper lapping
A roof cap is flashed like a pipe or a box vent. The upper flange goes under the shingles above, the lower flange lies over the shingles below, and nails go only through the top and sides where shingles cover them. See the shingle lapping rule and how to install a pipe boot.
Choose a cap with a damper, which stops backdrafts and keeps out birds and pests. Do not use sealant as a substitute for the lap.
Step 5: Connect an insulated duct from the fan to the cap
Use insulated duct or wrap the duct in insulation. Warm moist air in an uninsulated duct in a cold attic condenses on the inside, and the water runs back toward the fan or drips through the ceiling. Insulation keeps the duct wall warm.
Connect the duct to the fan outlet and the cap neck with clamps, then seal with foil tape. Do not use screws that poke into the airway. Keep the duct straight and pull it tight, avoiding sags that can hold water.
Step 6: Slope the duct or add a drip loop
Any moisture that condenses will run downhill. If the duct rises toward the roof cap with a slight slope, it runs back toward the fan, which is the wrong way. Some installers slope the duct slightly down to the outlet, or use a loop where the duct drops and then rises, so water collects there instead of in the fan. Some fan manufacturers specify which method to use, so check the instructions.
In long runs, support the duct with hanging straps every few feet to keep sags out.
Step 7: Seal the roof and make the electrical connection safe
Shingle around the cap so that shingles at the top and sides cover the flange. Check the damper is free. Any electrical work on the fan should be done by a qualified person, and power must be off while you work.
Run the fan and check that air flows out of the roof cap. Hold a tissue to the cap outside to feel the flow.
Step 8: Insulate and air seal around the fan housing
A bath fan housing is a hole in the ceiling. Warm moist air leaks around it into the attic. Seal the gap between housing and drywall, and cover the housing and duct with insulation where the fan is rated for insulation contact.
Also check the attic for other sources. See how attic ventilation works for how moisture and airflow combine.
Why Fans Must Never Dump Into the Attic
A bathroom fan can exhaust a large quantity of water vapour over a year. In an attic, that vapour condenses on cold roof sheathing, nails and framing, wets insulation, which loses its R-value, and feeds mold. The damage is worst on the north side of the roof, where the deck stays cold. It is a common discovery when roofers open up a Fraser Valley roof, and one of the most common reasons for black spotting on the deck.
Wall Caps Versus Roof Caps
Where an exterior wall is close, a wall cap can be shorter and simpler, but it must be located away from soffit vents so the moist air is not drawn back into the attic. Roof caps are useful when the fan is in the middle of the house, but they add a roof penetration that must be flashed and kept clear of debris.
Common Mistakes
- Venting the fan into the attic. The moisture condenses and grows mold.
- Venting into a soffit. The exhaust is pulled right back into the attic.
- Uninsulated duct. Condensation forms inside and drips back.
- Long, sagging or crushed flexible duct. Airflow drops and water collects.
- No damper on the cap. Cold air and pests come in.
- Sealing the cap with caulk instead of a lapped flange. The roof leaks.
When to Call a Professional
If the run is long or complicated, the roof is steep or high, or there is already mold or wet insulation in the attic, have a roofer and, for the wiring, an electrician deal with it. The roof penetration must be flashed correctly, and the mold may need treating first.
Do not leave a fan venting into the attic while you wait. Even a short-term temporary duct to the outside helps.
Fraser Roofing does free roof inspections across the Fraser Valley, from Hope to Abbotsford. See our Roof Replacement service or the towns we cover.
How to Vent a Bathroom Fan Through the Roof: Questions
Can a bathroom fan vent into the attic?
No. A bath fan discharges warm, humid air, and in an attic that moisture condenses on the cold roof deck and framing, wets the insulation and grows mold. The fan must vent outside through a duct to a roof cap or wall cap. Venting into a soffit is also wrong because the air is drawn back into the attic.
Does a bathroom fan duct need to be insulated?
Yes, where it runs through an unheated attic. Warm moist air in an uninsulated duct condenses on the cold duct wall, and the water runs back toward the fan or leaks through the ceiling. An insulated duct, or one wrapped in insulation, keeps the inside surface warm.
How long can a bathroom fan duct be?
It depends on the fan, so check the manufacturer's instructions. Every foot of duct and every elbow reduces airflow, and fan ratings assume a limited length with few bends. Keep the duct as short and straight as possible, and use smooth rigid duct where you can instead of ribbed flexible duct.
Should a bathroom fan duct slope up or down?
Condensation runs downhill, so the duct must not drain back into the fan. Because a roof cap sits above the fan, a duct running up to it drains toward the fan, so many installations add a drip loop low in the run where water collects away from the fan, or slope a horizontal section away from it. Some fan makers give specific instructions, so follow them. Insulating the duct reduces condensation in the first place.
Related Guides
All Ventilation and Attics guides|The full How-To Library
This guide is general education. Always follow the product manufacturer's installation instructions, the BC Building Code and WorkSafeBC requirements, which take priority over anything written here.
Want someone to look at your roof?
Kory & Johnny have roofed homes across the Fraser Valley since 2016. Free inspections, honest estimates, no pressure.
604-728-0146Text UsEmailServing Hope, Agassiz, Chilliwack, Rosedale, Abbotsford & the entire Fraser Valley
