How to Build Deck Stairs: A Complete Step-by-Step Guide
Learn the entire process of building deck stairs from planning and measuring to cutting stringers and installing treads. This comprehensive guide covers material selection, tools needed, and building code requirements.
A solid set of deck stairs turns a deck from a platform into a living space. The stairs take more daily traffic than almost any other part of the structure. That is why deck stairs deserve careful layout and honest materials, not leftover lumber and guesswork. This guide covers the full build: planning, footings, stringer layout, treads, and railings that meet code.
Plan Your Deck Stairs Before You Cut Anything
Every good stair starts with three numbers: total rise, riser height, and tread depth.
Measure total rise from the finished deck surface down to the finished grade where the bottom step will land. Project the deck height out with a level and straight board. On sloping ground, measure at the lowest point and plan to level the landing pad.
Find the number of risers by dividing total rise by a target riser height of 7 to 7-1/2 inches, never above the 7-3/4 inch maximum. Round to a whole number, then divide again for the exact riser height. Every riser must match within 3/8 inch.
Set tread depth at 11 inches. The code minimum is 10 inches, but 11 inches feels better, and two 5/4x6 deck boards with a small gap land right around that number. Multiply tread depth by the number of treads, one fewer than the risers, to get total run. Our rise and run guide and the Standard Stair Calculator cover this math.
Choose the width. The code minimum is 36 inches. For a main stair that carries furniture and groups of people, 42 to 48 inches feels much better, but wider stairs need more stringers.
Tools and Materials for Building Deck Stairs
For a typical 4 to 6 step stair, plan on:
Pressure-treated 2x12 lumber for the stringers, one board per stringer plus one spare. Pick straight boards with tight grain.
5/4x6 or 2x6 pressure-treated deck boards for treads, two per tread. Composite boards work too, but follow the manufacturer's stair span ratings.
Pressure-treated 1x8 or 2x8 lumber for riser boards if you want closed risers. Open risers are allowed if the gap will not pass a 4-inch sphere.
Hot-dip galvanized or stainless hardware: stringer hangers or angle brackets, post bases, through-bolts, lag screws, and structural screws rated for pressure-treated lumber.
Concrete for the footings, bagged mix or ready-mix for larger pads.
Ledger flashing and waterproof membrane if the stair connects near the deck ledger, so trapped water cannot rot the connection.
Tools: circular saw, framing square, tape measure, level, drill and driver, post-hole digger, wheelbarrow or mixer, shovel, tamper, string line, and clamps.
Deck Stair Code Essentials
Widely used IRC-based requirements for residential deck stairs. Confirm every number locally, since amendments are common:
Maximum riser height: 7-3/4 inches, with no more than 3/8 inch variation between risers.
Minimum tread depth: 10 inches, nosing to nosing, with no more than 3/8 inch variation between treads.
Minimum stair width: 36 inches clear.
Guards required where the drop exceeds 30 inches, at least 36 inches tall on residential stairs.
4-inch sphere rule: no opening in the railing, guard, or open risers may pass a 4-inch sphere.
Handrail height: 34 to 38 inches above the nosing line, graspable and continuous for the full flight.
Nosing projection: 3/4 to 1-1/4 inches on treads 11 inches or less.
If your deck needs a guard, it almost certainly needs a permit too, so pull it before you dig. See our railing height code comparison for the full cross-code breakdown.
1. Pour Solid Footings First
Dig footings below the local frost line, or to the depth your building department requires in frost-free areas. A common approach is two or three pad footings, one under each stringer line, each at least 12 inches square on undisturbed soil. Set a precast pier block or poured pier with a post base on each footing, keeping the top a few inches above grade so stringer ends never sit in standing water. Slope the ground away so rain runs off.
While it cures, build a level 3 to 4 foot landing pad of pavers or concrete at the base. A stable pad keeps the bottom riser height consistent, which a settling lawn never will.
2. Lay Out the Stringers
Work from the exact riser height and tread depth in your plan. Hook your tape on the top end of the 2x12, mark the first riser, then step a framing square down the board, set to the riser height on one leg and tread depth on the other. Check the math first:
Number of risers = Total rise / Target riser height, rounded to a whole number
Exact riser height = Total rise / Number of risers
Total run = (Number of risers - 1) x Tread depth
Stringer length = square root of (Total rise squared + Total run squared)
The Stair Stringer Calculator does this arithmetic and shows the cut layout. The Rise and Run Optimizer is handy too, since small riser changes alter the feel. Two details make or break the result. First, shorten the bottom of the stringer by one tread thickness, since the first tread sits on the pad rather than on a cut. Forget this and the bottom riser ends up a full tread taller than the rest. Second, the top tread is usually the deck surface itself, so the last riser is measured down from the deck boards. Cut notches with a circular saw, stopping short of the corners, and finish each corner with a handsaw. Use the first finished stringer as a template for the rest.
3. Attach the Stringers to the Deck
Check the fit before fastening. The stringer top should sit flush against the rim joist or stair header, with the top tread level with the deck surface. Fasten each stringer with a code-listed hanger or heavy angle brackets and structural screws or through-bolts.
Rest the stringer ends on the piers or pad, and screw a pressure-treated 2x4 kicker across their backs near the bottom to stop them spreading under load.
Stringer Spacing and Tread Options
Thinner treads need tighter spacing so they do not flex. Typical residential guidelines, not code minimums:
Tread material | Typical max stringer spacing | Notes |
|---|---|---|
5/4 x 6 deck boards, two per tread | 16 in. on center | Most common. Leave about 1/4 in. gap between boards. |
2 x 6 lumber, two per tread | 16 in. on center | Stiffer underfoot, chunkier look. |
2 x 12 single board tread | 24 in. on center | Check for cupping first. |
Composite deck boards | Follow manufacturer rating | Often 12 in. on center. Never exceed the listed span. |
When in doubt, add another stringer.
4. Install Risers and Treads
Start at the bottom and work up. Fasten riser boards first if you are closing the risers, then set each tread over the top edge of the riser below. Let the front board overhang the riser face 3/4 to 1 inch for the nosing, with a small drainage gap between tread boards.
Fasten treads with two screws per board at every stringer, predrilling near the ends. Screws let you replace one board later without wrecking its neighbors. Keep every tread level and check riser heights as you go. With open risers, confirm the gaps will not pass a 4-inch sphere. See our exterior stairs guide for more on outdoor stair construction.
5. Build the Railing and Guards
Set newel posts at the top and bottom of the flight, anchored through the stringer or rim joist with through-bolts. Posts held by screws alone loosen within a season or two.
Run the handrail 34 to 38 inches above the nosing line, parallel to the slope. Space balusters so a 4-inch sphere cannot pass anywhere, including the triangular gap where the bottom rail meets the tread, the most failed detail on inspections. Gauge every section with a 4-inch block. Where the drop exceeds 30 inches, the guard must stand at least 36 inches tall, and the handrail profile must be graspable.
Common Deck Stair Mistakes
Skipping the bottom-stringer drop, which makes the first step taller than the rest.
Uneven risers. More than 3/8 inch of wander across the flight creates a trip hazard.
Unrated fasteners. Plain nails and interior screws corrode in treated lumber.
Stringers spaced too far apart. Bouncy treads crack. Add a stringer rather than stretching the layout.
No permit. Most jurisdictions require one, especially for elevated decks.
Ignoring water. End grain in soil and missing flashing shorten the stair's life.
Maintaining Your Deck Stairs
Once a year, check every tread for soft spots, every fastener for rust streaks, and every post for wobble. Tighten or replace hardware at the first sign of movement.
Clean the treads each spring with a deck cleaner and stiff brush to remove the slippery mildew film. Reapply water-repellent sealer every two to three years. Keep soil and mulch pulled back from the stringer bottoms so the end grain dries between rains. A stair that dries out lasts decades.
Frequently Asked Questions
How many stringers do I need for deck stairs?
For a 36-inch stair with 5/4 or 2x treads, use at least three stringers at 16 inches on center. A 48-inch stair typically gets four. Composite treads often need 12-inch spacing. When in doubt, add one more.
Can I build deck stairs without a permit?
Usually not. Most jurisdictions require a permit for deck stairs, and almost all do for elevated decks with guards. Inspections catch layout and railing mistakes before they are buried.
Should deck stair risers be open or closed?
Both are allowed as long as no opening passes a 4-inch sphere. Open risers shed water and look lighter. Closed risers look more finished.
How deep should deck stair footings be?
Below the local frost line, roughly 12 inches in mild areas to 48 inches or more in the far north. In frost-free regions, follow the local minimum, commonly 12 inches.
Codes and permit rules vary by city and county, and some areas amend the IRC values used in this guide. Before you buy lumber or dig, check with your local building department about permits, inspections, and local changes. A five-minute call now beats rebuilding a finished stair later.