Handrail: A graspable rail along a stair or ramp, mounted at a required height range, that gives a person something to hold while walking and helps prevent falls. It is separate from a guard, which stops falls off an open edge.
What a Handrail Is
A handrail is a continuous rail you can hold while climbing or descending stairs. It must be graspable, meaning your hand can wrap around it, and it must be mounted so your hand can slide along its length without hitting a post or bracket. A rail that is flat, too wide or interrupted by newel posts may not qualify.
It is different from a guardrail, which blocks falls from an open side. A stair can need both.
Wall-mounted rails need blocking behind the drywall so brackets can hold a load, which is easy to miss if the wall is closed before the inspection.
Common Model Code Rules
Under the International Residential Code, stairs with several risers generally need a handrail on at least one side. The rail's top is commonly set between 34 and 38 inches above the front edge of the treads, and it must be continuous along the run. The graspable size is limited, and the rail must return to the wall or end at a post so clothing does not catch.
These are common model code figures, and adoption varies by city. Check the version your permit office enforces.
Interior and exterior stairs may be treated differently, and some cities add rules for very wide stairs.
What Inspectors Look For
Inspectors measure rail height, check that the rail runs the full flight and is attached firmly to solid framing, and look for a clear space between the rail and the wall. Loose brackets and rails fastened only to drywall are common failures.
The inspector may also test strength by pulling or pushing on the rail. For exterior stairs, the handrail material must stand up to weather.
If the stair is open on a side, the inspector also checks that the guard on that side meets its own rule, since a handrail alone does not stop falls.
Where Handrails Come Up on This Site
Handrails come up on deck, porch and basement stair projects. The deck permit guide and deck permit thresholds research cover when a deck needs a permit and what a review checks. Remodels that replace a stair, such as a home addition, also show handrail details on plans.
Stair geometry is covered in stair rise and run.
The cities' own pages say what they require for stairs on a deck or porch. Because stair rules come from the adopted code, check that page before replacing a stair or rail.