Installation & Setup

Bathroom Fan Venting: Duct Size, Roof vs Wall Caps and Attic Rules

Quick answer

A bathroom fan must vent all the way outdoors through a roof or wall cap with a backdraft damper, never into the attic, a soffit gap or a ridge vent. Use 4-inch duct for most fans up to about 80–100 CFM and 6-inch for larger fans or long runs, keep the run short with few bends, slope it toward the outlet and insulate it where it crosses a cold attic.

Why the fan must vent outdoors

A bathroom fan's job is to take warm, moisture-laden air out of the house. If the duct ends in the attic, that moisture lands on the coldest surface it finds: the underside of the roof sheathing and the nails through it. In cold weather it frosts, then melts and drips, staining ceilings, rotting sheathing and growing mold on rafters. Ridge and soffit vents are designed to let attic air out slowly, not to take a concentrated plume of humid air, and much of that air falls back into the insulation.

Building codes (the IRC in most US jurisdictions) require bathroom exhaust to terminate outdoors and not into an attic, crawlspace or other enclosed area. If you are buying a house and find a fan duct lying loose in the attic, put it on the repair list.

Duct diameter and material

Fan sizeMinimum ductBetter
50–80 CFM, short run4 in4 in rigid or semi-rigid
80–110 CFM4 in6 in for runs over about 15 ft
110–150 CFM6 in6 in rigid
Over 150 CFM, inline fans6 in6–8 in, per manufacturer

Never reduce below the fan's outlet size; many older fans have 3-inch outlets, and a 3-inch duct throttles airflow hard. Smooth-wall rigid metal duct gives the lowest resistance. Insulated flex duct is common and acceptable when it is short, pulled tight and well supported. Foil accordion duct sags, crushes and traps water; avoid it. Seal joints with foil tape or mastic, not cloth duct tape.

Keeping the run efficient

  • Short and direct. Every foot and every elbow adds resistance. A 90-degree elbow can cost as much airflow as several feet of straight duct.
  • Count on rated static pressure. Fans are rated at 0.1 in. w.c., but a real run with a cap and two elbows is often 0.2–0.3 in. Choose a fan with a 0.25 in. w.c. rating that meets your target from the bathroom fan CFM calculator.
  • Slope toward the outlet. Any condensate inside the duct should drain outside, not back into the fan housing. A slight downward pitch toward a wall cap, or a short vertical rise to a roof cap with insulated duct, helps.
  • No sags. Low spots collect water. Support flex duct every few feet.

For larger systems, the same airflow principles used in duct sizing apply: a bigger, smoother duct carries more air with less noise.

Roof cap, wall cap or soffit?

TerminationProsWatch for
Roof capShort vertical run in single-storey homes; steam rises naturallyNeeds proper flashing; duct must be insulated in cold attics
Sidewall capNo roof penetration; easy to inspectKeep it away from windows, doors and air intakes; slope duct outward
Dedicated soffit ventAvoids roof penetration on some designsMust be a sealed soffit cap ducted directly, never just aimed at a perforated soffit, or moist air is drawn straight back into the attic

Whichever you choose, the cap needs a backdraft damper to stop cold air and insects coming in, and the opening should not be screened so finely that lint clogs it. Codes also require a minimum separation from operable windows and mechanical air intakes; local rules vary, so check them.

Insulating the duct

Where the duct crosses an unconditioned attic in a heating climate, use insulated duct (commonly R-6 or R-8 jacket) or wrap rigid duct with insulation. Warm, humid air cooling inside an uninsulated duct condenses on its walls and drips back through the fan grille, which people often mistake for a roof leak. Insulation also stops the duct itself from becoming a cold spot in the attic insulation layer. While you are in the attic, check that insulation around the fan housing is restored; the R-value chart shows target levels by climate zone.

Seal the fan housing to the drywall with caulk or foam gasket. Air leaking around the housing carries moisture into the attic just as surely as a disconnected duct.

Installation checklist

  1. Choose fan size and duct diameter; match or exceed the fan's outlet.
  2. Plan the shortest route to a roof or wall cap with no more than two or three elbows.
  3. Install a cap with a backdraft damper, flashed or sealed to the exterior.
  4. Connect the duct with clamps or screws and foil tape; support it so it cannot sag.
  5. Insulate the duct through cold spaces.
  6. Air-seal the fan housing to the ceiling.
  7. Test: with the fan on, a tissue held to the grille should be pulled firmly, and you should feel airflow at the cap outdoors.
  8. Add a timer or humidity sensor so the fan runs 20 minutes or more after showers.

Fans over a tub or shower must be rated for that location and typically need GFCI protection. Adding a new circuit or wiring in wet locations is line-voltage work: switch off the breaker and verify it, or hire a licensed electrician. Work on steep roofs needs fall protection.

Frequently asked questions

Can I vent a bathroom fan into the attic?

No. Codes require it to vent outdoors, and attic venting causes condensation, mold and rot on the roof deck. Even venting toward a ridge or soffit vent does not count.

Can I use a 3-inch duct?

Only if the fan's outlet is 3 inches and the run is very short. A 3-inch duct sharply limits airflow; upgrading the fan to one with a 4-inch outlet is usually worth it.

Why is water dripping from my bathroom fan?

Usually condensation in an uninsulated duct crossing a cold attic, or a duct that slopes back toward the fan. Insulate the duct and re-pitch it toward the outlet. If it only happens during rain, check the roof cap flashing.

How long can a bathroom fan duct be?

It depends on the fan's pressure rating. Many standard fans manage about 15–25 equivalent feet of 4-inch duct; longer runs need a fan rated at higher static pressure, a 6-inch duct, or an inline fan.

Last reviewed 2026-10-28