Plan the railing
Our stair is the standard 9 ft example: 15 risers of 7.2 in, 14 treads of 10½ in with 1 in nosings, 36 in wide, with a wall on one side and an open side with a 108 in drop at the top. That means two different jobs:
- The open side needs a guard — newels, a rail and balusters — because the drop is more than 30 in. Its top rail doubles as the handrail.
- The wall side can take a simple wall-mounted handrail. One handrail meets the IRC for a stair this width; two make it easier for everyone.
Pick the system first. Post-to-post railings run the rail between the newels and are the simplest to build. Over-the-post railings run the rail continuously over shorter newels with curved fittings — volutes, goosenecks and caps — and look more refined but need careful fitting. The layout below is the same for both.
Swipe the drawing sideways to see all of it.
Open side of the stair
Rail 36 in above the nosing line
- 1Starting newel — bolted into the framing
- 2Handrail, 34–38 in above the nosing line
- 3Rail height, measured straight up from the nosing line
- 4Balusters — 2 per tread, 4 in clear gap
- 5Landing newel where the rail turns level
- 6Level guard at the top, at least 36 in high
Newel posts: the part that carries the load
The IRC requires guards and handrails to resist 200 lb in any direction, and almost all of that load ends up in the newels. A newel screwed to the top of a tread will pass a gentle wobble test on day one and fail the first time someone stumbles into it.
- Starting newelSet it on the first or second tread, or on a bullnose starter step. Fix it with a long lag bolt or newel mounting kit down through the tread into solid blocking or a joist below, and add a second fixing to the stringer or riser so it cannot rotate.
- Landing newelAt the top, bolt the newel through the stringer, the rim or the header with solid blocking behind it — two through-bolts or structural screws, not nails.
- Plumb and heightPlumb each newel both ways before the final tightening. Mark on each newel where the rail top will sit: 36 in above the nosing line at the newel position, plus the rise to the landing rail at the top.
Test before going further: push hard at the top of each newel in every direction. If it moves, add blocking now — it is far harder to fix with balusters in place.
Rail height and layout
Rail height is measured straight up from the nosing line, the sloped line through the front edge of every tread — not from the middle of a tread. Snap or stretch a line through the nosings to see it. The IRC range is 34–38 in; at 36 in you have margin either way.
- Rail height
- 36 in above nosings
- Rail length
- about 178 in (15 ft)
- Stair angle
- 34.4°
- Balusters
- 28
The sloped rail length is the step diagonal times the number of treads: 14 × 12.73 = 178 in, about 15 ft. Every cut where the rail meets a newel is a plumb cut at the stair angle, atan(7.2 ÷ 10.5) = 34.4° on the miter saw.
Get rail length, height checks, angles and brackets for your stair with the stair handrail calculator
Balusters: count, spacing and length
On the open side of a stair the IRC allows no opening that passes a 4⅜ in sphere, and at the bottom, where the rail, tread and riser form a triangle, no more than 6 in. Balusters are laid out per tread:
| Baluster | Per tread | Clear gap | Our stair |
|---|---|---|---|
| 1¼ in square wood | 2 | 4.0 in — passes | 28 |
| 1¾ in square wood | 2 | 3.5 in — passes | 28 |
| ½ in iron | 3 | 3.0 in — passes | 42 |
| ½ in iron | 2 | 4.75 in — fails | — |
Layout: centre the two balusters on each tread at 2⅝ in and 7⅞ in back from the riser face, so they are 5¼ in apart on every tread and the spacing carries smoothly across the steps. Mark both centres on every tread from the same reference.
Length: because the rail slopes, the back baluster on each tread is 3.6 in longer than the front one (5¼ in × 7.2 ÷ 10½). Measure the first pair in place, cut the tops at 34.4°, and the rest of the stair repeats those two lengths. Wood balusters usually fix with a dowel pin into a drilled hole in the tread and a pin or screw into the rail; iron balusters are set in drilled holes with epoxy and covered with shoes.
Get baluster counts, gaps, layout marks and rake lengths with the baluster spacing calculator
Fitting the rail
- Dry-fitClamp the rail to the newels at the marked heights and check it against the nosing line at several points along the stair.
- Cut the endsPlumb cuts at 34.4° where the rail meets each newel; for over-the-post rails, fit the volute, gooseneck or caps to the maker’s templates.
- Fix to the newelsA rail bolt, a hidden bracket or structural screws through the newel into the rail end. Glue alone is not a fixing.
- Fit the balustersSet each baluster in its tread hole, plumb it, and fix the top to the underside of the rail. Check the gaps with a 4⅜ in ball or a cut block as you go.
- The landing guardAt the top, the level guard is at least 36 in high and its openings stop a 4 in sphere — slightly tighter than on the stair.
For cable, glass or metal infill instead of wood balusters, the same newel and height rules apply; see stair railing materials for how each one passes the opening rule.
The wall handrail
On the wall side, the handrail runs from a point above the top riser to a point above the bottom riser, continuous for the whole flight, 34–38 in above the nosing line — about 15 ft along the slope on our stair.
- Find the studs. Every bracket screws into a stud with the screws supplied or specified, not drywall anchors.
- Bracket spacing. Most rail makers allow up to 48 in between brackets, with one within about 12 in of each end — five brackets for a 15 ft rail.
- Clearance. At least 1½ in between the rail and the wall, so knuckles clear.
- Grip. A round rail of 1¼–2 in, or a shaped profile with an equivalent grip. A flat board is not a handrail.
- Ends. Return each end to the wall (a 3½ in return is common) or end it at a newel or safety terminal, so sleeves and bag straps cannot catch.
Final checks
| Check | Pass |
|---|---|
| Rail height above the nosing line | 34–38 in along the whole stair |
| Guard height | At least 34 in on the stair, 36 in at the landing |
| Openings on the stair | A 4⅜ in ball does not pass anywhere |
| Openings at the landing | A 4 in ball does not pass |
| Bottom triangle | A 6 in ball does not pass |
| Newels and rail | No movement under a hard push in any direction |
| Wall rail | Continuous, 1½ in clear, ends returned |
The railing goes in after the treads and risers; the rest of the build is in how to build stairs.
Check the whole stair against the code with the stair code checker
Installing stair railings: common questions
How high should a stair railing be?
Under the IRC, the handrail is 34–38 in above the nosing line, measured straight up. Where the rail also tops a guard on an open side of the stair, the guard must be at least 34 in; at a landing or level edge, a guard is at least 36 in.
How do you attach a newel post so it does not wobble?
Bolt it into the framing. A starting newel is usually fixed with a long lag bolt or a newel mounting kit through the tread into a block or joist below, and a landing newel is bolted through the stringer or rim with blocking behind. Screws through a tread alone will not resist the 200 lb the IRC requires.
How many balusters per stair tread?
Two per tread for 1¼ in square wood balusters on a 10½ in tread, which leaves a 4 in gap. Thin ½ in iron balusters need three per tread. The rule is that a 4⅜ in sphere must not pass on the stair (4 in on landings).
Why are balusters different lengths on each tread?
Because the rail slopes. On a 7.2 in riser with a 10½ in tread, two balusters 5¼ in apart are under rail heights that differ by 5¼ × 7.2 ÷ 10½ = 3.6 in, so every tread has a short and a long baluster.
What angle do I cut a stair handrail?
The stair angle: atan(riser ÷ tread). For 7.2 × 10½ in steps that is 34.4°, set on the miter saw for the plumb cuts where the rail meets a newel and for the tops of the balusters.
How far apart should handrail brackets be?
Most rail makers allow up to 48 in, with one bracket within about 12 in of each end, every bracket screwed into a stud. A 15 ft rail needs about five.
Does a handrail need returns?
Its ends must return to the wall or end at a newel post or safety terminal under the IRC, so that sleeves and bag straps cannot catch on an open end. A short return of about 3½ in to the wall is common.
Sources
- International Residential Code 2021, Section R311.7.8 — Handrails (opens in a new tab)International Code Council. Handrails on flights with 4 or more risers, 34–38 in above the nosing line, continuous for the flight, ends returned or terminated in newel posts or safety terminals, 1½ in clear of walls, graspable profiles.
- International Residential Code 2021, Section R312 — Guards (opens in a new tab)International Code Council. Guards 36 in high at landings and 34 in on open sides of stairs; openings that stop a 4 in sphere, 4⅜ in on stairs, 6 in at the riser–tread–bottom rail triangle.
- International Residential Code 2021, Table R301.5 (opens in a new tab)International Code Council. Guards and handrails resist a 200 lb load in any direction; guard infill resists 50 lb on 1 ft².
- Handrail manufacturers’ installation guidesBracket spacing (commonly 48 in maximum) and fixing details are set by the rail and bracket maker.
Code text is the final word. Editions and local amendments differ — check the edition your building department enforces.
Calculators for this guide
- Baluster Spacing CalculatorSpace balusters evenly and pass the 4 in rule
- Stair Handrail CalculatorWork out how much handrail to buy
- Stair Angle CalculatorCheck the angle, comfort and code maximum
- Stair Code CheckerCheck a stair against the code, item by item
- Cable Railing CalculatorPlan cables, fittings, posts and pickets
- Glass Railing CalculatorDivide a run into equal glass panels
