Stair handrail guide
A handrail has to do two jobs that pull in different directions: be high enough to grab while standing, and be low enough to grab while descending. The code resolves that with a range, and then specifies the shape of the thing you actually hold.
The numbers
| Dimension | Requirement | Clause (2021 IRC) |
|---|---|---|
| Handrail height | 34–38″ | R311.7.7, measured above the nosing line |
| Guard height (open sides) | 36″ min | R312.1.1, measured above the deck surface |
| Guard opening | 4″ sphere must not pass | R312.1.3 |
| Triangular stair opening | 6″ sphere must not pass | R312.1.3 exception |
| Graspable, Type I | 1¼–2″ diameter | R311.7.7.1 |
| Graspable, Type II | 4–6¼″ perimeter, 2¼″ max cross-section | R311.7.7.1 |
| Wall clearance | 1½″ min | R311.7.7.1 |
| Riser height | 7¾″ max | R311.7.5.1 |
| Tread depth | 10″ min | R311.7.5.2 |
| Stair width | 36″ min | R311.7.1 |
| Vertical rise between landings | 12′ 7″ max | R311.7.4.1 |
Clause numbers move between editions, and jurisdictions amend. Use the table to know what to look up, not as a substitute for the book your inspector uses.
Height is measured from two different places
Guard height is measured vertically from the deck surface. Handrail height is measured vertically from the nosing line — the line joining the front edge of each tread. On a stair, those are not the same reference, and a rail set at 36″ above the deck at the top of a flight will be too high halfway down if it is measured from the wrong line.
In practice, the top of a stair handrail sits 34–38″ above the nosing directly below it at every point along the flight. That is why a stair rail is parallel to the pitch of the stair, not level.
Graspable means a hand can close on it
A 2×6 laid flat makes an excellent guard and a terrible handrail: there is nothing to hold. The code calls this out as a profile requirement rather than a dimension, which is why a 5½″ flat board fails even though it is within no dimension at all.
- Type I — circular, 1¼″ to 2″ diameter. A 2″ pipe or a 1½″ dowel both qualify.
- Type II — any profile with a perimeter between 4″ and 6¼″ and no cross-section larger than 2¼″. This is what allows a shaped wooden rail with a finger groove.
A 2×4 on edge (1½″ × 3½″) has a perimeter of 10″ and a 3½″ face, so it fails both tests. It is a guard, not a handrail.
The sphere rule on a slope
The 4″ sphere applies to guard openings, and on a stair it is checked between balusters as usual. But there is a second opening the code treats separately: the triangle formed by the tread, the riser and the bottom rail. That opening is allowed to pass a 4″ sphere but not a 6″ one, because a small child can get a foot or a body part into it in a way that a 4″ rule would make impossible to build.
This is why stair guards often need a bottom rail set low, or balusters extended and cut to the stair angle.
Continuity and ends
The handrail has to be continuous for the full length of the flight, and each end has to either return to a wall or post or be terminated in a way that does not catch clothing. A rail that simply stops in mid-air is both a code problem and a hazard. At a landing, the rail continues around the landing, and the height above the landing floor returns to the 34–38″ band.
What a handrail rule will not catch
- It does not compute your stair. Riser count, tread depth and stringer length are on the stair calculator.
- It does not cover cable, glass or panel infill. Each has manufacturer spacing and tension requirements that override the general sphere discussion.
- It does not resolve commercial requirements. Occupancy, egress width and rail loading change for anything but a one- and two-family dwelling.
Questions people actually ask
What height should a deck stair handrail be?
34 to 38 inches, measured vertically above the nosing line of the tread below it. Not above the deck, and not above the tread surface at the front edge.
Is a 2x6 flat acceptable as a handrail?
As a guard, yes. As a handrail, no — it is not graspable. The code requires a profile a hand can close around, either a 1¼–2″ circle or a shape within the Type II perimeter limits.
Do deck stairs need a handrail on both sides?
In a dwelling, at least one side when there are four or more risers. Both sides is better practice and is required in other occupancies.
Does the 4 inch sphere rule apply to stairs?
Yes, between balusters, and there is an additional 6″ rule for the triangular opening formed by the tread, riser and bottom rail. That opening is the one people forget.
How far can a handrail be from the wall?
At least 1½ inches, so your knuckles have somewhere to go. Brackets set the rail off the wall by that amount and also carry the load.