IRC guard and handrail check: height, opening and trigger tests

Enter the drop and what you measured. You see whether a guard is required and whether each height and opening meets the base 2021 and 2024 IRC, with the section number for each edition.

Where and what you measured (inches)

Enter decimal inches: 4 3/8 in is 4.375, 3 ft is 36. Leave optional fields blank to skip them. Pick the open side of a stair to add the stair opening, triangle and handrail checks.

Results, 2021 and 2024 IRC side by side

Is a guard required?

Required

OVER the 30 in guard trigger in both editions (R312.1.1 and R321.1.1): the drop of 48 in is 18 in more. Both entered checks meet the base code.

Base-code limits, same values in both editions. Section numbers differ because the 2024 IRC moved guards to R321 and handrail details to R320.
CheckEnteredLimit2021 IRC2024 IRC
Guard required48 in dropMore than 30 inRequired · R312.1.1Required · R321.1.1
Guard height above the walking surface36 in (≈ 36)At least 36 inMeets · R312.1.2
0 in to spare
Meets · R321.1.2
0 in to spare
Largest guard opening3.75 in (≈ 3 3/4)Smaller than a 4 in sphereMeets · R312.1.3
0.25 in to spare
Meets · R321.1.3
0.25 in to spare

For study and plan-review practice only. The adopted, locally amended code and the authority having jurisdiction (AHJ) decide whether a guard or handrail passes.

Studying for ICC B1? Take the free 10-question check to see exactly which topics to fix first, then close the gaps with the Rafter Tie course.

Or read a full free lesson first (no signup).

Studying with a coworker? Send them the free check.

How to measure on site

  1. The drop. From the walking surface, measure down to the floor or grade below at the edge and at points out to 36 in from it. Use the greatest of those drops. Above 30 in, a guard is required.
  2. Guard height on a deck, porch, balcony or landing. Measure from the walking surface straight up to the top of the guard.
  3. Guard and handrail height on a stair. Stretch a string or straightedge across the tread nosings and measure straight up from that line to the top of the guard or rail.
  4. Openings. Find the widest gap, often between balusters, under the bottom rail or where the guard meets a post or wall. Enter the largest ball that would pass through it. On a stair, also measure the triangle formed by the riser, the tread and the bottom rail.
  5. Risers. Count the risers in the flight. A flight with 4 or more needs a handrail on at least one side.

The tool compares each number with one limit and shows how much it has to spare or how far it misses. These are comparisons, not code text. The limit values and section numbers are cited so you can find them in your own code book; read the full sections there, including their exceptions.

Which sections, in which edition

The tool checks both editions at once and shows each one's section number in its own column. The 2024 IRC reorganized Chapter 3: guards and window fall protection moved from Section R312 to Section R321, and the handrail details moved out of the stairway section into their own section, R320. The base values this tool uses are the same in both editions.

  • Where a guard is required: R312.1.1 in the 2021 IRC, R321.1.1 in the 2024 IRC.
  • Guard height, including stair guards and a guard top that serves as the handrail: R312.1.2 and R321.1.2.
  • Guard opening limits, including the stair and triangle openings: R312.1.3 and R321.1.3.
  • Handrail on flights of 4 or more risers: R311.7.8 and R318.7.8.
  • Handrail height: R311.7.8.1 and R320.2.

Bring the numbers for the edition your exam uses. The 2021 vs 2024 IRC guide lists the other Chapter 3 moves.

Worked example: a deck 4 ft above grade

Invented numbers. A deck surface is 48 in above grade within 36 in of its edge. The guard is 36 in tall from the decking, and the widest baluster gap passes a 3 3/4 in ball.

  • Guard required: 48 in is 18 in over the 30 in trigger.
  • Guard height: 36 in against a 36 in minimum, meets with 0 in to spare. Measure at several posts; a sagging rail or a raised deck board can drop it below.
  • Opening: a 3.75 in ball is smaller than the 4 in sphere, meets with 0.25 in to spare.

Worked example: an open-sided porch stair

Invented numbers. A porch stair has 5 risers and an open side 35 in above grade at its high end. The stair guard is 33 in above the nosing line, its baluster gaps pass a 4 1/2 in ball and a separate handrail is 36 in above the nosing line.

  • Guard required: 35 in is 5 in over the 30 in trigger.
  • Guard height: 33 in against a 34 in minimum on the open side of a stair, 1 in short.
  • Opening: a 4.5 in ball against the 4.375 in (4 3/8 in) stair sphere, 0.125 in too wide.
  • Handrail: 5 risers is 4 or more, so one is required, and 36 in sits inside the 34 to 38 in range with 2 in to spare at each end.

A deck exactly 30 in above grade needs no guard by the base code, because the trigger is more than 30 in. These are original examples, not exam questions.

What this tool does not check

It does not check guard or handrail loads and attachment, handrail grip size, continuity, returns or wall clearance, the exceptions for volutes, turnouts and fittings, window fall protection, alternating tread devices or ship's ladders. For stair risers, treads, headroom and width, use the IRC stair check. For the difference between the two parts, read guard vs handrail.

Guard and handrail questions

When does a deck or porch need a guard?

When the drop from the walking surface to the floor or ground below is more than 30 in anywhere in the first 36 in out from the open edge. That is R312.1.1 in the 2021 IRC and R321.1.1 in the 2024 IRC. Measure the greatest drop in that band, not only straight down at the edge, because grade often falls away from the house.

How is a guard opening checked?

With a sphere, not a ruler on one gap. Find the largest ball that passes through any gap below the height the guard has to reach and compare it with the sphere size for that spot: 4 in for most guards, 4.375 in (4 3/8 in) on the open side of a stair and 6 in for the triangle under the bottom rail of a stair guard. An opening the sphere fits through does not meet the limit, so the tool treats an opening equal to the sphere as too wide.

Can I use this to pass or fail a real guard?

No. For study and plan-review practice only. The adopted, locally amended code and the authority having jurisdiction (AHJ) decide whether a guard or handrail passes. Local amendments change these rules in some places, and this page does not check guard loads, attachment or the exceptions in each section.

Guards and handrails on the B1 exam

Stairs, guards and handrails sit in the public-safety area of the ICC Residential Building Inspector (B1) outline. Questions usually give a height, a gap or a drop and ask whether it complies, so the skill is finding the right section fast in an open-book setting. Practice locating each limit in your edition rather than memorizing it. The B1 exam outline guide shows how the areas are weighted.

Check whether a guard is required, then its height and openings and a stair handrail's height, against the 2021 and 2024 IRC limits side by side. A study and plan-review practice aid; the adopted code and the AHJ decide real jobs.

Try one free question

Try one question

Question 1 of the free 10-question check on ICC B1. No signup. Then ask Plumb, the AI study assistant, why the answer is right and the others are wrong.

Question 1 of 10 · free checkUntimed

Public Safety and Special Construction

In a new bedroom, the only emergency escape window has a keyed sash lock, with the key hanging on a hook beside the window. What should the inspector do?

Press A-D or 1-4 to choose an answer while this question is on screen.

Choose an answer to begin

Email me the free ICC B1 exam-day kit

What to bring, arriving and the testing room, from the exam body's own candidate guide. Sent to your inbox.

Ask Plumb before you buy AI your AI study assistant

See what's on the ICC B1 exam, test yourself with 5 quick questions, or find the plan that fits you.

Published references

From the blog

Practice B1 code navigation

You just checked a guard and a handrail against both IRC editions in seconds. On the open-book B1 you have to find limits like these in the code book just as fast. The free 10-question check shows which B1 topics slow you down, no signup. The Rafter Tie course drills them and explains every answer.

Take the free 10-question B1 check

The ICC B1 course

Available now · instant access

The ICC B1 course

  • 7modules of lessonsEvery task on the outline
  • 4full-length timed exams60 questions in 120 minutes each
  • 426practice questionsEach one explained
  • 4worked calculationsStep by step
  • 8timed code lookups a setFind it fast in IRC, with your median time
  • 1week-by-week study planSet to your exam date

Turn a practice answer into a study step. In untimed practice, ask Plumb AI about any question you answer, follow up, then see your weakest topics and what to drill next.

B1 course with IRC navigation drills$99

Terms and refunds · Secure checkout by Stripe · Billed by Nori Software

See the course

Compare plans

Every answer comes with a full explanation.

By the Rafter Tie editorial team. Report an error.

Add this guard and handrail check to your site

Copy this HTML with its attribution link. The frame scrolls to include the check and explanations; no external script is needed.