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 AND GUARDSD23ceiling or floor above4" SPHEREmust not pass6'-8" MIN34–38"7¾" MAX10" MIN36" MINguard> 30" dropguard requiredPLAN — STAIR WIDTH36" MINclear widthNOTES · IRC 2021 §R311.7 / §R312.1Width: 36" MIN above the handrail; 31½" MIN with a handrail on one side;27" MIN with handrails on both sides (§R311.7.1).Guards on open sides of stairs: 34" MIN from the nosing line; openings4⅜" sphere, triangle 6" (§R312.1.2, §R312.1.3).Guard required > 30" drop, within 36" of the edge (§R312.1.1).Dashed line: line of nosings. Stair, headroom and guard heights drawn to scale at the limits.STAIR AND GUARDS · IRC 2021 §R311.7.1 · §R311.7.2 · §R311.7.5 · §R311.7.8.1 · §R312.1
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.

Common questions

What does the code say about when a handrail is required for Handrails & Guards?

On at least one side of every stair flight with 4 or more risers. (IRC R311.7.8)

What does the code say about handrail height for Handrails & Guards?

34–38 in. above the nosing line. (IRC R311.7.8.1)

What does the code say about graspability for Handrails & Guards?

Type I: circular 1-1/4–2 in. diameter (or equivalent perimeter); Type II profiles allowed for 2×+ rails with finger recesses. (IRC R311.7.8.5)

Adopted edition by state

Base-code year from BuildSpec’s adoption records. States often amend the base code, and your city or county may differ, so confirm with your building department.

Related sections and guides

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 Footings →Deck Ledger →GFCI Protection →Egress Windows →Stairs →Smoke & CO Alarms →