California railing code, in plain English
In California, a deck, balcony or porch more than 30 inches above the ground needs a guard at least 42 inches tall, with no opening a 4-inch sphere can pass through. Stairs with four or more risers need a handrail 34 to 38 inches above the nosings. Glass railings need a top rail unless the glass is laminated.


This guide covers single-family homes under the California Residential Code. Your city can add rules, and commercial buildings follow the California Building Code. We confirm the rules for your address at the site measure.
When is a guard required?
When a walking surface (deck, porch, balcony, landing or the open side of a stair) is more than 30 inches above the floor or grade below, measured within 36 inches of the edge.
How tall must a deck railing be in California?
At least 42 inches. Many national websites say 36 inches; that is the national model code, and California requires 42. The one exception: a guard on the open side of a stair that also serves as the handrail can be 34 to 38 inches.
How far apart can balusters be?
No opening from the walking surface up to the required guard height may let a 4-inch sphere pass. On the open side of a stair, the limit is 4-3/8 inches. The triangle formed by a stair tread, riser and the bottom rail may not pass a 6-inch sphere.
When is a handrail required, and how high?
On at least one side of every flight with four or more risers, 34 to 38 inches above the stair nosings, measured vertically.
How thick can a handrail be?
A round handrail must be 1-1/4 to 2 inches in diameter so a hand can wrap it. Other shapes have their own perimeter limits.
Do glass railings need a top rail?
Yes, unless the glass is laminated. A guard of structural glass panels needs an attached top rail or handrail, held up by at least three panels or otherwise supported so it stays put if one panel fails. The exception is laminated glass made of two or more plies of equal thickness and the same glass type.
Does all railing glass have to be safety glass?
Yes. Glass in any guard or railing counts as a hazardous location, regardless of its size or height above the floor. It must be tempered or laminated safety glass.
Do I need a permit?
A new or replaced required guard, and most stair work, usually needs a building permit. We can prepare and manage it as a separate line item.
Quick reference
| Rule | Requirement |
|---|---|
| Guard required | Walking surface more than 30 in. above grade within 36 in. of the edge |
| Guard height | 42 in. minimum |
| Stair guard that doubles as handrail | 34–38 in. above nosings |
| Guard openings | No 4 in. sphere; 4-3/8 in. on stair sides; 6 in. at stair triangle |
| Handrail required | One side, every flight of 4+ risers |
| Handrail height | 34–38 in. above nosings |
| Round handrail size | 1-1/4 to 2 in. diameter |
| Structural glass guards | Attached top rail, unless laminated (2+ equal plies) |
Where can you read more about railings?
Request a site measure.
Tell us about the deck, balcony or stair. We strive to respond the same day to inquiries received before 2pm.
