Deck Height Threshold: When Does a Deck Need a Permit?

The height above the ground at which a deck stops being a patio and starts needing a permit and a guardrail.

Updated November 2026 Glossary Term

Deck Height Threshold: The height of a deck's walking surface above the ground, measured from grade, at which a city requires a permit, a guardrail or both.

What the Threshold Is

A deck low to the ground is treated like a patio, while a deck high off the ground is a structure that people can fall from and that can collapse. The deck height threshold is the line between the two: below it, many cities require no building permit; above it, they require a permit, plans and inspections. The height is measured from the finished grade up to the top of the deck surface.

The threshold is often set in the same section of the code that sets a threshold for a guardrail, but the two numbers are not always the same. A city can exempt a deck from a permit and still expect it to follow the guard and stair rules, so being under the line is not the same as being free of the code.

Why 30 Inches Is So Common

The model residential code (IRC) requires a guard on a deck whose surface is more than 30 inches above the grade below, and the guard must be at least 36 inches high. Many cities carry the 30-inch number over as the line for a permit. Our research on deck permit thresholds found that 30 inches is the most common height line, but Fort Worth draws it at 6 inches, St. Louis at 12, Seattle at 18 and Milwaukee at 24.

Local adoption varies, and the height is only one part of the test.

It Is Not Only Height

Height is rarely the whole rule. Many cities also exempt a deck only if it is not attached to the house, is under a certain area, or does not serve an exit door. An attached deck is held up by a ledger board bolted to the house, which is why it is treated more strictly. Our research found 13 of 30 cities exempt a low deck whether or not it is attached, 8 exempt only a small detached low deck under a four-part test, 2 exempt only a low freestanding deck, and 7 require a permit for every deck.

See guardrail and ledger board for the rules that apply to the structure itself.

Where the Threshold Comes Up on This Site

The threshold is the main question of the deck permit thresholds research, which compares 30 cities, and of the do I need a permit to build a deck guide. If your deck needs a permit, the deck permit fee research shows the city's own example, from $80 in Louisville to $2,691 in San Diego, with a median of $287. The deck project page has the steps. Measure your own deck at its highest point before you read any city page, because a deck that looks low from the patio can be well over the line on the downhill side.

Frequently Asked Questions

It depends on the city. The common line is 30 inches above grade, but our research found cities drawing it at 6, 12, 18 or 24 inches, and 7 of 30 requiring a permit for every deck. An attached deck is often treated more strictly than a freestanding one.
The model residential code requires a guard when the deck surface is more than 30 inches above the grade below, so a deck at or under that height usually does not. Cities may differ, and stairs have their own handrail rules. Check your local code.
From the finished grade directly below up to the top of the deck surface, at the highest point where the ground drops away. On a sloped lot, the high side decides. Cities may specify how far from the edge they measure.
Stay up to date
Get notified when we add new cities or update permit fees.