How it's worked out
- Deck area: 20 × 20 ft = 400 sq ft
- Installed price, pressure-treated: $20–$40 per sq ft for footings, framing and decking
- 400 sq ft × $20–$40 = $8,000–$16,000
- Railing on the 3 open sides: about 60 ft × $25–$50 per ft = $1,500–$3,000
Got a quote already? Enter it in the deck quote checker to see if it's fair for your deck.
20x20 deck cost by material and options
| Deck | Installed cost |
|---|---|
| Pressure-treated, no railing | $8,000–$16,000 |
| Pressure-treated with wood railing | $9,500–$19,000 |
| Pressure-treated, railing and 3 steps | $9,880–$19,900 |
| Pressure-treated, raised 3 ft+, railing and 5 steps | $12,130–$26,500 |
| Composite, no railing | $12,800–$24,000 |
| Composite with composite railing | $15,500–$30,000 |
For a deck attached to the house on concrete footings, in an average-cost area. Labor runs about 30% higher in high-cost areas and 15% lower in low-cost ones. Tearing out an old deck adds about $1,200–$4,800. A permit, built-in benches, lighting or a sloped yard add more. Prices from published cost guides, checked October 2026.
Joists that span 20 ft need to be 2 × 10 or larger, or a second beam in the middle. Check a span table and your local code before you buy.
DIY materials for a 20x20 deck
If you build it yourself, pressure-treated materials for a 20x20 deck cost about $2,052–$3,364, plus about 1,450 deck screws in the hardware line.
| Item | Amount | Typical price | Cost |
|---|---|---|---|
| Deck boards, 5/4 × 6 pressure-treated | 48 × 20 ft | $20–$32 each | $960–$1,536 |
| Joists, 2 × 8 | 16 × 20 ft | $1.20–$2 per ft | $384–$640 |
| Ledger, rim joist and doubled beam, 2 × 8 | 100 ft | $1.20–$2 per ft | $120–$200 |
| Posts, 6 × 6 × 8 ft | 4 | $25–$40 each | $100–$160 |
| Concrete for footings, 80 lb bags | 16 bags | $5.50–$8 each | $88–$128 |
| Joist hangers, ledger screws, flashing, post bases, deck screws | 400 sq ft | $1–$1.75 per sq ft of deck | $400–$700 |
| Total | $2,052–$3,364 |
| Or use composite decking | Amount | Typical price | Cost |
|---|---|---|---|
| Composite boards | 48 × 20 ft | $55–$110 each | $2,640–$5,280 |
Typical US prices before tax and delivery, checked October 2026. Prices vary by region and brand, so type your own into the calculator above for an exact total. Railing, stairs, permit and tool rental are extra. Composite decking usually needs joists 12 in on center, which adds a few more joists.
Other common sizes
- 8×10 deck cost
- 10×10 deck cost
- 10×12 deck cost
- 12×12 deck cost
- 12×16 deck cost
- 12×20 deck cost
- 14×16 deck cost
- 16×16 deck cost
- 16×20 deck cost
- 20×20 deck cost
More detail: Deck Materials List: How Many Boards, Joists and Screws?
Frequently asked questions
How much does it cost to build a 20x20 deck?
About $8,000–$16,000 for a low pressure-treated deck attached to the house, or $9,500–$19,000 with a wood railing on the 3 open sides. In composite it's $12,800–$24,000, or $15,500–$30,000 with a composite railing. Prices are for an average-cost area, from published cost guides.
How much does a 20x20 composite deck cost?
About $12,800–$24,000 installed without railing, $15,500–$30,000 with a composite railing. That's roughly 53% more than pressure-treated wood, but composite needs no staining.
How much do materials for a 20x20 deck cost?
About $2,052–$3,364 at typical US retail prices for a pressure-treated deck: boards, joists, beam, posts, footings and hardware. Railing and stairs are extra.
How many deck boards do I need for a 20x20 deck?
48 boards of 20 ft: 43 rows of 5.5 inch boards with 1/8 inch gaps, plus 10% extra. You also need 16 joists 20 ft long at 16 inches on center and about 1,450 deck screws.