All articles

Residential Stair Code: Risers, Treads, Rails

By Builtee · November 17, 2026 · 6 min read

Residential stair code, rise, run, rails and headroom, the IRC numbers from the 2018 and 2021 editions: 7 3/4 inch max riser, 10 inch min tread, 6 foot 8 inch min headroom, 34 to 38 inch handrail height.

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:

ItemThe number
Riser height7 3/4 in. max
Tread depth10 in. min, nosing to nosing
Variation in a flight3/8 in. max between the biggest and smallest riser (same for treads)
Nosing3/4 in. to 1 1/4 in., not needed when treads are 11 in. or deeper
Width36 in. min, handrails may project up to 4 1/2 in. into it
Headroom6 ft 8 in. min
Handrail4 or more risers, 34 to 38 in. high
Guardwhere 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.

A stair in profile with the IRC numbers: riser 7 3/4 inches max, tread 10 inches min nosing to nosing, nosing 3/4 to 1 1/4 inches (not needed if treads are 11 inches or deeper), handrail 34 to 38 inches above the nosing line, headroom 6 feet 8 inches min from the nosing line, every riser and tread within 3/8 inch, width 36 inches min, handrail on 4 or more risers.
A stair in profile with the IRC numbers: riser 7 3/4 inches max, tread 10 inches min nosing to nosing, nosing 3/4 to 1 1/4 inches (not needed if treads are 11 inches or deeper), handrail 34 to 38 inches above the nosing line, headroom 6 feet 8 inches min from the nosing line, every riser and tread within 3/8 inch, width 36 inches min, handrail on 4 or more risers.

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.

Guards: required where the drop is more than 30 inches, at least 36 inches tall; no opening passes a 4 inch ball; the stair triangle of riser, tread and bottom rail can't pass a 6 inch ball; sides of stair treads can't pass a 4 3/8 inch ball.
Guards: required where the drop is more than 30 inches, at least 36 inches tall; no opening passes a 4 inch ball; the stair triangle of riser, tread and bottom rail can't pass a 6 inch ball; sides of stair treads can't pass a 4 3/8 inch ball.

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

Tape-measure check before the inspector: measure every riser and tread finished surface to finished surface; biggest minus smallest 3/8 inch or less; headroom 6 feet 8 inches from the nosing line; handrail 34 to 38 inches at top, middle and bottom; 4 inch block through balusters and 6 inch block at the stair triangle; rail returns to the wall or ends on a newel.
Tape-measure check before the inspector: measure every riser and tread finished surface to finished surface; biggest minus smallest 3/8 inch or less; headroom 6 feet 8 inches from the nosing line; handrail 34 to 38 inches at top, middle and bottom; 4 inch block through balusters and 6 inch block at the stair triangle; rail returns to the wall or ends on a newel.
  1. Measure every riser and every tread, from finished surface to finished surface. Write down the biggest and the smallest.
  2. Check the difference is 3/8 inch or less.
  3. Run a straightedge along the nosings and measure headroom at the lowest point overhead.
  4. Measure the handrail height at the top, the middle and the bottom of the flight.
  5. Push a 4-inch block through the balusters, and a 6-inch block at the stair triangle.
  6. 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

  1. ViewRail, Stair Tread Depth and Riser Height (IRC 2021 R311.7.5): https://resources.viewrail.com/code-compliance/stair-code/tread-depth-and-risers
  2. ViewRail, When Is a Handrail Required?: https://resources.viewrail.com/code-compliance/getting-started/when-is-handrail-required
  3. 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/
  4. JLC Field Guide: Stairs: https://www.jlconline.com/how-to/interiors/stairs/stairs-field-guide/
  5. Fine Homebuilding, Guardrails vs. Handrails: Where Do You Need Them? (Glenn Mathewson): https://www.finehomebuilding.com/?p=414546
  6. Projul, Construction Staircase Building Code Guide: https://projul.com/blog/construction-staircase-building-code-guide/

More from the blog