Building a deck is one of those home projects that sounds simple until you actually start pricing it out. Ask three different contractors for a quote on the same backyard and you’ll likely get three very different numbers – sometimes off by thousands of dollars. Nobody’s overcharging you, by the way. Deck pricing just depends on a lot of moving parts: the material, the size and shape, your local labor rates, plus a handful of smaller choices that quietly stack up the bill. This guide breaks down the real cost to build a deck – what pushes it up, what brings it down, and how to budget without getting blindsided halfway through the build.
How Much Does It Cost to Build a Deck?
Most people end up paying somewhere between $25 and $60 per square foot when a contractor handles the build. Roughly, by project size:
- Basic ground-level deck, 12×12, pressure-treated pine: $3,600 to $7,200
- Mid-size deck, 20×20, composite or raised: $12,000 to $24,000
- National average for a mid-size deck: $8,000 to $18,000
- Typical per-square-foot range across materials: $25 to $60 installed
A flat backyard costs less to build on than a sloped one. Not exactly shocking. What surprises people is how much that gap actually is. A sloped lot often needs deeper footings or extra posts just to get everything level, and that adds up fast. I’ve watched two decks come out nearly $3,000 apart in price, and the only real difference between them was one yard had a slight grade and the other didn’t.
Want a rough number before talking to anyone? Take your square footage and run it against the low and high end of the per-square-foot range for whatever material you’re leaning toward. That’ll give you a ballpark. It won’t match a real quote exactly – quotes never line up perfectly anyway – but at least you’re not walking into a conversation with a deck contractor completely blind.
Deck Cost Breakdown
Most people think of deck pricing as one number. It’s really a few separate costs stacked on each other:
- Materials (25% to 50% of the budget): decking boards, the framing lumber underneath, fasteners, railing if you’re adding it.
- Labor (50% to 70% of the budget): professional install runs $15 to $35 per square foot. This one catches people off guard – everyone assumes the wood is the expensive part, but labor wins almost every time.
- Permits ($50 to a few hundred dollars): depends on your city, and on whether the deck attaches to your house or goes above a certain height. Don’t try to cut corners here. An unpermitted deck has a way of becoming a problem the day you try to sell the house.
- Add-ons (varies a lot): stairs, lighting, railings, maybe a pergola overhead. Basic stairs run $160 to $560. A full staircase for a second-story deck can push closer to $1,500 once you factor in the extra framing.
If you want a more exact material count, measure your deck’s total square footage and divide that by the coverage of a single board, accounting for board width and the small gaps between them. That gets you roughly how many boards to buy, which then rolls into your material cost.
Cost to Build a Deck by Material Type
This is where the prices really pull apart from each other. And the material you pick decides more than just the upfront bill – it decides how much work you’re signing up for over the next twenty years.
Pressure-treated wood – $3 to $6 per sq. ft. (materials only). Cheapest option out there, by a wide margin, and it holds up okay against rot and bugs on its own. The catch – and there’s always a catch – is it needs sealing or staining every year. Skip that step and the wood warps, splinters, and grays out faster than most people expect.
Cedar and redwood – $8 to $15 per sq. ft. A step up from pine, in both looks and price. These woods carry natural oils that resist decay better than pressure-treated lumber, and that reddish tone ages well even if you fall behind on restaining it now and then.
Composite decking – $5 to $14 per sq. ft. (materials), $25 to $54 installed This covers the well-known composite brands on the market today. Costs more going in, no getting around that part. But it doesn’t rot, doesn’t need staining, and holds its color longer than people expect. I tell clients to think of it like a dishwasher – pricier upfront, but you stop hating your life over the upkeep.
Exotic hardwoods like Ipe, Tigerwood, Mahogany – $10 to $20 per sq. ft. Top of the price range here, and labor costs climb too, since this wood is dense and genuinely tougher to cut and screw into. They look incredible, honestly, and can last 25 to 40 years. But unless you specifically want that look, most homeowners get better value putting the money elsewhere.
Vinyl and metal – $5 to $20 per sq. ft. Vinyl runs $5 to $13 per square foot and won’t rot or stain – though some people think it looks a little plastic-y up close, which, fair enough. Aluminum or steel runs $6 to $20 and holds up structurally fine, but it heats up fast underfoot once the sun’s been on it all day. Not great if your deck sits in direct light most of the afternoon.
DIY vs Professional Deck Installation Cost
Let’s not pretend DIY is automatically the smarter, cheaper move here, because it isn’t always.
What you actually save doing it yourself: a simple 16×16 deck in pressure-treated wood might run $1,500 to $3,000 in materials if you build it. Hand that same job to a contractor and you’re often looking at $5,000 or more. Almost all of that gap comes from skipping the $15 to $35 per square foot labor charge.
Where it gets risky, though: footings need to sit below the frost line in colder climates, or the ground heaves them right back up over winter. Ledger boards need flashing done properly, or water sneaks in behind them and starts rotting into your house. Joist spacing has to actually match the weight the deck will carry. Get any of that wrong and you’re not dealing with a slightly wobbly deck – you’re dealing with something that could genuinely collapse. It’s happened to people who treated the whole process like a big set of adult Lego.
My honest take? If you’ve got real carpentry chops and the time to do it right, DIY makes sense for something simple, low to the ground. For anything elevated, attached to a second story, or sitting on a slope, just hire a deck contractor. The savings shrink fast anyway once tool rentals, mistakes, and the inspection fee you’re paying regardless all get added in.
Ways to Reduce Deck Building Costs
You don’t have to choose between a deck you actually like and one you can afford. A few trade-offs usually close most of that gap:
- Stay close to the ground. Plenty of areas skip the railing requirement below a certain height, and you avoid stair costs altogether.
- Keep the shape simple. A plain rectangle wastes way less lumber than something curved or multi-level.
- Book during the off-season. Fall and winter tend to be slower for most contractors, so there’s usually more room on pricing and a quicker start date.
- Stick with pressure-treated wood if the maintenance doesn’t bother you. Still the single biggest way to bring the upfront number down.
- Get at least three quotes from different contractors. Prices for the exact same job swing more within one city than people expect, and the lowest bid isn’t automatically the worst one – sometimes it just means lower overhead, not lower quality.
Companies that focus specifically on backyard works and outdoor living spaces tend to have this whole process more dialed in than general contractors who only build a deck here and there.
Deck Maintenance Costs Over Time
The price tag on day one is only half the story. What you spend keeping the deck alive matters just as much a few years down the road.
Wood decks need restaining or sealing every one to three years, usually $400 to $1,000 a session. Put it off too long and you’re looking at rot or insect damage repairs, which always end up costing more than the staining would have in the first place.
Composite flips that math around. It costs more to install upfront, but after that you’re basically just hosing it off now and then – no staining, no sealing. Stretch it out over 15 to 20 years and composite usually wins on total cost, especially in humid or rainy climates where wood gets beaten up faster.
Hardwoods like Ipe land somewhere in the middle. They don’t need attention as often as pine, but when they do need it, the materials and labor cost more, simply because the wood is so dense to work with.
What to Remember
There’s no clean, single answer to what a deck costs, because it’s really three questions bundled into one – what material, what size, and who’s actually building it.
- A small pressure-treated deck you build yourself might land under $2,000.
- A composite deck with a contractor handling the whole thing could run $20,000 or more.
Both numbers are completely reasonable, depending on your budget, your timeline, and how much restaining you’re willing to put up with every other summer. Get a few quotes, check them against the per-square-foot ranges in this guide so you know they’re in the right neighborhood, and don’t let the first price you hear set the tone for the whole project.
FAQs
Is composite decking cheaper than wood?
Not upfront, no. Composite materials run $5 to $14 per square foot against $3 to $6 for pressure-treated pine. The savings show up later – years of skipped staining and lower upkeep eventually close most of that gap, usually within a decade or so.
What is the cheapest type of deck to build?
A ground-level deck in pressure-treated pine, without stairs or railings, comes in cheapest almost every time. Staying low to the ground also means skipping the deeper footings and railing costs that come with raised decks.
Does adding stairs increase deck cost?
Yes, it does. Basic stairs typically add $160 to $560 depending on how many steps you need. A full staircase for a second-story deck runs closer to $1,500 once you factor in the extra support structure it requires.



