A bathroom fan that dumps moist air into the attic is one of the most common causes of moldy roof sheathing, and it often goes unnoticed for years. A properly installed roof exhaust vent carries that humid air all the way outdoors, where it belongs. The job involves three parts: picking the right roof cap, cutting and flashing a watertight hole, and running an insulated duct that drains condensation instead of collecting it.
Part of our Roofing guide — explore the full guide →
If you are comfortable in the attic and on a walkable, low-pitch roof, venting a bathroom fan through the roof is a manageable weekend project. If the roof is steep, more than one story up, or covered in a material you have never worked with, hire a roofer for the penetration and do the attic side yourself. Roof falls are among the most serious home-improvement injuries, and a leaky flashing job can cost more than the whole install.
- Choosing a Roof Exhaust Vent for a Bathroom Fan
- Tools and Materials
- Safety First: Roof, Attic and Wiring
- Step-by-Step: Venting a Bathroom Fan Through the Roof
- Why You Should Never Vent Into the Attic
- Troubleshooting
- Cost Ranges
- Permits and When to Call a Licensed Professional
- Frequently Asked Questions
- Is it better to vent a bathroom fan through the roof or the wall?
- What size duct does a bathroom roof vent need?
- Can I use a soffit vent instead of a roof cap?
- Do I need a permit to install a roof exhaust vent?
- How do I keep condensation from dripping back into the fan?
- Should I go on the roof myself?
We cover tools and materials, the step-by-step process, safety requirements for the roof, attic and wiring, common problems, cost ranges, and when to call licensed help.
Choosing a Roof Exhaust Vent for a Bathroom Fan
A bathroom roof exhaust vent is a capped housing with a built-in flashing flange and a collar that the duct attaches to. A good one has three features: a backdraft damper that closes when the fan is off, a screen or guard to keep birds and insects out, and a collar that matches your duct diameter (usually 4 inches, sometimes 6 inches on higher-CFM fans).
- Low-profile roof caps sit close to the shingles and suit asphalt roofs with a pitch of roughly 3:12 to 12:12.
- Roof jacks with a goose-neck hood point the exhaust downward and handle heavy rain well.
- Flat-roof or low-slope caps are taller and designed to be sealed into membrane roofing rather than shingled in.
- Metal versus plastic. Galvanized or painted steel caps outlast plastic in hot, sunny climates. Plastic is fine in moderate climates and resists corrosion near the coast.
Many home centers sell a bathroom fan roof vent kit that bundles the cap, an insulated flexible duct, clamps and foil tape. A kit is a sensible choice because the parts are sized to fit together. Whatever you buy, avoid caps without a damper, since an open hole invites cold drafts and pests.
Tools and Materials
- Roof exhaust vent cap sized to the duct (4 or 6 inch)
- Insulated duct (rigid metal wrapped in insulation is best; insulated flexible duct is acceptable for short runs)
- Foil HVAC tape and worm-gear or band clamps (never cloth duct tape)
- Roofing nails, roofing sealant rated for your roof type, and a flat pry bar
- Drill with a long bit, reciprocating saw or jigsaw
- Utility knife with hook blades for shingles
- Fall-arrest harness, roof anchor and lifeline, soft-soled shoes
- Headlamp, knee pads, N95 or P100 respirator and gloves for the attic
- Non-contact voltage tester
Safety First: Roof, Attic and Wiring
Roof and Ladder Safety
Work on the roof only when it is dry, calm and above freezing. Never go up on wet, icy, frosty or mossy shingles, and stay off any roof steeper than about 6:12 unless you are trained and tied off. Use a fall-arrest system with a properly installed roof anchor. Set the extension ladder on firm, level ground at a 4-to-1 angle, extend it at least 3 feet above the roof edge, and secure the top. Keep three points of contact while climbing, and have a helper on the ground. For two-story homes or steep pitches, a roofer is the safer choice.
Attic Safety
Step only on joists or a solid walk board, never on drywall between framing. Watch for roofing nails poking through the sheathing. Attics get dangerously hot in summer, so work early in the day and take breaks. If your attic has a pull-down ladder, confirm it is rated for your weight plus tools, fully unfolded and locked before you climb.
Insulation and Asbestos
Loose, pebbly gray-brown or gold insulation that looks like mica may be vermiculite, which can contain asbestos. Do not disturb it. Have it tested by an accredited lab first, and if it contains asbestos, hire a licensed abatement contractor. In homes built before 1980, ceiling textures and old joint compound around the fan opening can also contain asbestos, and painted surfaces from before 1978 may contain lead, so test before cutting or sanding.
Electrical Safety
Before touching the fan or its wiring, turn off the breaker and confirm power is off with a non-contact voltage tester at the fan housing. Never test live circuits. If you are adding a new fan, a new circuit or a timer switch, or moving wiring, have a licensed electrician do that portion. Bathroom circuits generally need GFCI protection, and fans mounted over a tub or shower must be rated for that location and are often required to be on a GFCI-protected circuit, so follow the fan maker’s instructions and local code.
Step-by-Step: Venting a Bathroom Fan Through the Roof
- Plan the route. From the attic, locate the fan housing and find the shortest, straightest path to the roof between two rafters. Keep the duct run under about 25 feet with as few bends as possible, and stay at least 3 feet from any soffit or ridge vent intake and away from plumbing vents.
- Mark the exit point. Drive a long drill bit or nail up through the roof sheathing centered between rafters. This marks the spot for the roof side and confirms you are clear of framing.
- Get set up on the roof. Install your anchor, clip in, and find the marker. Check that the location sits at least a couple of feet below the ridge so the cap can be shingled in properly.
- Cut the hole. Trace the cap collar opening around the marker and cut through shingles and sheathing with a reciprocating saw. Cut only the collar size, not the flange size.
- Loosen upper shingles. Use a flat bar to break the seal on the shingles above the hole and pull the nails so the flashing can slide underneath.
- Set the flashing. Apply roofing sealant to the underside of the flange. Slide the top and sides of the flange under the upper shingles; the bottom edge sits on top of the lower shingles. This shingle-style lapping sheds water downhill.
- Fasten and seal. Nail the flange at the upper corners where shingles will cover the nails. Dab sealant on exposed nail heads and press the loosened shingles back down over the flange. Trim shingles around the cap for a neat fit.
- Connect the duct. Back in the attic, attach the insulated duct to the cap collar and to the fan outlet with clamps and foil tape. Pull flexible duct taut to eliminate sags.
- Slope and insulate. In cold climates, slope the duct slightly downward toward the roof cap where possible so condensation drains out, or install a condensation trap if the run must rise. The insulation sleeve should be continuous to keep warm, moist air from condensing inside the duct.
- Test the system. Restore power at the breaker, run the fan, and confirm the damper on the roof cap opens. A tissue held to the grille should be pulled firmly against it.
Why You Should Never Vent Into the Attic
A bath fan moves warm air loaded with moisture from showers. Released into an attic, that moisture condenses on cold sheathing and nails, soaks insulation, and feeds mold within a single heating season. Pointing a duct at a soffit vent or ridge vent is not a fix either, since much of the air simply re-enters the attic. Building codes generally require bathroom exhaust to terminate outdoors, and a roof exhaust vent is one of the most reliable ways to meet that requirement. If you are tracing an existing fan and find a duct that ends in the insulation, rerouting it should be a priority.
Troubleshooting
Water dripping from the fan grille. This is usually condensation in an uninsulated or sagging duct, not a roof leak. Insulate the duct, remove dips, and run the fan 15 to 20 minutes after showers.
Leak stain around the cap. The flashing was likely lapped incorrectly, with the upper edge on top of shingles instead of under them, or the sealant failed. Reset the flange with correct lapping.
Weak airflow. Long runs, crushed flex duct, too many elbows, or a stuck damper all choke a fan. Shorten and straighten the run and check that the damper swings freely.
Rattling in wind. A loose damper flap or missing backdraft damper at the fan housing causes it. Replace the cap or add an inline damper.
Cost Ranges
For DIY, a roof cap or kit, insulated duct, tape and sealant typically total well under a couple hundred dollars. Add the cost of a harness and anchor if you do not own fall protection. Hiring a roofer just for the penetration and flashing often runs a few hundred dollars. A full professional install, including a new fan, wiring and roofing work, commonly lands in the several-hundred to low-thousands range depending on attic access, roof type and region.
Permits and When to Call a Licensed Professional
Many jurisdictions require a permit for a new roof penetration, a new fan, or new wiring, so check with your local building department before you start. Call a roofer for steep, tall, tile, slate, metal or flat membrane roofs, or any time you are not confident working at height. Call a licensed electrician for new circuits, new switches or relocated wiring. Call an accredited asbestos inspector before disturbing suspect insulation or ceiling materials, and a mold remediation pro if you find mold covering more than about 10 square feet of sheathing.
Frequently Asked Questions
Is it better to vent a bathroom fan through the roof or the wall?
Both work if the duct terminates outdoors with a damper. A sidewall cap avoids roof work and leak risk, while a roof cap often allows a shorter, straighter run from a ceiling fan in the middle of the house.
What size duct does a bathroom roof vent need?
Most bath fans use a 4-inch duct, and higher-airflow models may use 6 inches. Match the roof cap collar to the fan outlet and never reduce the diameter along the run.
Can I use a soffit vent instead of a roof cap?
Dedicated soffit exhaust caps can work, but pointing a duct at an intake soffit vent sends moisture right back into the attic. A roof or wall cap with a damper is more dependable.
Do I need a permit to install a roof exhaust vent?
Often, yes. New roof penetrations, new fans and new wiring frequently require a permit. Your local building department can tell you what applies.
How do I keep condensation from dripping back into the fan?
Use insulated duct, keep it taut with no low spots, slope it toward the exterior where possible, and run the fan long enough after showers to clear the moisture.
Should I go on the roof myself?
Only on a dry, low-pitch, single-story roof with a fall-arrest harness and a helper. For steep, high or slippery roofs, hire a roofer for the cap and handle the attic work yourself.