IRC 2021 · Section R507

Deck Building Permit Requirements

Most decks require a building permit. Here’s what triggers the permit requirement, what inspectors look for, and the IRC 2021 requirements for footings, ledgers, joists, guardrails, and stairs.

A building permit is required for most attached decks and for freestanding decks more than 30 inches above grade. The permit process involves a footing inspection, framing inspection, and final inspection. Key IRC 2021 requirements: footings below frost line, ledger properly flashed and bolted, joists within span limits, guardrails 36″ high with 4″ baluster spacing.

When Is a Deck Permit Required?

The general rule under IRC 2021 and most local codes:

The 30-inch threshold is where guardrail requirements kick in under IRC R312, which is also a common permit trigger. But local jurisdictions vary — some require permits for any deck regardless of height. Always call your building department before starting.

⚠️ Don’t skip the permit. An unpermitted deck can create disclosure issues at resale, void insurance claims if someone is injured, and result in a demolition order if discovered by the building department. The permit fee is minor compared to the risk.

What Inspectors Check

Footing Inspection (before concrete)

Framing Inspection (before decking)

Final Inspection (after completion)

Deck Joist Span Calculator

Check your joist size, species, and spacing against IRC 2021 Table R507.5.

Open calculator →

Key IRC 2021 Deck Requirements

Footings — R403.1.4

Deck footings must extend below the local frost depth. Frost depth varies from a few inches in Florida to 48″+ in Minnesota. Your building department will specify the required footing depth for your location. Footings must also bear on undisturbed soil or engineered fill.

Ledger Attachment — R507.9

The ledger board is the single most critical structural connection on an attached deck — and the most commonly failed inspection item. IRC R507.9 requires:

Joist Spans — R507.5

IRC Table R507.5 sets maximum allowable joist spans based on lumber species group, joist size, and on-center spacing. A 2×8 Southern Pine joist at 16″ o.c. can span up to 13′1″. Exceeding the allowable span requires either larger lumber, closer spacing, or an additional beam. Use the deck joist span calculator to check your specific situation.

Guardrails — R312

Required on any deck surface more than 30″ above grade:

RequirementIRC 2021 Minimum
Guardrail height36″ (some interpretations 42″ above 30″)
Baluster spacing4″ sphere cannot pass through
Top rail load200 lb concentrated horizontal load
Bottom rail opening4″ sphere at base of rail
Post spacingTypically 6′ max (verify structurally)

Stairs — R311.7

Deck stairs follow the same IRC stair requirements as interior stairs. Maximum 8&frac3⁄4;″ rise, minimum 9″ run (10″ recommended for exterior), minimum 36″ width. A graspable handrail is required on stairs with four or more risers.

Deck Materials — Pressure Treatment Requirements

All wood used in ground contact or within 6″ of grade must be rated for ground contact (UC4A or UC4B). Joists and ledgers not in direct ground contact but in wet or exposed conditions require above-ground pressure treatment (UC3B). Connectors and fasteners must be hot-dipped galvanized or stainless steel rated for use with pressure-treated lumber — standard zinc-plated hardware corrodes rapidly in contact with PT wood.

Plans Required for a Deck Permit

Most building departments require the following documents with a deck permit application:

Check Joist Spans

Species, size, spacing — instant pass/fail against IRC 2021 Table R507.5.

Open calculator →

Frequently Asked Questions

Do I need a permit to build a deck?

In most jurisdictions yes — attached decks almost always require a permit. Freestanding decks over 30 inches above grade typically require one. Always check with your local building department first.

What inspections are required for a deck?

Typically three: footing inspection before concrete is poured, framing inspection before decking is installed, and final inspection after all work is complete.

What is the minimum footing depth for a deck?

Below the local frost line, per IRC R403.1.4. Depth varies by location — ask your building department for the required depth in your area.

What are the guardrail requirements for a deck?

Required when deck surface is more than 30 inches above grade. Minimum 36 inches high. Balusters spaced so a 4-inch sphere cannot pass through. Top rail must withstand 200 lb concentrated load.

How is a deck ledger attached to the house?

With lag screws or through-bolts sized and spaced per IRC Table R507.9.1.3, with flashing installed between the ledger and house sheathing. Ledger attachment is the most commonly failed inspection item on decks.

Can I build a deck without a permit?

You shouldn't. Unpermitted decks create problems at resale, can void insurance, and may result in a demolition order. The permit fee is minimal compared to the risk.

Related Guides & Calculators

Deck Joist Span GuideHandrail & Guardrail RequirementsStair Code RequirementsIRC 2021 Overview