Stair Railing and Handrail Height (2021 IRC)

Compare a planned height with the 2021 IRC residential handrail and guard ranges. Handrails and guards are different members, and the measurement line is not the same on a stair as on a deck.

Check a height

Choose what you are measuring, then enter the height. Results update as you type. The default 36 in is the R312.1.2 walking-surface guard minimum, not the handrail range.

2021 IRC height chart

Member2021 IRC model-code heightHow it is measuredSection
HandrailNot less than 34 in and not more than 38 inVertically from the sloped plane adjoining the tread nosing, or the finish surface of a rampR311.7.8.1
Guard at a walking surface (deck, porch, landing, and similar)Not less than 36 inVertically above the adjacent walking surfaceR312.1.2
Guard on the open side of a stairNot less than 34 inVertically from a line connecting the nosingsR312.1.2 exception 1
Stair guard whose top is also the handrail34–38 inVertically from a line connecting the nosingsR312.1.2 exception 2
When a guard is requiredOpen-sided walking surfaces more than 30 in above the floor or grade below, measured within 36 in horizontally of the edgeR312.1.1R312.1.1
When a stair handrail is requiredAt least one side of each flight with four or more risersR311.7.8R311.7.8
Handrail-to-wall clearanceNot less than 1½ inBetween the wall and the handrailR311.7.8.3
Handrail projectionNot more than 4½ in on either side of the stairway (with a listed exception)R311.7.8.2R311.7.8.2

Opening limits are also in R312.1.3: a required guard generally must not pass a 4 in sphere, with a 6 in sphere at the triangular opening formed by the riser, tread, and bottom rail, and a 4⅜ in sphere at openings in a guard on the open side of a stair. Those sphere tests are listed so you can look them up; this page does not turn them into a baluster-spacing calculator.

A 36 in deck rail can be too high to serve as the stair handrail, and a 34 in stair guard can be too low for the deck itself. If one continuous rail tries to do both jobs, check each segment against the row that actually applies.

Sources

  • 2021 International Residential Code (IRC), Sections R311.7 (stairways), R312 (guards), and R507 (exterior decks), including Tables R507.5(1), R507.5(5), and R507.6. The IRC is published by the International Code Council; the figures on these pages are the model-code values as printed in that edition.
  • Public municipal extracts of the same 2021 IRC text, used to confirm section numbers and table cells: Town of Easton, Maryland, Typical Deck Details Based on the 2021 International Residential Code, and City of Venus, Texas, 2021 deck-code excerpt (Table R507.6).
  • American Wood Council, Prescriptive Residential Wood Deck Construction Guide (DCA 6), as complementary commentary on IRC deck provisions. Use the edition that matches the adopted IRC, and read the code table rather than a marketing summary.

Disclaimer: These pages are planning tools and code-chart extracts only. They are not a substitute for the adopted building code, a local amendment, a permit review, or a licensed designer or engineer. The International Residential Code is a model code: it has legal force only where a jurisdiction adopts it, and many places amend individual limits. Approved Document K is guidance for meeting the Building Regulations in England; other UK nations use different documents. Stair Deck Reference does not inspect sites, approve drawings, or sign off construction.