Skip to content
Skills / Deck & Fence Construction / Deck and Fence Building / Installing Decking and Deck Stairs
Deck & Fence Construction

Installing Decking and Deck Stairs

15 min read Training Guide

Lay deck boards with the right gaps, fasteners and joints, then build exterior stairs with code risers, well-supported stringers and a solid landing.

Table of contents

Decking is the part of a deck everyone sees and walks on, and stairs are where people fall. Boards laid with the wrong gaps cup, trap water or split at the ends. Stairs built with one tall step, a weak stringer connection or a soft landing catch feet and fail. This guide covers both, starting where the framing inspection ends.

The code references are to IRC Section R507 and R311.7 and the American Wood Council's DCA 6 deck guide. Your adopted code edition, your town's amendments and the decking maker's instructions win. Composite and PVC decking in particular must be installed exactly as its maker says, or the warranty and the code listing are void.

What You Will Be Able to Do

  • Choose fasteners, gaps and joist spacing for wood and composite decking.
  • Plan board layout so the last board is not a sliver.
  • Make butt joints that do not split or sag.
  • Lay out deck stairs from the deck surface to a finished landing.
  • Support stringers at the top and bottom, and fit treads that meet code.

Decking Materials

Material What to know
Pressure-treated wood Often wet from the plant and shrinks as it dries
Kiln-dried after treatment (KDAT) Dry and stable, so it gets a full gap at install
Cedar or redwood Only the heartwood resists decay
Composite or PVC Must carry a label showing ASTM D7032 compliance and its allowed span

The IRC decking table sets the widest joist spacing each board can span. Wood boards 1-1/4 inches thick (sold as 5/4) span 16 inches when they run square to the joists and 12 inches on a diagonal. Two-inch wood spans 24 and 16 inches. Composite spans come from its label.

Getting the Frame Ready

  1. Check the plane. Run a string or a long straightedge across the joist tops. Plane down high joists and shim or sister low ones. Boards follow the joists, so a high joist becomes a hump.
  2. Mark joist centers on the house wall and on the rim, so you can snap lines for fasteners later.
  3. Protect the joists with joist tape on the tops if your decking maker or your plan calls for it. It sheds water off the joist under each board.

Gaps and Fasteners

Side gaps. DCA 6 calls for about 1/8 inch between wood boards. Treated boards that are still wet shrink as they dry, so many crews butt them tight or nearly tight and let the gap open. KDAT and other dry boards get the full gap from the start. Composite and PVC boards follow the maker's gap chart, which often changes with the temperature on the day you install.

Fasteners. The IRC requires at least two 8d threaded nails or two No. 8 wood screws into each joist for wood decking. Use fasteners rated for the treated lumber, such as hot-dipped galvanized or stainless steel. Composite boards use the maker's screws or hidden clips.

  • Drive two fasteners per joist, about 3/4 inch to 1 inch in from each edge.
  • Drive screw heads flush with the surface. Overdriven heads hold water and split the wood.
  • Predrill near board ends, where screws split wood most easily.
  • Snap a chalk line over each joist so the fastener rows run straight.

Laying the Boards

Plan the Last Board

Count before you cut. You want a full board at the outside edge, where everyone sees it.

Worked example. The deck is 144 inches from the house to the outside edge of the rim. Boards are 5-1/2 inches wide, with 1/8-inch gaps.

  1. Each board plus a gap takes 5-5/8 inches.
  2. 144 / 5.625 = 25.6, so 25 full courses fit with 0.6 of a board left over.
  3. 25 boards and 25 gaps take 25 x 5.625 = 140-5/8 inches, which leaves 3-3/8 inches.
  4. Rip the first board, the one against the house, to about 3-3/8 inches. The narrow board goes where it is least visible, and the outside edge ends on a full board.

Leave a small gap between the first board and the house siding so water and debris can drain.

Working Across the Deck

  1. Snap a reference line for the first full course, measured from the rim so the layout ends where you planned.
  2. Fasten each board as you go. Straighten bowed boards with a board-bending tool or a pry bar levered against the joist, and fasten while you hold the bend.
  3. Every few rows, measure from the outside rim to the last board at both ends and in the middle. Adjust gaps slightly to bring the courses back to parallel.
  4. Let board ends run long, then trim them all at once along a snapped line with a circular saw and a guide.

Butt Joints

Where two boards meet end to end, each needs solid bearing. On a single 1-1/2-inch joist, each end gets only 3/4 inch of wood, and screws that close to an end split it.

  • Fasten a 2x block or a short sister beside the joist at each joint, so each board end lands on its own wood.
  • Stagger joints so they do not line up on the same joist in neighboring rows.
  • DCA 6 requires each piece of decking to bear on at least three joists. Short scraps are not decking.
  • Brush preservative on any cut end of treated lumber, as the code requires for field cuts.

A picture frame border, where boards run around the edge and hide the cut ends, is an option. It needs extra blocking under the border boards.

Deck Stairs

Stair layout works the same outdoors as indoors: divide the total rise into equal risers, then pick a tread depth. The deck-specific parts are where you measure from, how the stringers attach, and what they stand on.

Code Limits

Item IRC limit
Riser height 7-3/4 inches maximum
Tread depth 10 inches minimum
Variation within a flight 3/8 inch maximum, for both risers and treads
Nosing 3/4 to 1-1/4 inches, unless treads are at least 11 inches deep
Width 36 inches minimum
Landing Top and bottom, at least as wide as the stair and 36 inches deep
Handrail Required on at least one side with 4 or more risers

Open risers are common on decks. Where the stair is more than 30 inches above grade, the openings between treads must not let a 4-inch sphere pass.

Measuring the Rise

Measure the total rise from the deck surface down to the finished surface of the landing, at the spot where the landing will be. Ground often slopes away from a deck, so a tape dropped straight down from the deck edge reads wrong. Hold a level on a long straightedge from the deck surface out over the landing spot, and measure down from it. If a concrete pad or pavers will go there, measure to their finished top, not the dirt.

Worked example. The deck surface sits 38 inches above the finished landing.

  1. 38 / 7.75 = 4.9, so round up to 5 risers.
  2. 38 / 5 = 7.6 inches per riser, or about 7-5/8 inches.
  3. The deck itself is the top step, so the stair has 5 - 1 = 4 treads.
  4. With 10-1/2-inch treads, the run is 4 x 10.5 = 42 inches.
  5. Five risers means a handrail is required.
  6. The top tread is 38 - 7.6 = 30.4 inches above the landing. If the ground beside the stair is at landing level, the open sides of the top tread need a guard.

Stringers

  • DCA 6 calls for 2x12 stringers. With cut stringers only, use at least three for a 36-inch stair. On wider stairs, space stringers no more than 18 inches on center.
  • Lay them out and cut them as you would interior stringers. Stop the saw at each inside corner, and leave enough solid wood below the cuts.
  • DCA 6 limits how far a stringer may span. Past that, add a 4x4 post under it on its own footing, or add a landing.
  • DCA 6 requires an intermediate landing when a stairway climbs more than 12 feet, and that landing is built as a free-standing deck.

Attaching the Top

The top of each stringer hangs from the deck's rim or end joist. Use a stair stringer hanger rated for that connection, or the bearing detail your plan shows, such as a 2x ledger below the rim. Never rely on toenails. The top tread sits one riser below the deck surface, so the deck becomes the top step.

Check that the rim the stringers hang from is solidly fastened to the joists. A stair puts a heavy, concentrated load on one spot.

Supporting the Bottom

A stringer that sits on dirt rots and sinks, and the bottom step grows taller.

  • DCA 6 has the stringers bear on a 2x4 bearing block fastened to posts that sit on footings at least 12 inches below grade, or below the frost line, whichever is deeper. It does not let stringers bear on a pad or patio that is not founded that deep.
  • Many towns accept a concrete landing pad or a compacted gravel base instead. Ask your building department before you pour.
  • Fasten the bottom so it cannot kick out, with angle brackets into the pad or screws into the bearing block, as your detail shows.
  • Keep wood off the soil, and use ground-contact lumber where it is close.
  • Slope the landing slightly so it drains, and make it at least as wide as the stair and 36 inches deep.

Treads and Risers

  • Treads must carry a 300-pound point load under the IRC. DCA 6 lists the minimum tread lumber by stringer type and species. For example, 2x4 or 5/4 boards work on cut stringers at its spacing, while treads on solid stringers 36 inches apart need deeper boards, such as 2x8 in southern pine.
  • Composite treads often have a shorter allowed span on stairs than on a deck. Read the label, and add stringers if needed.
  • Use two boards per tread with a small drainage gap, fastened at every stringer.
  • Keep treads level, with no more slope than the code allows, about 1/4 inch per foot.
  • Check every riser with a tape. A flight that varies more than 3/8 inch fails.

Light

Exterior stairs need a light at the top landing that lights the stairs. DCA 6 says it is switched from inside the house, or by motion or a timer.

Guards and handrails on the stair attach to posts at the top and bottom. Plan those posts now, because the bottom post usually needs its own footing.

Common Mistakes

Mistake What it costs
Measuring rise straight down to sloped dirt A bottom step that is too tall or too short
Butt joint on a single joist Split ends and loose boards
Ignoring the composite label span Sagging boards and a void warranty
Toenailed stringers at the top A stair that can pull off the deck
Stringers on bare soil Rot, settling and an uneven bottom step
Wet treated boards gapped wide Gaps that open far wider as the wood dries

Check Your Understanding

1. The deck surface is 30 inches above the finished landing. How many risers and treads do you build?

30 / 7.75 = 3.9, so 4 risers of 7-1/2 inches each. The deck is the top step, so 3 treads. With 4 risers, a handrail is required.

2. You are laying wet treated boards on a summer day. How do you gap them?

Tight or nearly tight. They shrink as they dry, and the gaps open on their own.

3. Two boards meet over a single joist. What do you add?

A 2x block or sister beside the joist, so each board end has its own bearing and the screws are not at the very end.

4. A homeowner wants the stair to land on an old patio slab. What do you check?

Whether the local code accepts it. Under DCA 6, stringers may not bear on a slab that is not founded below the required footing depth.

Key Takeaways

  • Joist spacing depends on the decking: 16 inches for 5/4 wood laid square, 12 on a diagonal, and the label for composite.
  • Use two rated fasteners per joist, and give every butt joint its own bearing.
  • Plan the layout so a full board ends at the outside edge.
  • Measure stair rise from the deck surface to the finished landing, at the landing spot.
  • Hang stringers with rated hangers, and stand them on footings or an approved landing.
  • Keep risers within 3/8 inch of each other, and light the stairs.