Core Residential Deck Guardrail Dimensions (IRC R312)
Most US counties and cities adopt a version of the International Residential Code (IRC) for one- and two-family homes. While local amendments always take precedence, residential deck inspectors check four primary measurements:
| Requirement | Typical IRC Reference | Standard Dimension | Common Local Exceptions |
|---|---|---|---|
| When a Guard Is Required | IRC R312.1.1 | Walking surface > 30" above grade (measured within 36" horizontally) | Some HOAs or cities require guards at lower heights (e.g., 24") |
| Minimum Guard Height | IRC R312.1.3 | At least 36" high for residential decks | California and commercial/multi-family decks commonly require 42" |
| Baluster Clear Opening | IRC R312.2.1 | Must block a 4" sphere everywhere along the guard | Applies to both baluster gaps AND the gap below the bottom rail |
| Stair Guard Openings | IRC R312.2.2 | 4-3/8" sphere between stair balusters; 6" sphere in riser/tread/bottom-rail triangle | Many builders still keep stair balusters under 4" for uniform look |
Why You Should Target 3-7/8" (Not 4.00") for Wood Balusters
Freshly purchased pressure-treated 2×2 balusters (1-1/2" actual width) often carry high moisture content right off the lumber yard bunk. Over their first summer in the sun, wood spindles can shrink by 1/16" to 1/8" across their width.
If you lay out wet 2×2 spindles at an exact 3-15/16" gap, shrinkage can open those spaces past 4 inches—enough for a building inspector's 4-inch test ball to pass through. Setting your maximum gap to 3.875" (3-7/8") in our Baluster Spacing Calculator builds in a safe shrinkage buffer at the cost of at most one extra spindle per section.
Pre-Calculated Baluster Counts by Standard US Bay Length
Remember that nominal bay lengths (such as a 6-foot or 8-foot railing span measured center-to-center between 4×4 posts) lose 3-1/2" of actual post width to give the true inside-to-inside clear opening:
| Railing Section | Clear Opening | 2×2 Wood (1.5") | 3/4" Aluminum (0.75") | Layout Sheet |
|---|---|---|---|---|
| 4-ft Railing (44.5") | 44-1/2" | 8 (3-5/8" gap) | 9 (3-3/4" gap) | Open marks → |
| 6-ft Railing (68.5") | 68-1/2" | 12 (3-7/8" gap) | 14 (3-7/8" gap) | Open marks → |
| 72" Clear Opening | 72" | 13 (3-3/4" gap) | 15 (3-13/16" gap) | Open marks → |
| 8-ft Railing (92.5") | 92-1/2" | 17 (3-3/4" gap) | 19 (3-15/16" gap) | Open marks → |
| 10-ft Railing (116.5") | 116-1/2" | 21 (3-7/8" gap) | 24 (3-15/16" gap) | Open marks → |
Avoid the Spacer-Block Trap: Use Cumulative Tape Marks
Cutting a scrap wood block (say 3-3/4" wide) and stepping it from spindle to spindle seems fast, but even a 1/16" drift per spindle multiplies across 14 balusters into a 7/8" gap error on the final space—which immediately fails the 4-inch inspection.
Instead, clamp your top and bottom rails side-by-side, hook your tape measure at the left post face, and mark every baluster's left edge directly from a cumulative running list.