How high should a stair handrail be?
34" to 38", measured from the tread nosing line — a different number and a different rule from a guard's height. Both, side by side, and why the two get confused.
34" to 38", measured vertically from the sloped line through the tread nosings.
A guard — the barrier at the open edge of a stair, landing or deck — is a separate rule: at least 36", measured from the walking surface itself rather than from the nosing line.
How that is worked out
- A handrail is there to be grabbed while you climb, so its height is measured along the slope of the stair — from an imaginary line drawn through the nosing of every tread, not from the floor.
- That gives a range rather than one number: 34" to 38", which is generous enough to suit most heights of climber.
- A guard does a different job — it stops a fall from the side of an open edge — so it is measured from the flat walking surface and set higher: at least 36". The two numbers answer two different questions, which is why they do not match.
Handrail vs. guard: two different heights, two different jobs
| Handrail | Guard | |
|---|---|---|
| Height | 34" – 38" | 36" minimum |
| Measured from | The tread nosing line, along the slope | The walking surface, plumb |
| Job | Something to grab while climbing | A barrier at an open edge |
| Required on | Stairs with 4 or more risers | Any walking surface over 30" above grade |
| IRC section | R311.7.8 | R312.1.2 |
Worth knowing
- These are 2021 IRC figures and they are defaults, not law. Local amendments move both numbers, and the building department has the last word.
- A handrail also has to be graspable, not just at the right height. The code separately requires a circular profile 1 1/4" to 2" across, or a non-circular one with a perimeter of 4" to 6 1/4" — a wide flat cap rail that looks like a handrail often is not one by this test.
- The guard's height rule pairs with the guard sphere rule (no opening may pass a 4" sphere) — that is the baluster spacing calculator's job, and the two rules are independent of each other.
- One rail can do both jobs on an open-sided stair — a single rail at handrail height, continuous, with balusters below it meeting the guard's opening rule — but it has to satisfy both sets of requirements where it does.
Work out your own numbers
- Stair stringers
Divide the rise into even risers, lay out the notches, and check the result against the code.
- Baluster and slat spacing
Even gaps across any span, checked against the 4-inch guard rule, with tape-measure marks that don't drift.
- Deck and fence takeoff
Boards, joists, posts, pickets, screws and bags of concrete, with the gaps between boards properly counted.
Related questions
- Is a stair handrail the same height as a deck guard rail?
- No, and the two get mixed up constantly. A handrail on a stair is 34" to 38", measured from the tread nosings. A guard — the rail at the open edge of a deck, porch or landing — is at least 36", measured from the floor. They are different rules answering different questions, and a rail built to handrail height on a deck is usually too low to be a legal guard.
- Do all stairs need a handrail?
- In most jurisdictions, yes, once a flight has four or more risers. Below that it is usually optional. Check locally — this is exactly the kind of figure that gets amended, and a short flight at a front porch is a common place for it to matter.
- What size handrail is graspable?
- A circular profile 1 1/4" to 2" in diameter, or a non-circular one with a perimeter between 4" and 6 1/4" and no dimension over 2 1/4". It is a separate test from the height rule — a 2x6 cap rail can sit at exactly the right height and still fail this one, because nobody's hand closes around it.