Skip to main content
DatumSpot

Code Corner

How high does a deck railing need to be?

A deck railing is a guard: under the IRC it must be at least 36 inches high (§R312.1.2), and it's required whenever the deck walking surface is more than 30 inches above the grade below (§R312.1.1). Commercial decks and balconies follow the IBC's 42-inch guard (§1015.3). The infill must also reject a 4-inch sphere.

Source: 2021 IRC §R312.1 · Verify against your AHJ and the adopted code edition.

A deck railing is just a guard, so it follows the guard rules:

  • Residential decks: 36 inches minimum high (IRC §R312.1.2).
  • Commercial decks/balconies: 42 inches (IBC §1015.3).
  • Required when the deck is more than 30 inches above the grade below (§R312.1.1) — a ground-hugging deck may not need one at all.

The infill matters as much as the height: openings must not pass a 4-inch sphere (§R312.1.3), so pickets are spaced to leave a gap just under 4 inches. See the maximum gap between balusters.

Some jurisdictions and the prescriptive deck standard (AWC DCA 6) add their own details for posts, connections, and lateral loads — verify with your AHJ, as deck-guard attachment is a common failure point.

Work it out: the guardrail calculator gives the cited heights and even, compliant baluster spacing for the rail.

Calculate it →

Sources

Related questions