How to Build a Deck: Complete Step-by-Step Guide (2026)
How to Build a Deck: Complete Step-by-Step Guide
Building a deck is one of the most rewarding home improvement projects you can take on. A well-built deck adds usable outdoor living space and typically returns 65-75% of its cost in home value. This guide walks you through every step, whether you're building a simple ground-level platform or a multi-level elevated deck.
Before You Start: Planning & Permits
Check Local Codes
Most municipalities require a building permit for any deck over 200 square feet or more than 30 inches above grade. Contact your local building department before starting. You'll typically need to submit a site plan showing the deck's location relative to property lines, septic systems, and utilities.
Call 811
Always call 811 (or your local utility locator) at least 48 hours before digging. They'll mark underground utilities for free. Hitting a gas line or buried cable can be deadly and expensive.
Design Considerations
- Size: A 12x16 deck (192 sq ft) comfortably fits a dining table and grill. A 16x20 (320 sq ft) adds room for lounge furniture.
- Height: Ground-level decks (under 30") are simplest. Elevated decks need posts, beams, and usually railings and stairs.
- Shape: Rectangular is easiest and most material-efficient. Angles and curves add complexity and waste.
- Orientation: Consider sun exposure, views, privacy from neighbors, and access from the house.
Choose Your Decking Material
| Material | Cost/sq ft | Lifespan | Maintenance |
|----------|-----------|----------|-------------|
| Pressure-treated pine | $2-4 | 15-20 years | Stain every 2-3 years |
| Cedar | $4-8 | 15-25 years | Seal every 1-2 years |
| Redwood | $6-12 | 20-30 years | Seal every 1-2 years |
| Composite (Trex, TimberTech) | $8-15 | 25-50 years | Occasional cleaning |
| Ipe (Brazilian walnut) | $10-20 | 40-75 years | Oil annually or let gray |
| Cumaru (Brazilian teak) | $7-12 | 30-50 years | Oil annually or let gray |
Pressure-treated pine is the most popular choice for budget-conscious builds. For a premium, low-maintenance deck, composite or ipe are worth the investment.
Tools & Materials You'll Need
Tools
- Circular saw or miter saw
- Drill/driver with impact driver
- Post hole digger or power auger
- Level (4-foot and torpedo)
- Speed square and framing square
- Chalk line and tape measure
- String line and stakes
- Socket wrench set
- Joist hanger nailer or hammer
Materials (for a typical 12x16 elevated deck)
- 4x4 or 6x6 posts (pressure-treated)
- 2x8 or 2x10 joists (pressure-treated)
- 2x8 ledger board
- 2x6 or 5/4x6 decking boards
- Concrete tube forms (Sonotubes) and concrete mix
- Joist hangers, post brackets, and structural hardware
- Ledger board flashing
- Lag bolts or ledger screws
- Deck screws (stainless steel or coated)
- Post caps and railing components
Step 1: Set the Ledger Board
The ledger board is the backbone of an attached deck — it bolts to your house and supports one side of the deck frame.
1. Remove siding where the ledger will attach. Never mount a ledger over vinyl or wood siding.
2. Install flashing above and behind the ledger to prevent water from getting behind the board and rotting your rim joist.
3. Mark joist locations on the ledger at 16" on center.
4. Attach the ledger to the house rim joist using 1/2" lag bolts or structural ledger screws spaced every 16 inches in a zigzag pattern. The ledger must attach to the house's rim joist or concrete foundation — never to just the sheathing.
5. Check for level across the entire length.
Critical: The ledger connection is the #1 point of deck failure. Use proper flashing, structural fasteners, and attach to solid framing. Many deck collapses are caused by improperly attached ledger boards.
Step 2: Lay Out and Dig Footings
1. Set string lines from the ledger to establish the outer edge of the deck. Use the 3-4-5 triangle method to ensure square corners.
2. Mark footing locations — typically every 6-8 feet along beam lines. Your local code specifies minimum footing size and depth (usually below the frost line).
3. Dig holes using a post hole digger or power auger. Most codes require 12"-diameter footings extending below the frost line (24-48" in northern climates).
4. Set tube forms (Sonotubes) in the holes, level them, and backfill around them.
5. Pour concrete and set post brackets (Simpson Strong-Tie ABA or similar) while the concrete is wet, or use retrofit brackets after curing.
Step 3: Set Posts and Beams
1. Cut posts to height — measure from the top of each footing bracket to the bottom of where the beam will sit. Account for the beam height and the slight slope you want (1/8" per foot away from the house for drainage).
2. Set posts plumb in the brackets and temporarily brace them.
3. Install beams on top of the posts. For most residential decks, doubled 2x8 or 2x10 beams work. Secure beams to posts with through-bolts or approved post-beam connectors.
Step 4: Install Joists
1. Hang rim joists at the ends of the ledger, perpendicular to the house, running to the beam.
2. Install the front rim joist across the beam, connecting the two end joists.
3. Mark joist locations at 16" on center on both the ledger and front rim joist.
4. Hang joists using joist hangers at the ledger and rim joist connections. Every joist needs a hanger at both ends.
5. Check for crown — sight down each joist and install with the crown (bow) facing up.
6. Add blocking between joists at mid-span for rigidity if joists span more than 10 feet.
Step 5: Lay Decking Boards
1. Start at the house with the first board tight against (but not touching) the siding. Leave a 1/8" gap for drainage.
2. Use spacers between boards — 1/8" for wood, or follow manufacturer specs for composite (usually 3/16" to 1/4").
3. Pre-drill near board ends to prevent splitting, especially with hardwoods.
4. Use two screws per joist — driven at slight opposing angles for maximum holding power.
5. Stagger end joints so they don't line up on the same joist in adjacent rows.
6. Let boards overhang the rim joist by 1" to 1.5", then snap a chalk line and trim all at once for a perfectly straight edge.
Pro tip: For hardwoods like ipe, pre-drill every screw hole with a countersink bit. The wood is too hard for screws to self-drill without splitting.
Step 6: Build Stairs
If your deck is more than one step above grade, you'll need stairs.
1. Calculate rise and run — measure the total height from ground to deck surface. Divide by ideal riser height (7" to 7.75") to get the number of steps. Total run = number of steps × tread depth (typically 10" to 11").
2. Cut stringers from 2x12 pressure-treated boards using a framing square with stair gauges.
3. Attach the top of stringers to the rim joist with joist hangers or a ledger board.
4. Set the bottom on a concrete pad — never directly on soil.
5. Install treads using the same decking material as the deck surface.
Step 7: Install Railings
Railings are required on any deck surface more than 30" above grade (check local codes — some require them at 24").
1. Posts should be bolted through the rim joist (not just screwed to the surface). Space posts no more than 6 feet apart.
2. Top rail height must be at least 36" (residential) or 42" (commercial) above the deck surface.
3. Baluster spacing must be less than 4" — a 4" sphere should not pass through.
4. Install top and bottom rails between posts, then fill with balusters.
Step 8: Finish & Protect
For pressure-treated wood: Wait 2-4 weeks for the wood to dry, then apply a penetrating stain/sealer. Water-based stains are easier to apply; oil-based penetrate deeper.
For cedar and redwood: Apply a UV-blocking oil or stain within 2-4 weeks of installation to preserve the natural color. Left unfinished, both will weather to silver gray.
For ipe and hardwoods: Apply a hardwood oil (Penofin, TWP, or similar) for color retention, or let it weather naturally to silver.
For composite: No finish needed. Clean periodically with soap and water or a composite deck cleaner.
Cost Estimates
| Deck Size | PT Pine | Cedar | Composite | Ipe |
|-----------|---------|-------|-----------|-----|
| 10x12 (120 sf) | $1,800-3,000 | $3,000-5,000 | $4,500-8,000 | $6,000-12,000 |
| 12x16 (192 sf) | $2,900-4,800 | $4,800-8,000 | $7,200-12,800 | $9,600-19,200 |
| 16x20 (320 sf) | $4,800-8,000 | $8,000-13,000 | $12,000-21,000 | $16,000-32,000 |
DIY labor savings are typically 50-60% vs. hiring a contractor. These estimates include framing, decking, basic railings, and stairs.
Common Mistakes to Avoid
1. Skipping the permit — unpermitted decks can cause problems when selling your home and may not be covered by insurance.
2. Inadequate ledger attachment — this is the #1 cause of deck collapses.
3. No flashing behind the ledger — leads to rot in the house rim joist.
4. Footings above the frost line — frost heave will shift your deck.
5. No gap between boards — boards expand when wet; gapless installation causes buckling.
6. Using interior-rated hardware outdoors — use hot-dipped galvanized or stainless steel fasteners and connectors.
7. Not allowing PT lumber to dry before staining — stain won't penetrate wet wood.
Frequently Asked Questions
Lumberama Team
Wood & Lumber Experts
Contributor to Lumberama’s reference library. Read our editorial standards and source methodology.
Continue researching decking
Where readers of this article usually go next.
Related Articles
Pressure Washing Guide: Cost, Tips & What to Clean
Restore your home's exterior with pressure washing.
Arbor & Trellis Guide: Types, Cost & DIY Ideas
Add vertical beauty to your garden.
Screen Porch Guide: Types, Cost & Design Ideas
Enjoy the outdoors without bugs.