Installing Stair Railings and Balusters
Install wall handrails, newel posts, rails and balusters that meet the residential code's height, grip, opening and strength rules, with baluster spacing worked out before you drill.
Table of contents
Stair railings are the one piece of finish carpentry that the building code checks closely, because a rail that is too low, too wide to grab, or loose at the post can turn a stumble into a fall down a flight of stairs. They are also on display. A good railing job meets the numbers, feels solid when you lean on it, and has balusters spaced so evenly that nobody notices them.
The numbers here are from the model residential code, the International Residential Code (IRC), 2021 edition, where handrails are in Section R311.7.8 and guards in R312. The 2024 edition moved these rules into new sections, R320 for handrails and R321 for guards. States and cities adopt different editions and change them. The edition your area adopted, and its local amendments, win. Check with the building department or the plans. Apartment buildings and commercial buildings fall under the International Building Code instead, which has different numbers, such as taller guards in many common areas.
What You Will Be Able to Do
- Tell a handrail from a guard, and know when each is required.
- Measure and install a wall handrail at the right height, clearance and grip size.
- Anchor a newel post so it resists the code's loads.
- Lay out balusters on stairs and landings that pass the sphere tests.
- Check a finished railing against the rules before the inspector does.
Handrail or Guard
| Part | Its job |
|---|---|
| Handrail | Something to grip while you climb or descend |
| Guard | A barrier that keeps people from falling off an open side |
| Newel post | The large post at the bottom, top or turn that anchors rails and guards |
| Balusters | The vertical pieces between the guard rail and the treads or floor, also called spindles |
On the open side of a stair, one assembly often does both jobs: its top rail is the handrail, and its balusters make it a guard.
The Rules in the Model Code
Handrails (2021 IRC R311.7.8)
| Rule | Requirement |
|---|---|
| Where | At least one side of each flight with four or more risers |
| Height | 34 to 38 inches, measured straight up from the sloped line along the tread nosings |
| Wall clearance | At least 1-1/2 inches between the rail and the wall |
| Projection | No more than 4-1/2 inches into the stair on either side |
| Continuity | Full length of the flight, from above the top riser to above the lowest riser |
| Ends | Returned to the wall, or ending in a newel post or safety terminal |
| Strength | Built to resist a 200-pound load applied at any point along the top, in any direction |
The rail may be interrupted by a newel post at a landing, at a turn with winders, or over the lowest tread. A volute, turnout or starting easing, which are the curled or turned fittings at the bottom of a rail, may end over the lowest tread.
Grip Size
A handrail must be one a hand can wrap around.
| Type | Shape | Size |
|---|---|---|
| Type I, round | Circular | 1-1/4 to 2 inches across |
| Type I, other shapes | Not circular | Perimeter 4 to 6-1/4 inches, no more than 2-1/4 inches across |
| Type II | Larger profiles | Perimeter over 6-1/4 inches, with a finger recess on both sides |
A flat 2x4 or 2x6 is not a handrail. A 2x4 is 1-1/2 by 3-1/2 inches, a perimeter of 10 inches, and it has no finger recess, so it fits neither type.
Guards (2021 IRC R312)
| Rule | Requirement |
|---|---|
| Where | Open sides of floors, stairs, landings and ramps more than 30 inches above the floor or grade below, at any point within 36 inches of the edge |
| Height at floors and landings | At least 36 inches |
| Height on the open side of a stair | At least 34 inches, measured from the line along the tread nosings |
| Openings, general | A 4-inch sphere must not pass through |
| Openings on the open side of a stair | A 4-3/8-inch sphere must not pass through |
| Triangle at riser, tread and bottom rail | A 6-inch sphere must not pass through |
| Strength | 200 pounds at the top. Balusters and other infill resist 50 pounds over 1 square foot |
Where the guard's top rail also serves as the handrail, it must be 34 to 38 inches high and meet the grip rules too.
Wall Handrails
- Find or add backing. Every bracket must go into a stud or solid blocking. If the walls are open, add 2x blocking between studs along the rail line before the drywall goes up. If they are closed, find each stud and plan the brackets on them.
- Find the nosing line. Lay a straight board on the stair so it touches the front edge, the nosing, of every tread. That slope is the nosing line.
- Mark the rail height. At the top nosing and the bottom nosing, measure straight up from the nosing line to your chosen height, often 36 inches to leave room either way. Snap a chalk line between the marks. That is the top of the rail.
- Set the brackets. Hold a bracket with a short piece of rail on it, and find how far below the top of the rail the bracket's screw holes land. Mark every bracket location on the studs at that offset below the chalk line.
- Fasten the brackets with the screws the bracket maker supplies, into the studs or blocking. Space them as the maker says.
- Cut and set the rail. The rail runs at least from a point above the top riser to a point above the bottom riser. Fasten it to the brackets.
- Return the ends. Cut short return pieces with miters so each end turns back to the wall, or end the rail in a post. An open end can catch a sleeve or a bag strap.
- Check the height, the 1-1/2-inch wall clearance and the grip.
Newel Posts
The newel is where railings fail. A post that is screwed only to the subfloor or the edge of a stair skirt can feel fine on day one and work loose within a year, because every push on the rail levers the post.
- Fasten the post to framing, never to finish materials alone. Common methods bolt the post through a rim joist, a stringer or blocking, or use a newel fastening kit made for the purpose.
- Add blocking in the floor framing at the post when you can. The 2024 IRC added details for blocking floor framing under guard posts at floor edges. Your plans, the railing maker, or an engineer give the detail for your job.
- Set the post plumb in both directions, and check it again after fastening.
- Push hard on the top of the post in every direction. If it moves, it is not done.
Warning: A railing is a life-safety part of the house. If the framing under a newel post is rotted, cut or missing, stop and report it. Do not hide it under a new post.
Post-to-Post Rails
In a post-to-post system, the rail runs between newels and is fastened into their sides. In an over-the-post system, the rail runs continuously over the tops of the posts with curved fittings, which is a more specialized job.
- Find the rake angle. Set a bevel gauge to the angle between the nosing line and a plumb line.
- Mark the rail height on each newel, measured straight up from the nosing line.
- Cut the rail at the rake angle at both ends. Cut it long, test, and sneak up on the fit.
- Fasten the rail to the posts with rail bolts, which are double-threaded bolts tightened with a nut through an access hole under the rail, or with the screws and plugs the system uses.
- Check the height at several points along the rail.
Laying Out Balusters
Balusters must be close enough that a sphere will not pass between them. Work out the spacing on paper before you drill a single hole.
Worked Example: A Landing Guard
A landing has 72 inches clear between two newels. The balusters are 1-1/4 inches square. You want gaps under 4 inches, so you aim for about 3-3/4 inches or less to leave room for wood movement and small errors.
- Each baluster plus one gap takes about 1-1/4 + 3-3/4 = 5 inches. There is always one more gap than there are balusters.
- Try 14 balusters: 14 x 1-1/4 = 17-1/2 inches of wood. That leaves 72 - 17-1/2 = 54-1/2 inches for 15 gaps.
- Each gap: 54-1/2 / 15 = about 3.63 inches, a little over 3-5/8. That passes the 4-inch test.
- Center to center: 1-1/4 + 3.63 = about 4-7/8 inches. The first baluster's center is 3.63 + 5/8 = about 4-1/4 inches from the first newel.
Worked Example: On the Stair
The open side of a stair uses the 4-3/8-inch sphere, and the gap between vertical balusters is measured straight across, level. Treads have a 10-inch run.
- Two 1-1/4-inch balusters per tread. Centers are 5 inches apart, so each gap is 5 - 1-1/4 = 3-3/4 inches. That passes.
- Two 1/2-inch iron balusters per tread. Each gap is 5 - 1/2 = 4-1/2 inches. That fails 4-3/8.
- Three 1/2-inch iron balusters per tread. Centers are 3-1/3 inches apart, so each gap is about 2-13/16 inches. That passes.
Also check the triangle below the bottom rail on an open stair, between the riser, the tread and the rail. A 6-inch sphere must not pass through it.
Installing Balusters
- Mark the centers on the treads and the underside of the rail, using a story stick so every tread is the same.
- Hold a level on each mark to transfer it plumb from the tread up to the rail.
- Measure each baluster in place. On a stair, each one is a different length.
- Cut the tops at the rake angle where they meet the rail.
- Fasten them the way the system calls for:
- Wood balusters with round pins are glued into holes drilled in the treads and rail.
- Square-top wood balusters are glued and pinned into a shoe or fillet strip on the underside of the rail.
- Iron balusters sit in holes in the treads and rail, set with epoxy, with a small cover shoe at each end.
- Plumb each baluster before the glue or epoxy sets.
Final Check
| Check | Pass |
|---|---|
| Handrail height from the nosing line | 34 to 38 inches everywhere |
| Guard height at the landing | 36 inches or more |
| Wall clearance | 1-1/2 inches or more |
| Grip | Fits Type I or Type II |
| Sphere test between balusters | 4 inches at landings, 4-3/8 on the stair |
| Triangle at the bottom rail | 6-inch sphere does not pass |
| Newel push test | No movement |
| Ends | Returned, or ending in a post |
Common Mistakes
| Mistake | What it costs |
|---|---|
| Measuring rail height from the back of the tread | A rail too low at the nosings |
| A 2x4 used as the handrail | A failed inspection and a rail nobody can grip |
| Newel screwed only to the subfloor | A post that loosens within months |
| Two thin iron balusters on a 10-inch tread | A 4-1/2-inch gap that fails |
| Brackets in drywall alone | A rail that pulls off when someone falls on it |
| Open handrail ends | Snagged sleeves and bags |
Check Your Understanding
1. The steps down to a sunken family room have three risers, and a basement stair has five. Which needs a handrail under the model code?
The basement stair, with five risers. The code requires a handrail on flights with four or more risers. Check the local edition.
2. A customer wants to use a 2x6 laid flat as the handrail. What do you say?
It is not graspable. Its perimeter is far over 6-1/4 inches and it has no finger recess. Use a profiled handrail that meets Type I or Type II.
3. A loft guard runs 96 inches between newels, with 1-1/2-inch square balusters. You try 19 balusters. What is the gap, and does it pass?
19 x 1-1/2 = 28-1/2 inches of wood, leaving 67-1/2 inches for 20 gaps. Each gap is about 3-3/8 inches, which passes the 4-inch test.
4. You push on a new newel post at the bottom of a stair and it moves. What do you do?
Do not install the rail on it. Find out how it is fastened, and anchor it to framing or blocking with bolts or a newel kit until it does not move.
5. Where do you measure handrail height from?
Straight up from the nosing line, the slope that touches the front edge of every tread.
Key Takeaways
- The adopted code edition and local amendments win. The 2021 IRC uses R311.7.8 and R312, and the 2024 IRC moved them to R320 and R321.
- Handrails are 34 to 38 inches above the nosing line, 1-1/2 inches from the wall, graspable and continuous.
- Guards start at more than 30 inches of drop, stand at least 36 inches at landings and 34 on stairs.
- Balusters pass a 4-inch sphere at landings and 4-3/8 on stairs. Work the spacing out on paper.
- Anchor newels to framing so they survive a 200-pound push.