First Home Fixes logo

Home / Walls and Paint

How to Install a Stair Handrail

4 min read · Updated 28 November 2026 ·

Part of: Floors, walls and doors

Product photo related to: How to Install a Stair Handrail
Difficulty
Moderate
Time
2 to 3 hours
Tools
tape measure, level, stud finder, drill, driver, miter saw, pencil, toggle bolts or blocking, handrail brackets, safety glasses, ladder
Call a pro if
The stair is open on one side and needs a newel post or balusters, or the wall has no framing to anchor into, since a handrail has to hold a person's full weight.
In this guide
  1. Check the code height
  2. Find the studs
  3. Plan the bracket positions
  4. Add blocking if needed
  5. Cut the rail to length
  6. Fit the brackets
  7. Set the rail in the brackets
  8. Add the returns
  9. Test the load
  10. Finish and check clearances
  11. Common mistakes
  12. FAQ
  13. When to call a pro
Safety. A handrail is a safety device, and a weak one is worse than none because people trust it. Anchor into studs or added blocking, never drywall anchors alone. Wear eye protection, use a stable ladder, and do not stand on the stairs above the work without support.

Knowing how to install a stair handrail is a job worth doing right. Stairs are where most falls happen at home, and a solid rail at the correct height makes a real difference for everyone, especially guests and older family members.

The work is straightforward: measure the height, mark the pitch, install blocking or find studs, set the brackets, and cut the rail. The parts that go wrong are the height and the anchoring.

1. Check the code height

Measure from the stair nosing, the front edge of each tread, vertically to the top of the rail. Most codes want 34 to 38 inches, measured consistently along the stair. Measure at a couple of steps and use the same number for all brackets.

2. Find the studs

Use a stud finder along the wall at handrail height. Mark each stud. If the studs do not line up with where the brackets need to go, plan to add blocking behind the drywall or use a mounting board that spans the studs.

3. Plan the bracket positions

Mark the rail height at the top and bottom of the run, then snap or draw a line between them. That line follows the stair pitch. Space the brackets evenly, usually no more than 4 feet apart, with one near each end.

4. Add blocking if needed

If the wall has no framing where you need it, cut the drywall and add a wood block between studs, then patch and paint. A mounting board screwed across the studs is a faster option and looks intentional if it is finished well.

5. Cut the rail to length

Measure along the pitch line and cut the rail so each end can return to the wall. A return is a short piece angled back to the wall, which closes the end so nothing catches on it. Cut the rail slightly long and trim to fit.

6. Fit the brackets

Most handrail brackets have a wall plate and a clamp or screw that holds the rail. Screw the plates into the studs or blocking, checking each with a level so the rail sits at a consistent height. Set the plates before hanging the rail.

7. Set the rail in the brackets

Press the rail into the brackets, check the height at both ends against your marks, and tighten the clamps. Check that the rail is at a constant distance from the nosing along the whole run. A rail that rises or falls relative to the stairs feels wrong.

8. Add the returns

Fit the return pieces at each end and fasten them to the wall with a flange or a bracket. The return should meet the wall cleanly, since a bare rail end is a catch point. Glue and screw the joint so it does not work loose.

9. Test the load

Grab the rail and pull down and outward with your weight at several points. It should not move, creak, or pull out. If it does, the anchors are not in framing, and that has to be fixed before anyone uses the stairs.

10. Finish and check clearances

Fill and finish the screw holes, and check that the rail is clear of the wall by about an inch and a half, enough to grip without scraping knuckles. Check that nothing else on the stair, like a light switch, is now blocked.

Common mistakes

FAQ

What height should a stair handrail be?

Usually 34 to 38 inches, measured vertically from the stair nosing to the top of the rail.

Do I need blocking to install a handrail?

If the brackets do not line up with studs, yes. A handrail must be anchored into framing.

How far apart should handrail brackets be?

No more than about 4 feet, with one near each end so the rail does not flex.

Can I install a handrail on a wall with no studs?

Not safely. Add blocking or a mounting board that spans the framing.

Do handrails need returns?

Yes, on most stairs. A return closes the end of the rail so clothing and bags cannot catch on it.

how to install a stair handrailstair handrailstair safetyhandrail heightstairs

Related guides

Product photo related to: How to Install a Stair RunnerFloorsHow to Install a Stair RunnerHow to install a stair runner: measure the stairs, cut and bind the carpet, set the padding, and fasten each step so the runner stays put underfoot.Simple diagram for the guide: How to Put Non Slip Strips on StairsHome SafetyHow to Put Non Slip Strips on StairsLearn how to put non slip strips on stairs so each tread grips, with the cleaning, spacing and placement that keep them from peeling up.Simple diagram for the guide: How to Enclose an Open Staircase With a Half WallWalls and PaintHow to Enclose an Open Staircase With a Half WallHow to enclose an open staircase with a half wall: plan the height, frame it square to the stairs, cap it clean, and keep the guard rail up to code.Simple illustration for the guide How to Install a Ceiling Access PanelWalls and PaintHow to Install a Ceiling Access PanelHow to install a ceiling access panel: choose the size, cut the opening between joists, frame it square, and fit a panel that seals and opens easily.Simple illustration for the guide How to Install a Dust Barrier During a RenovationWalls and PaintHow to Install a Dust Barrier During a RenovationHow to install a dust barrier during a renovation: seal the doorway, tape the edges, set a zipper door, and keep dust out of the rest of the house.