This field is required.
This field is required.
This field is required.
Your Budget
This field is required.
Planning a new deck, deck replacement, composite decking installation, pergola, louvered roof system, or gazebo.
0/1000
This field is required.
This field is required.

Residential Deck Building Codes Guide

A Trex composite deck build in Lemont, Illinois by a TrexPro Platinum builder - Warner's Decking Chicago's award winning deck builder

1. Helical Piers vs. Traditional Concrete Footings

Frost Depth Requirements

Newly installed Trex deck in the Chicago suburbs.

2. Ledger Board Connections & Structural Integrity

Key Connection Requirements:

3. Joist Spacing & Frame Layout

close up view of deck framing covered with joist tape and displaying proper spacing between joist.

Joist Span Reference (Southern Yellow Pine No. 2)

Material Note for Composite Decking

4. Guardrails, Stairs & Safety Requirements

Elevated Trex composite deck with RainEscape drainage system built in Naperville IL

Guardrail Standards:

Stair Geometry Requirements:

5. Common Reasons Decks Fail Inspection

6. Building a Deck That Meets Code

A raised Trex composite deck built by a TrexPro Platinum Contractor Warner's Decking

Need a Code-Compliant Deck Built for Your Home?

How to build a deck to code ?

Building a deck to code is all about ensuring structural safety so the deck can handle weight (live loads like people, dead loads like the materials) and resist lateral forces (swaying or pulling away from the house). Most municipalities base their local building codes on the International Residential Code (IRC). Below is the precise order of operations and the critical structural rules you must follow to build a code-compliant deck.

Why build a code compliant deck ?

Decks are one of the most dangerous structures on a house if built incorrectly. Building to code guarantees your deck is structurally safe, protects your home’s resale value, ensures your homeowners insurance covers liability, and keeps premium material warranties valid.

What building codes for a decks?

To meet safety codes, a deck requires 6×6 support posts resting on concrete footings dug below the frost line (typically 42 inches deep). Support beams must sit directly on top of the posts, and the ledger board must be bolted to the house framework using structural screws nails are never allowed. Joists must be framed at 16 inches on-center for wood or 12 inches on-center for advanced PVC and composite decking. Finally, any deck 30 inches or higher off the ground requires a 36-inch-tall guardrail with baluster gaps smaller than 4 inches, alongside uniform stairs with a maximum 7¾-inch rise and minimum 10-inch run.