So, the incline of the stair railing is the same as the incline of the stairs.

Building codes vary between private residential and commercial properties and different localities.

Generally, a railing may not be required on one or two steps in residences.

illustration of stair railing codes for homes

Illustration: © The Spruce, 2018

Commercial properties may have stricter rules due to accessibility standards.

All of these rules apply to interior and exterior steps.

Use a plumb line or a vertical laser level.

stair railing in a home

The Spruce / Sophia Reay

Measuring at different places will be inaccurate, resulting in a code violation.

This horizontal distance is measured from the wall to the outermost edge of the stair railing.

Space is further limited if there is another railing on the opposite side.

Both sides must conform to this code requirement.

Using code-compliant handrail brackets guarantees the perfect distance from the wall.

Provide the hand with a clear, continuous pathway along the entire length of the railing.

The distance between the stair railings is measured horizontally between the sides closest to each other.

Measure this distance horizontally from the wall to the side of the handrail closest to the wall.

Three or more steps constitute a staircase, according to many handrail codes.

As a staircase, a handrail would be required.

A 2x4 piece of wood may be used as a guardrail but may need to be sanded and modified.

A handrail must be graspable.

Section 1014 / Handrails.

International Building Code

Section 1011 / Stairways.

International Building Code

Heights of Handrail and Stair Rail Systems.

Occupational Safety and Health Administration.