Reviewed by The Roofing Brief Team. Last reviewed: October 2026.
A dryer vent through roof installation is the right call when an exterior wall path would exceed the 35-foot equivalent duct length in IRC Section M1502.4.6.1 (2021 and 2024 editions) or is impractical due to home layout, such as a second-story laundry room with no exterior wall access. The 2026 installed cost ranges from $300 to $800 for new construction or retrofit, including the roof penetration, vent cap with damper, rigid metal duct routing, and flashing.
The short version
- 2026 installed cost: $300 to $800 for a standard asphalt shingle install. Tile roofs run $600 to $1,200. Standing seam metal runs $700 to $1,400.
- IRC M1502.4.6.1 limits dryer exhaust duct length to 35 feet, reduced for each fitting per Table M1502.4.6.1 (5 feet for a mitered 90-degree elbow, 1 foot 9 inches for a smooth 6-inch radius 90), unless the dryer maker’s instructions set the length. Most through-roof installs are needed when the wall path exceeds these limits.
- Required materials: 4-inch smooth-wall rigid metal duct (galvanized or aluminum), no flex duct in concealed spaces, roof-rated vent cap with damper, and proper flashing.
- IRC M1502.3 prohibits screens at the dryer duct termination and requires a backdraft damper, so screened bird guards are out. Use a vent cap with a backdraft damper and no screen.
- Annual lint cleaning is mandatory. Roof installs are harder to clean than wall installs, which is the main downside.
- Lint is the fire risk: each mitered 90 adds 5 feet of equivalent length and another spot for lint to collect, so count elbows before you commit to a route.
Short answer and 2026 cost
If you need a dryer vent and the wall path is impractical, the through-roof install is a code-compliant solution that costs $300 to $800 done properly. The work involves cutting a 4 to 6 inch hole through the roof deck, installing a flashed vent cap, running rigid metal duct from the dryer to the roof, and sealing the penetration to prevent leaks.
The three reasons you would route a dryer vent through the roof:
- The laundry room is on an interior wall and the closest exterior wall path exceeds 35 feet of equivalent length (IRC M1502.4.6.1 maximum, with deductions for fittings).
- The laundry room is on a second story with no eave-level exterior wall (a finished basement build-up scenario, or a top-floor laundry over a garage).
- The exterior wall path would cross structural elements (a steel I-beam, a brick chimney chase, a tankless water heater flue) that make horizontal routing impractical.
For homes where a wall vent is possible, that is almost always the better choice. Wall vents are cheaper ($150 to $400), easier to clean, and have fewer elbows in the duct run. Through-roof is the second choice when wall is not possible.
When through-roof is required
The IRC permits dryer vent termination through any exterior wall or roof, with the same code requirements for cap type, duct material, and length. Through-roof is required (not just preferred) in a few specific situations:
| Situation | Why through-roof is required |
|---|---|
| Interior laundry, wall path over 35 ft | IRC M1502.4.6.1 length limit exceeded |
| Second-story laundry, no eave wall | No physical wall path available |
| Laundry over crawl space, no wall | Floor joists block all horizontal routing |
| HOA prohibits wall caps on visible elevations | Code-compliant alternative needed |
| Existing wall path has multiple 90s | Each mitered 90 subtracts 5 ft from the 35 ft limit |
The length calculation under IRC M1502.4.6.1 measures from the transition duct connection to the outlet terminal (the transition duct itself does not count) and adds an equivalent length for each fitting from Table M1502.4.6.1. A 4-inch radius mitered 90-degree elbow counts as 5 feet and a mitered 45 as 2 feet 6 inches; smooth long-radius elbows count far less, such as 1 foot 9 inches for a 6-inch radius 90 and 1 foot 7 inches for an 8-inch radius 90. A 30-foot duct with three mitered 90s equals 30 + 15 = 45 feet, which exceeds the 35-foot maximum. The same run with three 8-inch radius smooth 90s equals about 34.75 feet and fits. In this scenario, you either use long-radius elbows, reduce the elbow count, follow the dryer maker’s published length (M1502.4.6.2), use a listed dryer exhaust duct power ventilator (M1502.4.4 and M1502.4.6.3; booster fans are prohibited by M1502.4.5), or route through the roof to shorten the path.
IRC M1502 dryer exhaust rules explained
IRC Section M1502 covers clothes dryer exhaust. The section numbers below are from the 2021 and 2024 editions on the ICC code site; older editions numbered some provisions differently. The key paragraphs for through-roof installs:
- M1502.3, duct termination. The duct must terminate outside the building, following the dryer maker’s instructions. If those instructions do not specify a location, the termination must be at least 3 feet in any direction from openings into the building, including openings in ventilated soffits. The termination needs a backdraft damper, and screens are not allowed. On a roof, that generally means keeping the cap clear of an operable skylight as well.
- M1502.4.1, material and size. 4 inch nominal diameter, smooth interior, metal at least 0.0157 inch thick (No. 28 gage), such as galvanized steel or rigid aluminum. Flex is limited to the listed transition duct, which may not be concealed (M1502.4.3).
- M1502.4.2, duct installation. Duct must be supported at intervals of no more than 12 feet, joints must be sealed and mechanically fastened, and screws or similar fasteners may not protrude more than 1/8 inch into the duct.
- M1502.4.3, transition duct. A single length listed to UL 2158A, no more than 8 feet long, and not concealed within construction.
- M1502.4.5, booster fans prohibited. Domestic booster fans may not be installed in dryer exhaust systems; a listed dryer exhaust duct power ventilator (UL 705) is a separate product covered by M1502.4.4.
- M1502.4.6.1, specified length. Maximum 35 feet from the transition duct connection to the outlet terminal, reduced by the fitting equivalent lengths in Table M1502.4.6.1 (5 feet for a 4-inch radius mitered 90, 2 feet 6 inches for a mitered 45, less for smooth long-radius elbows).
- M1502.4.6.2, manufacturer’s instructions. As an alternative, the size and maximum length can be taken from the dryer maker’s installation instructions, and a copy must be given to the code official at the concealment inspection. Where the equivalent length exceeds 35 feet, M1502.4.7 requires a permanent label within 6 feet of the duct connection.
The manufacturer’s-instructions path in M1502.4.6.2 is the most useful for retrofit work. Check your dryer’s installation manual for its published maximum length and fitting allowances. Listed condensing (ductless) dryers, a group that includes many heat-pump models, are exempt from the exhaust requirement under the exception to M1502.2, which can eliminate the need to vent through the roof altogether.
Vent cap types: damper, no screen
The vent cap is the most failure-prone component in a through-roof install. The wrong cap causes lint buildup, water intrusion, and pest entry. Three cap categories:
| Cap type | How it works | Pros | Cons |
|---|---|---|---|
| Open vent with backdraft damper | Spring-loaded flap opens when dryer runs, closes when off | Code-compliant, low lint catch, weatherproof | Damper can stick in cold weather, occasional inspection |
| Bird guard with damper | Damper plus a screen or louver | Keeps birds out | Screen catches lint, screens prohibited at the termination by IRC M1502.3, fire risk |
| Open vent, no damper | Just a hooded opening | Cheapest, easiest install | Not code-compliant, allows cold air infiltration year-round |
Use an open vent with a backdraft damper and no screen, which meets IRC M1502.3. Brands to look at: Heartland Industries DRC-4 (about $35), Builder’s Best ProGuard 4 (about $25), and Famco RV-4DG (about $55). All three are roof-rated, include a damper, and have no lint-catching screen. To check which gooseneck vents are dryer-rated and which are meant for bath fans only, see our gooseneck roof vent guide.
The pest-entry argument for bird guards is a real concern in some regions. The right answer is not a screen but a heavier-spring damper that closes firmly when the dryer is off and a manufacturer’s “wildlife-resistant” cap that uses larger spaces between protective elements (not fine mesh).
Rigid duct routing and installation
The duct between the dryer and the roof cap is where most installation errors happen. The non-negotiables:
- Material: 4-inch smooth-wall rigid metal duct, galvanized steel or aluminum. Foil flex duct and plastic accordion duct are not permitted in concealed spaces (M1502.4.1 and M1502.4.3). The only acceptable flex section is the transition from the dryer to the rigid duct: a single length of no more than 8 feet, listed to UL 2158A, and not concealed (M1502.4.3).
- Connection: joints mechanically fastened, with no screw or similar fastener protruding more than 1/8 inch into the duct interior (M1502.4.2). Long screws snag lint and create fire hazards. Pop rivets are cleaner.
- Sealing: foil tape (UL 181B-FX) on every joint. Duct tape (the cloth-backed kind) is not approved and fails in heat.
- Slope: minimum 1/4 inch per foot back toward the dryer if running horizontally. Vertical runs (the through-roof section) should be plumb.
- Elbows: minimize count, use long-radius (sweep) elbows where possible. Under Table M1502.4.6.1, each mitered 90 counts as 5 ft against the allowable length while a smooth 6-inch radius 90 counts as 1 ft 9 in, and every elbow is another spot for lint to collect.
- Support: secure the duct at intervals of no more than 12 feet (M1502.4.2). Closer spacing is common where a run could sag.
The typical through-roof routing path from a first-floor laundry room: dryer to rigid 90 up into the attic via interior wall, vertical run through attic, rigid 90 to vertical riser through the roof, flashed cap on the roof. Two 90s and 20 to 30 feet of duct. With mitered 90s counting 5 feet each, a run of up to 25 feet stays within the 35-foot M1502.4.6.1 limit; a 30-foot run needs smooth long-radius elbows (two 6-inch radius 90s add 3 feet 6 inches, for 33.5 feet) or a manufacturer’s length allowance.
Roof flashing for the dryer vent
The roof penetration for a dryer vent is flashed like a plumbing stack or skylight, and IRC 2021 section R903.2 requires flashing at roof penetrations so water stays out for the life of the roof. The basic install sequence:
- Cut a 4 to 5 inch round hole through the roof deck at the chosen location, using a hole saw. Mark from below by drilling a pilot hole through the deck and using it as a reference on the roof side.
- Pull back two courses of shingles above the penetration. Cut shingles only as needed; do not pull more than necessary.
- Set the vent cap base in place. The base should have a 4-sided flange that lays on the deck.
- Apply a continuous bead of polyurethane roofing sealant under the upslope half of the flange. Set the cap in place.
- Slide the upper flange under the existing upper shingles. The lower flange sits on top of the lower shingles.
- Drive roofing nails through the upper flange (under the next shingle course, never exposed). 4 nails minimum.
- Replace the upper shingles. Use a small amount of roofing cement under any cut shingles to seal them.
- Verify the cap is plumb (within 5 degrees of vertical) so the damper seats correctly.
For more on roof flashing principles that apply to all roof penetrations, see that guide. For drip-edge interaction at the eave, see our drip edge guide.
Lint cleaning schedule
Clean every dryer vent at least once a year. Through-roof installs are slightly harder to clean than wall installs because access to the cap requires a ladder and roof work. The cleaning schedule:
| Frequency | Task |
|---|---|
| Every load | Clean dryer lint screen |
| Quarterly | Check airflow at vent cap (a properly-vented dryer pushes a noticeable wind out of the cap) |
| Annual | Full duct cleaning, brush kit from cap end, vacuum from dryer end |
| Every 3 to 5 years | Inspect cap damper for stuck or worn condition, replace if needed |
| If drying time has doubled | Immediate cleaning, do not run dryer until cleared |
The standard cleaning tool is a 30 to 40 foot dryer vent brush kit, sold for $40 to $80. The kit includes a brush head, multiple flexible extensions, and a drill adapter. Run from the cap end on the roof (the brush will push lint into the dryer area below) and vacuum from the dryer end at the same time. For 2-story through-roof installs, this is a two-person job: one on the roof, one at the dryer.
Pro cleaning runs $100 to $200 for a through-roof install (vs $80 to $150 for wall installs). The extra cost is the roof access. Schedule before the heating season, when you start running the dryer more often.
Fire risk and prevention
Lint is the fuel in a dryer duct fire, and a through-roof run can be harder to keep clear than a wall run because:
- The vertical run promotes lint accumulation at the cap (gravity pulls some lint back down into the cap area).
- Cleaning is harder, so lint cleaning is more often skipped.
- Hidden ducts in attic or wall spaces are not visible for visual inspection.
The fire prevention checklist:
- Clean the lint screen after every load.
- Annual professional duct cleaning, no exceptions.
- Never operate the dryer while away from home (the leading cause of dryer fires escalating to structure fires).
- Install a smoke detector in or near the laundry room.
- If drying time increases, clean immediately.
- Check the vent cap quarterly for damper function.
- Never use plastic or vinyl flex duct anywhere in the run.
Tile roof considerations
Tile roofs (clay barrel, concrete S-tile, flat concrete tile) require a different install approach than asphalt shingles. The cap base cannot be flashed under the next course because tile is not overlapping the same way. The two acceptable methods:
| Method | How | Cost premium |
|---|---|---|
| Pan flashing under tile | Remove tiles above penetration, set lead or copper pan flashing, replace tiles over pan | $200 to $400 over asphalt cost |
| Tile-vented cap (Boral, Eagle, Westile) | Replace one or two tiles with a matched vent tile that includes the duct opening | $300 to $500 (special-order tile) |
The tile-vented cap is the cleaner finish but requires special-order tiles matched to your existing roof. Lead time is 2 to 6 weeks. For an older tile roof where matching is hard, the pan flashing method is more practical.
Cost breakdown by install scenario
The detailed 2026 cost ranges for new and retrofit through-roof dryer vent installs:
| Scenario | Labor hours | Materials | Total installed |
|---|---|---|---|
| New construction, asphalt shingle, single story | 3 to 4 | $60 to $120 | $300 to $500 |
| Retrofit, asphalt shingle, single story | 4 to 6 | $80 to $160 | $400 to $650 |
| Retrofit, asphalt shingle, second story | 5 to 8 | $80 to $160 | $500 to $800 |
| Retrofit, tile roof | 6 to 10 | $200 to $400 | $600 to $1,200 |
| Retrofit, standing seam metal | 5 to 8 | $250 to $500 | $700 to $1,400 |
| Pro lint cleaning, ongoing | 1 to 2 annually | $5 | $100 to $200/yr |
The single biggest cost variable is the duct routing distance from the dryer to the roof. A first-floor laundry room with a clean path to the roof through an open chase costs the low end. A second-floor laundry that requires routing around plumbing and HVAC ducts in the attic costs the high end.
For comparison context with roof penetration work generally, see our roof flashing guide. For broader roofing cost benchmarks, see how much a new roof costs. A bath fan needs its own separate duct and roof cap; for that job, see our guide to bathroom exhaust fan installation cost.
Energy and ventilation considerations
ENERGY STAR does not certify dryer vent caps. The placement and makeup-air points that matter come from the IRC and the ventilation equipment in the house:
- IRC M1504.3 requires exhaust openings to terminate at least 10 feet from mechanical air intake openings, unless the exhaust opening is at least 3 feet above the intake, and at least 3 feet from gravity air intakes, operable windows and doors.
- For homes with heat recovery ventilators (HRVs) or energy recovery ventilators (ERVs), the dryer cap should be downwind of any intake under prevailing wind direction.
- In airtight homes (Passive House, net-zero, deep-energy retrofits), the makeup air for the dryer’s exhaust load must be considered. A vented dryer pulls conditioned air out of the house while it runs, which must be replaced by infiltration, dedicated makeup air, or avoided by switching to a condensing (ductless) dryer. Check the dryer’s rated exhaust flow in its manual and your local code for makeup air requirements.
Condenser and heat-pump dryers (Bosch, Miele, LG, Whirlpool) collect moisture in an internal reservoir and require no external venting; ENERGY STAR says certified heat pump dryers use around 70% less energy than conventional dryers. For tight new construction or deep retrofits, this can be a better answer than a through-roof vent, with no penetration and no makeup-air load. The trade-off is usually a longer dry cycle; compare the cycle times each maker publishes.
DIY vs pro for a dryer vent through roof
This is a borderline DIY project. The competency requirements:
- Comfort with ladder work and roof walking at the pitch of your roof.
- Ability to cut a clean hole through the roof deck without compromising structural members.
- Ability to flash a roof penetration to a water-tight finish.
- Knowledge of dryer vent code requirements and your dryer manufacturer’s specifications.
If you have done any roof work before (a flashing repair, a skylight install), this is within DIY reach for $80 to $160 in materials. If you have never done roof work, this is the wrong project to start with. A leak at the dryer vent flashing can soak attic insulation for months before you notice it, and the repair cost (insulation removal, drywall repair, dryer wall repair) easily exceeds $2,000.
For most homeowners, paying $400 to $800 for a competent installer is the right call. Look for an HVAC contractor or general contractor with both roofing and ventilation experience. See our guide on how to choose a roofing contractor for vetting criteria.
FAQs
Is venting a dryer through the roof better than through a wall?
Wall venting is the default better choice when possible: cheaper to install, easier to clean, fewer elbows. Roof venting is the better route when the wall path would exceed the 35-foot equivalent length in IRC M1502.4.6.1, or when the laundry is on an interior wall or second floor with no exterior wall access.
How long can a dryer vent be through the roof?
35 feet under IRC M1502.4.6.1 (2021 and 2024 editions), measured from the transition duct connection to the outlet terminal, minus the fitting allowances in Table M1502.4.6.1: 5 feet per 4-inch radius mitered 90-degree elbow, 2 feet 6 inches per mitered 45, and less for smooth long-radius elbows. Under M1502.4.6.2, the dryer maker’s installation instructions can set a different maximum for a specific model, so check your dryer’s manual.
Can I use flex duct for a dryer vent?
Only for the transition from the dryer to the rigid duct: a single length of no more than 8 feet, listed to UL 2158A and not concealed (IRC M1502.4.3). All concealed sections (in walls, ceilings, attics) must be 4-inch smooth-wall rigid metal. Foil flex duct in concealed spaces is a code violation and a fire risk.
Do I need a bird guard on a roof dryer vent?
No. IRC M1502.3 prohibits screens at the dryer duct termination because they catch lint. Use a backdraft damper cap without a screen. Some manufacturers offer wildlife-resistant designs that block pests without using fine mesh, which is acceptable.
How often should I clean a roof-vented dryer duct?
Annually at minimum, more often if you notice longer drying times. Roof-vented runs often have more elbows and a vertical riser where lint can collect, so do not stretch the cleaning interval.
Can I install a roof dryer vent myself?
Possible if you have prior roof flashing experience. The risk of a hidden leak makes this a borderline DIY project. Most homeowners are better served paying $400 to $800 for a professional install. If you DIY, follow IRC M1502.4 to the letter and flash the penetration as carefully as you would a skylight.
What size hole do I cut for a dryer vent through the roof?
4-inch interior duct uses a 5 to 5-1/4 inch hole through the roof deck, sized to match the cap base. Confirm the exact hole size on the cap manufacturer’s data sheet before cutting. A hole that is too large compromises the deck and complicates flashing.
For more roof and ventilation coverage, browse the full Roofing Brief guide library. Related reads: bathroom vent through the roof, roof flashing, attic ventilation, and roof leak repair.