Construction
How to Build Deck Stairs to Code: IRC Requirements Explained
Complete guide to building code-compliant deck stairs per IRC 2024: maximum riser height (7-3/4"), minimum tread depth, handrail requirements, stringer layout methods, stair width, landing specs, and the 4 mistakes that fail inspection.
· By calcplug
deckstairsIRCbuilding-codecarpentry
Deck stairs kill more DIY projects at inspection than any other single element. They look simple — a few steps down from the deck to the yard — but the International Residential Code (IRC) devotes an entire section to them, and inspectors check every dimension: riser height, tread depth, handrail height, graspability, landing size, and uniformity.
This guide walks through exactly what the 2024 IRC requires, how to calculate and cut stringers that pass inspection first time, and the four mistakes that cause most stair failures.
> **Need instant stair dimensions?** Use our [free deck stair calculator](/deck-stair-calculator/) — enter your total rise and get exact riser height, tread count, and total run in seconds.
---
## IRC Deck Stair Requirements at a Glance
| Requirement | IRC 2024 Standard | Why It Matters |
|------|:--:|------|
| Maximum riser height | 7-3/4 inches | Prevents tripping; steeper = more falls |
| Riser uniformity | ±3/8 inch max variation | Inconsistent risers are the #1 trip hazard |
| Minimum tread depth | 10 inches (nose-to-nose) | Ensures full foot support |
| Minimum stair width | 36 inches clear | Allows safe passage carrying items |
| Handrail required | 4+ risers | Graspable support on at least one side |
| Handrail height | 34-38 inches above nosing | Measured vertically from stair nose |
| Bottom landing | 36" deep, stair width | Level, firm surface at stair base |
| Maximum flight rise | 12 feet (147 inches) | Intermediate landing required beyond this |
| Guardrail required | 30"+ above grade | Separate from handrail; see deck code |
---
## The Stair Math: How to Calculate Rise and Run
The fundamental calculation for any set of stairs is:
**Number of Risers = Total Rise ÷ Maximum Riser Height** (rounded up)
If your deck surface is 48 inches above grade and you're using the IRC maximum of 7-3/4 inches: 48 ÷ 7.75 = 6.19 → round up to **7 risers**. Then exact riser height = 48 ÷ 7 = **6.86 inches per riser**.
**Number of treads = risers - 1**. Why minus 1? Because the deck surface itself serves as the top "tread." A flight with 7 risers has 6 physical treads you build plus the deck surface you step onto at the top.
**Total run = number of treads × tread depth**. With 6 treads at 11-inch depth (comfortable for outdoor stairs): 6 × 11 = 66 inches — the stairs will extend 5.5 feet out from the deck.
### The Comfort Formula
Carpenters have used this rule for over a century: **2 × Riser Height + Tread Depth = 24 to 25 inches.** It models the natural human stride on stairs.
- 7-inch riser + 11-inch tread → 2(7) + 11 = 25 ✓ (ideal, comfortable)
- 7.75-inch riser + 10-inch tread → 2(7.75) + 10 = 25.5 (steep but legal)
- 6-inch riser + 11-inch tread → 2(6) + 11 = 23 (shallow, feels like a ramp)
Aim for 25 exactly. It's the sweet spot between steepness (which feels precarious) and shallowness (which feels like you're shuffling).
### Quick Reference: Steps by Deck Height
| Deck Height | Risers | Riser Height | Treads | Total Run (11" tread) |
|:--:|:--:|:--:|:--:|:--:|
| 24" | 4 | 6.00" | 3 | 33" |
| 36" | 5 | 7.20" | 4 | 44" |
| 48" | 7 | 6.86" | 6 | 66" |
| 60" | 8 | 7.50" | 7 | 77" |
| 72" | 10 | 7.20" | 9 | 99" |
| 96" | 13 | 7.38" | 12 | 132" |
For decks taller than 12 feet (147 inches total rise), IRC requires an intermediate landing — no single flight can exceed 12 feet of vertical rise.
---
## How to Cut Stringers: The Traditional Method
Stringers are the diagonal notched boards that carry the treads. Cutting them correctly is the single most important step in building stairs that are safe, level, and code-compliant.
### What You'll Need
- 2×12 pressure-treated lumber (ground-contact rated for stringers near soil)
- Framing square with stair gauges (brass clamps that attach to the square)
- Circular saw + handsaw (to finish cuts without overcuts)
- Carpenter's pencil, tape measure, level
### Layout Steps
1. **Set your stair gauges**: Clamp the gauges to the framing square at your rise and run dimensions. For a 7-inch rise and 11-inch run, one gauge goes at 7 inches on the tongue (short leg), the other at 11 inches on the body (long leg).
2. **Position the square at the top of the stringer**: Place the square so the gauges rest against the edge of the 2×12. The first mark is the top plumb cut — the vertical cut that will butt against the deck rim joist.
3. **Slide and mark**: Slide the square down the board, aligning the gauges each time. Each position marks one riser (vertical) and one tread (horizontal). Mark all notches before cutting.
4. **Cut with a circular saw, finish with a handsaw**: Cut along your lines with the circular saw, stopping exactly at the inside corner of each notch. **Never overcut past the corner** — the remaining wood fiber is what gives the stringer its structural strength. Finish each corner with a handsaw for a clean 90-degree cut.
5. **Bottom cut adjustment**: The bottom riser height must be reduced by the thickness of your tread material. If using 1-inch-thick tread boards, the bottom riser cut is 1 inch shorter than all others. Without this adjustment, the bottom step will be taller than the rest — an instant inspection failure.
6. **Test-fit before cutting the rest**: Cut one stringer completely and clamp it in place against the deck. Check that it's plumb, all treads are level, and the riser heights are uniform. Use this first stringer as a template to trace the remaining stringers — don't risk cumulative error by laying out each one from scratch.
### Stringer Spacing
Space stringers no more than 16 inches on center for 5/4" wood treads and 12 inches on center for composite decking treads (which are more flexible). For stair widths up to 36 inches, two stringers (one at each edge) are sufficient. For 48-inch-wide stairs, use three stringers. For 60+ inches, use four.
---
## Handrail Requirements: The Most Common Inspection Failure
Handrails are required on at least one side of any stair with four or more risers — which is almost every deck stair. Here's what inspectors check:
### Height
34 to 38 inches measured vertically from the stair nosing to the top of the handrail. Measure at the nosing of each tread, not at the landing. The height must be consistent for the full length of the stairs.
### Graspability — This Is Where Most DIY Rails Fail
A handrail must be **graspable**, defined by the IRC as one of:
- **Type I (circular)**: 1-1/4" to 2" outside diameter. Standard round metal or wood handrail.
- **Type II (non-circular)**: Perimeter between 4" and 6-1/4", with a maximum cross-section of 2-1/4". A shaped wood handrail profile meets this.
**What does NOT qualify**: A 2×4 on edge (too wide to grip), a 2×6 on flat (impossible to wrap your hand around), or deck railing cap (typically 2×6 or 5/4×6 — far too wide). If you're using the deck guardrail as the handrail attachment point, you must mount a separate graspable handrail on the inside face of the guardrail posts.
### Continuity
Handrails must be continuous for the full length of the stairs. You cannot have a break at a newel post unless the handrail returns to the wall or post. Handrail ends must return to the wall or terminate at a newel post — no exposed open ends that could catch clothing.
---
## Landings: The Forgotten Requirement
The IRC requires a landing at the bottom of every exterior stair. The landing must be:
- At least **36 inches deep** (measured in the direction of travel)
- At least the **same width as the stairs**
- **Level** (1/4" per foot maximum slope for drainage)
- On a **firm, stable surface** — a concrete pad, pavers on compacted gravel, or a framed landing are all acceptable
A common shortcut that fails: ending the stairs in the grass or on a single patio paver. The landing must be a permanent, stable surface that won't sink or shift with frost and soil movement. For most DIY decks, a simple 36" × 36" concrete pad poured 4 inches thick over 4 inches of compacted gravel works perfectly.
---
## 4 Deck Stair Mistakes That Fail Inspection
### 1. Forgetting to Subtract the First Riser
The deck surface IS the top tread. If your deck is 48 inches above grade and you want 7-inch risers, you need 7 risers and 6 physical treads — the first "step down" from the deck surface is one riser below. A common DIY error is cutting 7 treads and ending with the top tread flush with the deck surface. The inspector will measure seven 7-inch risers = 49 inches of total rise for a 48-inch deck, and immediately fail it.
### 2. Not Adjusting the Bottom Riser for Tread Thickness
If your tread boards are 1 inch thick, the bottom riser must be cut 1 inch shorter than the other risers. Why? The tread thickness adds height at every step EXCEPT the bottom, where the tread sits on the landing. Without this adjustment (sometimes called "dropping the stringer"), every step above the bottom one is effectively one tread-thickness taller — and the bottom step is one tread-thickness shorter, violating the ±3/8 inch uniformity rule.
### 3. Using Non-Graspable Handrail
The single most common deck stair inspection failure. A 2×4 or 2×6 used as a handrail will be rejected because it cannot be grasped — a person's hand cannot wrap around a 3-1/2" or 5-1/2" wide board. Install a proper circular or profiled handrail that meets the Type I or Type II graspability requirements, mounted 34-38 inches above the nosing, with returns at both ends.
### 4. No Bottom Landing
Stairs ending directly on grass, mulch, or dirt will fail. The landing must be a durable, level surface — concrete, pavers on compacted base, or a framed wood landing. This isn't just code pedantry: a soft landing sinks over time, changing the bottom riser height and creating a trip hazard at the most dangerous step in the flight.
---
## Material Options for Deck Stairs
All structural components (stringers, posts, blocking) must be pressure-treated or naturally decay-resistant. Treads and risers have more options:
| Material | Cost | Lifespan | Maintenance | Notes |
|------|:--:|:--:|------|------|
| Pressure-treated pine | $ | 15-20 yrs | Stain every 2-3 yrs | Use ground-contact (.40) for stringers |
| Cedar | $$ | 20-25 yrs | Stain every 3-4 yrs | Predrill to prevent splitting |
| Composite (Trex, etc.) | $$$ | 25+ yrs | Wash annually | Treads only, not structural |
| IPE / Hardwood | $$$$ | 30+ yrs | Oil every 1-2 yrs | Predrill + hidden fasteners required |
**Critical note for composite treads:** Composite decking flexes more than wood under load. Stringers must be spaced no more than 12 inches on center (versus the standard 16 inches for wood treads) to prevent a bouncy, unsafe feel. This means an extra stringer for most stair widths — factor the additional framing cost into your budget.
---
## When to Pull a Permit (and When Not To)
Most jurisdictions require a building permit for any deck stair connected to a deck over 30 inches above grade, or any stair with 4+ risers. The permit triggers an inspection, which is actually a good thing for stairs — an inspector will catch a riser height error or handrail issue before it becomes a safety problem. The permit fee ($50-200) is cheap insurance against a lawsuit if someone trips on your stairs.
If your deck is ground-level (under 30 inches) with only 2-3 risers, a permit may not be required — but check your local building department. Even if not required, build to IRC standards. They exist for a reason: thousands of ER visits every year from stair falls, and compliant stairs reduce that risk dramatically.
---
Ready to calculate your stair dimensions? Use our [free deck stair calculator](/deck-stair-calculator/) — enter your total rise and get exact riser heights, tread count, and total horizontal run instantly. For the rest of the deck, try our [decking calculator](/decking-calculator/) to estimate boards, joists, and fasteners. Building the framing? The [framing calculator](/framing-calculator/) handles wall studs, plates, and headers.
🧮 Try our free calculators related to this article: