B
HomeLibrariesCode AISearchProjectsBookmarksAddress
FeedbackHelp Desk
Libraries
Estimate & calculate
CalculatorsChecklists
PricingLog in
Home / Code Guides / Handrails & Guards

Handrail & Guardrail Code — Heights, Grip Size & the 4-Inch Sphere

Handrails are for grip; guards are for falls. The IRC gives each its own trigger, height, and geometry — and ties them together with the 4-inch sphere rule.

RESIDENTIAL STAIR — HEADROOM, WIDTH & GUARDSD23ceiling / stair above6'-8" MINheadroom, plumb from nosing36" MINguard height4" SPHERE MUST NOT PASSGUARD REQUIRED WHERE DROP > 30"measured within 36" horizontally (§R312.1.1)PLAN — STAIR WIDTH36" MIN CLEARNOTES · IRC 2021 §R311.7 / §R312• Width 36" min above handrail; 31½" at/below one rail, 27" two rails• Risers 7¾" max · treads 10" min (§R311.7.5 — see D3, IRC view)• Handrail 34–38" · guards on open sides of stairs ≥ 34" (§R312.1.2)• Stair guard triangle: 6" sphere limit at riser/tread/rail openingNOT TO SCALE
Handrails and guards — IRC 2021 R311.7.8 / R312.Open full diagram →
RequirementModel Code StandardSection
When a handrail is requiredOn at least one side of every stair flight with 4 or more risersIRC R311.7.8
Handrail height34–38 in. above the nosing lineIRC R311.7.8.1
GraspabilityType I: circular 1-1/4–2 in. diameter (or equivalent perimeter); Type II profiles allowed for 2×+ rails with finger recessesIRC R311.7.8.5
Continuity & returnsContinuous the full flight, returned to wall or terminating in newel/safety terminal; 1-1/2 in. clearance from the wallIRC R311.7.8.2–R311.7.8.4
When a guard is requiredAlong open-sided walking surfaces (decks, porches, landings) more than 30 in. above grade or floor within 36 in. horizontallyIRC R312.1.1
Guard height36 in. minimum at walking surfaces; 34 in. allowed on the open side of a stairIRC R312.1.2
Opening limitsNo opening passing a 4-in. sphere; guards on the open sides of stairs may allow 4-3/8 in.; the triangle at the stair tread/riser/guard may allow 6 in.IRC R312.1.3
Guard loadingGuards and handrails designed for a 200-lb concentrated load; infill for 50 lb over 1 sq ftIRC Table R301.5

Worth knowing

  • A 2×4 or 2×6 laid flat is not a graspable handrail.
  • The 30-in. guard trigger is measured within 36 in. horizontally of the edge — a deck stepping down a slope can need guards even if the deck edge itself is under 30 in.
  • Guards must resist the 200-lb load at the top in any direction — the common 4×4 notched-post detail usually fails this without hardware.
  • Handrail height on existing stairs is measured after new flooring — thick treads can push an old rail out of the 34–38 in. band.
This guide is BuildSpec’s own summary, not code text. It cites the 2021 International Residential Code and the 2023 National Electrical Code as model standards. The IRC 2021 text itself is in the Code Library for signed-in members; BuildSpec publishes no NEC text, which is at nfpa.org. Neither is an adoption record: your state may be on a different edition with amendments — check your jurisdiction page or get an Address Report.
Deck FootingsDeck LedgerGFCI ProtectionEgress WindowsStairsSmoke & CO Alarms