Stairs are one of the few things in residential construction where small dimensional errors cause real injuries. Get the riser height wrong by half an inch on a 14-step run and people trip every single day, regardless of how careful they are. The minimum stair riser height per the International Residential Code is 4 inches, with a maximum of 7-3/4 inches and a maximum variation between any two risers in the same flight of 3/8 inch. Understanding why those numbers exist — and how they interact with tread depth — keeps your stairs safe, code-compliant, and comfortable to climb.
Part of our Stairs & Stair Flooring guide — explore the full guide →
- What the Code Actually Requires
- Why Variation Matters More Than the Absolute Number
- Calculating Your Stair Layout
- Tread Depth and the 25-Inch Rule
- Nosing Requirements
- Headroom Above the Stairs
- Handrail and Guardrail Requirements
- Common Code Violations on Existing Stairs
- Special Cases: Spiral and Alternating Tread
- Local Amendments to the IRC
What the Code Actually Requires
The 2021 International Residential Code (IRC) Section R311.7.5.1 sets riser height. The minimum is 4 inches, the maximum is 7-3/4 inches, and the maximum variation between any two risers within a flight is 3/8 inch. A flight is a continuous run of stairs without a landing.
The companion rule for tread depth (Section R311.7.5.2) requires a minimum 10-inch tread depth measured from nosing to nosing, with the same 3/8-inch maximum variation rule. Together, these dimensions create a stair geometry that humans climb naturally without catching toes or overstepping.
Why Variation Matters More Than the Absolute Number
Your brain memorizes the rhythm of a staircase after one or two trips. If 14 risers are all 7 inches and the 15th is 7-1/2 inches, the foot lifts 7 inches and the toe catches the front of the tread. That 1/2-inch difference doesn’t sound dangerous on paper, but it’s the most common cause of stair falls in residential construction.
The 3/8-inch variation rule exists because human gait can absorb small inconsistencies but not larger ones. Stair builders who get the math wrong on the first riser (the one against the floor) often end up with a different last riser at the top — that’s exactly the failure the code is designed to prevent.
Calculating Your Stair Layout
Start with the total rise — the vertical distance from the finished floor at the bottom to the finished floor at the top. For a typical 9-foot ceiling with 12-inch joist depth and finished floor materials, total rise often runs 109 to 114 inches.
Divide total rise by the target riser height (typically 7 inches for comfort) to find the number of risers. Round to the nearest whole number. Then divide total rise by that whole number to get the actual riser height. Example: 110 inches total rise divided by 7 = 15.7, round to 16 risers, 110 / 16 = 6.875 inches per riser. Result: 16 risers at 6-7/8 inches each, well within code.
Tread Depth and the 25-Inch Rule
Once you know the riser height, calculate tread depth using the historical rule of thumb: riser plus tread should equal 17 to 18 inches, or two risers plus one tread should equal 24 to 25 inches. With a 6-7/8-inch riser, the comfortable tread depth lands at 11 to 11-1/8 inches — comfortably above the 10-inch IRC minimum.
The 25-inch rule comes from study of average human stride length on stairs. Climbers naturally use less stride going up versus down, and the formula keeps both directions comfortable. Steeper stairs (taller risers, shorter treads) save floor space but feel cramped. Shallower stairs feel grand but eat up real estate.
Nosing Requirements
The IRC requires a nosing (the projection of the tread beyond the riser face) of 3/4 inch minimum to 1-1/4 inch maximum on stairs with treads less than 11 inches deep. Stairs with 11 inches or deeper treads can omit the nosing if desired.
Nosing matters because the foot perceives the front edge of the tread when descending, not the back. A solid nosing of 1 inch gives the descending foot a clear visual target and prevents the heel from missing the step. Round-edge nosing is easier to install with carpet but harder to perceive — squared nosing is safer for visibility.
Headroom Above the Stairs
Code requires 6 feet 8 inches of headroom measured from the nosing of any tread to any obstruction directly above (Section R311.7.2). Many older homes (pre-1980) violate this rule with low headroom under upper floor framing or sloped ceilings.
If you’re remodeling, measure headroom carefully before reusing an old stair location. Sometimes the only fix for inadequate headroom is to relocate the entire staircase or shorten the run by adding a landing — both expensive changes that affect the home’s layout.
Handrail and Guardrail Requirements
Handrails are required on at least one side of any flight with four or more risers (Section R311.7.8). The handrail height is 34 to 38 inches above the tread nosing. The grip dimension must be 1-1/4 to 2 inches in diameter for round handrails, with specific cross-section rules for non-round profiles.
Guards are required on any walking surface more than 30 inches above adjacent grade or floor below, with a minimum height of 36 inches. The 4-inch sphere rule applies to guards — no openings should allow a 4-inch sphere to pass through (with an exception for the triangular spaces between treads, where a 6-inch sphere is allowed).
Common Code Violations on Existing Stairs
The most frequent violation in older homes is excessive riser variation. The first riser is often shorter or taller than the rest because the builder didn’t account for finished floor thickness changes. Carpeted stairs that lose the carpet during a remodel often expose this hidden inconsistency.
The second common violation is inadequate handrail return — the handrail must return into the wall or terminate at a newel post, not end in space where clothing can catch. The third is missing handrail entirely on a stair with four or more risers, which is unsafe and a code failure that home inspectors flag during sale.
Special Cases: Spiral and Alternating Tread
Spiral stairs have separate rules (Section R311.7.10.1). Minimum tread depth at 12 inches from the narrow edge is 7-1/2 inches. Maximum riser height is 9-1/2 inches. They’re allowed only when the area served is less than 200 square feet — meaning you can’t make a spiral the only stair in a multi-story house unless the upper floor is small.
Alternating tread devices (sometimes called ship’s ladders) are allowed only for spaces under 200 square feet such as lofts. They’re not a substitute for normal stairs in a primary residence.
Local Amendments to the IRC
Many jurisdictions amend the IRC. Some West Coast cities adopt stricter rules requiring 7-inch maximum risers. New York and a few other states allow 8-inch risers for one-and-two-family dwellings. Always verify with your local building department before designing stairs.
If you’re working under California Residential Code, the maximum riser is 7-3/4 inch but the minimum tread is 10 inches with a 1-1/8-inch nosing — slightly different from the IRC. Check the version of code your jurisdiction enforces.
The minimum stair riser height in the IRC is 4 inches, but the practical design target is roughly 7 inches for residential comfort, with maximum variation between risers held under 3/8 inch. Calculate your layout from the total rise, verify all the code dimensions before cutting stringers, and pull a permit if any structural changes affect the stair location. Stairs are the riskiest place in a house and worth getting right.