The short answer
Both numbers appear in building codes, but they apply to different things. For a home, the International Residential Code (IRC) sets a stair handrail at 34 to 38 inches and a guard at a minimum of 36 inches. The 42-inch figure is generally the guard height for commercial buildings under the International Building Code (IBC). So for a home’s stair handrail, the range is 34 to 38 inches, and 36 inches falls inside that range. A home guard is at least 36 inches.
Handrail height
Under the IRC, the top of a stair handrail sits between 34 and 38 inches above the sloped line that runs through the front edges, or nosings, of the treads. Measure vertically from that sloped line, not from the level floor at the top of the stairs. Because 36 inches falls in the middle of the handrail range, it often comes up when people talk about rail heights.
Guard height
A guard is a barrier along an open side where the walking surface is more than 30 inches above the ground or floor below. Under the IRC, a guard must be at least 36 inches tall. Guard height is measured vertically from the walking surface. On a stair, measure from a line that connects the front edges of the treads.
Under the IBC, guards in commercial buildings are generally at least 42 inches tall. The guard openings follow the same idea as in homes: a 4-inch sphere should not be able to pass through.
Why 36 and 42 get mixed up
Two things make the numbers easy to confuse:
- 36 inches is the residential guard minimum, and it also sits inside the residential handrail range.
- 42 inches is the common commercial guard height. People often see it in commercial plans and then carry it over to a home project.
Can one rail do both jobs?
Some designs use one top rail for both purposes. If you plan that, the rail has to meet the requirements for each use, including handrail height and grip, and guard height and opening limits. Check with your building department before you rely on a single rail to do both jobs.
Checking your local code
- Ask which code edition and local amendments apply to your project.
- Confirm whether the stairs are treated as residential or commercial, since that changes the numbers.
- Ask about guard heights on the deck, porch or landing at the top of the steps. Those may need a guard even if the steps do not.
Many people also ask do you need a railing on both sides of exterior stairs when they plan a set of steps. That answer depends on the same local rules, so the building department is the best source for your project.