Building a Deck: How to Do It in 7 Steps, From Footings Up
Alexander Novak Updated 29 November 2026 12 min read
In this article
Here is how to build a deck: lay it out with string lines, pour footings below the frost line, bolt a flashed ledger to the house, set 6x6 posts and a beam, hang the joists, then screw down the decking and add guards and stairs. That is the build order, from the ground up.
The design order runs the other way, and that is the part most how to guides skip. The decking you pick sets the joist spacing. The spacing and the span set the joist size. The joist span sets the beam, and the beam sets the posts and footings. Choose the boards last and you can end up re-pouring footings for a board that needed 12 in spacing instead of 16 in.
| At a glance | Answer |
|---|---|
| Build order | Layout, footings, ledger, posts and beam, joists, decking, guards, stairs |
| Design order | Decking, joist spacing, joist size, beam, posts and footings |
| Footing depth | 12 in below grade or below the frost line, whichever is deeper |
| Minimum post | 6x6 nominal |
| Ledger fasteners | 1/2 in lag screws or through bolts, staggered |
| Guard required | Deck surface more than 30 in above grade |
| Permit | Usually, for an attached deck; check with your permit office first |

Before you build: permit, plan and design order
Start with the permit question, because the answer changes what you draw. An attached deck, or one more than 30 in above grade, needs a permit in most US jurisdictions. Our four part deck permit test walks through the size, height and attachment rules so you know before you buy lumber.
If you need a permit, you need drawings: a site plan showing where the deck sits on the lot, a framing plan and a few connection details. The deck permit drawings guide shows all three sheets for a sample deck, and the site plan for permit post covers the lot sheet in detail.
The framing rules in this guide come from the American Wood Council's DCA 6 prescriptive deck guide, which many permit offices accept as written. It covers single level decks attached to the house, with the deck no longer (away from the house) than it is wide.

Work the design in this order before you dig:
- Pick the decking. 2x lumber decking can run square to the joists or at up to 45 degrees. Composite boards follow their manufacturer's spacing, often 16 in or tighter, and diagonal boards usually need closer joists.
- Set the joist spacing from the decking. 16 in on center is the common default.
- Size the joists from the span between the ledger and the beam.
- Size the beam from the post spacing and the joist span.
- Size the footings from the beam span and joist span.
How far can deck joists span?
For Southern Pine No. 2 joists at 16 in on center, DCA 6 Table 2 allows 11 ft 10 in for a 2x8, 14 ft 0 in for a 2x10 and 16 ft 6 in for a 2x12. Span is measured face to face between supports, and the overhang past the beam is extra. Other species span less, so read the row for the lumber stamped on your boards; the full deck joist span chart lists fir and cedar, snow loads and cantilever limits.
| Southern Pine, No. 2 | 12 in on center | 16 in on center | 24 in on center |
|---|---|---|---|
| 2x6 | 9 ft 11 in | 9 ft 0 in | 7 ft 7 in |
| 2x8 | 13 ft 1 in | 11 ft 10 in | 9 ft 8 in |
| 2x10 | 16 ft 2 in | 14 ft 0 in | 11 ft 5 in |
| 2x12 | 18 ft 0 in | 16 ft 6 in | 13 ft 6 in |
The table assumes 40 psf live load, 10 psf dead load and wet service. A hot tub or a heavy planter wall is outside it and needs an engineer. Joist depth matters for hangers and fascia, so check the actual lumber dimensions: a 2x8 is 7 1/4 in deep, not 8.

How to build a deck, step by step
How to build a deck
- Lay out the deck with string lines
Set batter boards 2 ft past each outside corner. Run mason string from the house wall to mark the outer edges. Square each corner with the 3 4 5 rule: 3 ft along the house, 4 ft along the string, and the diagonal between those marks must read exactly 5 ft. Scale it to 6 8 10 for a bigger deck. Mark each footing center with paint and a stake.
- Dig and pour the footings
Dig each hole at least 12 in below undisturbed ground or below your local frost line, whichever is deeper, and wide enough for the footing size the beam needs. Most offices want to see the open holes before concrete. Set a post base in the wet concrete, lined up on the string. Count the bags before the pour: most deck footing jobs need far less than a full pallet of concrete mix, so buy loose bags plus a few spares. For hand mixing at each hole, counting footings in 60 lb bags keeps every batch small.
- Flash and bolt the ledger
Remove the siding where the ledger goes. Fit corrosion resistant flashing that tucks up behind the siding and laps over the ledger. Fasten a ledger of at least 2x8 to the house rim with 1/2 in lag screws or through bolts with washers, staggered top and bottom. Drill pilot holes and turn the lags in. Never hammer them.
- Set the posts and beam
Stand 6x6 posts in the post bases and brace them plumb. Mark each one so the top of the beam lines up with the bottom of the joists in the ledger hangers, using a level or laser off the ledger. Cut them, then fasten the beam on top with the post cap the guide calls for. Build multi-ply beams with the joints over posts.
- Hang the joists
Mark the joist layout on the ledger and the beam at your chosen spacing. Set each joist crown up in a hanger at the ledger and fasten it over or to the beam. Fill every nail hole in the hanger with the fasteners the hanger maker specifies. Add the rim joist and the lateral hold downs.
- Lay the decking
Start at the house or the outer edge with a straight board. Fasten 2x decking to every joist with two screws or two threaded nails, and gap the boards about 1/8 in. Each board must bear on at least three joists. Snap a chalk line and trim the ends in one pass.
- Add guards and stairs
Any deck surface more than 30 in above grade needs a guard at least 36 in high with openings that stop a 4 in sphere. Stairs need even risers no taller than 7 3/4 in and treads at least 10 in deep, and a handrail once there are four or more risers.

The layout is the cheapest place to fix a mistake. A corner that is a little out of square at the strings turns into a tapered last board on the decking, and moving a stake costs nothing.

Worked example: a 14 x 10 ft deck, 32 in off the ground
This fictional deck is 14 ft wide along the house and projects 10 ft. The surface sits 32 in above flat grade. Joists are Southern Pine 2x8 at 16 in on center, and the beam sits 1 ft 6 in in from the outer edge, so the joists overhang it.
| Check | Calculation | Result |
|---|---|---|
| Length vs width | 10 ft projection, 14 ft width | Within DCA 6 limit |
| Joist span | 10 ft minus 1 ft 6 in | 8 ft 6 in, under 11 ft 10 in |
| Overhang limit | lesser of 2 ft 0 in and 8.5 / 4 | 2 ft 0 in; 1 ft 6 in passes |
| Joist count | 168 in / 16 in = 10.5, round up to 11 spaces, plus 1 | 12 joists |
| Beam | posts at 0, 7 and 14 ft, joist span up to 10 ft | 2-2x10 allows 7 ft 9 in, 2-2x8 only 6 ft 6 in |
| Footings | Table 4, 8 ft beam row, joists up to 10 ft | 3 footings, 20 in round, 8 in thick |
| Guard | 32 in is over 30 in; 10 + 14 + 10 minus a 3 ft stair opening | 31 lf |
| Stairs | 32 in / 5 risers | 6.4 in risers, 4 treads |

The beam row is the one people get wrong. Two 2x8s look strong enough for a 7 ft span, but Table 3A allows them only 6 ft 6 in with joists up to 10 ft. Step up to 2-2x10, or add a fourth post. Four risers would be 8 in each, over the 7 3/4 in limit, so this stair needs five. Five risers also means a handrail.
The footings are smaller than they look: each 20 in round, 8 in thick pad is about 1.45 cu ft, so all three take about 8 bags of 80 lb mix, and the bags per yard table converts any footing volume the same way. For a different layout or soil, the footing sizes by load and soil type work the same math post by post.
Once the layout is fixed, the framing calculator checks member counts, and a lumber takeoff turns the frame into an order list by length.
The ledger: where decks fail
A ledger deck hangs half its weight on the house. DCA 6 bans ledgers on brick or stone veneer, hollow masonry, cantilevered floor overhangs and bay windows. In those cases you build a freestanding deck with its own beam and posts at the house side.

| Ledger deck | Freestanding deck | |
|---|---|---|
| House side support | Ledger bolted to the house rim | Second beam on its own posts |
| Footings | One beam line | Two beam lines |
| Water risk at the wall | High if flashing is wrong | Low, nothing pierces the wall |
| Works on brick veneer or an overhang | No | Yes |
| Lateral connection | Two hold downs, 1,500 lb each | Diagonal bracing at the posts |
Use hot dip galvanized or stainless steel fasteners and hardware with treated lumber. Ordinary zinc plated screws corrode in contact with modern treatments, and the hangers are what hold the joists.

Decking, guards and stairs

Run the boards long and trim them all at once to a chalk line. It is faster than cutting each board to length, and the edge comes out straight. Fasten two screws per joist, and keep the gaps even with a spacer so water drains.
Planning shade later? If you put a pergola over the deck, the pergola permit rules apply on top of the deck's own permit.
Common deck building mistakes
| Mistake | What it costs |
|---|---|
| Choosing decking after the framing | Joists at the wrong spacing, or a whole extra row of joists |
| Footings above the frost line | Posts heave each winter and the deck racks |
| Ledger without flashing | Water rots the house rim behind the ledger |
| Ledger nailed instead of bolted | The main connection can pull away under load |
| Beam sized by eye | Sag, bounce, or a failed inspection and a re-pour |
| Plated screws in treated lumber | Fasteners corrode inside the wood |
| Guessing riser heights | Uneven steps that trip people and fail inspection |

From sketch to a buildable plan
You can do every step above by hand: a sketch on graph paper, the three DCA 6 tables and a pencil. Where it breaks is change. Move the deck 2 ft wider and the joist count, beam size, footing size and guard length all change, and the permit set has to match the new numbers on every sheet.
That is the part ScaledPlans handles. Start from a photo or a sketch of the house and you get the site plan and material quantities from one set of measurements, then you check every number before you build or bid. You can get started with the measurements you already have.
To build a deck, design it from the boards down and build it from the footings up. The decking sets the joist spacing, the spacing and span set the joists, and the joists set the beam and footings. The two places to slow down are the footings and the ledger: they are buried or hidden by the end of the build, and they carry everything you stand on.
Frequently asked questions
Lay out the deck with batter boards and string lines, dig and pour footings below the frost line, flash and bolt a ledger to the house, set 6x6 posts and a beam, hang the joists, fasten the decking, then add guards and stairs. Get the permit and any footing inspection before you pour concrete.
Under the model residential code, a deck can skip the permit only if it is 200 sq ft or less, no more than 30 in above grade at any point, not attached to the house and not serving the required exit door. Many cities and counties tighten this, so check with your permit office before you build.
Only if your deck meets every exemption your local office allows, which usually means small, low and freestanding. An attached deck, or one more than 30 in off the ground, almost always needs a permit. Building one without it can mean fines, a forced tear out or trouble when you sell the house.
Put it on your next bid
Plans in. Checked quantities out.
Upload the plan you are bidding, review every quantity on the drawing and export the list.
Share article
About the author
Founder
Alexander Novak founded ScaledPlans and builds the product: how plans are measured, what each document includes and how every number stays checkable on the drawing.
More articles
Permits & site plans · 12 min Joist Span Chart for Decks: 2x6 to 2x12 by Spacing
The full deck joist span chart from the 2021 IRC: 2x6 through 2x12 at 12, 16 and 24 inches on center for southern pine, fir and cedar, how snow load shortens it, how far you can cantilever, and a 12 ft deck worked out both ways.
Permits & site plans · 11 min How Many Square Feet in an Acre? 43,560 and How It Looks
An acre is 43,560 square feet, about 208.7 ft on each side if it were a square. Here is the acre to square feet chart, common lot sizes in acres, a worked lot example, and why two one acre lots can need very different amounts of fence.
Permits & site plans · 13 min Do You Need a Permit to Remodel a Kitchen? 8 Triggers to Check
Most cosmetic kitchen remodels need no permit: paint, flooring, backsplash, cabinets and countertops in the same layout are finish work under the IRC model code. Move the sink, add an outlet or circuit, run a gas line, duct a hood outside or change a wall, and you usually need plumbing, electrical, gas or building permits. Here is the job by job answer and how to get it in writing.
Permits & site plans · 13 min Do You Need a Permit to Put a Fence Up? Zoning vs Building
Often yes, but usually a zoning or fence permit, not a building permit. Under the IRC model code a fence 7 ft or less needs no building permit, while zoning sets the height for each yard, corner sight lines and pool barrier rules. Here is how to check yours in writing.
Permits & site plans · 13 min Do You Need a Permit to Replace a Water Heater? Usually Yes
Most US cities require a permit to replace a water heater, even a same spot swap: the code exempts repairs, not new equipment. Here is which permits each job needs, what the inspector checks on the vent, gas line and relief valve, and how to get the answer in writing.
Permits & site plans · 12 min Do You Need a Permit for a Bathroom Remodel? Job by Job Answers
Most cosmetic bathroom remodels need no permit: paint, tile and fixtures set back in the same spot are finish work under the IRC model code. Move a fixture, replace pipe or wiring in a wall, add a circuit or a fan, or change a wall, and you usually need plumbing, electrical or building permits. Here is the job by job answer and how to get it in writing.