DeckPlanner
Home/Framing/Guard requirements

Deck guard requirements

Three numbers decide whether a deck guard passes: 30 inches for whether you need one, 36 inches for how high, and 4 inches for the gaps. The fourth number — 200 pounds — is the one nobody tests until an inspector leans on it.

The four requirements

RequirementValueIRC reference (2021)
When a guard is requiredDeck surface more than 30″ above grade belowR312.1.1
Minimum guard height36″ measured vertically from the deck surfaceR312.1.2
Infill openingsA 4″ sphere must not pass throughR312.1.3
Concentrated load200 lb applied in any direction at the topR312.1.4 / R301.5

These are the 2021 International Residential Code values. Most US jurisdictions adopt the IRC with amendments, and the amendments are where the surprises are: some states require 42″ guards on elevated decks, some exempt guards below 48″ for one- and two-family dwellings, and some have no exemption at all. The clause numbers above are the starting point, not the answer.

The 30-inch rule measures grade, not a number on a drawing

The trigger is the vertical distance from the deck surface to the grade directly below it — not the average, and not the height at the highest point of the lot. A deck that is 28″ above grade at one corner and 34″ at the other needs a guard, because part of it is over 30″.

This is why a walk-out basement deck almost always needs a guard even when it feels low: the grade drops away, and the deck is 8 feet above the ground at the far end.

Why 36 inches is not the whole height question

A 36″ guard on a 12″-high deck segment is a barrier against a stumble. A 36″ guard on a deck 10 feet above a patio is a fall-arrest barrier and is treated differently by some designers — 42″ is common on commercial and multi-family work for that reason.

The height is measured from the finished deck surface to the top of the guard, vertically. It is not measured along the slope of a stair rail, and it is not measured to the bottom of the top rail.

The 4-inch rule and its two failures

The sphere rule applies to every opening in the guard: between balusters, between the bottom rail and the deck, between the top rail and the bottom rail if the infill is horizontal, and at the ends where the guard meets a post.

The two failure modes:

The load test almost nobody does

The 200 lb requirement is a concentrated load applied at the top of the guard in any direction — pushing, pulling, and sideways. What fails is not the rail; it is the post-to-frame connection.

Two lag screws through the rim joist will not take 200 lb of lateral load at the top of a 36″ post; the lever arm multiplies it to roughly 600 lb of pull at the connection. Through-bolts, a manufactured post base with a structural screw pattern, or a post that continues down to the framing below are the ways this is actually satisfied.

Where this page stops being the answer

Questions people actually ask

At what height does a deck need a railing?

More than 30 inches above the grade directly below it. Measured vertically from the deck surface, and if any part of the deck exceeds 30 inches, that part needs a guard.

How tall does a deck railing have to be?

36 inches minimum under the 2021 IRC, measured from the finished deck surface to the top of the guard. Some jurisdictions require 42 inches, particularly for multi-family or elevated decks.

What is the 4-inch sphere rule?

No opening in a guard may allow a 4-inch sphere to pass through. It applies between balusters, under the bottom rail and at the ends of the guard, not just to the baluster field.

How strong does a deck railing have to be?

It must resist a 200-pound concentrated load applied in any direction at the top. In practice the post anchorage is the weak link, which is why through-bolts or manufactured post bases are required.

Related

More in Framing

Related reading