Lesson 2.5 · 2021 IRC and IBC · 30 min
Stairs, landings, handrails and guards
Lay out an IRC 2021 stair: riser count and height, tread run, width, headroom, landings, handrails, guards and baluster spacing (R311, R312).
After this lesson you can
- Lay out a straight IRC stair from a measured total rise: riser count, riser height and total run, checked against IRC 2021 Sections R311.7.3 and R311.7.5.
- Judge a built stair against the riser, tread, nosing and 3/8-inch uniformity limits of IRC 2021 Section R311.7.5.
- Check stair width, headroom, landings and the required egress door against IRC 2021 Sections R311.2, R311.3, R311.7.1, R311.7.2 and R311.7.6.
- Decide when a handrail is required and check its height, projection and clearance under IRC 2021 Section R311.7.8.
- Decide when a guard is required and set its height and opening sizes on decks and stairs under IRC 2021 Section R312.1.
Where the stair rules live
Stair questions are among the most frequent IRC items in our practice banks. Nearly all of them come from two sections in Chapter 3: R311 Means of Egress (doors, landings, stairways, ramps) and R312 Guards and Window Fall Protection. Neither section has a table, so every number sits in the section text.
Lookup path
Find riser and tread limits for a house stair
- IRC Chapter 3 Building Planning
- Section R311 Means of Egress
- R311.7 Stairways
- R311.7.5 Stair treads and risers (R311.7.5.1 risers, R311.7.5.2 treads, R311.7.5.3 nosings)
Lookup path
Find guard height and baluster spacing
- IRC Chapter 3 Building Planning
- Section R312 Guards and Window Fall Protection
- R312.1 Guards (R312.1.1 where required, R312.1.2 height, R312.1.3 opening limitations)
Lookup path
Find stair width, headroom and landing rules
- IRC Chapter 3 Building Planning
- Section R311 Means of Egress
- R311.7 Stairways
- R311.7.1 Width, R311.7.2 Headroom, R311.7.6 Landings for stairways
Lookup path
Find when a handrail is required and how high it goes
- IRC Chapter 3 Building Planning
- Section R311 Means of Egress
- R311.7.8 Handrails
- R311.7.8.1 Height
R311.7 applies to any stairway the code requires and to any you choose to build. Three kinds are exempt from it: stairs that neither sit in nor serve a building, porch or deck; stairs to a nonhabitable attic; and stairs to a crawl space. Also note that R311.7.5 measures treads and risers without carpet, rugs or runners.
Risers, treads and nosings
Every stair layout and most inspection questions start with these limits. Learn the numbers, but also learn how each one is measured, because exam choices often mix them up.
| Item | Limit | How it is measured |
|---|---|---|
| Riser height | 7 3/4 in. max | Vertically, leading edge of one tread to leading edge of the next |
| Tread depth | 10 in. min | Horizontally, nosing plane to nosing plane, square to the tread edge |
| Uniformity | Largest minus smallest: 3/8 in. max | Separately for risers and for treads, within one flight |
| Nosing projection | 3/4 in. to 1 1/4 in. | Not required where the tread is at least 11 in. deep |
| Nosing shape | Radius 9/16 in. max or bevel 1/2 in. max | At treads, landings and floors of the stair |
- Sloped risers. A riser may lean back from the underside of the nosing above, but no more than 30 degrees from vertical.
- Open risers. Where the opening is more than 30 inches above the floor or grade below, it must stop a 4-inch sphere. Spiral stairs are exempt from that opening limit.
- Nosing spread. Within a stairway, the largest nosing projection may exceed the smallest by no more than 3/8 inch.
Winder treads have their own rules in R311.7.5.2.1: a minimum depth at the walkline, a smaller minimum anywhere across the stair, and their own uniformity limit. R311.7.4 places the walkline 12 inches from the inside of the turn. Look those up when a question names winders.
Stair math: from total rise to risers and run
The most common calculation gives you a floor-to-floor height and asks for the number of risers, the riser height or the total run. The code gives only limits, so the method below is construction math. We round the riser count up, because the riser height can't exceed the maximum.
- Convert the total rise (finished floor to finished floor) to inches.
- Divide by 7 3/4 inches and round up to a whole number. That is the fewest risers you can use.
- Divide the total rise by the riser count to get the actual riser height.
- Where the upper floor is the top step, treads = risers minus 1. Total run = treads times tread depth.
Worked example
Interior stair, 9 ft 3/4 in. floor to floor
Given
- Basement stair in a new house, one straight flight, no intermediate landing.
- Total rise, finished floor to finished floor: 9 feet 3/4 inch.
- The upper floor is the top step. Treads will be 10 1/4 inches deep, nosing to nosing, with a 1-inch nosing.
Steps
- Total rise in inches: 9 x 12 + 3/4 = 108 3/4 inches. (Construction math: feet to inches)
- A single flight may rise no more than 12 feet 7 inches (151 inches). 108 3/4 is under 151, so one flight is allowed. (IRC 2021 Section R311.7.3)
- 108 3/4 / 7 3/4 = 14.03. Round up: 15 risers. Fourteen would give 7.77 inches, just over the 7 3/4-inch limit. (IRC 2021 Section R311.7.5.1)
- Riser height: 108 3/4 / 15 = 7.25 = 7 1/4 inches, under 7 3/4. (Construction math: stair rise divided by risers)
- Treads: 15 - 1 = 14. The 10 1/4-inch depth meets the 10-inch minimum. (IRC 2021 Section R311.7.5.2)
- The treads are under 11 inches, so the nosing must project 3/4 to 1 1/4 inch; the 1-inch nosing does. (IRC 2021 Section R311.7.5.3)
- Total run: 14 x 10 1/4 = 143 1/2 inches (11 feet 11 1/2 inches). (Construction math: stair run)
Answer: 15 risers at 7 1/4 inches, 14 treads, total run 143 1/2 inches. Leave room for a landing at the bottom and check headroom along the whole run.
Worked example
Deck stair to a patio, 60 inches high
Given
- Deck surface 60 inches above a level concrete patio; the stair lands on the patio.
- Treads are two 5/4 x 6 deck boards with a 1/4-inch gap, 11 1/4 inches deep nosing to nosing, with no nosing projection.
- One side of the stair is open; the deck edge is open too.
Steps
- 60 / 7 3/4 = 7.74. Round up: 8 risers. (IRC 2021 Section R311.7.5.1)
- Riser height: 60 / 8 = 7 1/2 inches. (Construction math: stair rise divided by risers)
- Treads: 8 - 1 = 7, since the deck is the top step. Run: 7 x 11 1/4 = 78 3/4 inches. (Construction math: stair run)
- Treads are 11 1/4 inches deep, at least 11, so no nosing projection is required. (IRC 2021 Section R311.7.5.3)
- Eight risers is four or more, so a handrail is required on at least one side (R311.7.8), 34 to 38 inches above the nosing line. (IRC 2021 Section R311.7.8.1)
- The deck is more than 30 inches above the patio: guard it at 36 inches minimum with openings that stop a 4-inch sphere. Along the stair's open side, where it is more than 30 inches above the patio, the guard may be 34 inches high from the nosing line, with openings that stop a 4 3/8-inch sphere (openings: R312.1.3). (IRC 2021 Section R312.1.2)
Answer: 8 risers at 7 1/2 inches, 7 treads of 11 1/4 inches, 78 3/4 inches of run; a handrail, a 36-inch deck guard and a stair guard of at least 34 inches.
Width, headroom, landings and the egress door
Once the steps work, the plan reviewer checks the space around them. These rules decide where walls, beams and ducts can go.
| Item | IRC 2021 minimum | Notes |
|---|---|---|
| Clear width above handrail height (up to required headroom) | 36 in. | Spiral stairs follow R311.7.10.1 |
| Clear width at and below handrail, one handrail | 31 1/2 in. | Includes treads and landings |
| Clear width at and below handrails, both sides | 27 in. | Includes treads and landings |
| Headroom | 6 ft 8 in. | Vertically from the sloped nosing line, or from a landing floor |
| Landing, straight run | 36 in. deep in the direction of travel | At least as wide as the flight it serves |
- Landings at top and bottom. Every stairway needs a floor or landing at each end. Exception: no top landing is needed on an interior flight, including one in an enclosed garage, if no door swings over the stairs.
- Headroom exception. Where tread nosings at the side of a flight run under the edge of the floor opening, that edge may project no more than 4 3/4 inches horizontally into the required headroom.
- Walking surfaces. Treads and landings may slope no more than 1 in 48 (2 percent); 1 in 20 (5 percent) in the direction of travel at a landing the code requires to drain water.
The egress door and door landings
Plan reviewers check the main exit door and the step outside it together. Exams ask for the door size and for how far the landing may sit below the threshold.
Lookup path
Find the required egress door and its landings
- IRC Chapter 3 Building Planning
- Section R311 Means of Egress
- R311.2 Egress door
- R311.3 exterior door landings (R311.3.1 required egress door, R311.3.2 other doors, R311.3.3 storm and screen doors)
The required egress door (one per dwelling unit) must be side-hinged, give at least 32 inches clear between door face and stop with the door open 90 degrees, and give 78 inches of clear height from threshold top to stop. It must open from inside without a key or special knowledge or effort. Other doors need not meet these sizes.
Under R311.3, each exterior door needs a landing or floor on both sides, as wide as the door and at least 36 inches deep in the direction of travel. Exterior landings slope 1/4 inch per foot (2 percent) at most. An exterior balcony under 60 square feet reached only from a door may have a shallower landing.
- Drop at the required egress door (R311.3.1). The landing or floor on each side may sit no more than 1 1/2 inches below the top of the threshold. Exception: the outside landing may be up to 7 3/4 inches below it if the door does not swing over that landing.
- Drop at other exterior doors (R311.3.2). Up to 7 3/4 inches below the threshold top. No top landing is needed where an outside stair of two risers or fewer serves the door and the door does not swing over the stair.
- Getting down to grade. A raised outside landing at the required egress door needs a stair under R311.7 or a ramp under R311.8 to reach grade.
Handrails
A *handrail* is a horizontal or sloping rail meant to be grasped for guidance or support (R202). Exams ask when one is required and where to measure it.
- When required. Each flight with four or more risers needs a handrail on at least one side (R311.7.8). Three risers: none required.
- Height. 34 to 38 inches, measured vertically from the sloped plane along the tread nosings (R311.7.8.1). A volute, turnout or starting easing is allowed over the lowest tread. Fittings or bendings may exceed 38 inches where they make a continuous transition between flights, at winders, from handrail to guard, or at the start of a flight.
- Projection and clearance. No more than 4 1/2 inches into the stair on either side, and at least 1 1/2 inches clear of a wall (R311.7.8.2, R311.7.8.3).
- Continuity. From above the top riser to above the lowest riser, ends returned toward a wall, guard or walking surface, or ended at a post. Among the exceptions, a newel post may break it at a landing, at a winder turn or over the lowest tread (R311.7.8.4).
- Grip. A round rail is 1 1/4 to 2 inches in outside diameter; other shapes have perimeter and recess limits in R311.7.8.5 (Type I and Type II).
Guards and window fall protection
A *guard* is a component or system along the open side of a raised walking surface that reduces the chance of a fall to the level below (R202). It stops falls; a handrail gives a grip. One rail can do both on a stair.
Where required (R312.1.1). An open-sided walking surface, such as a floor, stair, ramp or landing, needs a guard where it sits more than 30 inches above the surface below. Measure that drop straight down, and take the worst point anywhere within 36 inches out from the open edge. Insect screening never counts as a guard.
| Location | Minimum height | Opening must stop a sphere of |
|---|---|---|
| Deck, porch, balcony, landing, floor | 36 in. above the walking surface | 4 in. |
| Open side of a stair | 34 in. above the nosing line | 4 3/8 in. |
| Stair guard whose top is the handrail | 34 to 38 in. above the nosing line | 4 3/8 in. |
| Triangle formed by riser, tread and bottom rail | Not applicable | 6 in. |
Window fall protection (R312.2.1). It covers an operable window in a dwelling unit when two things are true. The bottom of the clear opening is under 24 inches off the finished floor inside, and over 72 inches above the grade or other surface outside. The window must either open no wider than a 4-inch sphere in its largest open position, or have opening control or fall prevention devices meeting ASTM F2090.
On an emergency escape and rescue opening, such a device must not shrink the net clear opening, once released, below the R310 minimums (R312.2.2).
Drill set: book open
Use your own IRC. Start from Chapter 3 and the section titles, and beat the target time. These drills need rules the lesson only pointed to.
Find it in your book · target 2 min
A homeowner wants a spiral stair to a bonus room. What clear width, maximum rise and minimum headroom apply?
Find it in your book · target 1 min
A ramp will serve the required egress door of a house on a roomy lot. What is the steepest slope allowed?
Find it in your book · target 1 min
A winder stair has a tread that tapers to 5 1/2 inches at the inside of the turn. Does it pass?
Find it in your book · target 2 min
The trim carpenter proposes a flat 2x4 (1 1/2 by 3 1/2 inches) as the handrail. Does a plain 2x4 meet the grip rules?
Find it in your book · target 2 min
An outside basement stair under hinged bulkhead doors drops 7 feet to the basement floor and is not the required egress. Must it meet R311.7?
Key takeaways
- IRC house stair: riser 7 3/4 inches max, tread 10 inches min, and no more than 3/8 inch between the largest and smallest in one flight. (IRC 2021 Section R311.7.5)
- Riser count = total rise / 7 3/4, rounded up; treads = risers minus 1 when the upper floor is the top step; one flight rises 151 inches at most. (IRC 2021 Section R311.7.3)
- Stair width 36 inches above the handrail (31 1/2 or 27 inches at it); headroom 6 feet 8 inches from the nosing line; landings 36 inches deep on a straight run. (IRC 2021 Section R311.7)
- Handrail on one side or more at four or more risers, 34 to 38 inches above the nosing line. (IRC 2021 Section R311.7.8)
- Guards where the drop exceeds 30 inches within 36 inches of the edge: 36 inches high and 4-inch openings; on a stair side 34 inches and 4 3/8-inch openings; 6-inch stair triangle. (IRC 2021 Section R312.1)
Check yourself
Check 1
You are framing an interior stair in a house built to the 2021 IRC. Finished floor to finished floor measures 8 feet 10 3/4 inches, in one straight flight. What is the fewest risers you can use?
Check 2
At a framing inspection on a house stair, the tallest riser in the flight measures 7 9/16 inches and the shortest 7 1/8 inches. What is the correct call under the 2021 IRC?
Check 3
A walk-out landing behind a house is 27 inches above the lawn at its rim. The lawn slopes down, so 24 inches out from the rim the landing surface is 31 inches above the ground. Under the 2021 IRC, is a guard required along that edge?
Check 4
An exterior stair from a side door to the driveway has four risers and open sides only 25 inches above grade. What does the 2021 IRC require for a handrail?
Check 5
A required guard on a house runs along the open side of a stair and then along the upper landing. Balusters are set with 4 1/4 inches clear everywhere. Under the 2021 IRC, which part passes?
Check 6
A plan shows a straight IRC stair with 12 risers and 10 1/4-inch treads, and the upper floor serves as the top step. What total run must the framer allow from the face of the bottom riser to the face of the top riser?
Check 7
A house stair is 36 inches between finished walls. Handrails on both walls each stick out 4 inches, leaving 28 inches clear between them. Under the 2021 IRC, does the stair width comply?
Check 8
A supply trunk crosses over a basement stair in a new house. Measured vertically from the sloped line along the tread nosings, it leaves 6 feet 7 inches. What is the correct finding?
Check 9
A small house has two exterior doors: a side-hinged front door giving 31 1/4 inches clear at 90 degrees and 80 inches high, and a sliding patio door giving 34 inches clear. Which meets the 2021 IRC required egress door rule?
Check 10
An owner wants the stair in a two-story foyer to run in one straight flight with no landing. Floor to floor measures 12 feet 10 inches. Under the 2021 IRC, is that allowed?
Check 11
A ramp will serve the required egress door of a new house on a flat lot. The top of the landing at the door is 21 inches above the walk. What is the shortest horizontal length of sloped ramp, not counting landings, the 2021 IRC allows?
Check 12
The required egress door of a house swings in. A storm door on the same opening swings out over the concrete stoop, which is 7 inches below the top of the threshold. Under the 2021 IRC, what is the correct call?
Checked against the 2021 IRC and IBC text on 2026-11-25.