Building a Patio Deck

How to Build Your Own Patio Deck

Plan, permit, build, and finish a ground-level patio deck yourself. Covers site prep, footings, joists, decking boards, railings, and upkeep.

On this page
  1. Check permits and local rules first
  2. Plan the size, shape, and height
  3. Prepare the ground
  4. Lay out the corners square
  5. Set footings and posts
  6. Build the frame
  7. Lay the decking boards
  8. Add railings and steps where needed
  9. Choose materials and finish
  10. Keep the deck in good shape
  11. Work safely
  12. When to bring in a professional
  13. Other projects after the deck
  14. Bottom line

A patio deck is a low wooden platform, usually built close to the ground, that gives you a flat place to sit, cook, or set out furniture. Building one yourself is a realistic project for a handy homeowner who has a clear plan, the right permits, and time to do the work carefully. It is less forgiving of shortcuts than it looks, because the frame carries all the weight and the footings have to keep it steady for years.

The core stages are: check permits and local rules, plan the size and height, prepare the ground, square the layout, set footings and posts, build the frame, lay the decking, add railings and steps where required, then finish and maintain the wood. Each stage has checks, and rushing one tends to cause problems in the stages after it.

Many people weighing this project also ask “Is it cheaper to build a patio or a deck?” A ground-level concrete or paver patio of the same size is often less work, but the answer depends on your yard and your materials.

Check permits and local rules first

Many areas require a permit for decks, especially attached decks, raised decks, and decks above a certain size. Setbacks from property lines, height limits, and homeowners association rules can also apply. Call your local building department before you buy lumber, and ask about footing depth, railing requirements, and which inspections they need.

Before you dig anywhere, call 811 in the US so buried utility lines can be marked. Other countries have their own locate services. Skipping this step can be dangerous as well as costly.

Plan the size, shape, and height

Sketch the deck on graph paper or in a simple drawing app, then mark the outline on the ground with stakes and string or spray paint. Check how the deck will meet the door, the lawn, and any steps. A rectangle is the easiest shape to frame, and it wastes the least material.

Height changes the job. The higher the deck, the more posts, footings, and railing it needs. A deck close to the ground is simpler, but it still needs good drainage underneath, because wood that stays wet is more likely to rot.

Materials are usually the largest cash cost for a DIY builder, and prices vary by region and season. Before settling on a size, price the lumber, hardware, and concrete from local suppliers. Asking “How much would a 20x20 deck cost?” is a reasonable place to start, but your local prices will tell you more than any general figure.

Prepare the ground

Clear grass, roots, and debris from where the footings and frame will sit. Check the slope so water runs away from the house and does not pool under the deck. Compact the soil, and if you need to fill low spots, add material in layers and compact each layer. Firm, compacted ground is much easier to work on than soft fill.

A level base also makes it far easier to set the posts at the same height. Knowing how to level ground for foundation before any structure goes in will save you trouble later.

If you already have a patio, you might ask “Can you build a deck on an existing patio?” Sometimes you can, but the slab or pavers must be sound and able to take the load. A cracked, sloped, or heaved surface is a poor base. Your local code will still need an approved way to support the posts.

Lay out the corners square

Set the outline with stakes and string lines, then check each corner for a right angle. The 3/4/5 rule for decks is the common way to do this. Measure 3 feet along one string from the corner and 4 feet along the other. If the distance between those two marks is 5 feet, the corner is square. For a larger deck, scale the numbers up to 6, 8, and 10 feet, or 9, 12, and 15 feet, which gives a more accurate check.

Once every corner is square, measure both diagonals of the whole rectangle. They should match. If they don’t, adjust the frame until they do, and measure again after each change. The 3/4/5 check confirms the angle only. It does not tell you whether the frame is level, so check level separately.

If you are learning how to set out a decking frame, do this check before any concrete goes in.

Set footings and posts

Footings carry the deck’s weight into the ground. Their depth and type depend on your climate and local code. Where the ground freezes, footings often need to reach below the frost line so frost heave does not move them. Many DIY builders use poured concrete piers or precast footings with a post base or bracket. Use pressure-treated lumber rated for ground contact for posts and anything that touches soil or concrete.

Set each post plumb and at the right height, checking with a level and your string lines. Keep the wood off the concrete with a post base so water can drain away and the end grain stays drier. Let concrete cure fully, following the product label, before you load it.

Build the frame

Beams sit on the posts, and joists run across the beams. Joists are often spaced 16 inches on center, but your decking boards and local code may call for something different, so check before you cut. Use galvanized or stainless connectors and fasteners made for treated lumber, and follow the connector maker’s instructions for sizes.

For a deeper look at building decking framework, focus on the beam-to-post and joist-to-beam connections, since they carry most of the load. Check that every joist sits at the same height and that the beams are fastened securely to the posts.

If the deck attaches to the house, the ledger board is the critical connection. Fasten it with the fasteners and flashing your code calls for. A poorly attached ledger is a common cause of deck failure. If you are unsure, bring in a licensed contractor or structural engineer.

Lay the decking boards

Lay boards across the joists, with every board end landing on a joist. Leave the gap the decking maker recommends so boards can move with weather and water can drain. Use corrosion-resistant screws or nails sized for the board thickness, and pre-drill near the ends to prevent splitting. Hidden clip systems give a cleaner look, but they cost more and work only with certain boards.

Trim the ends flush with the outside joist or fascia, and ease any sharp edges with sandpaper.

Add railings and steps where needed

Many building codes call for a guardrail on the open sides of a deck once the walking surface is roughly 30 inches or more above the ground. A lower deck may not need one under that rule, but local code decides. When people ask “Does a deck 2 feet off the ground need a railing?” the honest answer is that it depends on where you live and how the deck will be used. Check before you frame.

If you add stairs, look up local rules for riser height, tread depth, and handrails before you cut stringers. Small errors in stair geometry can make steps unsafe.

Choose materials and finish

Pressure-treated pine is widely available and is often the lower-cost choice for framing and decking. Cedar and redwood look good and resist decay better than untreated pine, but they cost more and quality varies. Composite and PVC boards need less routine finishing but cost more up front, and some can fade, scratch, or show mildew in shade. If you are wondering “What material should I build a deck out of?” the answer comes down to budget, climate, and how much upkeep you want to do.

Treated lumber is often wet when you buy it and needs time to dry before stain or sealer will bond well. Follow the product label for drying time, coverage, and temperature limits. Test a small, hidden area first. Many people also ask “What is the longest lasting deck coating?” Durability depends on surface prep, sun exposure, and how often the finish is reapplied, so the answer depends on more than the product name.

Keep the deck in good shape

Sweep debris, rinse the surface, and check fasteners, boards, and posts at least once a season. Tighten or replace loose fasteners, and replace boards that are soft, split, or badly cupped. Keep soil and plants away from the framing, and keep gutters directed away from the deck. If the boards wear out, outdoor patio tiles over a wood deck are one replacement idea, but that is a separate project with its own layout and support questions.

Work safely

Wear eye and hearing protection, and gloves when handling treated lumber. Wear a dust mask when cutting treated wood. Use ladders properly, and never stand on the top rung of a stepladder. Get help lifting beams and posts, because long, heavy lumber is awkward to handle alone. Unplug power tools when changing blades, and keep the work area clear. Working at height and moving heavy lumber are the main hazards on a deck build.

When to bring in a professional

Consider a licensed contractor or structural engineer if the deck is raised high, attaches to the house, is large, or if your building department asks for stamped drawings. You can also hire out one part of the job, such as the footings or the ledger, and do the rest yourself.

Other projects after the deck

Once the deck is finished, many people want shade or a seating area. Shade structures are separate projects with their own design and permit questions, such as building a pergola over a patio. Plan them after the deck is complete and has passed any inspections.

Bottom line

Permits, sound footings, and careful layout do the most to make a DIY patio deck safe and long-lasting. Take the stages in order, check your work before moving on, and ask your local building department when you are unsure.

Keep exploring

Guides from other topics

All topics →