Most residential stair failures at inspection come from the same handful of mistakes — risers off by an inch, treads too short, handrails too high. The International Residential Code (IRC) lays out specific dimensions for every part of a staircase, and getting them wrong means tearing out the work and rebuilding. IRC stair code in the most recent edition (2021) sets minimum and maximum dimensions for riser height, tread depth, headroom, handrail position, guardrail height, and landing size. Building inside those numbers is the difference between a passed inspection and an expensive rebuild.
Part of our Stairs & Stair Flooring guide — explore the full guide →
This is a working summary of what the code actually requires for residential stairs — single-family homes, duplexes, and townhomes. Commercial stairs follow IBC, which has tighter requirements. Always check your local jurisdiction for amendments; many states adopt the IRC with modifications that override the base code in specific sections.
Riser Height: 7.75 Inches Maximum
The IRC limits residential stair risers to a maximum of 7.75 inches measured from tread to tread. There’s no minimum riser height in the code, but practical stair design lands risers between 6.5 and 7.75 inches.
Critically, the variation between the tallest and shortest riser in a single stair run cannot exceed 3/8 inch. Most inspectors carry a tape and check this directly. A run where one riser is 7 inches and another is 7.5 inches will fail even though both individual measurements are within the maximum.
The fix when you’re tight on space: increase the total run length to add another step rather than stretching individual riser height. A 10-step stair with 7-inch risers covers the same vertical distance as a 9-step stair with 7.78-inch risers, but the 9-step version is non-compliant.
Tread Depth: 10 Inches Minimum
Tread depth must be at least 10 inches measured from the front edge of one tread to the front edge of the next. Like risers, the variation across a run can’t exceed 3/8 inch.
Tread depth excludes the nosing overhang. If your tread is 10 inches deep with a 1-inch nosing projecting over the riser below, you measure 10 inches from nosing to nosing — not from the back of one tread to the back of the next.
Nosings are required when the tread depth is less than 11 inches. The nosing must project between 3/4 and 1.25 inches and be radiused or beveled to avoid creating a sharp edge.
Headroom: 6 Feet 8 Inches Minimum
Minimum headroom above every part of a stair (including landings) is 6 feet 8 inches measured vertically from the nosing line to the lowest projection above. This includes ductwork, beams, soffits, and decorative trim.
The most common headroom violation in renovations is a ceiling beam or duct chase that drops below 80 inches above one or two steps near the top of the run. Once framing is in place, fixing this means either:
- Re-routing the obstruction (often the cheapest)
- Reconfiguring the stair landing position
- Lowering the stair run (only possible if there’s vertical room at the bottom)
Plan headroom carefully before framing begins. A 3D stair model from any free tool (SketchUp, Stair Designer Pro) catches this issue before lumber gets cut.
Handrails: Height, Grip, and Continuity
Stairs with four or more risers require at least one handrail. The handrail height is measured vertically from the nosing of the tread to the top of the rail and must be between 34 and 38 inches.
The graspable cross-section is regulated too:
- Type I — circular handrails with diameter between 1.25 and 2 inches
- Type II — non-circular handrails with perimeter between 4 and 6.25 inches and cross-sectional dimension up to 2.25 inches
A 2×4 nailed flat to the wall is not a code-compliant handrail — it’s too wide and not graspable. A piece of decorative trim molding stuck to the wall surface usually fails for the same reason. Buy a real handrail profile (1.5-inch round oak or pine, around $4-6 per linear foot) and the inspector won’t have a problem.
Handrails must be continuous for the full length of the stair (top step to bottom step) with no interruptions, except at landings where they can break briefly for a newel post or wall return.
Guardrails: When Required and How High
Any open side of a stair or landing more than 30 inches above the floor or grade below requires a guardrail. The minimum guardrail height is 34 inches measured from the nosing line on the stair and 36 inches on landings.
The 4-inch sphere rule applies to balusters and openings: no opening in the guardrail system can allow a 4-inch sphere to pass through. The triangular opening between the bottom of the bottom rail, the tread, and the riser has a slightly different limit — a 6-inch sphere cannot pass.
This is where modern cable-rail systems get tricky. Horizontal cables must be tensioned to under 4 inches of separation, which is tighter than many manufacturers ship by default. Verify deflection with a test sphere or a 4-inch board before final inspection.
Landings: Size and Placement
A landing is required at the top and bottom of every stair. Landings must be at least as wide as the stair and at least as long as the stair is wide, with a minimum of 36 inches in both directions for stairs serving most residential applications.
If a door swings open into a landing, the door cannot reduce the landing depth by more than 7 inches mid-swing. This rule catches builders who frame a landing exactly to minimum and then hang a door that violates clearance.
For long stair runs (over 12 feet of vertical rise), the code historically required intermediate landings. The 2021 IRC removed the strict requirement, but local jurisdictions may still mandate it. Check before designing a tall stair.
Width: 36 Inches Clear
Residential stair width is 36 inches minimum measured between finished walls (not between studs). Handrails project into that width by up to 4.5 inches per side, so a stair built exactly to 36 inches between walls and with a handrail on one side has only 31.5 inches of clear walking width — still legal but tight.
For comfort, aim for 40-42 inches between walls on stairs that get heavy daily use. The cost difference is minimal in new construction.
Pre-Inspection Checklist
Before calling for stair inspection, verify each of the following:
- All risers within 3/8 inch of each other and 7.75 inches or less
- All treads within 3/8 inch of each other and 10 inches or more
- Headroom of 80 inches over every step and landing
- Handrail at 34-38 inches, graspable, continuous
- Guardrails on any open side over 30 inches drop, balusters under 4 inches apart
- Landing 36×36 inches minimum at top and bottom
- Door swings checked against landing dimensions
- Lighting installed at top and bottom controlled by switches at both ends for stairs of 6+ risers
A stair built to these numbers passes inspection in nearly every jurisdiction in the country. Spend the extra hour double-checking before the inspector arrives — a failed stair inspection costs days, not hours, to address.