A guardrail (or guard) is a protective barrier preventing falls from elevated surfaces. A handrail provides graspable support along stairs and ramps. The IRC specifies different requirements for each. Guards are required wherever the walking surface is more than 30" above adjacent grade or floor below. Handrails are required on stairs with 4 or more risers.
| Requirement | Residential (IRC) | Notes |
|---|---|---|
| Height — deck/porch | 36" minimum | Measured from deck surface to top of rail |
| Height — interior balcony | 36" minimum | Open-sided walking surfaces > 30" above floor |
| Baluster spacing | 4" maximum gap | A 4" sphere must not pass through any opening |
| Bottom rail gap | ≤ 4" below bottom rail | Measured from deck surface |
| Structural load | 200 lbs concentrated | Applied in any direction at top of guard |
| Infill load | 50 lbs/sq ft | Applied to balusters and infill panels |
| Requirement | Specification |
|---|---|
| Height (above tread nosing) | 34" — 38" |
| Grip size — Type I (circular) | 1-1/4" — 2" cross-section dimension |
| Grip size — Type II (shaped) | Perimeter 4" — 6-1/4" |
| Wall clearance | 1-1/2" minimum |
| Extension at top | 12" horizontal beyond top riser |
| Extension at bottom | 12" horizontal beyond bottom riser |
| Continuity | Continuous for full flight length |
To calculate baluster spacing: Measure the clear span between posts. For 4" max gap, the formula is: Span = (N × baluster_width) + ((N+1) × spacing). For standard 2×2 balusters (1.5" actual), max spacing for a 6' (72") span: (72 − 1.5N)/(N+1) ≤ 4. Solve iteratively. Typical spacing for 2×2 balusters is about 3-3/4" between them for a 5—6 ft span, yielding roughly 2 balusters per foot.