Decking16 min read

How to Build a Deck: Step-by-Step DIY Guide (With Plans)

Here is the honest version of how to build a deck — not the aspirational weekend-project version. A 12x16 deck takes a two-person crew three to five full days. The permit approval alone takes one to four weeks before you touch a shovel. I have watched more DIY decks get torn down over code violations than I can count, almost always because the builder skipped the permit or used wrong fasteners in the joist hangers. Do it right the first time.

Key Takeaways

  • A 12x16 deck (192 sq ft) costs $2,800–$4,500 in materials DIY; contractor-built runs $5,800–$10,800 per 2026 Angi data
  • Three inspections are required: footings before concrete, framing before decking, and final after completion
  • Wrong fasteners in joist hangers is the #1 framing inspection failure — use 10d x 1.5" structural nails, not deck screws
  • Deck ROI averages 68–83% at resale per the 2025 Remodeling Magazine Cost vs. Value report
  • The 2021 IRC now requires lateral load hold-down devices — most older DIY guides omit this requirement

Estimate Your Deck Build Cost

Enter your deck dimensions and material preference to get a detailed cost breakdown before you start buying materials.

Try the Deck Cost Calculator

Before You Start: What a Deck Project Actually Involves

Most deck-building guides jump straight to Phase 1: Layout. That misses the most important part of the project — the weeks before you ever pick up a tool. According to the National Association of Home Builders, the average U.S. home is now 41 years old (up from 31 years in 2006), and decks on those homes are increasingly aging out. Replacement decks are some of the most commonly permitted projects in suburban jurisdictions, and the inspection process is more rigorous than it was a decade ago.

The 2021 International Residential Code (IRC), now adopted in most states, added mandatory lateral load hold-down requirements to deck construction. This is a genuine structural requirement that most older how-to articles do not mention. If your permit drawings do not show these connections, your framing inspection will fail.

Here is a realistic timeline for a standard attached deck project:

Realistic Deck Project Timeline

PhaseDurationNotes
Design & planning1–2 weeksFinalize size, material, layout drawings
Permit application & approval1–4 weeksVaries by jurisdiction; budget extra time
Material ordering & delivery1–5 daysOrder after permit approval, not before
Site prep, layout, footingsDay 1–2Includes footing inspection before pour
Concrete cure time1–2 daysDo not load posts before 24 hrs minimum
Posts, beams, framingDay 3–4Framing inspection before decking
Decking, railings, stairsDay 5–7Final inspection at completion
Finishing (sealing, trim)Day 8–9Within 60–90 days of install for wood

Step 1: Design Your Deck and Pull the Permit

Start with a scaled drawing on graph paper or basic CAD software. Your permit application will require at minimum: a site plan showing the deck's position relative to the house and property lines, a framing plan with joist and beam sizes and spacing, a footing detail showing diameter and depth, and a materials list. Some jurisdictions also want a railing and stair detail.

Permit fees typically run $100–$500 depending on your municipality, with some urban areas charging up to $800. This is not optional — and it is not just bureaucracy. The three required inspections protect you. A licensed inspector checking your ledger flashing and joist hanger fasteners before you cover everything up with decking boards has caught structural deficiencies that would have eventually caused a collapse.

A permit is required for: any deck attached to the house (universally), decks over 30 inches above grade in most jurisdictions, and decks larger than 100–200 square feet depending on local threshold. Call your local building department and ask — they would rather help you permit it correctly than deal with an enforcement action later.

On the design side, think about these decisions before you finalize plans: Will this be an attached deck (ledger to the house) or freestanding? Freestanding decks are often simpler to permit but require more footings. What is your elevation — ground level, one step up, or elevated? Higher decks require larger posts, diagonal bracing, and more complex railings. What decking material? Composite decking requires 12-inch on-center joist spacing for diagonal installation, which affects your entire framing plan.

Step 2: Materials List for a 12x16 Deck

A 12x16 foot attached deck (192 square feet) is the most common residential deck size and a good baseline for a first build. Here is an accurate materials list — not a rough estimate, but a real takeoff:

12x16 Deck Material List (Pressure-Treated Wood)

ItemQuantitySize / Notes
Ledger board1 pc2x10 x 16' PT, attach to house rim joist
Rim joists (3 sides)3 pcs2x10 (one 16', two 12') PT
Interior joists @ 16" OC11 pcs2x10 x 12' PT
Double beam (2 plies)2 pcs2x10 x 16' PT, sistered with 10d nails
Posts4–6 pcs4x4 or 6x6 PT, height per site conditions
Decking boards37 pcs5/4x6 x 12' PT (includes 10% waste)
Joist hangers24 pcs2x10 single, LUS210 or equivalent
Post bases4–6 pcsE-Z Base or ABA post base, per post count
Post caps4–6 pcsBC4 or BC6 post-beam cap
Ledger lag bolts12–16 pcs1/2" x 3-1/2" structural lags @ 16" OC
Lateral load connectors2–4 pcsDTT2Z or equivalent, 1,500 lb rated each
Concrete (60-lb bags)12–18 bags3 bags per footing hole (12" dia x 36–48" depth)
Structural screws (decking)~10 lbs3" #10 stainless or hot-dip galvanized
Joist hanger nails~1.5 lbs10d x 1.5" structural nails (NOT deck screws)

Add railing posts, balusters, top/bottom rails, and stair components if applicable. Railing adds $800–$2,500 in materials for a standard 56 LF perimeter.

Current material costs for this list: $2,800–$4,500 with pressure-treated wood, or $5,000–$8,500 if you substitute composite decking boards. Note that lumber prices in 2026 are up due to tariffs on Canadian softwood — get pricing from your local yard before finalizing your budget.

Step 3: Layout and Site Preparation

Accurate layout is the foundation of a deck that goes together cleanly. Use batter boards and string lines set back 18 inches from each corner to establish the deck perimeter. The batter boards let you remove and re-set strings without losing your reference points as you dig.

Verify square corners using the 3-4-5 triangle method: measure 3 feet along one string and 4 feet along the perpendicular string — if the diagonal between those two points measures exactly 5 feet, the corner is square. For a 12x16 deck, also check the diagonal corner-to-corner: both diagonals should measure identically. If they differ by more than 1/4 inch, something is off.

Mark your footing centers with marking paint or stakes. Remove sod, vegetation, and organic material from the deck footprint. For ground-level decks, lay landscape fabric and gravel to discourage vegetation growth under the deck.

Before you dig: call 811 (the national one-call service) to have underground utilities marked. This is legally required and has prevented countless injuries and service disruptions. Do it at least three business days before you plan to break ground.

Step 4: Dig Footings and Pour Concrete

Footings are the most critical structural element of a deck, and the most commonly cut corner. A deck that shifts, heaves, or settles is almost always the result of inadequate footings. IRC Section R403.1.4 requires footings to extend below the local frost line into undisturbed soil — no exceptions.

Rent a gas-powered post-hole digger (auger) for $70–$100 per day rather than hand-digging — the time savings are substantial and the hole quality is better. Standard residential deck footings are 12 inches in diameter, but your local building department may require 14 or 16 inch diameter footings for elevated or heavy-load decks. Check your permit drawings.

Call for the footing inspection before you pour concrete. This is the most commonly skipped stage. The inspector needs to see the holes dug to the correct depth in undisturbed soil before any concrete goes in. If you pour without an inspection, many jurisdictions will require you to dig up the footings and start over. Schedule the inspection the day after you dig.

For a standard 12x16 deck with four to six footings, use 60-pound bags of pre-mixed concrete — three bags per 12-inch-diameter hole at 36 to 48 inches deep. Pour concrete into a slightly flared bottom (bell shape) for better bearing. Insert approved post base hardware into the wet concrete before it sets, carefully aligning position with your string lines. Allow 24 to 48 hours for the concrete to cure before loading the posts.

Step 5: Set Posts and Install Beams

Once footings have cured, set posts in the approved post bases. Use 4x4 pressure-treated posts for decks up to approximately 8 feet in height, and 6x6 for anything taller or for larger decks. Check posts plumb on two perpendicular axes and temporarily brace with diagonal stakes driven into the ground. Do not remove the bracing until the beam and ledger are both in place.

Beams are typically built from doubled 2x10 or 2x12 lumber depending on span — your permit drawings will specify the size required. Fasten two plies with 16d nails staggered 8 inches apart, or use structural screws. Beams must sit on top of posts in approved post-beam caps — never bolt a beam to the side of a post. The post cap creates a shear-resistant connection; a side-bolted beam is a known failure mode.

Mark post height carefully. The top of the beam sets the framing elevation, which determines your finished deck height. Work backwards from where you want the decking surface to land: deck surface height minus decking board thickness (1.5 inches for 5/4 lumber) minus joist depth (9.25 inches for a 2x10) equals beam top elevation. Get this wrong and your ledger board attachment location changes.

Step 6: Ledger Board and Framing

The ledger board is where the deck connects to the house — and where the majority of catastrophic deck collapses originate. Ledger failures are responsible for roughly 90% of deck collapse incidents according to deck inspector Glenn Mathewson, who has analyzed the structural failure data for Fine Homebuilding. There are two requirements that are non-negotiable: correct attachment and correct flashing.

Attachment: The ledger must attach to the structural rim joist or band joist of the house framing — not to stucco, brick, EIFS (Dryvit), or any decorative cladding. Use 1/2-inch lag screws or carriage bolts, minimum 3-1/2 inch embedment into the framing, spaced 16 inches on center in two rows staggered. Do not attach to cantilevered rim joists or to floor joists oriented parallel to the ledger (the grain direction cannot transfer the load properly).

Flashing: Install self-adhering membrane flashing (like Henry Blueskin or Huber ZIP tape) behind the ledger, lapping up over the house sheathing and lapping down over the top of the ledger. Metal z-flashing alone is inadequate — it directs water behind the ledger rather than away from it. The ledger connection is waterproof, or it is a slow-motion rot problem.

Install the perimeter rim joists next, then hang interior joists using approved joist hangers (Simpson LUS or USP equivalent). Space joists 16 inches on center for wood decking, 12 inches on center for composite decking installed at 45 degrees. Fasten joist hangers with 10d x 1.5-inch structural nails or Simpson SDS screws — never with standard deck screws. This is the most common framing inspection violation I see on DIY decks. The joist hanger manufacturer specifies the fastener type in the product literature, and inspectors check.

Install lateral load hold-down connectors before closing out your framing. The 2021 IRC requires either two DTT2Z (or equivalent) hold-down devices within 24 inches of each deck end, or four devices at 750-pound capacity distributed along the ledger. These connect the deck framing to the house structure and prevent progressive lateral failure if the deck separates from the house. Schedule the framing inspection before installing any decking boards. Use our construction cost calculator to track your budget against actuals as work progresses.

Step 7: Install Decking Boards

Let pressure-treated lumber acclimate on-site for two to three days before installation. Green PT wood is wet and will shrink as it dries — installing wet boards tight means gaps later. Start installation at the house end, picking your straightest board first.

For traditional surface fastening, pre-drill pilot holes near board ends to prevent splitting, especially in harder species. Drive two fasteners per joist per board — one fastener is not adequate for securing boards against cup and warp. Use 3-inch #10 hot-dip galvanized or stainless screws. Standard zinc-plated screws will corrode in contact with pressure-treated ACQ or CA lumber and leave brown staining streaks.

Gap boards 1/8 inch for drainage and seasonal expansion. For a 192-square-foot deck you will drive approximately 672 screws — budget that time. Composite decking installs with hidden fastener clips (included in most composite decking packages) that clip onto the joist and engage the grooved edge of each board. This eliminates surface fasteners but requires careful alignment.

Snap a chalk line along the outer edge and trim the overhang with a circular saw equipped with a guide rail. Leave a consistent 1-1/2 inch overhang beyond the rim joist on the three exposed sides.

Step 8: Build Railings — The Most Code-Critical Phase

Railings are required for any deck surface 30 inches or more above grade. Railing height must be 36 inches minimum for decks under 30 inches in height when looking at the next lower grade, and 42 inches for decks elevated higher than that — verify with your local authority having jurisdiction. Baluster spacing cannot exceed 4 inches (a 4-inch sphere must not pass through any opening).

Post attachment is the single most common final inspection failure. Railing posts must resist a 200-pound concentrated load per IRC Table R301.5 — attaching the post base only to the rim joist with screws does not meet this requirement. Posts must be through-bolted to the structural framing using 1/2-inch carriage bolts with blocking between the rim joist and a joist behind it to distribute the load. There are several approved engineered post bases (Fortress, Simpson) that attach to the rim joist and provide tested post-to-rim connections — use the manufacturer's specific installation requirements, which will be verified by the inspector.

Top and bottom rails attach to the posts. Install balusters or cable infill, maintaining 4-inch maximum spacing. For stairs, install a graspable handrail — a 2x6 on edge does not qualify as a graspable handrail. The IRC requires a handrail profile that can be grasped around its full perimeter (a 1.5 to 2-inch diameter rail profile). The handrail must run continuously from the top nosing to the bottom nosing with no interruption by newel posts.

Step 9: Build the Stairs

Stair layout starts with total rise — measure from the deck surface to the finished grade at the bottom of the stairs. Divide the total rise by your target riser height (between 7 and 7-3/4 inches per IRC R311.7.5.1) to get the number of risers, rounding up or down to get to a whole number, then recalculate the exact riser height. Maximum riser height variation within a flight is 3/8 inch — this is where most DIY stairs fail inspection.

Tread depth must be 10 inches minimum. Cut stringers from 2x12 pressure-treated lumber — each stringer must retain a minimum 3.5 inches of solid wood at the deepest notch point. For a 36-inch wide staircase, use three stringers. Attach the top of each stringer to the deck framing with approved stringer connectors or a header. The bottom of the stringer must land on a concrete pad or footings — never on bare soil.

Install treads with the same fastening pattern as decking boards. For pressure-treated wood treads, use 2x6 boards for 10-inch nominal tread depth.

Wood vs. Composite vs. PVC Decking: Which Is Worth It?

This is the question I get asked most on deck projects. My honest answer: it depends on how long you plan to own the home and how much you hate maintenance.

Decking Material Comparison (2026 Pricing)

FactorPressure-Treated WoodComposite (Trex)PVC (AZEK)
Material cost/sq ft$2–$6$5–$14$8–$15
Installed cost/sq ft$15–$25$25–$45$30–$55
Lifespan15–25 years25–40 years30–50 years
Annual maintenanceSeal/stain yearlyOccasional cleaningSoap and water only
WarrantyVaries by treatment25–30 years typical50 years (TimberTech AZEK)
10-yr total cost (192 sq ft)$5,500–$9,000$7,200–$11,500$9,100–$14,200

My recommendation for most homeowners: if you are in the house for the long term and have moderate to high rainfall, go composite. The maintenance elimination is real. A wood deck that is not sealed annually grays, splinters, checks, and softens. Composite pays the premium back in time, not dollars.

For investment properties, short-term owners, or genuinely cost-constrained projects: pressure-treated wood is not a compromise. A properly sealed PT pine deck looks great and performs well for 20+ years. Do not let anyone tell you it is a lesser choice — it is a different tradeoff. See our complete deck cost guide for a full breakdown of pricing by size and material.

Deck ROI and Why It Matters

Decks consistently deliver among the strongest ROI of any exterior renovation. Per the Remodeling Magazine Cost vs. Value 2025 report (compiled with Zonda data), wood decks average 68–83% cost recouped at resale depending on region — wood decks in the Maryland/DC area returned 83.3% in 2025. Composite decks average 73–77% ROI nationally, with slightly higher absolute dollar value added ($9,325 versus $8,559 for wood) because buyers perceive composite as higher quality.

The NAHB reports that residential remodeling is expected to grow 3% in 2026 in inflation-adjusted terms, with outdoor living consistently in the top five renovation categories nationally. Home improvement's share of all housing spending has grown from 33% in 2007 to 44% in the first quarter of 2025. With the average U.S. home now 41 years old (per NAHB's 2023 data), deck replacement demand is structurally high.

For pre-project budgeting and planning, use our deck cost calculator to generate a materials estimate based on your exact dimensions and material choices, then compare that against local contractor quotes.

The 10 Mistakes That Fail Inspections

Based on inspection data analyzed by deck builder and inspector Glenn Mathewson for Fine Homebuilding, these are the most common deck construction violations:

  1. 1.Wrong fasteners in joist hangers — Using deck screws instead of 10d x 1.5" structural nails or specified hanger screws. The single most common framing violation.
  2. 2.No ledger flashing — Water infiltrates behind the ledger and rots the house structure silently for years.
  3. 3.Footings above frost line — IRC R403.1.4 violation; footing inspection failure. Frost heave destroys the deck structure over a few winters.
  4. 4.Beam bolted to side of post — Must be in an approved post cap on top of the post. Side-bolted connections can crush and fail under vertical load.
  5. 5.Railing posts attached to rim joist with screws only — Posts need through-bolts into structural framing. Screw-only attachments fail the 200-lb load test.
  6. 6.Missing lateral load connectors — Now required by 2021 IRC; most older guides do not mention them.
  7. 7.Non-uniform stair risers — Maximum 3/8" variation; bottom riser made too tall when tread thickness is not accounted for.
  8. 8.Non-graspable handrail — A 2x6 on edge is not graspable per IRC R311.7.8.4. Requires a 1.5–2" round or shaped profile.
  9. 9.Ledger attached to cantilevered framing — The connection must transfer load into the main house structure, not into cantilevered floor framing.
  10. 10.Over-spanning composite decking — Composite manufacturers require 12" OC joists for 45-degree installation; framed at 16" OC causes deflection and voids the warranty.

Frequently Asked Questions

Do I need a permit to build a deck?

Almost certainly yes. Any deck attached to the house, any deck over 30 inches above grade, and most decks larger than 100–200 square feet require a building permit in virtually every jurisdiction. Skipping the permit creates real legal and financial risk: failed inspections can require demolition, and unpermitted decks can void homeowner's insurance and complicate home sales. Budget $100–$500 for the permit fee and two to four weeks for approval.

How deep do deck footings need to be?

Footings must extend below the local frost line plus a minimum of 12 inches into undisturbed soil per IRC Section R403.1.4. Frost depth ranges from 12 inches in southern states to 48 inches or more in Minnesota and northern New England. Check your local building department for the required depth — it is always listed in the permit requirements and is inspected before concrete is poured.

How long does it take to build a 12x16 deck?

A two-person crew building a standard 12x16 pressure-treated deck takes three to five working days for construction, not counting the permit approval wait (one to four weeks) or concrete curing time (24–48 hours before loading posts). A capable DIYer working weekends should budget four to six weekends. The framing inspection midway through adds one to two days of scheduling lag between framing completion and decking installation.

What is the best wood for deck framing?

Use pressure-treated Southern Yellow Pine or Douglas Fir for all structural framing — posts, beams, joists, and ledgers. The treatment must be rated for ground contact (UC4A or UC4B) for any wood embedded in or touching soil or concrete. For posts and ledgers not in direct soil contact, standard above-ground treatment (UC3B) is acceptable and less expensive. Never use untreated dimensional lumber for structural deck components.

Can I build a deck myself or should I hire a contractor?

A ground-level or low-elevation attached deck is realistic for a capable DIYer with basic carpentry skills, a circular saw, drill, and post-hole digger. The savings are real: labor accounts for 50–60% of a professional deck's cost, so DIY saves $3,000–$8,000 on a typical 200-square-foot deck. However, multi-level decks, rooftop decks, decks over 8 feet in height, and complex structural configurations should involve a licensed contractor or structural engineer.

What joist spacing do I need for composite decking?

Most composite decking manufacturers require 12-inch on-center joist spacing for boards installed at a 45-degree angle, and allow 16-inch spacing for boards perpendicular to joists. Always verify with the specific manufacturer's span table — this is a common framing mistake that leads to decking deflection and warranty voidance. Trex, TimberTech, and Fiberon all publish free span tables on their websites.

How much does it cost to build a 12x16 deck yourself?

A 12x16 deck (192 square feet) built DIY with pressure-treated lumber costs roughly $2,800–$4,500 in materials, plus $100–$500 for the permit. With composite decking the material cost rises to $5,000–$8,500. Contrast that to the installed contractor price of $5,800–$10,800 for wood or $8,000–$14,800 for composite, per 2026 Angi data — the DIY savings are $2,000–$6,000 depending on materials.

Ready to Price Your Deck?

Enter your dimensions and material choice to get a detailed cost breakdown — materials, waste factor, and labor estimates included.

Calculate Deck Cost