A stair in a California house may have risers of at most 7 3/4 inches and treads of at least 10 inches (2025 CRC §R318.7.5.1, §R318.7.5.2). A flight with 4 or more risers needs a handrail (2025 CRC §R318.7.8), set 34 to 38 inches high (2025 CRC §R320.2). A deck, porch, balcony or landing more than 30 inches above the surface below (measured at any point within 36 inches of the edge) needs a guard (2025 CRC §R321.1.1), and in California that guard is at least 42 inches high; only the open side of a stair may use 34 inches (2025 CRC §R321.1.2).
This page collects the house stair, landing, handrail and guard numbers from the 2025 California Residential Code (CRC), in force since January 1, 2026, with two worked stair layouts. It ends with the commercial (CBC) and job-site (Cal/OSHA) numbers that the General Building (B) exam likes to mix in. Every rule is in our own words; the section link takes you to the code text.
Where the rules are in the 2025 CRC
The 2025 CRC renumbered Chapter 3, so older books send you to the wrong section. Use these numbers:
| Topic | 2025 CRC section |
|---|---|
| Exterior door landings | R318.3 |
| Stairways (width, headroom, risers, treads, landings) | R318.7 |
| Ramps | R318.8 |
| Handrail height, clearance, continuity and grip | R320 |
| Guards and window fall protection | R321 |
Older books cite R311 for stairs and R312 for guards. In the 2025 code R311 is carbon monoxide alarms and R312 is minimum room areas. For the full list of moved sections, see our guide to the 2025 CRC renumbering.
House stair dimensions
Measure stairs without carpet, rugs or runners. The 2025 CRC numbers for a straight house stair:
| What you measure | Rule | Source |
|---|---|---|
| Clear width above handrail height | At least 36 inches | 2025 CRC §R318.7.1 |
| Width at and below handrail height | At least 31 1/2 inches with one handrail; 27 inches with handrails on both sides | 2025 CRC §R318.7.1 |
| Headroom, from the sloped line of the nosings | At least 6 feet 8 inches | 2025 CRC §R318.7.2 |
| Rise of one flight between floors or landings | At most 12 feet 7 inches | 2025 CRC §R318.7.3 |
| Riser height | At most 7 3/4 inches | 2025 CRC §R318.7.5.1 |
| Tread depth, nosing to nosing | At least 10 inches | 2025 CRC §R318.7.5.2 |
| Difference in one flight, tallest to shortest riser (or deepest to shallowest tread) | At most 3/8 inch | 2025 CRC §R318.7.5.1, §R318.7.5.2 |
| Nosing projection | 3/4 inch to 1 1/4 inches; none needed with treads 11 inches or deeper | 2025 CRC §R318.7.5.3 |
| Landing at the top and bottom of each flight | As wide as the stair; at least 36 inches deep on a straight run | 2025 CRC §R318.7.6 |
| Slope of treads and landings | At most 1 in 48 (2%); a stair landing that must drain surface water may slope up to 1 in 20 (5%) in the direction of travel | 2025 CRC §R318.7.7 |
A few more rules round this out:
- Riser slope and open risers. Risers are vertical or slope no more than 30 degrees from vertical. Open risers more than 30 inches above the floor or grade below may not let a 4-inch sphere through. (2025 CRC §R318.7.5.1)
- Winders. A winder tread is at least 10 inches deep at the walkline, 12 inches from the inside of the turn, and at least 6 inches deep at any point within the clear width. (2025 CRC §R318.7.5.2.1)
- Spiral stairs. At least 26 inches clear width, treads at least 6 3/4 inches at the walkline, risers no more than 9 1/2 inches, and at least 6 feet 6 inches of headroom. (2025 CRC §R318.7.11.1)
- Under-stair closets. An enclosed space under a stair, reached by a door or access panel, is covered on the enclosed side with 1/2-inch gypsum board. (2025 CRC §R302.7)
- Stair lighting. An interior stair needs light that can reach 1 footcandle at the center of treads and landings, and a stair with 6 or more risers needs a wall switch at each floor level unless the lights are automatic. (2025 CRC §R325.6)
Worked example: how many risers?
A stair rises 105 inches from floor to floor in one flight. 105 ÷ 7.75 = 13.55, so round up to 14 risers of 105 ÷ 14 = 7.5 inches. Thirteen risers would be 8.08 inches, too tall. A straight flight has one fewer tread than risers, so 14 risers have 13 treads; at 10 1/2 inches each the total run is 13 × 10.5 = 136 1/2 inches (2025 CRC §R318.7.5.1). The total run is layout arithmetic, not a code limit.
Worked example: uniformity
The tallest riser in a flight is 7 5/8 inches and the shortest is 7 1/8 inches. Both are under 7 3/4 inches, but they differ by 1/2 inch, more than the 3/8-inch limit, so the stair fails (2025 CRC §R318.7.5.1).
Handrails
- When. At least one side of each flight with 4 or more risers needs a handrail. (2025 CRC §R318.7.8)
- Height. 34 to 38 inches, measured straight up from the sloped line joining the tread nosings. (2025 CRC §R320.2)
- Clearance and projection. At least 1 1/2 inches of space between the handrail and the wall (2025 CRC §R320.4), and no more than 4 1/2 inches of projection into the stair on either side (2025 CRC §R320.3).
- Continuity. The handrail runs the full flight, from above the top nosing to above the lowest nosing. Its ends return to themselves or toward a wall, guard or walking surface; a return may leave a gap of no more than 1/4 inch at the wall. (2025 CRC §R320.5)
- Grip. A round Type I handrail is 1 1/4 to 2 inches in outside diameter. A non-round Type I rail has a perimeter of 4 to 6 1/4 inches and a cross section no larger than 2 1/4 inches. A rail with a perimeter over 6 1/4 inches is Type II and needs a finger recess on both sides. (2025 CRC §R320.6)
Guards
A guard is the barrier along an open edge that keeps people from falling.
When a guard is required
Floors, decks, porches, balconies, stairs, ramps and landings need a guard where the walking surface is more than 30 inches above the floor or grade below. Measure straight down at any point within 36 inches horizontally of the open edge, not only at the edge. Insect screening never counts as a guard. (2025 CRC §R321.1.1)
Example: a deck is 26 inches above the patio at its edge, but the yard slopes away, and 30 inches out from the edge the drop is 33 inches. That point is within 36 inches and more than 30 inches down, so a guard is required.
How high
| Where | Minimum guard height | Measured from | Source |
|---|---|---|---|
| Decks, porches, balconies, landings and other walking surfaces | 42 inches | The walking surface | 2025 CRC §R321.1.2 |
| Open side of a stair | 34 inches | The line connecting the tread nosings | 2025 CRC §R321.1.2 |
| Open side of a stair, where the top of the guard is also the handrail | 34 to 38 inches | The line connecting the tread nosings | 2025 CRC §R321.1.2 |
The 42-inch house guard is a California rule. A source that says 36 inches for a house deck is not the California code.
Openings
| Where | The opening may not pass | Source |
|---|---|---|
| A required guard, from the walking surface up to the required height | A 4-inch sphere | 2025 CRC §R321.1.3 |
| The open side of a stair | A 4 3/8-inch sphere | 2025 CRC §R321.1.3 |
| The triangle formed by riser, tread and bottom rail at the open side of a stair | A 6-inch sphere | 2025 CRC §R321.1.3 |
So balusters on a stair that stop a 4 3/8-inch ball pass, even if a 4 1/4-inch ball goes through; the same spacing on a deck guard fails.
Glass in guards
Glazing in guards and railings is a hazardous location that needs safety glazing, whatever its size or height (2025 CRC §R324.4.4). Deck guard posts and framing are covered in our deck ledger and guard guide.
Landings at exterior doors
Every exterior door needs a landing or floor on each side, at least as wide as the door and at least 36 inches deep in the direction of travel. An exterior landing may slope no more than 1/4 unit in 12 (2%). An exterior balcony under 60 square feet reached only from a door may have a landing less than 36 inches deep. (2025 CRC §R318.3)
- At the required egress door, the landing may be no more than 1 1/2 inches below the top of the threshold; outside, it may be up to 7 3/4 inches below if the door does not swing over it. (2025 CRC §R318.3.1)
- At other exterior doors, such as a slider to a deck, the landing may be up to 7 3/4 inches below the threshold. No outside landing is needed where the outside stair has 2 risers or fewer and the door does not swing over it. (2025 CRC §R318.3.2)
House ramps
A ramp serving the required egress door slopes no more than 1 in 12 (8.3%). Other ramps, or that one where site limits make 1 in 12 technically infeasible, may slope up to 1 in 8 (12.5%). Ramps need landings at least 36 inches deep at the top, the bottom, at doors and at turns, and a ramp steeper than 1 in 12 needs a handrail on at least one side. (2025 CRC §R318.8.1)
Do not mix up the three stair codes
The B exam covers houses, commercial buildings and job sites, and each has its own stair numbers.
| Rule | House (CRC) | Commercial (CBC) | Job site (Cal/OSHA) |
|---|---|---|---|
| Riser height | 7 3/4 inches max | 7 inches max, 4 inches min | No fixed height; stair set at 30 to 50 degrees |
| Tread depth | 10 inches min | 11 inches min | No fixed depth |
| Variation within a flight | 3/8 inch | 3/8 inch | 1/4 inch |
| Width | 36 inches | 44 inches; 36 inches under 50 occupants | 24 inches |
| Handrails | One side, 4 or more risers | Each side | At least one, with 4 or more risers or over 30 inches of rise |
Sources: 2025 CRC §R318.7; 2025 CBC §1011.5.2, §1011.5.4, §1011.2 and §1011.11; 8 CCR §1626. Stairs within dwelling units and spiral stairs in CBC buildings may have one handrail (2025 CBC §1011.11). Group R-3, dwelling units in Group R-2 not required to be accessible, and Group U buildings accessory to them may use the 7 3/4-inch riser and 10-inch tread (2025 CBC §1011.5.2). The job-site angle is measured from horizontal (8 CCR §1626); see the Safety notes for the rest.
How to study these numbers
- Learn them in pairs. 7 3/4 and 10 (riser and tread); 34 to 38 (handrail); 42 and 34 (guard and stair guard); 4 and 4 3/8 (guard and stair openings); 30 and 36 (guard trigger and how far out to measure).
- Round risers up. Divide the total rise by 7.75 and always round up to the next whole riser.
- Read which code the question means. "House" points to the CRC; "office" or "retail" points to the CBC; "under construction" or "temporary" points to Title 8.
- Check the section number. If your notes say R311 or R312 for these rules, they are from an older edition.
For the rest of this exam section, read the Framing and Structural Components notes.