Framing

Stairs, Handrails, and Guardrails — California Residential Code R311 and R312

March 20, 2026

Test Your Knowledge

12 questions · Audio-based · Study on the go

Audio Quiz

Questions are read aloud. Tap to start — works with your phone in your pocket.

This content is produced by Pass The CSLB, an independent educational channel. I am not a licensed contractor, attorney, or engineer — this is exam preparation material only, based on publicly available CSLB study resources. Nothing here constitutes legal, professional, or engineering advice. Exam content is set by PSI and the CSLB and may change — always verify current requirements against official CSLB materials. I cannot guarantee any exam outcome. Now let's get into it.

This episode covers stairs, handrails, and guardrails under California Residential Code Sections R311 and R312. We are going to go through every dimension, every fraction, and every exception that official prep materials identify as testable content in the Framing and Safety sections of the General Building B exam. Together those two sections make up 35% of your total score. This is not a section to skim.

Let me start by asking you something. Why is the stair code written in fractions? Why not just 7 inches instead of 7-3/4 inches? Why 3/8 in. tolerance instead of a round 1/2 inch? The answer is not bureaucracy — it is forensic engineering. The stair code is essentially a historical record of injuries turned into law. Stairs account for more than 1 million emergency room visits per year in the United States. Not roof falls, not trench collapses — ordinary stairs in ordinary homes. And the research consistently shows that the single most common factor in stair-related falls is variation between risers. Not a dramatic framing mistake. A 1/4 in. here. 3/8 in. there. And someone goes down. Every fraction in this section of the code represents a line drawn because someone proved with their body that crossing it is dangerous. When you hold onto that, the fractions stop feeling arbitrary and start feeling like the engineering decisions they are.

I want to build this episode from the floor up. Stair geometry first. Then the handrail as a support system. Then the guardrail as a fall prevention barrier. Three completely separate tools, three separate sets of numbers. That separation is the mental structure that keeps you from confusing them on a timed exam.

Starting with width. The minimum clear width for a private residential stairway is 36 in. That measurement applies at all points above the permitted handrail height and below the required headroom — the zone where your torso and shoulders travel. The code protects that zone at 36 in. But handrails physically exist inside that envelope, so the code sets a ceiling on their intrusion: each rail can project a maximum of 4-1/2 in. into the required width. Do the math right now — 36 minus 4-1/2 gives you 31-1/2 in. of clear width at tread level when one handrail is installed. With rails on both sides: 36 minus 4-1/2 minus 4-1/2 equals 27 in. between the rails. Three numbers, three zones: 36 in. above the rails, 31-1/2 in. with one rail, 27 in. with two. The exam picks one scenario and tests which number belongs there. Know where each measurement lives.

Now riser height. The maximum is 7-3/4 in. That is the ceiling. No step in a residential stair can exceed that. Above 7-3/4 in., the knee lifts at a steep angle, ascent becomes fatiguing fast, and the drop on descent is long enough that a miss becomes a fall worth ending up in an ER over. The minimum riser height is 4 in. I want you to pay attention to the minimum because it gets tested and it gets overlooked in studying. A riser below 4 in. is a trip hazard disguised as a step. The human eye expects a step to register visually and in the peripheral zone. A 2-in. or 3-in. rise barely reads as a step at all, especially at night or early morning when lighting is low. 4 in. is the code's answer to the invisible step problem. Know both ends: 4 in. minimum, 7-3/4 in. maximum.

Between those two limits is the rule that causes more field failures than either threshold: the uniformity tolerance. Within any single flight of stairs, the largest riser height cannot exceed the smallest riser height by more than 3/8 in. Identical rule for tread depth — largest minus smallest, no more than 3/8 in. That is a brutally tight window. Less than 1/2 in. of permitted variation across the entire flight. The reason is proprioception — your nervous system's subconscious tracking of its own spatial position. After the first two steps in a flight you know well, you stop consciously measuring each rise. Your brain sets a rhythm and runs on autopilot. It assumes every subsequent step matches the first two. If step nine is even a 1/4 in. higher than expected, your foot clears what it anticipates and finds nothing. Your weight shifts forward. The floor comes up sooner than the brain predicted. That is how a stair fall happens on a staircase someone has used a hundred times before. 3/8 in. is derived from biomechanical data on the exact threshold where that calibration breaks down.

Here is the real-world trap this creates. The uniformity tolerance applies to finished dimensions, not rough framing. If your top landing is getting 3/4 in. of hardwood and your bottom landing is getting 3/8 in. of tile, that difference in finish thickness changes the effective height of your top and bottom risers relative to every other riser in the flight. An experienced framer who cuts perfectly consistent rough stringers and ignores the finish layers will fail inspection on this rule. The fix is simple: nail down your finish materials before you make the first stringer cut.

Tread depth — the run. Minimum is 10 in., measured horizontally from the foremost projection of one tread to the foremost projection of the next. 10 in. gives the average adult foot enough surface for solid heel-and-ball contact on descent. There is a threshold tied to tread depth that connects directly to the nosing requirement: 11 in. If the tread is 11 in. or deeper, the nosing requirement is completely waived. If it is less than 11 in. — which includes the standard 10-in. minimum — a nosing must be provided. 11 in. is the nosing waiver threshold.

A nosing is the overhanging lip at the front of the tread that projects out over the riser below. On the way down it gives the heel a wider catch. On the way up it gives the toe room to clear the riser face. On a 10-in. tread that nosing is doing biomechanical work the tread depth alone cannot do. The projection must be at least 3/4 in. and no more than 1-1/4 in. That is a 1/2-in. window. Below 3/4 in. the nosing is not providing meaningful extra surface. Above 1-1/4 in. the lip catches your toe on the way up and sends you down the flight. The leading edge of that nosing cannot have a radius of curvature exceeding 1/2 in. A bevel of no more than 1/2 in. is the alternative. And the variation in nosing projections across one flight cannot exceed 3/8 in.

Open risers are permitted in California residential construction, but if the open riser sits more than 30 in. above the floor below, a 4-in. diameter sphere must not be able to pass through it. That 4-in. number is a child safety standard — it approximates the circumference of an infant's torso. Flag that number. It is part of a family of three sphere sizes tested in the guardrail section.

Headroom. Minimum is 6 ft. 8 in. — 80 in. But the methodology matters as much as the number. You do not measure headroom from the flat center of a tread. You measure it from the sloped imaginary line connecting all the tread nosings — an invisible ramp touching every nosing point, running parallel to the stair pitch. From that line, straight up, 80 in. minimum for the full length of the flight. Spiral stairways get an exception: 6 ft. 6 in. is permitted for spirals only. Standard stairs: 6 ft. 8 in. Know which exception belongs to which stair type.

Landings. A floor or landing is required at both the top and the bottom of every stairway. It must be at least as wide as the stair and at least 36 in. deep in the direction of travel. Exception: an interior door at the top of a flight does not require a landing at the top — but only if the door swings away from the stairs. Door swings away: you push it open and step through. Door swings toward you: you step backward over a drop while managing a door. The code eliminates that scenario. Away from the stairs means no landing required. Toward the stairs means a full 36-in. landing is mandatory. That distinction is directly testable.

The exterior main door must have a landing outside it — at minimum as wide as the door and 36 in. deep in the path of travel. That landing surface cannot be more than 7-3/4 in. below the interior floor level — the same as the maximum riser height.

If there is enclosed usable space beneath an interior staircase, the walls and soffits of that space must be protected on the enclosed side by at least 1/2-in. gypsum board. Not plywood — gypsum board. A staircase acts like a chimney during a fire, pulling combustion gases upward toward sleeping areas. A fire under an unprotected stair can compromise the primary escape route in under two minutes. The gypsum board buys escape time. Know the material and the thickness.

Study chart 1 — Stairs, Handrails, and Guardrails — California Residential Code R311 and R312 — California B License Exam Prep

Take a look at that chart — every stair geometry number in one reference. Use it to check what is locked in your head before I move to rails.

Now here is the distinction responsible for more exam errors in this section than anything else. A handrail and a guardrail are not the same thing. They do not share rules or height requirements. A handrail is a graspable surface for biomechanical support during movement. A guardrail is a physical barrier to prevent your body from crossing an open edge. Different jobs, different numbers, different contexts. Treat them as entirely separate.

A handrail is required when the stairway has more than 4 risers. Not 4 or more — more than 4. A flight of exactly 4 risers has no handrail requirement under the CRC. 5 risers triggers the obligation. That one-riser difference is a specific testable concept in official prep materials.

Handrail height is measured vertically from the nosing line up to the top surface of the gripping rail. Minimum 34 in., maximum 38 in. That window corresponds to the natural resting height of a human arm walking down a slope. The handrail must be continuous for the full flight and must terminate properly — returned to the wall, ending in a newel post, or capped with a safety terminal. An open protruding end is prohibited because it is a snag hazard.

Wall clearance: 1-1/2 in. minimum between the back of the rail and the wall surface. That is knuckle clearance for a hand wrapped around the rail traveling its length. Less than 1-1/2 in. and contact with the wall breaks the grip.

Grip dimensions for a circular handrail: outside diameter minimum 1-1/4 in., maximum 2 in. Below 1-1/4 in. the rail is too thin for a power grip under load. Above 2 in., the fingers cannot overlap the thumb to close the hand. 1-1/4 in. to 2 in. is calibrated to the average adult hand's functional grip range.

For a noncircular handrail: perimeter minimum 4 in., maximum 6-1/4 in. Maximum cross-section dimension: 2-1/4 in. The cross-section cap prevents flat boards from being used as handrails. A flat board cannot be gripped effectively under sudden loading.

Study chart 2 — Stairs, Handrails, and Guardrails — California Residential Code R311 and R312 — California B License Exam Prep

Guardrails. Completely separate system, completely separate purpose.

A guardrail is required on any open side of a stairway, landing, ramp, balcony, deck, or porch that is more than 30 in. above the floor or grade below. More than 30 in. — not at 30 in. The obligation begins at 31 in.

The minimum height for a guardrail on a flat surface — a deck, a balcony, a loft, a landing — is 42 in. above the standing surface. At 36 in., a guardrail sits below the center of gravity of most standing adults and a stumble can lever a body over it. At 42 in., the barrier exceeds the average adult center of gravity and the lever physics break down. 42 in. on flat surfaces.

Exception for stair guards: a guardrail on the open side of a stairway that also serves as the required handrail is permitted at 34 in. to 38 in. above the nosing line. Flat surface: 42 in. Stair guard doubling as handrail: 34 in. to 38 in. These are the most swapped numbers in this section.

Now the sphere rules. Three sphere sizes, three distinct physical locations. All from child safety anthropometry.

Sphere one: 4 in. Applies to guardrail openings on flat surfaces — decks, balconies, flat landings. A 4-in. sphere must not pass through any opening. This prevents infant entrapment and fall-through on flat surfaces.

Sphere two: 4-3/8 in. Applies to the openings between vertical balusters on the open sides of stair treads — the inclined stringer section. The angle of the stringer creates a slightly larger diagonal opening between the same-spaced balusters compared to a flat installation. The code concedes 4-3/8 in. for that specific geometry. Not 4 in., not 4-1/2 in. — 4-3/8 in. exactly.

Sphere three: 6 in. Applies to the triangular opening at the base of the stair guard — formed by the riser face, the tread surface, and the sloped bottom rail. That triangle is constrained by two solid surfaces and cannot be traversed in a way that creates a dangerous drop. Code allows 6 in. there.

Memory sequence: base of the stair guard = 6 in. Up the inclined slope = 4-3/8 in. Flat surface at the top = 4 in. Six, four and three-eighths, four. Base, slope, flat.

Study chart 3 — Stairs, Handrails, and Guardrails — California Residential Code R311 and R312 — California B License Exam Prep

Three tools to close. Stair — movement geometry. Handrail — support mechanics. Guardrail — fall prevention barrier. The four anchors most commonly swapped: 34 in. to 38 in. is handrail height. 42 in. is guardrail height on flat surfaces. More than 30 in. triggers the guardrail requirement. More than 4 risers triggers the handrail requirement. Anchor those four to their physical context.

Official preparation resources consistently identify this material as core testable content within the Framing and Safety sections of the General Building B examination based on the published CSLB study outline.

I built a practice quiz specifically for this episode. Every number we just covered is in that quiz. It is completely audio-based — questions read aloud, you answer by tapping — built for people studying in the truck, on lunch, in the margins of a real life. Go to the description below this video. You will see a link that says PassTheCSLB. Tap it. It will take you straight there. Drop any questions in the comments. I read every one. Subscribe to stay on track through every episode until you get your license.

New episodes drop every week — one topic at a time until you have the whole exam covered.

Subscribe on YouTube← All Episodes