Getting your deck step height right is the difference between stairs that feel natural underfoot and stairs that trip people, fail inspection, or simply feel awkward. Building codes regulate stair dimensions tightly because mismatched or oversized steps are a leading cause of falls. The good news is that the rules are straightforward once you understand the few numbers that matter, and this guide walks you through every one.
Part of our Decks & Outdoor guide — explore the full guide →
Before you start cutting stringers, know that codes vary by jurisdiction, and your local building department has the final say. The figures below reflect general International Residential Code (IRC) guidance for residential decks, but you should always confirm with your local inspector before you build. With that caveat noted, here’s what governs safe, comfortable deck stairs.
Maximum Riser Height
The riser is the vertical part of each step, the height you lift your foot to climb. Under the IRC, the maximum riser height for residential stairs is 7 3/4 inches. Many builders aim a bit lower, around 7 to 7 1/2 inches, because slightly shorter risers feel more comfortable on the legs, especially on an outdoor deck where you may be carrying things.
There’s no strict code minimum riser height for typical residential stairs, but very short risers under about 4 inches become a trip hazard because people don’t expect them. The sweet spot for most deck stairs is a riser between 6 and 7 1/2 inches. Going taller than 7 3/4 inches is both uncomfortable and a code violation that an inspector will flag.
Tread Depth Requirements
The tread is the horizontal surface you step on, and its depth determines how much of your foot lands securely. The IRC requires a minimum tread depth of 10 inches, measured from nosing to nosing. Many deck builders prefer 11 inches or more, which often works out neatly when using two 2×6 deck boards with a small gap, giving a comfortable, foot-friendly landing.
Deeper treads make stairs feel safer and easier to descend, which matters on an outdoor deck exposed to rain and dew. If your stairs include a nosing (the small overhang at the front of each tread), it must generally project between 3/4 inch and 1 1/4 inch where treads are less than 11 inches deep. Consistent, generous treads are one of the cheapest ways to make stairs feel high quality.
Why Consistent Rise Matters
Uniformity is one of the strictest stair rules in the code, and for good reason. Your body learns the rhythm of a staircase within the first step or two, so a riser that’s even slightly off can catch a toe and cause a fall. The IRC limits the variation between the largest and smallest riser in a single flight to no more than 3/8 inch.
The same 3/8-inch tolerance applies to tread depths within a flight. This is why you can’t simply make the bottom step shorter to “use up” leftover height; every riser must be within 3/8 inch of every other one. Careful measuring and math up front, before you cut a single board, is what keeps you within this tight tolerance.
Calculating the Number of Steps
Figuring out your stairs starts with the total rise, which is the vertical distance from the surface the stairs land on (a patio or grade) up to the top of the deck surface. Measure this carefully, accounting for the finished ground height. Then divide the total rise by your target riser height, around 7 inches, and round to the nearest whole number to find how many risers you need.
Here’s a worked example: if your total rise is 35 inches and you divide by 7, you get exactly 5 risers, each a perfect 7 inches tall. If the math isn’t clean, say a 38-inch total rise, divide by 7 to get 5.43, round to 5 risers, then divide 38 by 5 to get 7.6-inch risers, which is under the 7 3/4-inch max. The number of treads is always one fewer than the number of risers, since the deck surface itself acts as the top step.
Stringer Spacing and Support
Stringers are the angled boards that carry the treads and bear the load of everyone on the stairs. For standard 2×6 or composite treads, space your stringers no more than 16 inches on center; for some composite decking and certain materials, manufacturers require 12 inches on center or even closer, so check the product’s instructions. Skimping on stringers leads to bouncy, sagging stairs.
Use solid 2×12 lumber for cut stringers so enough material remains after the notches are cut, and attach them securely to the deck framing with proper hangers or a ledger. The bottom of the stringers should land on a solid concrete pad or footing, never bare soil, to prevent rot and shifting. Pressure-treated lumber rated for ground contact is essential at the base.
Handrail and Guardrail Requirements
Handrails become required once a stairway has four or more risers, under the IRC. The handrail must run continuously along the flight and sit between 34 and 38 inches above the stair nosings. It also needs to be graspable: a round rail between 1 1/4 and 2 inches in diameter, or an equivalent graspable profile, so a hand can fully wrap around it in a fall.
Don’t confuse handrails with guardrails. Guards are required along the open sides of a deck or stairs where the walking surface is more than 30 inches above the ground below, and residential guards are typically 36 inches high with balusters spaced so a 4-inch sphere can’t pass through. Both serve different safety jobs, and an inspector will check each separately.
Always Verify Local Code
While the numbers in this guide reflect common IRC residential standards, your jurisdiction may amend them, and some areas adopt different editions of the code with slightly different figures. A permit is usually required for deck stairs, and skipping it can cause headaches when you sell the home or file an insurance claim after an injury.
Before you buy lumber, call your local building department, describe your project, and ask about riser, tread, handrail, and permit requirements specific to your area. A 15-minute phone call up front prevents tearing out finished stairs that fail inspection. Build to the published numbers, measure twice, keep every riser within that 3/8-inch tolerance, and your deck step height will be safe, comfortable, and code-compliant for years.