Roof Drainage Code Compliance
Roof drainage isn’t just good practice — it’s regulated. Plumbing and building codes dictate design storms, require independent secondary drainage, set sizing methods, and send inspectors to verify the work. This guide explains what codes typically require, where the requirements live, and how to keep a project on the right side of the inspector. Code specifics vary by jurisdiction, so treat this as a map — your local authority having jurisdiction (AHJ) is the final word.
Compliance starts with correct sizing: the Roof Drain Calculator applies the standard Rational Method sizing that codes are built around. The formulas are derived in the formula guide.
Which Codes Govern Roof Drainage
- Plumbing codes — the International Plumbing Code (IPC) and Uniform Plumbing Code (UPC) in the US, and national plumbing codes elsewhere — contain the storm drainage chapters: sizing tables, design storm definitions, and secondary drainage requirements.
- Building codes — the International Building Code (IBC) and local adoptions — cover structural ponding loads and the general requirement that roofs drain.
- Local amendments — cities and counties routinely modify the model codes: different design storms, additional overflow rules, or restrictions on materials (e.g., plastic pipe limitations).
- Manufacturer and membrane requirements — not law, but warranty conditions that function like it: flashing details, approved drain types, and installer certification.
First compliance step: identify which code your AHJ enforces and which edition. A design correct under IPC 2021 may differ from one under a locally amended UPC — ask the building department before designing.
Core Requirements (Typical)
Design storm sizing
Codes specify the rainfall intensity the system must handle — commonly based on a 100-year, 1-hour storm from published data (NOAA Atlas 14 in the US). The code’s sizing tables translate roof area at that intensity into required drain/leader sizes. Your calculation must use the code’s storm, not a milder one.
Independent secondary (overflow) drainage
The near-universal mandate: roofs must have secondary drainage sized for the full design flow, independent of the primary system. Typical implementations: scuppers through the parapet set above the roof surface, or a separate set of drains and leaders. The secondary system must function with the primary completely blocked — shared piping defeats the purpose and fails inspection.
Sizing tables and methods
Plumbing codes publish capacity tables for roof drains, gutters, and vertical leaders by size. Designs are expected to follow these tables (or the Rational Method with approved capacity data) rather than rules of thumb. Keep the table references in your submittal — inspectors check the basis, not just the result.
Controlled-flow and detention (where applicable)
Some jurisdictions limit the rate at which roofs may discharge to the storm system, requiring controlled-flow drains or detention. If your AHJ has stormwater detention rules, roof drainage design must satisfy both the roof’s needs and the discharge limits — check early, because this changes the design.
Discharge location
Codes and local ordinances regulate where roof water may go: to the storm sewer, to grade away from the foundation, or to detention — typically not to the sanitary sewer, and not onto neighboring property or public walkways in a way that creates a hazard (ice, erosion, flooding).
Permits and Inspections
- New construction: roof drainage is part of the plumbing permit; expect plan review of the sizing calculations and field inspection of drain installation, flashing, and leader routing.
- Retrofits: adding drains or leaders usually needs a permit; like-for-like strainer or gutter replacement typically doesn’t — confirm with the AHJ.
- What inspectors check: drain count and sizes vs. the approved plan, overflow independence and sizing, clamping rings and flashing, leader supports and cleanouts, and discharge location.
- Documentation to keep: the sizing calculation with its storm basis, product data sheets for drains, and the approved plan set — inspectors and future owners both want this paper trail.
Common Compliance Failures
- No secondary drainage. The number-one failure — primary-only designs get red-tagged.
- Shared overflow piping. A “secondary” drain tied into the same leader as the primary isn’t independent.
- Wrong design storm. Sizing to a 10-year storm when the code requires the 100-year event.
- Unlisted materials. Pipe or drain bodies not approved for the application under the local code.
- Discharge violations. Roof water to the sanitary sewer, or scuppers dumping onto a public sidewalk.
- No calculations on record. “The roofer said it was fine” doesn’t survive plan review — show the math.
Design-level mistakes beyond code are catalogued in the common mistakes guide.
Related Guides
- Complete Guide — roof drainage design from start to finish.
- Formula Explained — the Rational Method and unit conversions, step by step.
- Estimating Guide — from roof measurement to material takeoff.
- Roof Drain FAQ — quick answers to the most asked questions.
- Drainage Checklist — verify every input before you size or buy.
Frequently Asked Questions
Is secondary (overflow) drainage legally required?
In nearly all US jurisdictions under the IPC or UPC, yes — independent secondary drainage sized for the full design flow is a code requirement, not a recommendation. Confirm the exact provisions with your local AHJ.
Which code applies to my project?
Whichever plumbing and building codes your city or county has adopted, including local amendments. Call or visit the building department and ask for the enforced code editions before designing.
Do I need a permit to add a roof drain?
Usually yes — new penetrations, new leaders, and system modifications typically require a plumbing permit and inspection. Like-for-like maintenance replacements usually don’t. Confirm with the AHJ.
Can roof water discharge to the sanitary sewer?
Almost never — codes and local ordinances generally prohibit stormwater connections to sanitary sewers. Discharge to the storm system, to grade, or to detention as the AHJ directs.
What will the inspector want to see?
The approved plan, sizing calculations with the design-storm basis, listed/labeled materials, proper flashing and clamping, independent overflow, supported leaders with cleanouts, and a legal discharge point.
Get Your Number
Code compliance is mostly about using the right inputs and keeping the paper trail: the code’s design storm, the code’s sizing tables, a truly independent overflow, and documented calculations. The Roof Drain Calculator handles the arithmetic — your AHJ handles the final word. Check the enforced code edition before you design, and keep every calculation on file.
Disclaimer: Code summaries here are general educational information, not legal or professional advice. Plumbing and building codes vary by jurisdiction and edition, and local amendments are common. Always verify requirements with your local building authority (AHJ) and consult licensed professionals for code-compliant design.
