Get started
Menu

Building a Deck: How to Do It in 7 Steps, From Footings Up

Alexander Novak Updated 29 November 2026 12 min read

ScaledPlans · Field notesGet started
Plans in. Quantities out.Get started
Pressure treated deck frame attached to the back of a house with a bolted ledger, joists in metal hangers, posts on concrete footings, a circular saw and a few deck boards on top

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
Pressure treated deck frame attached to the back of a house with a bolted ledger, joists in metal hangers, posts on concrete footings
The frame is the deck. The boards are the last day.

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.

Flow from decking to joist spacing to joist size to beam and posts to footings
Design top down, build bottom up

Work the design in this order before you dig:

  1. 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.
  2. Set the joist spacing from the decking. 16 in on center is the common default.
  3. Size the joists from the span between the ledger and the beam.
  4. Size the beam from the post spacing and the joist span.
  5. 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.

Bar chart of Southern Pine joist spans at 16 inches on center: 2x6 9 ft, 2x8 11.8 ft, 2x10 14 ft, 2x12 16.5 ft
One size up buys about 2 ft of span

How to build a deck, step by step

How to build a deck

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

Backyard deck layout with wooden batter boards, orange string lines off the house wall, a tape measure along one line and orange painted footing marks
Batter boards, string lines and painted footing marks

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.

Freshly poured round concrete footing in a cardboard form tube with a galvanized post base set in the wet concrete, a yellow level and a shovel beside the hole
Post base set in the wet pour, on the string line

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
Worked example for a 14 by 10 ft deck: 8 ft 6 in joist span, 12 joists, a 2-2x10 beam and three 20 inch round footings
The whole frame from three tables

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.

Close up of a pressure treated deck ledger bolted to a house rim under metal flashing, with joists sitting in galvanized joist hangers
Flashing over the ledger, lags staggered, joists in hangers
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.

Five deck build stages: layout, footings, ledger posts and beam, joists and hangers, decking guards and stairs
Each stage hides the one before it

Decking, guards and stairs

Brown wood deck boards screwed down with even gaps next to a sliding door, a blue chalk line across the board ends, a drill and a box of screws, open joists beyond
Even gaps, then one chalk line to trim the ends

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
Checklist of eight deck inspection items from footing holes and ledger flashing to guards, stairs and handrail
Eight things the inspector checks

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

What are the basic steps for building a deck?

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.

What is the biggest deck you can build without a permit?

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.

Can I build a deck without a permit?

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.

Get started

About the author

Alexander Novak

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