Jump to the main content

Search Home DIY Online

How to Build a Deck: Permits, Footings, Framing and Finishing

Posted by Posted Revised Topic: Outdoors

To build a deck, get a permit, set footings below the frost line, attach a flashed ledger to the house, frame with preservative-treated lumber and corrosion-resistant fasteners, then add decking, guards and stairs. Use the American Wood Council's DCA 6 prescriptive guide for sizes and spans, and confirm your local code first. Plan on a final inspection before anyone uses the deck.

Partly built wood deck beside a house with a railing, stacked deck boards, a drill and hand tools on the boards

To build a deck, you plan it, get a permit, pour footings, frame to a code-based guide, and finish it with the right fasteners and lumber. This guide follows that order and points to a free primary source for every structural number. Our outdoor builds category links each project that comes after the deck.

Do I need a permit to build a deck?

Plan on a permit and at least one inspection. Local rules differ, so call your building department first and ask which edition of the International Residential Code (IRC) it enforces and what drawings it wants.

The American Wood Council’s Prescriptive Residential Wood Deck Construction Guide, known as DCA 6, is the most widely used way to turn the IRC into a deck plan. It is a free guide. Ask your building department whether it accepts it: the guide is written for a specific IRC edition (the version cited here is based on the 2015 IRC), and local amendments apply.

DCA 6 sets limits you should know before you start:

  • It applies to single-level residential wood decks that are attached to the house for lateral support.
  • Overall deck length must not exceed overall width.
  • It does not cover decks that support large concentrated loads such as hot tubs.
  • It does not apply where snow or drift loads exceed 40 psf.
  • A deck must not be used or occupied until final inspection and approval.

If your deck is multi-level, free-standing or outside those limits, you need an engineer or a licensed contractor. Call 811 before you dig so utilities are marked, and do not build footings over septic systems, leach fields or utility lines.

How do I plan and design a deck?

Start with how you will use it, then match the size, height and materials to your house and budget. Measure the site, sketch the footprint and mark where doors, stairs and sightlines fall.

  1. Define the use. Dining, grilling and lounging each need a different clear area. Draw furniture to scale.
  2. Pick the location. Think about sun, wind, drainage and distance from the grill and house walls.
  3. Choose height and stairs. Higher decks need more posts, guards and stairs, which raises cost and inspection scope.
  4. Draw a plan. Show footings, posts, beam, joists, ledger, decking, guards and stairs, with dimensions.
  5. Check clearances. Setbacks from property lines and easements are set by your zoning office, not by DCA 6.

Our guide to hardscaping for beginners helps you think about the ground around the deck, and yard drainage fixes shows how to keep water away from the posts and the house.

What tools and materials do I need to build a deck?

You need layout, digging, cutting, drilling and fastening tools, plus lumber, concrete, connectors and decking. A short list covers most jobs. To size the pour for your footings, see how much concrete you need for slabs, footings and post holes.

  • Layout: tape measure, framing square, string line, stakes, a level and a laser level for setting post heights.
  • Digging: post-hole digger or auger, shovel, wheelbarrow.
  • Cutting and fastening: circular saw, miter saw, drill and impact driver.
  • Safety: eye and hearing protection, dust mask and gloves.

For help choosing, read power tools for outdoor projects like decks and patios. If you have not built before, the hand tools beginners need page covers the basics.

How do I lay out and build deck footings?

Footings carry the deck’s weight into the soil, so size them from the code, then dig to the right depth and bearing. Dig below the frost line, on undisturbed soil.

DCA 6 requires that:

  • All footings bear on undisturbed soil at least 12 inches below the surface, or below the frost line, whichever is deeper. Ask your building department for the local frost line.
  • Footings closer than 5 feet to an exterior house foundation wall bear at the same elevation as the house footing.
  • The building official verifies bearing before you place concrete. If the soil may have less than 1,500 psf bearing capacity, a soils investigation is required.
  • Pre-manufactured post anchors are galvanized or stainless steel.

Footing diameter and thickness come from DCA 6 Table 4 (or its tributary-area tables), which depend on post height, joist and beam spans, and lumber. Do not pick a footing size from memory. Once you have the dimensions from DCA 6, convert each footing into cubic feet and bags of concrete.

How do I set posts and beams?

Set posts on or into the footing with a code-approved connection, and keep them plumb and centered. DCA 6 sets the minimum post size at 6x6 nominal and limits post height by footing size and span in Table 4. Cut ends and notches get field treatment with a preservative such as copper naphthenate, as DCA 6 requires for cuts in treated lumber.

How do I attach a deck ledger and flash it?

Remove the siding at the ledger, flash the joint with corrosion-resistant metal, and fasten to the house framing with the lag screws or bolts DCA 6 specifies. The ledger connection is the most critical joint on an attached deck.

  1. Remove siding or the exterior finish where the ledger will sit; DCA 6 requires this.
  2. Check what is behind it. Do not attach through brick, stone or masonry veneer. Special rules apply to I-joists and metal plate connected trusses, so ask your inspector.
  3. Flash the top. Flashing must be corrosion-resistant metal at least 0.019 inch thick or approved non-metallic material. DCA 6 notes that aluminum should not touch copper-bearing preservatives such as ACQ.
  4. Fasten correctly. DCA 6 specifies ½-inch lag screws or bolts with washers, staggered, with spacing set by joist span and band joist type, and lead anchors are prohibited. Drill the correct pilot hole and snug the fasteners tight, not over-tight.
  5. Flash and caulk the door threshold to stop splash and melting snow from entering.

DCA 6 permits only the ledger fasteners it lists (½-inch lag screws or bolts with washers, or anchors for masonry), so do not substitute nails or deck screws. Take photos before you cover the connection so you can show your inspector.

What spans and joist sizes can I use?

Use the span tables in DCA 6 or your local code, not a rule of thumb. Joist and beam sizes depend on the species and grade of lumber, joist spacing, span and overhang.

DCA 6 provides tables for joists, beams and posts for the loads it assumes, and it also includes tributary-area tables for custom layouts. This guide does not list spans because they change with your lumber and design. Draw the framing plan first, then read each size from the DCA 6 tables, or have a designer verify it. DCA 6 also requires hold-down tension devices in at least two locations within two feet of the deck edge, each with a capacity of at least 1,500 lb, for lateral load resistance.

What treated lumber rating and fasteners should I use?

Use lumber marked for above-ground (UC3B) or ground-contact (UC4A) use, and pair it with hot-dip galvanized or stainless steel fasteners. Mismatched metal corrodes and fails.

Treated lumber ratings

DCA 6 requires all lumber to carry a grade mark and to be either a naturally durable species (such as redwood or western cedar with enough heartwood) or preservative-treated per American Wood Protection Association standards. Its table lists UC3B for above ground and UC4A for ground contact. Anything touching soil must be rated for ground contact. Field cuts need extra preservative.

Fasteners and connectors

DCA 6 requires screws, bolts, washers and nails used with treated wood to be hot-dip galvanized (ASTM A153), stainless steel, silicon bronze or copper. Connectors such as joist hangers must be galvanized or stainless. Within 300 feet of salt water, use stainless steel grade 304 or 316. Use the same metal type throughout. Simpson Strong-Tie recommends stainless steel where ground-contact treated wood has a chemical retention above UC4A levels. If you are unsure, choose stainless.

Should I use wood or composite decking?

Choose treated wood for the lowest upfront cost and composite for less upkeep. The frame under either is preservative-treated wood, so the footing, ledger and fastener rules above do not change.

Question Treated wood Composite
Upfront cost Usually lower Usually higher
Upkeep Periodic cleaning and sealing Cleaning only, per the maker
Fastening Corrosion-resistant screws or nails The maker’s hidden or face fasteners
Joist spacing Per lumber and code Per the product’s installation guide
Warranty Varies by treater Depends on following the install guide

Cost ranges change by region and year, so get current local quotes rather than relying on a single figure. Read the installation guide for your exact board before you order joists, because some composites need closer joist spacing than wood.

How do I install deck boards?

Fasten deck boards to dry, level joists using the decking maker’s spacing and fastener instructions. Wood and composite behave differently, so follow the product’s data sheet.

  • Wood boards: Treated boards can be wet when sold and shrink as they dry. Follow the lumber supplier’s guidance on drying and gap spacing.
  • Composite boards: Use the maker’s joist spacing, end gaps and hidden or face fasteners. Their warranties depend on it.
  • Layout: Stagger butt joints, cut ends square and pre-drill near ends to avoid splits.
  • Edges: Keep the first board straight, using a string line, since it sets every board after it.

Pair this with outdoor flooring choices if you are comparing materials, and read weatherproofing your outdoor builds before you seal or stain.

How do I build deck guards and stairs?

Decks more than 30 inches above grade need guards, and stairs have their own rise, run, landing and handrail rules. Follow DCA 6 and your local code, and have the inspector verify them.

DCA 6 requires a guard on any deck more than 30 inches above grade and gives guard post attachment details, including a post connection rated for 1,800 lb of tension for a 36-inch maximum guard height. Stairs need footings, and DCA 6 requires an intermediate landing where the vertical height of a stairway exceeds 12 feet. For a full walk-through, see building safe and attractive outdoor steps. Add lighting for stairs, which DCA 6 also addresses, and see low-voltage landscape lighting for options. Have a licensed electrician handle any line-voltage wiring.

How do I finish, seal and maintain a deck?

Let new treated lumber dry as its supplier directs, then clean it and apply a finish made for decks. Reclean and inspect fasteners, flashing and connectors every year.

  • Choose a finish suited to your wood and climate; read exterior paint selection and weather-resistant options for what the labels mean.
  • Clean decks with a deck cleaner or a pressure washer used carefully and at a safe distance, following the wood or composite maker’s instructions; our pressure washer guide covers how to pick one.
  • Each spring, check ledger flashing, hangers, guard posts and stair connections for rust or movement, and fix anything loose.

What can I build around the deck?

Most decks lead to a larger outdoor space. These guides cover the next projects, grouped by purpose.

Shade, seating and cooking

Pergola construction adds shade. Custom outdoor seating gives built-in benches. If cooking is the goal, start with the outdoor kitchen planning guide and professional-grade grilling tool sets. For screening, see outdoor privacy screens.

Paths, patios and hardscape

Patio pavers and garden paths connect the deck to the yard. A DIY retaining wall can level a slope, and yard drainage protects all of it.

Planting, borders and boundaries

Garden structures like trellises and arbors, raised garden beds, garden borders and boundaries and a backyard compost system fill the space. Keep plants fed with an automated irrigation system and a good lawn care plan.

Fences, water and play

Read the DIY fence installation guide before you mark property lines. For features, see DIY water features and a backyard sports court.

All Outdoor guides

Questions we get

Do I need a permit to build a deck?

Usually yes, but thresholds vary by town, so do not assume. A new attached deck typically needs a building permit, and some places set separate rules by deck height or size. Call your local building department before you buy materials and ask which edition of the International Residential Code it enforces. DCA 6 also states that a deck cannot be used or occupied until it passes final inspection.

How deep should deck footings be?

DCA 6 requires footings to bear on undisturbed soil at least 12 inches below the surface or below the frost line, whichever is deeper. Your building department sets the local frost depth, so ask for it. Footing diameter and thickness depend on post height, joist and beam spans and soil capacity, so size them from DCA 6 Table 4 or have the plans checked, not from a guess.

What size posts and joists do I need for a deck?

Posts must be at least 6x6 nominal under DCA 6, but joist and beam sizes depend on span, spacing, lumber species and grade. Use the span tables in the AWC DCA 6 guide or your local code to choose them, and do not copy sizes from a video or a neighbor's deck. The tables are free from the American Wood Council, and your inspector will check against them.

What fasteners should I use with pressure-treated lumber?

Use hot-dip galvanized (ASTM A153), stainless steel, silicon bronze or copper fasteners and connectors, and use one metal type throughout. DCA 6 requires stainless steel grade 304 or 316 within 300 feet of salt water. Simpson Strong-Tie recommends stainless steel where ground-contact treated wood has a chemical retention above UC4A levels, or where the wood looks more corrosive than its rating suggests. DCA 6 permits only the fastener types it lists, and any other coated or non-ferrous fastener must be approved by your building department, so skip plain or interior-rated screws.

How do I attach a deck ledger to the house?

Remove the siding at the ledger, flash the connection with corrosion-resistant metal, and fasten the ledger to the rim joist with the ½-inch lag screws or bolts and spacing that DCA 6 specifies. DCA 6 prohibits attaching through brick, masonry or stone veneer and prohibits lead anchors, and it permits only the ledger fasteners it lists. Have your inspector check this connection before you cover it.

Is pressure-treated wood or composite better for a deck?

Both work; they trade cost, upkeep and look. Treated wood costs less up front but needs periodic cleaning and sealing. Composite resists rot and needs less upkeep but has its own manufacturer rules for joist spacing, gaps and fasteners. The frame is wood either way, so the same treatment, footing and fastener rules apply. Follow the decking maker's installation instructions to keep the warranty.

Can I build a deck myself, or should I hire a pro?

A careful DIYer can build a low, single-level deck if the plan follows the code and passes inspection. Hire a licensed contractor or engineer for decks that are high, multi-level, supporting a hot tub or covering unusual soil, because DCA 6 does not cover those. Hire out any electrical work. Beginners should still plan on permit, inspections, a helper and several weekends.

Where we got this

  1. American Wood Council: Prescriptive Residential Wood Deck Construction Guide (DCA 6, 2015 IRC edition) (web-media.awc.org)
  2. Journal of Light Construction: Highlights from the AWC's DCA 6 deck guide (jlconline.com)
  3. Simpson Strong-Tie: Corrosion guidance for wood connectors and fasteners (strongtie.com)

Keep reading

Return to top