Building code
Residential Stair Code (IRC 2024): Every Dimension Explained
Most stair rules fit on an index card, but each number exists for a reason, usually because people kept falling on stairs that broke it. This guide walks through the residential stair requirements in the International Residential Code (IRC), which most US states and cities adopt with local changes. In the 2024 edition the stairway rules are in section R318.7; in 2021 and earlier they were R311.7.
Always check which edition your jurisdiction has adopted and whether it has local amendments. Your building department has the final word.
Riser height: 7 3/4 inches maximum
A riser is the vertical height of one step, measured from the top of one tread to the top of the next. The IRC caps it at 7 3/4 inches (197 mm). Taller risers make a stair steep and tiring, and they're harder to see when you're coming down.
There's no minimum riser in the IRC for most stairs, but anything below about 4 inches is a trip hazard because it's hard to notice. Commercial stairs under the IBC must be between 4 and 7 inches.
Tread depth: 10 inches minimum
Tread depth is measured horizontally from the front edge (nosing) of one tread to the nosing of the next. The minimum is 10 inches (254 mm). Your foot needs room to land fully on the step, especially on the way down.
The 3/8-inch uniformity rule
This is the rule that catches out the most stairs. Within one flight:
- the tallest and shortest riser may differ by no more than 3/8 inch, and
- the deepest and shallowest tread may differ by no more than 3/8 inch.
Your brain sets your stride after the first couple of steps. A step that's even half an inch different from the rest is where people stumble. The usual culprits are the bottom and top steps, thrown off by flooring that was added later or tread thickness that wasn't allowed for in the stringer. Our new flooring riser checker shows exactly what new treads or flooring do to each step.
Nosing
Where treads are less than 11 inches deep, each tread needs a nosing of 3/4 to 1 1/4 inches that projects past the riser below. The nosing gives your heel extra room on the way down. The leading edge must have a radius of no more than 9/16 inch or a bevel of no more than 1/2 inch, so it doesn't feel like a ramp under your foot.
Open risers (stairs with no riser boards) are allowed, but the opening must not let a 4-inch sphere pass through where the stair is more than 30 inches above the floor below. That's to stop small children slipping through.
Width: 36 inches clear
Stairs must be at least 36 inches wide measured clear above the handrail height. Below the handrail, the handrail itself may project up to 4 1/2 inches into that width on each side, so the clear space at the treads is at least 31 1/2 inches with one handrail and 27 inches with two.
In practice, 36 inches feels tight for moving furniture. If you have the space, 42 to 48 inches is far more comfortable.
Headroom: 6 feet 8 inches
There must be at least 6 feet 8 inches (80 inches) of headroom, measured straight up from the sloped line that touches the front of every tread to the lowest thing above it: the floor edge, a beam, a duct or a light. Spiral stairs need 6 feet 6 inches.
One small allowance: where the tread nosings pass under the side edge of a floor opening, that edge may project up to 4 3/4 inches into the headroom. Headroom is the rule most likely to force a bigger stairwell opening, so it's worth checking early with the stair headroom calculator. We cover fixes in our stair headroom guide.
Handrails
- Required on at least one side of any flight with four or more risers.
- Height: 34 to 38 inches above the nosing line.
- Continuous for the full length of the flight, from above the top riser to above the bottom riser.
- Grip size: a round rail must be 1 1/4 to 2 inches in diameter. Other shapes have their own perimeter limits.
- Clearance: at least 1 1/2 inches between the rail and the wall.
- Ends must return to the wall or end at a newel post, so sleeves and bag straps can't catch.
Guards
Guards are the barriers on open sides, separate from the handrail you hold.
- Required where the floor or stair is more than 30 inches above the floor or ground below.
- 36 inches high on landings and floors; 34 inches measured from the nosing line on the open side of a stair.
- Openings must not pass a 4-inch sphere. On the open side of a stair, a 4 3/8-inch sphere is allowed, and the triangle formed by the tread, riser and bottom rail may pass up to a 6-inch sphere.
The baluster spacing calculator lays out balusters so every gap passes, and our baluster spacing and railing height guide goes deeper.
Landings
- A landing is required at the top and bottom of every stair.
- It must be at least as wide as the stair and at least 36 inches deep in the direction of travel.
- A single flight may rise no more than 151 inches (12 feet 7 inches) before a landing.
Winders and spirals
Winder treads (the tapered steps in a turn) must be at least 10 inches deep at the walkline, measured 12 inches from the narrow side, and at least 6 inches deep at their narrowest point. Spiral stairs have their own set of rules: 26 inches of clear width, risers up to 9 1/2 inches, treads at least 6 3/4 inches deep at the walkline, and 6 feet 6 inches of headroom.
Lighting
Interior stairs need a light that lights the treads and landings. Where a stair has six or more risers, the light must be switchable from both the top and the bottom.
Quick reference
| Item | IRC 2024 requirement |
|---|---|
| Maximum riser | 7 3/4" |
| Minimum tread | 10" |
| Variation in a flight | 3/8" max |
| Nosing (treads under 11") | 3/4" to 1 1/4" |
| Minimum width | 36" clear above handrail |
| Headroom | 6' 8" (spiral 6' 6") |
| Handrail height | 34" to 38", 4+ risers |
| Guard height | 36" (34" on stair side) |
| Guard openings | 4" sphere (4 3/8" on stairs) |
| Landing depth | 36" min, as wide as the stair |
| Max rise per flight | 151" |
Every calculator on this site checks these limits as you type. If your stair is already built, enter its measurements in the stair code compliance checker for a pass/fail report on each rule. Planning a new one? Start with the stair calculator.
Common questions
What is the code for stair risers and treads?
Under the 2024 IRC, risers can be at most 7 3/4 inches and treads must be at least 10 inches deep. Within a flight, the tallest and shortest riser, and the deepest and shallowest tread, may not differ by more than 3/8 inch.
How wide do stairs have to be by code?
At least 36 inches of clear width above the handrail height. Handrails may project up to 4 1/2 inches into that width on each side.
When does a stair need a handrail?
A handrail is required on at least one side of any stair with four or more risers, mounted 34 to 38 inches above the line of the tread nosings.
Calculators for this job
- Stair code compliance checkerMeasure the stair you have, enter the numbers, and see which rules it meets, for inspections, buying a house or a renovation.
- Stair calculatorEnter your floor-to-floor height to get the number of steps, riser height, tread depth, total run and stringer length, checked against the building code as you type.
- Baluster spacing calculatorHow many balusters fit between two posts, the even gap that keeps a 4" ball out, and a mark for every one.