Deck stairs fail inspection more often than the deck itself, usually over a tall bottom step, a flat 2x6 "handrail" or a guard that's a few inches short. California's 2025 Residential Code took effect January 1, 2026, and it moved the stair, handrail and guard rules to new section numbers. This guide lists the current requirements for exterior deck stairs in the Sacramento area, what inspectors measure, and how stairs are framed so they pass the first time.

Quick answer

Under the 2025 California Residential Code, deck stair risers can be no taller than 7-3/4 inches, treads must be at least 10 inches deep, and risers or treads in one flight can't vary by more than 3/8 inch. A flight with four or more risers needs a graspable handrail 34 to 38 inches above the nosings. Where the stair or deck is more than 30 inches above grade, guards are required: 42 inches on the deck and at least 34 inches along the stair, with no opening that passes a 4-3/8-inch sphere on the stair side. Exterior stairs also need a light at the top landing.

Which code applies in 2026

Every California city and county now enforces the 2025 California Residential Code (CRC, Title 24, Part 2.5), effective January 1, 2026. It's based on the 2024 International Residential Code with California amendments. Permit applications filed before 2026 may still be reviewed under the 2022 edition; new applications use 2025.

The biggest change for anyone reading older guides is the numbering. Chapter 3 was reorganized, so the familiar R311.7 stair sections are now R318.7, handrails have their own section (R320), guards moved from R312 to R321, and stairway lighting moved from R303.7 to R325.7. The core dimensions did not change. If a plan reviewer or inspector cites a section you don't recognize, this is why.

One California number differs from many national DIY sites: the CRC requires deck guards to be at least 42 inches high, not the 36 inches in the model IRC. Local agencies, including Roseville, publish the same 42-inch figure in their deck handouts.

Requirement2025 CRC limitSection
Riser height7-3/4 in. maximumR318.7.5.1
Tread depth10 in. minimumR318.7.5.2
Variation within a flight3/8 in. maximumR318.7.5.1, R318.7.5.2
Clear width36 in. above handrail heightR318.7.1
Headroom6 ft. 8 in. minimumR318.7.2
Handrail height34 to 38 in. above nosingsR320
Guard height42 in. deck; 34 in. min. on stairsR321.1.2

Risers, treads and nosings

The maximum riser height is 7-3/4 inches, measured vertically between the leading edges of adjacent treads. The minimum tread depth is 10 inches, measured horizontally from nosing to nosing. An 8-inch step is never legal on a new stair.

Within a single flight, the tallest riser can't exceed the shortest by more than 3/8 inch, and the same 3/8-inch limit applies to tread depths. Most framers aim for risers around 7 to 7-1/2 inches and treads around 11 inches, which is easy to hit with two 5-1/2-inch deck boards.

Where the 3/8-inch rule gets broken

The usual culprits are the top and bottom steps. If the stringer layout doesn't account for the thickness of the tread boards, the first step is taller than the rest. If the landing pad is poured after the stringers are cut, or the grade changes, the bottom riser ends up off. Measure total rise from the finished landing surface to the finished deck surface, then divide.

Nosings and open risers

Where treads are less than 11 inches deep and risers are closed, each tread needs a nosing that projects 3/4 inch to 1-1/4 inches. Treads 11 inches or deeper don't need one. Open risers are allowed, but where the stair is more than 30 inches above grade, the gap between treads can't pass a 4-inch sphere. A riser board or a horizontal filler strip solves it.

Width, headroom and landings

A stairway must be at least 36 inches wide above the handrail. Handrails may project up to 4-1/2 inches into that width on each side, so the clear width at and below the handrail must still be at least 31-1/2 inches with one rail or 27 inches with two.

Headroom is 6 feet 8 inches minimum, measured straight up from the sloped line connecting the nosings. On decks, the usual conflicts are a beam, a pergola member or a roof overhang above the top steps.

A single flight can't rise more than 12 feet 7 inches between landings. Taller decks need an intermediate landing.

Landings

Section R318.7.6 requires a floor or landing at the top and bottom of each flight, at least as wide as the stair and at least 36 inches deep in the direction of travel on a straight run. The deck surface counts as the top landing. The 2025 edition groups the exceptions in one place, including two that matter on decks:

  • At an exterior door, no top landing is needed for an exterior stair of two risers or fewer, as long as the door doesn't swing over the stair.
  • Exterior stairs to grade with three or fewer risers serving a deck, porch or patio need a bottom landing at least 36 inches wide, unless the stair is the required path from the egress door.

Treads and landings should also be close to level. A slope of up to 2 percent is allowed, which is enough to shed water on an exterior stair.

Handrails

Under the CRC's handrail section (R320), any flight with four or more risers needs a handrail on at least one side. Count risers, not treads: three treads plus the step up onto the deck is four risers, so most three-step deck stairs need a rail.

The top of the handrail must be 34 to 38 inches above the nosings, measured vertically. It must run continuously from a point above the top riser to a point above the bottom riser, and the ends must return to a post or wall or end in a newel or safety terminal so a sleeve or bag strap can't catch.

Graspability is where most deck stairs fail

The flat 2x4 or 2x6 cap on top of a deck railing is a guard, not a handrail. Section R320.6 requires a shape you can wrap your hand around:

  • Type I, round: outside diameter of 1-1/4 to 2 inches.
  • Type I, non-round: perimeter of 4 to 6-1/4 inches, with a cross section no larger than 2-1/4 inches.
  • Type II: perimeter over 6-1/4 inches, with a finger recess on both sides of the profile.

On a wood deck, the common fix is a round or eased 2x2-profile rail on metal brackets fastened to the inside of the stair guard posts, or a manufactured graspable rail from the railing system you're already using. Keep at least 1-1/2 inches between the rail and the wall or guard beside it so a hand fits.

Guards and baluster spacing

Guards are required on open sides of decks, landings and stairs where the walking surface is more than 30 inches above the grade below, measured at any point within 36 inches horizontally of the open edge (R321.1.1). On a sloping lot, check the low side. A deck that's 24 inches up at the house can be 34 inches up at the outer rim.

Height

  • Deck and landing guards: at least 42 inches above the walking surface.
  • Open sides of stairs: at least 34 inches, measured from the line connecting the nosings.
  • Stair guard that doubles as the handrail: its top must be 34 to 38 inches above the nosings, and it still has to meet the graspability rule.

Openings

  • Deck guards: no opening from the deck surface to the required height can pass a 4-inch sphere.
  • Stair guards: no opening can pass a 4-3/8-inch sphere.
  • The triangle formed by the riser, tread and bottom rail of a stair guard can't pass a 6-inch sphere.

Guards and handrails must also resist a 200-pound concentrated load, which is why guard posts on decks need through-bolts and blocking, not just a few screws into the rim. That connection is covered in our guide to deck ledger boards and how decks attach to the house.

Checklist of 2025 CRC deck stair limits: 7-3/4 in. risers, 10 in. treads, 3/8 in. variation, handrail at 4 risers, 42 in. guards, sphere rules, top light

Stair lighting

Section R325.7 (formerly R303.7) requires exterior stairways to have an artificial light source at the top landing. Where the light serves an exterior stair, it must be controlled by a switch inside the house, unless it's continuously lit or automatically controlled, such as by a motion sensor or photocell.

In practice, inspectors want a hard-wired fixture near the top of the stairs that lights the treads. Low-voltage step or riser lights can work if they're on an approved switch or automatic control. Ask your inspector before relying on stand-alone solar post-cap lights, since many agencies won't accept them as the required light source.

Stringers, treads and footings

The CRC sets loads, not stringer sizes. Stair treads must carry 300 pounds on a 4-square-inch area, and guards and handrails 200 pounds (Table R301.5). For framing details, many plan reviewers accept the American Wood Council's prescriptive deck guide, DCA 6. Its stair recommendations include:

  • Cut (notched) stringers of at least 2x12 lumber, with at least 5 inches of uncut wood remaining below the notches.
  • A maximum unsupported span of about 6 feet for a cut 2x12 stringer. Longer flights get a post-and-beam support on its own footing midway down.
  • Metal stair stringer connectors at the top, not toenails.
  • Stringers bearing on a concrete pad or footing at the bottom, not on soil or loose gravel.

Use preservative-treated lumber rated for ground contact for any framing near the ground. Stringer spacing depends on the tread material. Many composite decking brands call for stringers no more than 12 inches apart on stairs, closer than they allow on the deck itself, so a 36-inch composite stair usually needs four stringers. Check the decking manufacturer's installation guide, because exceeding its spacing can void the warranty.

New deck stair framing with notched pressure-treated stringers fastened to the deck rim with metal hangers

A loose or rotted stair is often a sign the whole frame needs a look. Our guide to deck resurfacing vs full replacement explains when the structure can stay.

Permits and inspections

New deck stairs, or a rebuild that replaces stringers or changes the stair layout, generally need a building permit. Replacing a few tread boards in kind usually doesn't. The rules and exemptions are covered in our post on whether you need a permit to build a deck.

Which office issues it depends on where the parcel sits. Addresses inside city limits (Midtown, East Sacramento, Land Park, Natomas and other city neighborhoods) go through the City of Sacramento. Unincorporated areas such as Arden-Arcade, Carmichael, Fair Oaks, Orangevale and Antelope go through Sacramento County. Roseville, Rocklin, Folsom, Elk Grove and Citrus Heights each have their own building departments. All of them enforce the same CRC stair dimensions, but submittal requirements and fees vary, so check with yours.

What inspectors measure

  • Every riser and tread, looking for the 7-3/4-inch, 10-inch and 3/8-inch limits.
  • Handrail height, continuity, returns and grip size.
  • Guard height and openings with 4-inch, 4-3/8-inch and 6-inch spheres.
  • Stringer connectors at the top and bearing at the bottom.
  • The stair light and its switch or sensor.

A failed item means a correction notice and a reinspection, which costs time and sometimes a fee. Builders who skip the permit or the handrail are a warning sign. Our list of decking contractor red flags covers what to check before you sign.

Frequently Asked Questions

How many steps can a deck stair have without a handrail?

Three risers or fewer. A handrail is required on any flight with four or more risers, and the step up onto the deck counts as a riser. A rail on short stairs is still a good idea for older visitors.

Is a 36-inch deck railing legal in California?

Not on a deck that needs guards. The 2025 CRC requires guards at least 42 inches high where the deck is more than 30 inches above grade. Along the slope of a stair, the minimum is 34 inches from the nosings.

What is the 2R + T rule for stairs?

It's a comfort guideline, not a code requirement: two risers plus one tread should total roughly 24 to 27 inches. A 7-inch riser and 11-inch tread gives 25 inches, which is comfortable and well inside the code limits.

Can a deck stair have open risers?

Yes. If the stair is more than 30 inches above grade, the openings between treads can't pass a 4-inch sphere, so you'll need a riser board or filler strip.

Can I build my own deck stairs?

Yes, as an owner-builder with a permit. If you hire someone and the job is $1,000 or more in labor and materials, California requires a contractor licensed by the CSLB. You can check any license on the CSLB website.

Sources

  • 2025 California Residential Code (Title 24, Part 2.5): R318.7 stairways, R320 handrails, R321 guards, R325.7 stairway illumination, Table R301.5 live loads.
  • International Code Council, 2024 IRC significant changes: Chapter 3 renumbering and the R318.7.6 landing exceptions.
  • City of Roseville, "Raised Decks and Guardrail Requirements" handout: 42-inch guard height.
  • American Wood Council, DCA 6 Prescriptive Residential Wood Deck Construction Guide: stair stringer size, span and connections.
  • Contractors State License Board: $1,000 minor work threshold (AB 2622, effective January 1, 2025).

Checked November 2026. Local agencies can amend the CRC and set their own submittal rules, so confirm requirements with your building department before you build.

Build code-correct deck stairs with GVD

GVD Renovations & Remodeling designs and builds decks and deck stairs across the Sacramento region, the Bay Area and the Tahoe area, and we handle the permit and inspections with your city or county. You can see decking and railing samples at our Rocklin showroom at 6848 Five Star Blvd #6, Rocklin, and ask about financing. GVD Renovations Inc. is licensed by the California Contractors State License Board (#989637) and insured.

Reviewed by our team at GVD Renovations, a licensed general contractor. While we strive for accuracy, project specifics vary. Contact us for a personalized assessment. Product details, specifications, or warranties may have changed since publication. Brand and product mentions reflect our professional opinion, not endorsements or guarantees.

Tags: deck stairs, building code, handrails, deck guards, deck permits, sacramento,

Written by Paul Kho