Quick answer
A 20×20 ft deck (400 sq ft) costs about $12,130–$21,060 built with pressure-treated wood, and about $21,810–$37,060 with composite decking (2026 US average, installed with railing and 3 steps). Building it yourself, pressure-treated materials run about $4,852–$9,477.
Assumes a low, ground-level deck, 56 ft of railing on three sides and one set of 3 steps.
20×20 deck cost by material
| Decking | Installed | Per sq ft |
|---|---|---|
| Pressure-treated pine | $12,130–$21,060 | $30–$53 |
| Cedar | $16,690–$26,820 | $42–$67 |
| Composite (Trex-type) | $21,810–$37,060 | $55–$93 |
| PVC | $26,370–$41,620 | $66–$104 |
| Tropical hardwood | $28,370–$48,180 | $71–$120 |
What to know before you buy or hire
Deck price depends on three things: size, decking material and height. A raised deck needs taller posts, bigger beams, more railing and often engineered plans, so a second-story 20×20 deck can cost 30–60% more than a ground-level one.
Composite costs more up front but needs no staining or sealing, so over 15–20 years the gap shrinks. Most US cities require a permit for decks attached to the house or more than 30 inches off the ground.
By state: 20x20 deck in the 10 largest states
Same project, priced with each state's 2026 labor and material costs (complete deck, installed):
| State | Range | Typical |
|---|---|---|
| North Carolina | $10,796 – $18,743 | $14,770 |
| Georgia | $11,038 – $19,165 | $15,101 |
| Texas | $11,160 – $19,375 | $15,267 |
| Florida | $11,524 – $20,007 | $15,765 |
| Ohio | $11,766 – $20,428 | $16,097 |
| Michigan | $12,130 – $21,060 | $16,595 |
| Pennsylvania | $12,494 – $21,692 | $17,093 |
| Illinois | $13,343 – $23,166 | $18,255 |
| New York | $14,556 – $25,272 | $19,914 |
| California | $14,799 – $25,693 | $20,246 |
Your state isn't listed? Pick it in the calculator above — all 50 states and DC are adjusted.
Other sizes
Frequently asked questions
How much does a 20x20 deck cost?
About $12,130–$21,060 in pressure-treated wood or $21,810–$37,060 in composite, installed with railing and steps.
How many deck boards for a 20x20 deck?
About 95 boards of 16 ft (5.5 in wide), with 16 joists at 16 inches on center.
Do I need a permit for a 20x20 deck?
Usually yes if it's attached to the house or higher than 30 inches. Check with your city or county building department before you start.