Skip to content

Deck Guard Height in California: Why a 36-Inch Railing Comes Back

A deck railing fabricated at 36 inches meets an inspector's tape that reads the California figure. The California Residential Code sets required guards at not less than 42 inches, with lower figures only on the open sides of stairs.

Ask AI about this article Free to try — answers cite the code section they came from.
Sunwoo Kim
AI-assisted article · General information, not legal advice ·details

Researched and written with AI tools. Property examples are illustrative analyses based on public records, and people described may be composites.

The deck railing arrives fabricated at 36 inches, and the inspector's tape, set on the deck boards, needs 42. The California Residential Code says required guards "shall be not less than 42 inches (1067 mm) in height," and that 42 is a California amendment to the model code. On the open sides of stairs the figure is 34 inches, so one railing can comply on the stair and fail on the landing next to it.

Key numbers

Figure Governs Section
More than 30 inches Drop that requires a guard CRC R321.1.1
36 inches Band from the open edge where the drop is read CRC R321.1.1
42 inches Minimum height of required guards CRC R321.1.2
34 inches Minimum guard height on the open sides of stairs CRC R321.1.2, Exception 1
34 to 38 inches Guard top that serves as the handrail CRC R321.1.2, Exception 2
34 to 38 inches Handrail height CRC R320.2

When a guard is required

R321.1.1 sets the trigger:

Guards shall be provided for those portions of open-sided walking surfaces, including floors, stairs, ramps and landings that are located more than 30 inches (762 mm) measured vertically to the floor or grade below at any point within 36 inches (914 mm) horizontally to the edge of the open side. Insect screening shall not be considered as a guard.

On sloping grade, the lowest point inside that 36-inch band controls.

The California figure: 42 inches

R321.1.2 reads:

Required guards at open-sided walking surfaces, including stairs, porches, balconies or landings, shall be not less than 42 inches (1067 mm) in height as measured vertically above the adjacent walking surface or the line connecting the nosings.

On the library page, "42 inches (1067 mm)" is the one phrase in this section set in italics, and the page header explains: "Italicized text is a California amendment to the model code, as printed in the official publication." The tape starts at the adjacent walking surface — the finished deck, not the grade below.

The stair exceptions

R321.1.2 prints two exceptions, both limited to stairs:

Guards on the open sides of stairs shall have a height of not less than 34 inches (864 mm) measured vertically from a line connecting the nosings.

Where the top of the guard serves as a handrail on the open sides of stairs, the top of the guard shall be not less than 34 inches (864 mm) and not more than 38 inches (965 mm) as measured vertically from a line connecting the nosings.

A 36-inch rail on the stair run is inside both figures. Continued across the landing, it is not: the main rule names "landings" among the surfaces that take 42 inches.

The handrail has its own section

R320.2 reads:

Handrail height, measured vertically from the sloped plane adjoining the tread nosing, or finish surface of ramp slope, shall be not less than 34 inches (864 mm) and not more than 38 inches (965 mm).

Its exception lets the height exceed 38 inches at fittings and bendings, including at "the transition from handrail to guard" — where a stair rail rises to meet a 42-inch landing guard.

What to check on the drawings

  • The largest drop within 36 inches of each open edge.
  • Guard height on decks, porches, balconies and landings: 42 inches above the finished walking surface.
  • Stair guard height from the nosing line: at least 34 inches, or 34 to 38 inches if it is the handrail.
  • The rise where the stair rail meets the landing guard, on the shop drawing.

Currency

All sections quoted here carry the stamp "California Residential Code (Title 24, Part 2.5) · 2025 edition · updated 2026-10-24." The pages print no amendment-history line. Whether this edition applies to a given permit is worth confirming with the jurisdiction.

Frequently asked questions

Does a 36-inch guard work anywhere on a California house?

On the open sides of stairs, yes: the exception reads "not less than 34 inches (864 mm)," and a guard that is the handrail reads 34 to 38 inches. On decks, porches, balconies and landings, the figure is 42 inches.

How is the 30 inches measured?

Vertically "to the floor or grade below at any point within 36 inches (914 mm) horizontally to the edge of the open side."

What about the gaps between balusters?

R321.1.3 states that required guards "shall not have openings from the walking surface to the required guard height that allow passage of a sphere 4 inches (102 mm) in diameter," with exceptions for the stair triangle and stair guards.

Ask your own project's question in GoCodebook — your first answer is free: https://gocodebook.com/chat?utm_source=blog&utm_medium=article&utm_campaign=v4-01

Sources

Code text quoted as published in GoCodebook's library on 2026-11-17. This article does not replace permit review or professional judgment.

Get cited answers in seconds

Ask GoCodebook a question and get a plain-English answer with the exact citation for your property and jurisdiction.

Ask your question