How to Install Hand Railing on a Wall In 9 Simple Steps

Get a grip on handrail installation techniques

Children running up a wooden staircase.
Photo: MoMo Productions / DigitlaVision / Getty Images
Children running up a wooden staircase.
Photo: MoMo Productions / DigitlaVision / Getty Images
SKILL LEVEL
Intermediate
COMPLETION TIME
4 hours
COST
$65–$250
Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon
What you'll need:
TOOLS
  • 4-foot level
  • Tape measure
  • Stud finder
  • Pencil
  • String
SUPPLIES
  • Handrail
  • Handrail brackets
  • Screws
  • Painter's tape
  • Wood glue

Learning how to install a hand railing on a wall can boost your DIY skillset and save you money. More importantly, it adds necessary safety requirements for your staircase. Installation requires precise measuring and patience, and having a helper will go a long way toward simplifying the task.

  1. Measure and Mark the Wall

    Man is marking out points on a wall ready for his next project
    Photo: MartinPrescott / E+ / Getty Images

    Unlike replacing a staircase railing spindle or working with exposed porch railings, where you can see the components you're working with and make absolute measurements, when installing a wall handrail, you'll need to start with measurements that may or may not line up with solid material behind the wall. 

    Choose your handrail height between 34 and 38 inches, which is necessary by code. Start by marking the height of the handrail at the upper and lowermost ends of the staircase. Use a 4-foot level, painter's tape to protect the wall finish, and a pencil to make marks at your desired height precisely plumb to the nose of the top and bottom stair treads.

  2. Locate the Wall Studs

    Between your pair of railing height marks, use a stud finder to locate and mark each stud. Use painter's tape to protect the wall and a pencil to make marks. This is a rough measurement you'll use later. 

  3. Rough-Cut the Railing

    Measure the overall length of the slanting portion of your handrail and cut the material to length, adding at least one foot to both ends to allow for adjustments later. Also, cut an additional length of at least 24 inches for the horizontal portion at the top of the stairs.

    If you wish to paint your handrail, now is a good time to apply a first coat or primer coat and allow it to dry before moving forward.

  4. Mark the Bracket Locations

    Woman leveling wall for a handrail
    Photo: Johner Images / Getty Images

    Using your initial height marks, get an assistant or two to stretch a length of string between the marks. Using painter's tape and a pencil, make marks above two or more stud locations that will indicate the top edge of the handrail.

    Now hold your rough-cut handrail material against the wall, lining up its top edge with the marks. Mark the bottom edge of the rail on the wall at your chosen stud locations. Set the rail aside for now. 

  5. Install the Brackets

    At the locations where your brackets will go, including the upper and lowermost ones, use your stud finder to precisely identify the center of the stud behind the wall covering. Use a bracket, with its top lined up with the lower edge handrail marks, to mark the mounting-hole locations for the hardware.

    Use a 1/8-inch drill bit to predrill the holes, feeling for the stud. If you don't find the stud behind all three holes, remark the holes using the bracket and make adjustments. Adding a slight angle to the bit can help make the task easier. Once identified, use the provided hardware screws to fasten each bracket to the wall.

  6. Fine-Tune the Railing Cuts

    Have your helper place the handrail onto the brackets. Use your level to create a plumb line mark one foot past the lowest stair nosing and another plumb mark at the nosing of the top stair.

    To fine-tune your handrail cuts, use your miter saw to make a 45-degree cut, facing the wall, at the lowest mark.

    At the top mark, make a cut, angled toward the floor, that equals half of the degree measurement of your staircase angle. This cut will be between 15 and 17 degrees. You can approximate and make small adjustments later if necessary. 

  7. Install the Railing

    Place the handrail back on the brackets and pre-drill each hole for the bracket installation hardware. Install the screws to fasten the handrail to the brackets. Leave them slightly loose for fine adjustments later. 

  8. Install the Railing Extension

    Most building codes require that your handrail must extend one foot past the lowest step at an angle and one foot past the nose of the top step in a horizontal direction. Use your level and bracket-installation knowledge to measure, mark, and install a handrail bracket to support the horizontal section. Cut the extension piece with a miter to match the downward angle of the slanted portion and a 45-degree cut that faces the wall on the other end.

    Secure the piece to the bracket and use wood glue to fasten the section to the slanting portion. Allow the glue to set for an hour or two before proceeding. 

  9. Install the Railing Return Ends

    Use your miter saw to cut the code-mandated return ends of the handrail by matching the 45-degree cut to the ends of the handrail. Use wood glue and painters' tape to temporarily secure them. When the glue cures, return to pre-drill a hole and use a hammer, nail set, and a finishing nail to make the connection permanent. Now, make the final placement adjustments to your handrail and finish tightening the railing to the brackets.  

Safety Warning

For safety reasons, a stair railing should be 34 to 38 inches above the stair tread nosing, and the baluster openings should be spaced less than 4 inches apart to prevent children from slipping through. Finally, make sure the handrails run the entire length of the stairs.

DIY vs. Hiring a Pro 

Installing a handrail on a wall as a DIY project is possible with some patience, and having an assistant will ease the process. The most essential part is taking the time to measure, mark, and cut accurately. Allow yourself some extra material for making minor corrections.

While the process is straightforward, it requires precision. Because of the stringent staircase code requirements, most homeowners choose to pay for the cost of railing installation and hire a local stair company to make sure the work is done safely and correctly. 

Frequently Asked Questions

Building codes include several requirements that deal with the height, extension, and placement of staircase handrails. If your staircase is wider than 44 inches, for instance, you must install handrails on each side. If narrower than that, choose the side option that provides the most secure support structure for the handrail. 

You have a little flexibility when installing a handrail against a wall. The minimum distance between the two must be at least 1.5 inches, and commercially available handrail bracket hardware accounts for that minimum. The maximum distance a handrail can be from a wall is 4.5 inches, provided it doesn't impede the walking area. 

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to woodworking services
From average costs to expert advice, get all the answers you need to get your job done.
Woman stacking firewood in autumn
Apr 16, 2025
Apr 16, 2025
Whether you need to heat your home for the winter or just enjoy lighting a fire now and then, it helps to know the price of a cord of wood in your area.
A treehouse with a staircase
Oct 8, 2024
Oct 8, 2024
When calculating the cost of building a treehouse, consider the size, types of materials, and design. This guide will help you figure out what to budget.
Bedroom with wainscoting installed on the walls
Jan 10, 2025
Jan 10, 2025
The cost to install wainscoting depends on labor, materials, and square footage. This guide will help you budget for your next project.
Siblings running upstairs at home
May 29, 2025
May 29, 2025
Replacing a stair railing is a surefire way to update your home’s look and improve safety. Learn how to replace a stair railing with this straightforward guide.
Dining room interior with crown molding and hardwood flooring
Oct 7, 2024
Oct 7, 2024
How do you cut crown molding inside corners? The answer requires practice with a coping saw and patience for detailed adjustments that create tight seams.
A home office with built-in cabinets and bookshelves
Oct 10, 2024
Oct 10, 2024
You have multiple options for creating DIY home office built-ins. Learn more about what it takes to make cabinets and bookshelves that look amazing.