Residential Stair Code: Risers, Treads, Rails
By Builtee · November 17, 2026 · 6 min read

The short version first. Under the International Residential Code (IRC), the model code most US towns build their residential rules on, a standard stair needs:
| Item | The number |
|---|---|
| Riser height | 7 3/4 in. max |
| Tread depth | 10 in. min, nosing to nosing |
| Variation in a flight | 3/8 in. max between the biggest and smallest riser (same for treads) |
| Nosing | 3/4 in. to 1 1/4 in., not needed when treads are 11 in. or deeper |
| Width | 36 in. min, handrails may project up to 4 1/2 in. into it |
| Headroom | 6 ft 8 in. min |
| Handrail | 4 or more risers, 34 to 38 in. high |
| Guard | where the drop is more than 30 in., 36 in. min |
These numbers come from the 2018 and 2021 editions of the IRC, and they didn't change between them. Your town or state may run an older edition, a newer one, or its own amendments, so check with your building department before you cut stringers. The rest of this page answers the questions that come up on site.

What's the maximum riser height?
7 3/4 inches, from one tread surface straight up to the next.
The minimum tread depth is 10 inches, measured horizontally from the edge of one nosing to the edge of the next. When you lay out, divide the total rise by 7 3/4. If it isn't a whole number, round the number of risers up, never down, then divide again. That's your real riser height.
How much can one step differ from the others?
3/8 inch. The tallest riser in a flight can't be more than 3/8 inch taller than the shortest one, and the deepest tread can't be more than 3/8 inch deeper than the shallowest.
The first and last risers are the ones to watch, because that's where the finished floors meet the stair. Things that throw them off:
- Finish flooring at the top or bottom that wasn't in your math. Add hardwood at the bottom and that first riser gets shorter.
- A concrete slab that isn't where the plan says it is.
- Treads of different thickness on the same flight.
So measure finished surface to finished surface, and cut the stringer for the floors that'll be there at the end, not the subfloor you're standing on.
Do I need a nosing?
Yes, unless the treads are 11 inches deep or more. When it's required, the nosing has to stick out 3/4 inch to 1 1/4 inches past the riser below, and it has to be the same on every step within 3/8 inch.
How wide does a stair have to be?
36 inches clear, at minimum. A handrail can stick into that width by up to 4 1/2 inches on each side, so you don't lose the width you need to the rail.
How much headroom does a stair need?
6 feet 8 inches, measured straight up from the sloped line along the tread nosings to the lowest thing overhead (a beam, a soffit, a duct). Watch for it on basement stairs that run under a dropped beam, and check it before the ductwork goes in.
When is a handrail required?
On any flight with 4 or more risers, on at least one side. The rules for it:
- Height: 34 to 38 inches, measured straight up from the line connecting the tread nosings.
- Grip: a round rail is 1 1/4 to 2 inches across. Other shapes have their own size limits, so check the rail you're buying.
- Continuous: it runs the full length of the flight.
- Ends: they return to the wall or end at a newel post.
When do I need a guard, and how tall?
Where the open side of a floor, landing or stair is more than 30 inches above the floor or grade below. The guard is at least 36 inches tall.

The openings in it matter as much as the height:
- A 4-inch ball can't pass through anywhere in the guard.
- On the open side of a stair, the triangle formed by the riser, the tread and the bottom rail can't pass a 6-inch ball.
- Along the sides of the stair treads, the limit is 4 3/8 inches.
If a client wants wider baluster spacing, this is the rule you show them.
Are open risers allowed?
Yes, as long as the gap between treads won't let a 4-inch ball through. If your open risers are too tall, a riser strip or a bar in each opening fixes it.
What about landings?
Put a landing at the top and the bottom of each stairway. A landing is at least as wide as the stair it serves, and at least 36 inches deep in the direction you walk.
What are the rules for winders?
A winder tread has to be at least 10 inches deep at the walkline, which sits 12 inches in from the narrow side, and never less than 6 inches deep at any point.
And spiral stairs?
They have their own, looser set of numbers: at least 26 inches of clear width, treads at least 7 1/2 inches deep measured 12 inches from the narrow end, and 6 feet 6 inches of headroom. If you're buying a kit, make sure its paperwork says which code it meets.
A tape-measure check before the inspector comes

- Measure every riser and every tread, from finished surface to finished surface. Write down the biggest and the smallest.
- Check the difference is 3/8 inch or less.
- Run a straightedge along the nosings and measure headroom at the lowest point overhead.
- Measure the handrail height at the top, the middle and the bottom of the flight.
- Push a 4-inch block through the balusters, and a 6-inch block at the stair triangle.
- Check the rail returns or ends on a newel.
Fix a bad riser before drywall and finish treads go on, while it's still cheap. Our rough framing inspection checklist covers the rest of what gets looked at during framing.
If stair corrections keep slipping through the cracks between your framer, your stair builder and the finish crew, putting the stair check on the job schedule helps. You can build one in Builtee with a free schedule and share it with your client and subs.
Sources
- ViewRail, Stair Tread Depth and Riser Height (IRC 2021 R311.7.5): https://resources.viewrail.com/code-compliance/stair-code/tread-depth-and-risers
- ViewRail, When Is a Handrail Required?: https://resources.viewrail.com/code-compliance/getting-started/when-is-handrail-required
- Jaspector, IRC 2018 stairway tread, riser and handrail details (R311.7): https://www.jaspector.com/codes/irc-2018/ch03-building-planning/stairway-tread-riser-handrail-details-irc-2018/
- JLC Field Guide: Stairs: https://www.jlconline.com/how-to/interiors/stairs/stairs-field-guide/
- Fine Homebuilding, Guardrails vs. Handrails: Where Do You Need Them? (Glenn Mathewson): https://www.finehomebuilding.com/?p=414546
- Projul, Construction Staircase Building Code Guide: https://projul.com/blog/construction-staircase-building-code-guide/

