Deck stairs: how many steps, and what does code require?

Updated September 30, 2026 · 6 min read · Written by the DeckDebut team

Divide your deck height by about 7 inches to get the step count. Code caps risers at 7¾ inches and requires treads of at least 10 inches. Every riser in a flight must be within ⅜ inch of the others. Four or more risers need a handrail at 34–38 inches; open sides need a guard at least 34 inches above the nosings.

Stairs are where deck builds most often fail inspection, and almost never for the reason homeowners expect. It is rarely the headline numbers. It is uniformity — one step a little taller than the rest, usually the bottom one, because the ground was not where the drawing said it was.

Working out the step count

Measure from the finished deck surface to the finished ground where the stairs will land — not to the dirt as it sits today, if you are adding a landing pad.

  1. 1

    Take the total rise

    Deck surface to landing surface, in inches. A 24-inch-high deck with a concrete pad at grade has a total rise of about 24 inches.

  2. 2

    Divide by 7

    Seven inches is a comfortable riser. 24 ÷ 7 = 3.4, so round to 3 or 4 risers.

  3. 3

    Divide the rise by your chosen count

    Four risers gives 24 ÷ 4 = 6 inches each. Three gives 8 inches — over the limit, so four it is.

  4. 4

    Check against the cap

    If your answer is over 7¾ inches, add a riser and divide again. Keep going until every riser is at or under the cap.

  5. 5

    Count the treads

    A flight has one fewer tread than risers — the deck surface is the top "tread". Four risers means three treads.

Deck heightRisersEach riserTreads
16 in35.3 in2
24 in46.0 in3
30 in56.0 in4
36 in57.2 in4
48 in76.9 in6
60 in96.7 in8
96 in (second storey)146.9 in13
Worked examples. Your builder will adjust for finished surfaces at both ends.

The rules a flight has to meet

ElementRequirement
Riser heightNo more than 7¾ inches
Tread depthAt least 10 inches, nosing to nosing
UniformityTallest and shortest riser within ⅜ inch of each other; same for tread depth
Stair widthAt least 36 inches
Nosing projectionBetween ¾ and 1¼ inches, and consistent within ⅜ inch across the flight
HandrailRequired at 4 or more risers, 34–38 inches above the nosing line, graspable, on at least one side
Guard on open sidesAt least 34 inches above the nosing line where the drop exceeds 30 inches
HeadroomAt least 6 ft 8 in, which matters under a second-storey deck
International Residential Code values. Local jurisdictions adopt the IRC with amendments — confirm with your building department.

Handrail and guard are not the same thing

They do different jobs and have different numbers, and conflating them is the second most common stair problem.

  • A handrail is what you grip going up and down. 34–38 inches above the nosing line, graspable — meaning your hand can actually close around it. A wide flat cap rail is not graspable and does not count on its own.
  • A guard stops you falling off the side. At least 34 inches above the nosing line, with no gap a 4-inch sphere passes through.
  • A flight can need both. On an open-sided stair, the guard frames the side and a separate graspable handrail is mounted within it or on the wall.

What else to get right

  • Land on something solid. Stairs should terminate on a concrete pad, pavers or a proper landing — not bare soil, which settles and pulls your bottom riser out of tolerance within a season.
  • Mind the run. Stairs take more yard than people expect. A 48-inch-high deck with seven risers needs roughly six feet of horizontal run before the bottom step lands.
  • Wider is better. 36 inches is the minimum and feels like a minimum. Four feet feels like part of the deck rather than a fire escape.
  • Light them. Not always required for a residential deck, but stairs are where people fall in the dark. Riser lights or post caps are cheap at build time.

Common questions

How many steps does a 24-inch deck need?
Four risers at 6 inches each, giving three treads. Three risers would need 8 inches each, which exceeds the 7¾-inch cap.
What is the maximum deck stair riser height?
7¾ inches under the IRC, and every riser in the flight must be within ⅜ inch of every other one.
Do deck stairs need a handrail?
Yes, once the flight has four or more risers. It must be graspable and mounted 34–38 inches above the line connecting the tread nosings.
How deep does a deck stair tread have to be?
At least 10 inches measured nosing to nosing. Many builders go deeper for comfort, which is fine as long as the flight stays uniform.
Can deck stairs turn a corner?
Yes, with a landing between flights, or as a cascading run that wraps the deck corner. Both add cost and take more yard than a straight flight.

Keep reading