
Second-Story & Rooftop Decks
A deck over living space isn't really a deck. In code terms it's a roof, and treating it like a backyard deck is how water ends up in somebody's ceiling.

Why this is a roof, not a deck
If there is occupied space underneath, the walking surface is a roof covering, and it is regulated under the roofing chapters of the code rather than the exterior deck sections. Everything else follows from that one fact. The slope requirement, the flashing, the inspection, the permit.
That is also why so many of these fail. A crew that builds excellent backyard decks can build a very bad second-story deck, because the assembly is a different discipline.
What the code requires
The moisture barrier under the walking surface has to give positive drainage to any water that gets through the surface above it. Enclosed framing under an exterior balcony or elevated walking surface has to be ventilated, with a net free cross-ventilation area of not less than 1/150 of the area of each separate space. Framing bays sealed up tight rot from the inside. That requirement exists because that is exactly what was happening.
Two provisions matter more than the rest, and both are procedural. Construction documents have to include details for every element of the moisture barrier system, so you can't leave it to the field. And the moisture barrier can't be concealed until it has been inspected. If somebody offers to close up your deck before an inspector has looked at the waterproofing, that isn't a shortcut. It's a code violation with your ceiling underneath it.
These sections shifted numbering in the 2025 code cycle. The requirements didn't change.
Where these decks actually leak
Almost never in the middle. Water finds the details:
Railing base plates. Decks slope toward the perimeter, which delivers water straight to the railing line. A base plate made flat and set on a sloped deck has to be shimmed, and the shim leaves a gap right where the fastener goes through the membrane. Where the design allows it, we face-mount the railing to the fascia instead of surface-mounting through the waterproofing. It's the single best detail change available on this kind of deck.
Door thresholds. Threshold anchors punch straight through the membrane, and if the interior floor sits level with or below the exterior deck, water has an open invitation. The interior side needs to sit higher, around three quarters of an inch above the deck surface at minimum, with sheet membrane run under the flashing and threshold.
Deck-to-wall transitions. Gaps at flashing laps, usually where two trades handed off to each other and neither owned the joint.
Parapets and scuppers. A deck can be sloped correctly and still hold water if the scuppers are undersized or badly placed. Sometimes the fix is cricketing the deck rather than adding slope everywhere.
Structure
A deck over living space still carries 40 pounds per square foot of live load, still needs a 42-inch guard in California, and still needs that guard to take 200 pounds applied in any direction at the top. The 2025 code added prescriptive requirements for framing at open floor edges that support a required guard, a detail that used to get handled by eye.
On a hillside lot, rooftop decks also have to be set back from the required side yard under the Baseline Hillside Ordinance, and structures more than six feet above natural grade count toward lot coverage.
Testing before we close it up
There is no code-mandated flood test for a residential deck. What the code requires is that inspection before concealment. Flood testing is best practice, and there's an ASTM guide for it. On a deck over a finished room it's cheap insurance next to opening a ceiling later. We'd rather find it with a hose than have you find it in February.
Call (818) 345-2866.
.png)