IRC 2021 Β· Sections R311.7 & R311.8

Stair Code Requirements: Rise, Run, Headroom & Handrail Rules

The exact IRC numbers for every stair dimension β€” explained clearly for homeowners and contractors.

Diagram

A staircase that fails building code inspection is more than an inconvenience β€” it can halt a project, require expensive rework, and in the worst cases, create a genuine fall hazard. IRC 2021 Section R311.7 sets precise requirements for every stair dimension, and each requirement exists for a specific safety reason.

This guide covers every measurement you need to know, with the exact IRC numbers and an explanation of why each rule exists.

Check your stair dimensions now

Enter your riser height, tread depth, headroom, and handrail height for an instant code check.

Use the free stair calculator β†’

The complete IRC stair code requirements

MeasurementIRC 2021 limitCode section
Maximum riser height7ΒΎ" (197mm)R311.7.5.1
Minimum tread depth10" (254mm)R311.7.5.2
Riser uniformity (max variation)β…œ" between largest & smallestR311.7.5.1
Minimum headroom6'–8" (80" / 2032mm)R311.7.2
Minimum stair width36" clearR311.7.1
Handrail height range34"–38" above nosingR311.7.8
Handrail required when4 or more risersR311.7.8
Nosing projectionΒΎ"–1ΒΌ" (where nosing present)R311.7.5.3

Riser height: maximum 7ΒΎ inches

The riser is the vertical face of each step β€” the height you lift your foot when climbing. IRC caps this at 7ΒΎ inches. Taller risers force people to lift their legs higher with each step, increasing fatigue and fall risk, particularly when descending.

There is no minimum riser height in IRC (open risers are permitted in some cases), but all risers in a single flight must be within β…œ inch of each other. This uniformity rule is critical: the human body unconsciously adapts to the rhythm of a staircase after the first step. An unexpected change in riser height β€” even a half inch β€” is one of the most common causes of stair falls.

The uniformity rule trips up many DIY builds If your floor-to-floor height does not divide evenly into whole risers, you must adjust all risers equally. You cannot simply make the bottom or top riser taller to make up the difference β€” that creates the exact variation the code is designed to prevent. Use a stair calculator to find the riser height that divides evenly.

Tread depth: minimum 10 inches

The tread is the horizontal surface you step on. IRC requires a minimum depth of 10 inches, measured from nosing to nosing (the front edge of one tread to the front edge of the next). Shallower treads force you to step on the balls of your feet, destabilizing your balance β€” especially while descending.

The 10-inch minimum is an absolute floor. Many builders use 10Β½ to 11 inches for interior stairs, which feels more comfortable and reduces the stair angle. For exterior and deck stairs, 11 inches is common because people tend to descend more cautiously outdoors and expect a more gradual slope.

The 2R + T comfort formula

Beyond code compliance, a useful rule of thumb for stair comfort is the Blondel formula: 2 Γ— rise + run = 24–25 inches. A 7-inch riser with an 11-inch tread gives 2(7) + 11 = 25 β€” right in the sweet spot. This keeps the stair angle in the comfortable 30°–35Β° range.

Headroom: minimum 6 feet 8 inches

IRC R311.7.2 requires a minimum of 80 inches (6'–8") of headroom measured vertically from the stair nosing to the ceiling, soffit, or any obstruction above. This clearance must be maintained for the entire stair run β€” not just at the top or bottom.

Headroom failures are most common in:

  • Basement stair openings that are too short
  • Stairs passing under a landing or floor above
  • Attic stairs where the roof slope encroaches
  • Any renovation where a beam or duct is added near a staircase
Failing headroom cannot be fixed by adjusting rise and run. It requires either raising the ceiling/opening above the stairs or redesigning the stair run to avoid the obstruction. This is often expensive β€” always check headroom before framing a stair opening.

Stair width: minimum 36 inches

IRC R311.7.1 requires a minimum clear width of 36 inches, measured at or above the handrail height. Below the handrail, the clear width can be reduced by handrail projections up to 4Β½ inches per side (so a stair with handrails on both sides can be as narrow as 27 inches at the walking surface).

The 36-inch minimum is intended to allow two people to pass, or for furniture and emergency equipment to be carried up the stairs. Many builders use 42 inches for comfort in main stairways.

Handrail requirements

A handrail is required on at least one side of any stairway with 4 or more risers. The handrail must be:

  • Between 34 and 38 inches above the nosing of each tread
  • Continuous for the full length of the stair flight
  • Graspable β€” the handrail cross-section must allow a person to wrap their fingers around it
  • Returned or terminated at newel posts at each end (it cannot end in a sharp projection)
Graspable handrail: the detail most people miss IRC R311.7.8.3 specifies that handrails must be "graspable." A flat 2Γ—4 on edge does not meet this requirement. Handrails must have a circular cross-section between 1ΒΌ" and 2" in diameter, or a non-circular cross-section that provides an equivalent gripping surface. This matters during inspections.

Common stair code failures

Failure typeHow it happensFix
Riser height too tallFloor-to-floor height divided by too few risersAdd a riser, reduce each riser height
Non-uniform risersFinal riser adjusted to make total work outRecalculate all risers equally
Tread too shallowTrying to fit stairs in a short horizontal runExtend the stair run or reduce riser count
Insufficient headroomStair opening framed too smallEnlarge opening β€” structural work required
Handrail wrong heightInstalled at a comfortable-feeling height, not measuredReposition brackets to 34–38" above nosing
No handrail on 4+ riser stairDeck stairs, exterior steps β€” often overlookedInstall compliant handrail before inspection

Frequently asked questions

What is the maximum riser height for stairs?
IRC 2021 sets the maximum at 7ΒΎ inches (approximately 197mm). All risers in the same flight must be within β…œ inch of each other.
Can stairs be steeper than the IRC allows?
No β€” for residential stairs, you cannot exceed 7ΒΎ" risers or go below 10" treads under IRC. Some exceptions apply to spiral stairs and alternating tread devices, which have their own separate requirements under R311.7.10 and R311.7.11.
Do deck stairs need to meet the same code as interior stairs?
Yes. Exterior stairs, including deck stairs, are covered by IRC R311.7 and must meet the same rise, run, headroom, and handrail requirements as interior stairs.
Does the IRC apply to commercial buildings?
No. The IRC covers residential construction only. Commercial buildings are governed by the International Building Code (IBC), which has stricter stair requirements β€” including a maximum riser of 7 inches (not 7ΒΎ") and a minimum tread of 11 inches.
What is a nosing and does it affect tread depth?
A nosing is the protruding edge of a tread that overhangs the riser below. When a nosing is present, IRC allows the tread depth (measured at the nosing) to be as small as 10 inches, but the nosing itself must project between ΒΎ" and 1ΒΌ". Nosings are optional β€” open-riser stairs and flush treads do not require them.