The five IRC zones a deck inspector actually checks
Footings, ledger, joist hangers, guard rail, balusters — every deck inspection comes down to five compliance zones. Watch a representative deck section glow green for each one.
- R507.3 footing size + R403.1.4 frost depth
- R507.9.1 ledger flashing + lag bolt schedule
- R507.6 joist hangers + Simpson nail schedule
- R312.1.2 36″ guard + R312.1.3 4″ sphere rule
- Stair geometry (R311.7 — see Stair Construction animation)
- Lateral hold-downs (R507.9.2 — see Lateral Load calc)
- Local code amendments (state-by-state)
- Permit application process
Check your deck against code
Code compliance FAQ
What does an inspector actually check on a deck?
Five structural zones plus stair geometry. (1) Footings: size + depth below frost line per IRC R507.3 and R403.1.4. (2) Ledger board: bolt size + spacing + flashing per R507.9.1. (3) Joist hangers: every joist + Simpson-brand nail in every hole per R507.6. (4) Guard rail: height ≥36″ and 4″ sphere baluster spacing per R312.1.2 + R312.1.3. (5) Stairs: tread + riser geometry per R311.7. Most failed inspections trace back to ledger flashing (missing) or footing depth (too shallow).
What's the #1 reason decks fail inspection?
Improper ledger attachment — usually missing or wrong flashing, undersized lag bolts, or lag bolts in band joist instead of structural framing. This is also the #1 cause of catastrophic deck collapse in real-world data (CPSC + ASHI studies). The ledger carries 50% of the deck's load directly into the house wall, so when it fails the whole deck pulls away. Inspectors flag missing z-flashing (covering the top edge of the ledger), back-flashing (between ledger and siding), and rim-joist bolting (vs structural-stud bolting) most often.
Do I need a permit to build a deck?
In most US jurisdictions, yes — for any deck over 200 sqft, more than 30 inches above grade, or attached to a dwelling. Some jurisdictions exempt small (<100 sqft) freestanding ground-level decks. Even when permits are exempt the IRC structural requirements still apply (and your homeowner's insurance can deny coverage on non-permitted structures after a failure). The local building department is the authority — call before designing, not before pouring footings.
How deep do my footings need to be?
Below the local frost line — varies by state and city. Examples: Florida coast 12″, Atlanta 18″, Denver 36″, Minneapolis 48″, Anchorage 60″. The Footing Depth Calculator gives the exact depth for every US zip code. Going shallower than your local frost line is the #2 cause of deck failure (after ledger issues) — frost heave will lift the post seasonally, eventually breaking the deck-to-house ledger connection.
Why does every nail in a joist hanger matter?
Simpson Strong-Tie's load ratings assume every nail hole is filled with the specified Simpson-brand nail (typically 10d × 1-1/2″ for residential joist hangers). Studies have shown that filling only half the holes drops the hanger's allowable load by 60-70% and shifts the failure mode from gradual to catastrophic. The cost of nails is trivial; the cost of a half-nailed hanger failure under a backyard party load is not. Always every hole, always Simpson nails.
What's the 4-inch sphere rule for baluster spacing?
IRC R312.1.3 requires that a 4-inch rigid sphere not pass between any guard infill members (balusters, cables, slats). For traditional vertical balusters that means ≤4″ on-center spacing measured between the balusters. The rule is enforced specifically because it correlates to the size of a small child's head — the original code intent was preventing kids from getting their heads stuck (which is more dangerous than falling through). Cable railings, glass, and infill panels all measure against the same sphere.
What's the difference between IRC and local code?
IRC (International Residential Code) is a national model code that ~95% of US jurisdictions adopt with local amendments. Local amendments mostly tighten requirements (deeper footings for frost, higher wind / seismic loads, additional permits for waterfront construction) — they almost never relax IRC minimums. When IRC and local code conflict, the stricter wins. The animation reflects IRC 2021 (current edition as of most jurisdictions in 2025-2026). The Footing Depth + Deck Beam Span calculators include the local amendments by state.
- Missing or improper ledger flashing — #1 fail across all jurisdictions. No back-flashing or no z-flashing on top edge means water gets behind the ledger and rots the band joist within 5-10 years.
- Footings above frost line — common in retrofits where the homeowner went 24″ deep when local code requires 48″. Frost heave lifts the deck seasonally until the ledger connection fails.
- Half-nailed joist hangers — 60-70% capacity loss. Inspectors literally count nail holes during a structural inspection. Every hole, every joist, Simpson brand.
Embed this animation on your site
Free to embed on contractor sites, blogs, WordPress, Webflow — anywhere HTML works. Theme matches the parent page automatically. Script mode includes a do-follow backlink.
<!-- Code Compliance Visualizer animation — free embed by DeckMath --> <a href="https://deckmath.com/animations/code-compliance-visualizer" data-deckmath-animation="code-compliance-visualizer" data-theme="auto">Code Compliance Visualizer animation by DeckMath</a> <script src="https://embed.deckmath.com/v1.js" async></script>
Each embed shows a small “DeckMath” logo + link in the corner. Backlinks help us keep this free.