DeckMath
IRC R311.7 reference

Deck Stair Code: 7¾″ Max Rise, 10″ Min Tread, 36″ Wide (IRC 2021)

Lay out deck stairs that pass inspection: legal rise and run, stringer sizing, tread material, landings, handrails, and guards — plus what each choice costs.

9 min read·Updated 2026-08-29·structural
SemiSoftwares
Independent Software Studio · IRC 2021 cross-checked · 2026-Q1 pricing

Stairs are where most deck inspections fail, because the code is precise and unforgiving: a riser 1/2 inch too tall, a tread an inch too shallow, or a missing handrail all stop the inspection. The geometry is fixed by IRC 2021 R311.7 and the guards/handrails by R312, and getting them right on paper before you cut a single stringer saves the most expensive rework on the whole project. This guide covers the exact code numbers, how to lay out stringers, tread material trade-offs with 2026 pricing, and the handrail/guard rules that catch DIYers.

The non-negotiable stair geometry (IRC R311.7)

Every residential stair — including exterior deck stairs — must hit these limits from IRC 2021 R311.7 (ICC). They are not suggestions; inspectors carry a tape and a level.

DimensionCode limit (IRC R311.7)
Maximum riser height7¾"
Minimum tread depth10" (nosing to nosing)
Minimum stair width36" (above the handrail)
Max variation between risers3/8" across the whole flight
Max variation between treads3/8" across the whole flight
Minimum headroom6'-8"
Nosing (closed risers)¾" to 1¼" projection
The 3/8" uniformity rule fails more decks than any other stair rule. Every riser in the flight must be within 3/8" of every other riser. If your total rise doesn't divide evenly, adjust the bottom riser for the landing pad thickness — never let one step end up an inch off.
Open the calculator
Calculate legal rise & run
Equal-rise riser distribution, run depth, stringer hypotenuse, and angle for any deck height. IRC R311.7.5 + Blondel 2R + T ergonomic check. Permit-ready callout sheet.

How to lay out the stringers

  1. Measure total rise — finished deck surface down to the finished landing surface (include the landing pad thickness). Default deck height is around 36".
  2. Divide total rise by 7.5" and round to the nearest whole number — that's your riser count. Example: 36" ÷ 7.5 = 4.8 → 5 risers.
  3. Divide total rise by the riser count for actual riser height. 36" ÷ 5 = 7.2" per riser — under the 7¾" max. ✓
  4. Treads = risers minus 1 (the deck surface is the top 'tread'). 5 risers → 4 treads.
  5. Run = tread count × tread depth. At 10.5" run each, 4 × 10.5 = 42" total horizontal run.

Cut stringers from 2×12 — it's the recommended size because a notched 2×10 leaves too little material behind the cut (code wants ~5" of uncut stringer depth). A 2×12 keeps enough throat after the notches.

Cut (notched) stringers are the standard DIY method — you saw the rise/run notches into the board. Solid (cleated) stringers bolt the treads to metal cleats with no notching: stronger and more material-efficient, but more hardware.
Open the calculator
Size & space stringers
Stringer hypotenuse, notch depth, throat (DCA-6 ≥ 5″), stringer count, stock-length pick, brackets + fasteners. IRC R311.7 + AWC DCA-6 cross-validated.

Tread material — cost vs maintenance

Treads take the most wear and the most weather of any deck surface. 2026-Q1 retail per linear foot of tread:

Tread materialPrice / lfNotes
Pressure-treated 2×$2.95Cheapest; needs annual stain on the treads
Composite (Trex / TimberTech)$6.50No maintenance; match deck surface; tighter stringer spacing
Hardwood (Ipe / Cumaru)$8.95Premium; pre-drill every screw; 25+ yr life

Composite treads usually require 12" o.c. stringer spacing (vs 16" for wood) because of how composite deflects under a point load at the tread edge — check your brand's stair spec, it overrides the lumber default.

Open vs closed risers

A closed riser has a board behind each tread (kick-back). An open riser leaves the gap visible from below — popular for a modern look. The code rule:

  • Open risers are allowed ONLY if a 4" sphere cannot pass through the opening (IRC R311.7.5.1).
  • In practice that means risers over ~4" tall need either a closed riser board or a partial back-stop.
  • Closed risers are the residential default and the safe choice for kids and pets.

Landings — the step everyone forgets

IRC R311.7.6 requires a landing at the bottom of the stairs at least as deep as the stair is wide (minimum 36"). The landing must be a firm, level surface — bare soil doesn't qualify.

  • A concrete pad, paver pad, or compacted gravel pad all satisfy the requirement.
  • Maximum vertical rise for a single flight before a landing is required: 12 feet (R311.7.3).
  • The landing can't slope more than 2% (¼" per foot) for drainage.
Open the calculator
Size the landing pad
IRC R311.7.6 stair landing sizing: 4 materials (concrete pad / pavers / gravel / deck extension) + below-frost footings + concrete cubic yards math.

Handrails and guards (IRC R311.7.8 + R312)

Handrail

  • Required on at least one side when the flight has 4 or more risers.
  • Height: 34" to 38" measured vertically from the tread nosing.
  • Must be graspable — a 1¼" to 2" round profile, or an equivalent Type II graspable shape. A flat 2×4 on edge is NOT a code handrail.
  • Must be continuous the full length of the flight and return to a post or wall at the ends.

Guards on the stairs

  • Required where the stair is more than 30" above grade (IRC R312, R312.1.1).
  • Stair guard height: minimum 34" (lower than the 36" deck guard, measured from the nosing).
  • Openings: a 4⅜" sphere must not pass through the guard infill on the stairs.
  • The triangular opening at the tread/riser/bottom-rail must not pass a 6" sphere.
Deck guard height (36") and stair guard height (34") are different numbers measured from different references. Mixing them up is a common rejection — the deck-level guard is 36" from the deck surface; the stair guard is 34" from the tread nosings.

What a deck stair flight costs

A typical 36"-rise, 42"-wide flight (5 risers, 4 treads, three 2×12 stringers) runs roughly:

  • PT lumber, site-built: ~$120–$220 in materials
  • Composite treads on PT stringers: ~$280–$450 in materials
  • Add a landing pad: $90–$300 depending on gravel vs concrete
  • Contractor labor for a short flight: $400–$900 installed
Open the calculator
Full stair cost + cut list
Risers, treads, stringer hypotenuse, and BoM for any deck height — IRC 2021 R311.7 compliant with auto handrail + landing-pad sizing.

Frequently asked questions

What is the maximum riser height for deck stairs?

7¾ inches, under IRC 2021 R311.7.5.1, and the number that catches more decks than the maximum itself is the uniformity rule beside it: every riser in the flight must be within 3/8 inch of every other riser. Most builders aim for 7 to 7.5 inches, which leaves margin and produces a flight that feels comfortable rather than steep. The arithmetic is straightforward once the total rise is measured from the finished deck surface to the finished landing surface, including the thickness of the landing pad. Divide that total by 7.5 and round to a whole number for the riser count, then divide the total rise by the riser count to get the actual riser height. A 36-inch deck gives 36 ÷ 7.5 = 4.8, so five risers at 7.2 inches each — comfortably under the maximum, and identical to each other, which is what the inspector measures.

What is the minimum tread depth on deck stairs?

10 inches, measured nosing to nosing, under IRC 2021 R311.7.5.2 — and like the riser, treads must be within 3/8 inch of each other across the flight. Most builders run 10.5 to 11 inches because the extra depth makes descending noticeably more comfortable, which matters more than it sounds on an exterior stair that gets used in the wet. Tread depth also sets how far the stairs project into the yard: the total run is the tread count times the tread depth, and the tread count is always one less than the riser count because the deck surface itself serves as the top tread. Five risers therefore means four treads, and at 10.5 inches each the flight projects 42 inches from the deck — a dimension worth checking against the landing space available before the stringers are cut.

Do deck stairs need a handrail?

Yes, on at least one side, as soon as the flight has four or more risers — IRC 2021 R311.7.8. Three specifics decide whether it passes. Height: 34 to 38 inches measured vertically from the tread nosings, not from the treads themselves. Graspability: a 1¼ to 2 inch round profile, or an equivalent Type II graspable shape. A 2x4 laid flat on edge is the classic rejection, because a hand cannot close around it, and it is the most common handrail on owner-built stairs. Continuity: the rail has to run the full length of the flight and return into a post or wall at both ends rather than stopping in mid-air. None of these is expensive to get right at build time, and all of them mean rework if they are wrong, because the rail is usually the last thing installed.

What size lumber should stair stringers be?

2x12, and this is one of the few places where the recommended size is effectively mandatory. Cutting a notched stringer removes material for every rise and run, and what is left behind the deepest notch — the throat — is what actually carries the load. Code practice wants roughly 5 inches of uncut depth remaining, and a notched 2x10 does not leave it. A 2x12 does, with margin. There is an alternative if the lumber cost matters: solid or cleated stringers are not notched at all, with treads bolted to metal cleats fixed to the face of an uncut board. That is stronger and more material-efficient, at the cost of more hardware and more assembly time. Notched stringers remain the standard site-built method because they need nothing but a saw and a square.

Can deck stairs have open risers?

Yes, but with a restriction that rules them out on most flights: a 4-inch sphere must not pass through the opening between treads, under IRC 2021 R311.7.5.1. Since typical risers run 7 to 7.5 inches, an open gap of that height fails the test straight away, so open risers in practice need either a partial back-stop behind each tread or a closed riser board. The rule is a child-and-pet safety provision rather than a structural one, and it is not negotiable at inspection. Closed risers are the residential default for that reason and have a practical benefit too — they stop the space beneath the stairs collecting leaves and let the flight shed water in a controlled way. If the modern open look matters, price the back-stop detail into the design rather than discovering it at inspection.

How tall does a deck stair guard need to be?

34 inches minimum, measured from the tread nosings — and note that this is a different number, measured from a different reference, than the 36-inch guard on the deck itself, which is measured from the deck surface. Confusing the two is a common rejection. Stairs need a guard wherever they are more than 30 inches above the grade below, under IRC 2021 R312.1.1. The infill rules on stairs are also their own: a 4⅜-inch sphere must not pass through the guard infill, slightly more generous than the 4-inch sphere used on the deck, and the triangular opening formed by the tread, the riser and the bottom rail must not pass a 6-inch sphere. Set the guard out on the drawing with all three spheres in mind; retrofitting infill after the rail is built is fiddly and visible.

Do deck stairs need a landing at the bottom?

Yes, and it is the step most often left out of a plan. IRC 2021 R311.7.6 requires a landing at the foot of the flight at least as deep as the stair is wide, with a 36-inch minimum, and it must be a firm level surface — a concrete pad, a paver pad or compacted gravel all qualify, bare soil does not. The landing also cannot slope more than 2%, about ¼ inch per foot, which is enough to drain without being enough to feel underfoot. There is a second landing rule worth knowing on tall decks: a single flight cannot exceed 12 feet of vertical rise without an intermediate landing, under R311.7.3. Budget $90 to $300 for the pad depending on whether it is gravel or poured concrete.

How many stringers does a deck stair need?

Three for a typical 36 to 42 inch wide flight, four if the stair is wider — but the spacing between them is set by the tread material, not by the width. Pressure-treated treads allow up to 16 inches on centre. Composite treads usually require 12 inches on centre, because composite deflects more under a point load right at the tread edge, and the brand's stair specification overrides the lumber default in the same way it overrides joist spacing on the deck. That difference is worth pricing early, because it can add a stringer to the flight. Tread material also moves the budget noticeably: 2026 retail runs about $2.95 per linear foot for pressure-treated, $6.50 for composite and $8.95 for hardwood such as Ipe, which needs a pilot hole for every screw.

Related calculators

Related guides

Get matched

Want 2–3 free quotes for this exact deck?

We'll send your plan to vetted local builders. Free, no obligation.