Skip to content

Building Code Reference

Got a CRC R321.1 correction?

Guard railing height

For builders in California, Greater Seattle, the Las Vegas area, the Denver area and Kansas City · CrossBeam Permits

What this code requires, how to fix it, and how cities and counties review it

What this code requires

CRC R321.1 requires guards at walking surfaces, including decks, balconies, landings, and floor openings, that are more than 30 inches above the floor or grade below. Guards must be at least 42 inches tall and have no openings that allow a 4-inch sphere to pass through. On the open side of a stair, the guard is 34 inches minimum from the nosing line (34 to 38 inches where its top serves as the handrail), and openings may pass a sphere up to 4-3/8 inches. The code applies to single-family homes, ADUs, and attached garages in California residential construction.

How to fix it

  1. Identify all elevated walking surfaces on your plans

    Go through each floor plan sheet and mark every walking surface more than 30 inches above the floor or grade below. This includes decks, balconies, landings, mezzanines, open-sided floor areas, and stair landings where the drop exceeds 30 inches. If any are missing from your guard detail or note schedule, add them before resubmitting. A quick check is to cross-reference every room and exterior area on the floor plan against your detail sheet.

  2. Add a guard detail to your drawing set

    Create or import a guard detail at 1/4"=1'-0" or larger showing the assembly in cross-section. The detail must call out: guard height at 42 inches minimum measured from the walking surface to the top rail (on an open stair side, 34 inches minimum from the nosing line, or 34 to 38 inches where the guard top serves as the handrail), baluster or infill spacing confirming no opening passes a 4-inch sphere, post size and spacing, connection method to framing (lag bolts, post bases, or blocking), and material specification. For manufactured systems, reference the product model and attach the spec sheet. Without this detail, the plan-checker has no basis to approve the guard assembly.

  3. Change any 36-inch guard specs to 42 inches

    If your detail shows 36 inches, revise it. California adopted a stricter standard than the IRC. The CRC requires 42 inches for guards on residential walking surfaces more than 30 inches above grade. The exception is the open side of a stair: the guard is 34 inches minimum measured from the line connecting the nosings, and 34 to 38 inches where its top serves as the handrail (CRC R321.1.2). If your title block cites the IRC rather than the CRC, that is itself a plan-check flag. Check the code edition listed on your title sheet and confirm it matches the permit jurisdiction's adopted code. As of January 1, 2026, California is under the 2025 CRC.

  4. Verify the 4-inch sphere rule on all infill openings

    Measure or call out every opening in the guard infill. Vertical pickets, horizontal rails, cable, mesh, and decorative panels all count. No opening can allow a 4-inch sphere to pass, except on the open sides of stairs, where CRC R321.1.3 allows openings up to a 4-3/8-inch sphere (6 inches at the riser/tread/bottom-rail triangle). For cable guards, specify the maximum cable spacing on the detail. For manufactured guards, attach the product spec sheet showing opening dimensions. Horizontal rails with wide spacing are a common rejection, so check the gap between each rail as well as the gap between the bottom rail and the walking surface. Call out the largest opening dimension explicitly on the detail.

  5. Show the bottom rail clearance above the walking surface

    The bottom rail or lowest infill element cannot leave a gap larger than 4 inches between itself and the deck surface. Guards on elevated decks often get flagged when the bottom rail is raised for aesthetic reasons, leaving an opening that fails the sphere test. Dimension this gap explicitly on your guard detail so the checker can confirm at a glance.

  6. Detail post connections to structural framing

    Show that guard posts attach to structural framing, not just the decking planks. Include post bases, blocking locations, or through-bolt details. Guards must resist a lateral load, and the connection to framing is what makes that possible. For deck-mounted guards, show blocking between joists at each post location. Showing the connection method in the detail typically avoids a secondary note from the structural reviewer and keeps the correction to a single round.

  7. Respond clearly to the correction in your resubmittal cover letter

    After revising the plans, write a direct response to the plan-checker's R321.1 note in your correction response sheet. Reference the new detail by number and sheet, state the guard height explicitly (for example: 'Guard at 42" min. per CRC R321.1.2, see Detail 1/A5'), and note that opening sizes comply with the 4-inch sphere rule. Plan-checkers process many submittals at once. A specific, legible response on each line item reduces the chance of a second correction round on the same issue.

Take the CRC R321.1 fix steps with you

All 7 steps in one email, so you have them on site instead of on this page.

Why you got flagged

The most common corrections cite R321.1 when guards are missing from the plan set entirely or when plans show a deck or elevated landing without specifying guard details.

A plan-checker will flag this when a balcony or second-story deck appears on the floor plan but no guard detail sheet exists. Without a detail showing height, spacing, and material, the checker has no way to verify compliance. This is one of the more cut-and-dry corrections in residential plan review.

Another frequent trigger is guard height shown at the wrong dimension. Many older designs spec guards at 36 inches, which meets the IRC but not the California Residential Code. The CRC requires 42 inches on all residential walking surfaces more than 30 inches above grade, with no exception for single-family homes or ADUs. The only height carve-out is the open side of a stair, where the guard is 34 inches minimum from the nosing line, or 34 to 38 inches where its top serves as the handrail. If you have a set of plans originally drawn for a different state or drafted before California's adoption cycle, this mismatch shows up every time.

Baluster spacing is the third common failure. Plans that show guards but do not include a detail for opening size get flagged. The 4-inch sphere test means any opening in the guard infill must prevent passage of a 4-inch sphere. Guards with horizontal rails, wide pickets, or ornamental patterns that were not confirmed against this dimension get stopped at plan check. A contractor who specs a decorative guard from a catalog needs to pull the manufacturer spec sheet and verify it meets the 4-inch opening rule before the plans go out.

The official code

2025 California Residential Code R321.1 (Title 24 Part 2.5) -- Guards

Read the source →

Common questions

Do guards apply to ADUs in California?
Yes. ADUs are regulated under the California Residential Code the same as single-family homes. Any elevated walking surface in an ADU that is more than 30 inches above grade or the floor below requires a guard at 42 inches tall minimum (34 inches minimum on an open stair side, 34 to 38 inches where the guard top serves as the handrail) with the 4-inch sphere test on all openings. If the ADU has a roof deck, exterior landing, or open stair above 30 inches, all of those surfaces need guards shown on the plan set.
Is 36 inches enough for a guard on a California residential deck?
No. The IRC allows 36 inches in some residential situations, but California adopted a stricter requirement. The CRC requires 42 inches for guards on residential walking surfaces more than 30 inches above grade. The exception is the open side of a stair, where the guard is 34 inches minimum measured from the nosing line, or 34 to 38 inches where its top serves as the handrail (CRC R321.1.2). If your plan set was originally drawn for a non-California project or pre-dates California's adoption of the 42-inch standard, check the title sheet and revise the guard height before submitting.
What exactly is the 4-inch sphere test for balusters?
The 4-inch sphere test means a sphere with a 4-inch diameter cannot pass through any opening in the guard assembly. This applies to gaps between balusters, between horizontal rails, and between the bottom rail and the walking surface. The rule is intended to prevent young children from passing through or getting trapped. To verify compliance, measure the largest opening in your infill pattern. If a 4-inch sphere can pass through it, the assembly fails. For cable guards, measure center-to-center cable spacing. For manufactured guards, pull the spec sheet and check the listed opening dimension.
Does the 30-inch drop measure from grade or from the floor below?
It measures from the walking surface down to the floor or grade below, whichever is lower. A deck sitting more than 30 inches above a concrete patio requires a guard. If the grade slopes under part of the deck and some sections are at 28 inches while others are at 32 inches, guards are required on the sections that exceed 30 inches. Measure to the lowest floor or grade within 36 inches horizontally of the open edge.
Can I use cable railings on a California residential deck?
Yes, cable guards are allowed. The cables must be spaced so no opening between cables exceeds 4 inches. In practice this typically means 3-inch maximum center-to-center spacing for standard cable diameters. You also need to show that post spacing and tensioning hardware prevent cables from deflecting beyond the opening limit under lateral load. Include the product spec sheet in your submittal. The plan-checker needs to verify the opening dimensions without having to interpolate, so the clearer the spec the faster the review.
What happens if I skip the guard detail and the city catches it?
You get a corrections letter citing R321.1. You then revise the plan set, get a stamp if required, and resubmit. Each correction round typically adds 30 to 60 days to the permit timeline, on top of whatever else is in the corrections letter. The cost is the resubmittal fee plus your designer's revision time. A complete guard detail on the first submission adds maybe an hour of drafting time and saves a full review cycle.

Related corrections