Skip to content
CalContractorPrep
Menu

California Stair and Guard Requirements for 2025: Risers, Treads, Handrails and Guards

Section 2 of 5, about 20% of the B exam

Updated

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.

Read the Section 2 study notes: Framing and Structural Components

Practice questions

Think of your answer first, then open the explanation.

  1. 1. A new house stair rises 105 inches from finished floor to finished floor in one flight. What is the fewest risers it can have and still meet the California Residential Code maximum riser height?

    Framing and Structural Components

    • A. 12 risers
    • B. 13 risers
    • C. 14 risers
    • D. 15 risers
    Show answer

    Correct answer: C

    • A. 12 risers

      Wrong: 105 / 12 = 8.75 inches per riser, over the 7 3/4-inch limit.

    • B. 13 risers

      Wrong: 105 / 13 = 8.08 inches per riser, still over 7 3/4 inches.

    • C. 14 risers

      Correct answer

      Right: 105 / 14 = 7.5 inches per riser, the fewest risers that stay at or under 7 3/4 inches.

    • D. 15 risers

      Wrong: 15 risers (7 inches each) would work, but it is not the fewest.

    Explanation

    California Residential Code section R318.7.5.1 limits riser height to 7 3/4 inches. 105 / 7.75 = 13.55, so round up to 14 risers. Check: 105 / 14 = 7.5 inches per riser, which is under 7 3/4. With 13 risers each would be 105 / 13 = 8.08 inches, which is too tall.

  2. 2. At a final walk-through you measure the risers of a finished house stair. The tallest is 7 5/8 inches and the shortest is 7 1/8 inches. What is the correct call?

    Framing and Structural Components

    • A. It passes, because every riser is under the 7 3/4-inch maximum
    • B. It fails, because the risers in the flight vary by more than 3/8 inch
    • C. It fails, because no riser may be taller than 7 1/2 inches
    • D. It passes, because risers in a flight may vary by up to 1/2 inch
    Show answer

    Correct answer: B

    • A. It passes, because every riser is under the 7 3/4-inch maximum

      Wrong: meeting the maximum height is not enough; the risers must also be uniform within 3/8 inch.

    • B. It fails, because the risers in the flight vary by more than 3/8 inch

      Correct answer

      Right: the 1/2-inch difference exceeds the 3/8-inch limit on variation within a flight.

    • C. It fails, because no riser may be taller than 7 1/2 inches

      Wrong: the maximum riser height in a house is 7 3/4 inches, not 7 1/2.

    • D. It passes, because risers in a flight may vary by up to 1/2 inch

      Wrong: the allowed variation is 3/8 inch, not 1/2 inch.

    Explanation

    California Residential Code section R318.7.5.1 sets a 7 3/4-inch maximum riser and also says the tallest riser in a flight may not exceed the shortest by more than 3/8 inch. Here the difference is 7 5/8 - 7 1/8 = 1/2 inch, so the stair fails even though each riser is under 7 3/4 inches.

  3. 3. A house stair has handrails on both sides. At and below handrail height, what is the minimum clear width that must remain?

    Framing and Structural Components

    • A. 26 inches
    • B. 27 inches
    • C. 31 1/2 inches
    • D. 36 inches
    Show answer

    Correct answer: B

    • A. 26 inches

      Wrong: 26 inches is the clear width for spiral stairs.

    • B. 27 inches

      Correct answer

      Right: 27 inches with handrails on both sides.

    • C. 31 1/2 inches

      Wrong: 31 1/2 inches applies with a handrail on one side only.

    • D. 36 inches

      Wrong: 36 inches is the width above handrail height.

    Explanation

    California Residential Code section R318.7.1 requires 36 inches of clear width above handrail height. At and below handrail height the clear width may drop to 31 1/2 inches with one handrail, or 27 inches with handrails on both sides.

  4. 4. What is the minimum headroom over a straight interior stair in a new house, measured vertically from the sloped line joining the tread nosings?

    Framing and Structural Components

    • A. 6 feet 4 inches
    • B. 6 feet 6 inches
    • C. 7 feet 0 inches
    • D. 6 feet 8 inches
    Show answer

    Correct answer: D

    • A. 6 feet 4 inches

      Wrong: 6 feet 4 inches is below the minimum.

    • B. 6 feet 6 inches

      Wrong: 6 feet 6 inches is the headroom allowed for spiral stairs, not a straight stair.

    • C. 7 feet 0 inches

      Wrong: 7 feet is more than the code requires.

    • D. 6 feet 8 inches

      Correct answer

      Right: 6 feet 8 inches is the minimum stairway headroom.

    Explanation

    California Residential Code section R318.7.2 requires stairway headroom of at least 6 feet 8 inches, measured vertically from the sloped line joining the tread nosings or from a landing surface.

  5. 5. A finish carpenter is setting the handrail on a house stair. Measured vertically from the sloped plane joining the tread nosings, the handrail height must be:

    Framing and Structural Components

    • A. 28 to 32 inches
    • B. 30 to 34 inches
    • C. 32 to 36 inches
    • D. 34 to 38 inches
    Show answer

    Correct answer: D

    • A. 28 to 32 inches

      Wrong: below the 34-inch minimum.

    • B. 30 to 34 inches

      Wrong: 30 to 34 inches is the range for alternating tread devices and ship's ladders, not a standard stair.

    • C. 32 to 36 inches

      Wrong: the bottom of this range is below the 34-inch minimum.

    • D. 34 to 38 inches

      Correct answer

      Right: 34 inches minimum, 38 inches maximum.

    Explanation

    California Residential Code section R320.2 requires handrail height, measured vertically from the sloped plane joining the tread nosings, to be at least 34 inches and not more than 38 inches.

  6. 6. What is the minimum height of a required guard along the open side of a new deck in California, measured from the deck surface?

    Framing and Structural Components

    • A. 34 inches
    • B. 36 inches
    • C. 38 inches
    • D. 42 inches
    Show answer

    Correct answer: D

    • A. 34 inches

      Wrong: 34 inches is allowed only for a guard on the open side of a stair, measured from the nosings.

    • B. 36 inches

      Wrong: 36 inches is the guard height in the national model code, but the California Residential Code requires 42 inches.

    • C. 38 inches

      Wrong: 38 inches is the maximum handrail height, not the guard height.

    • D. 42 inches

      Correct answer

      Right: 42 inches is the California minimum guard height at a deck.

    Explanation

    California Residential Code section R321.1.2 sets a 42-inch minimum height for required guards at open-sided walking surfaces, which the section lists as including stairs, porches, balconies and landings and which covers a deck surface. The height is measured straight up from the walking surface. The lower 34-inch figure is an exception only for guards on the open sides of stairs, measured from the nosing line.

  7. 7. A new house stair has an open side more than 30 inches above the floor below. The guard on that side is separate from the handrail. Measured from the line connecting the tread nosings, what is the minimum guard height?

    Framing and Structural Components

    • A. 30 inches
    • B. 34 inches
    • C. 36 inches
    • D. 42 inches
    Show answer

    Correct answer: B

    • A. 30 inches

      Wrong: 30 inches is the drop height that triggers a guard, not the guard height.

    • B. 34 inches

      Correct answer

      Right: guards on the open sides of stairs may be 34 inches from the nosing line.

    • C. 36 inches

      Wrong: 36 inches is not the stair-guard figure in R321.1.2.

    • D. 42 inches

      Wrong: 42 inches applies to landings, decks and balconies, not to the open side of the stair itself.

    Explanation

    California Residential Code section R321.1.2 sets 42 inches for guards at porches, balconies and landings, but a guard on the open side of a stair may be 34 inches high, measured vertically from the line connecting the nosings.

  8. 8. Balusters on the open side of a new house stair leave gaps that a 4 1/4-inch ball passes through, but a 4 3/8-inch ball does not. What is the correct call?

    Framing and Structural Components

    • A. It passes, because guards on the open sides of stairs may not pass a 4 3/8-inch sphere
    • B. It fails, because no guard opening may pass a 4-inch sphere
    • C. It fails, because stair guard openings may not pass a 3 1/2-inch sphere
    • D. It passes, because openings along a stair may pass up to a 6-inch sphere
    Show answer

    Correct answer: A

    • A. It passes, because guards on the open sides of stairs may not pass a 4 3/8-inch sphere

      Correct answer

      Right: on the open side of a stair the limit is a 4 3/8-inch sphere, and these gaps stop it.

    • B. It fails, because no guard opening may pass a 4-inch sphere

      Wrong: the 4-inch limit is the general rule; stair-side guards get 4 3/8 inches.

    • C. It fails, because stair guard openings may not pass a 3 1/2-inch sphere

      Wrong: 3 1/2 inches is not a code limit.

    • D. It passes, because openings along a stair may pass up to a 6-inch sphere

      Wrong: 6 inches applies only to the triangle formed by the riser, tread and bottom rail.

    Explanation

    California Residential Code section R321.1.3 limits guard openings to a 4-inch sphere in general, but guards on the open sides of stairs may not pass a 4 3/8-inch sphere. Gaps that pass 4 1/4 inches but stop 4 3/8 inches meet the stair rule.

Test yourself

Try 25 free General Building practice questions from all five sections. Each answer explains the rule and names the code section it comes from. No sign-up.

See what the General Building exam covers