What Is a Guard (Guardrail)?
A guard, commonly called a guardrail, is the barrier along the open side of a deck, porch, balcony or stair that keeps people from falling off the edge.
When a guard is required
Under the model International Residential Code, guards are required at open sides of walking surfaces more than 30 inches above the floor or grade below, checked at any point within 36 inches horizontally of the edge (R312.1.1). The American Wood Council’s deck guide (DCA 6) likewise calls for guards on decks more than 30 inches above grade (p. 15, Figure 24).
Height and openings
The model code’s minimum guard height is 36 inches (R312.1.2), and no opening may let a 4-inch sphere pass (R312.1.3). At a stair guard, the triangular opening at the bottom may not pass a 6-inch sphere (R312.2). The AWC deck guide calls for guard posts at least 4×4 and shows how to attach them to the joists and rim joist (pp. 15 and 16).
Planning information only, not engineering or legal advice. These are model-code figures from the sources listed below. Pennsylvania municipalities enforce their own adopted edition and amendments, so confirm the exact numbers with your code office before you build.
How guards are used on deck and porch work
A guard has to run the full open side of the protected surface without a break. The source also says the 36 inch minimum is measured vertically from the walking surface to the top of the rail, and on stairs it must be kept at each tread nosing. Commercial buildings under the International Building Code typically require 42 inches, and the source says exceeding 36 inches on a house is acceptable.
The American Wood Council deck guide (DCA 6) covers how a guard is anchored. Guard posts are a minimum 4×4 nominal, No. 2 grade or better, or lumber with an adjusted bending design value of at least 1,050 psi (p. 16). A post at the outside joist is attached as in Figure 25, and a post on the rim joist uses hold-down anchors with a minimum of two bolts at the anchor’s joist attachment (Figure 26). The guide also shows stair guards in Figure 30 and calls for a handrail on one side of stairs with four or more risers, set 34 to 38 inches high (p. 18).
Common mistakes and limits
The source names weak post connections as a common deficiency, citing face-nailed or lightly screwed attachments. It says residential guard posts must resist a 200-pound concentrated load at the top in any direction, but it gives no code section for that figure, so confirm it in the adopted code. It also says horizontal configurations that allow climbing are prohibited in the 18 to 36 inch zone above the walking surface. The 4 inch sphere rule covers every gap, including baluster spacing, the gap at the base and the corners at posts.
Local rules can change these numbers. The source points out that state and local amendments may apply, and it notes that a walking surface edge outside the 36 inch horizontal zone does not trigger the rule. This page uses 2024 model code figures, while the AWC guide is a 2015 publication, and the two were not written as one document. Pennsylvania municipalities enforce the edition they have adopted.
Related terms
Guard posts attach to the rim joist or outside joist, and stair guards connect to the stair stringer at the bottom. Hardware at the post base is covered under post base.
Source line for this section: IRC 2024 guard summary (R312) from JA Inspector; American Wood Council, DCA 6 (pp. 15, 16 and 18).
FAQ
Does every deck need a guard?
The model code and the AWC guide both set the trigger at more than 30 inches above grade. Lower decks may still have local rules, so ask your code office.
How high does a deck guard have to be?
The model residential code sets a 36 inch minimum (R312.1.2). Commercial buildings often use a taller figure, so this applies to one and two family homes.
Sources
- Guard requirements summary, IRC R312
- American Wood Council, DCA 6 Prescriptive Residential Wood Deck Construction Guide
Related
Back to the full glossary. Related terms: Rim joist and Stair stringer.
Planning a deck or addition? Contact Muthler Landscaping & Construction.