Do You Need a Permit to Build a Deck? The 4 Part Test
Alexander Novak Updated 29 November 2026 13 min read
In this article
Do you need a permit to build a deck? Usually yes. Under the model code most US cities use, a deck skips the building permit only when it is 200 square feet or less, no more than 30 inches above grade at any point, not attached to the house and not serving the home's required exit door. Miss any one of those four and you file.
Most people read that list as "small decks are fine" and stop at the size. That is the mistake. Size is the test people check, but attachment is the one that catches most decks. The deck most homeowners want sits right outside the back door on a ledger bolted to the house, and a ledger alone ends the exemption, even on a 6x8 landing. A 192 square foot freestanding deck can need no permit while a deck a third that size bolted to the house needs one.
| Your deck | Building permit? | Zoning still applies? |
|---|---|---|
| Freestanding, under 200 sq ft, 30 in or lower | Often not required | Yes, setbacks and lot coverage |
| Attached to the house with a ledger | Usually required | Yes |
| Over 200 sq ft | Usually required | Yes |
| Over 30 in above grade at any point | Usually required, and it needs guards | Yes |
| Serves the home's required exit door | Usually required | Yes |
| Hot tub, lights or outlets on the deck | Building plus electrical permit | Yes |
Do you need a permit to build a deck? The four part test
Most US cities and counties base their residential rules on the International Residential Code. Its list of work exempt from permit, IRC R105.2, includes decks in item 10: decks not exceeding 200 square feet in area, that are not more than 30 inches above grade at any point, are not attached to a dwelling and do not serve the exit door required by Section R311.4. The American Wood Council quotes the same wording in its deck code presentation for building officials.
Read the "and" in that sentence. All four have to be true. A deck that is small and low but bolted to the house fails. A deck that is freestanding and low but 14 by 16 feet fails. Your city also adopts a version of the code and can amend it, so the 200 and the 30 can be different where you live.

The exit door test confuses people. The code requires one exit door from the house to the outside. If your deck is the landing for that door, it is part of the way out of the house, and it loses the exemption at any size. A deck outside a second patio door usually does not have this problem. Ask your office which door it treats as the required one.
How big a deck can you build without a permit?
Under the IRC model code, up to 200 square feet of deck surface, as long as it also stays at or under 30 inches above grade, stands on its own footings and does not serve the required exit door. Floor area is length times width. Our guide on measuring square footage covers irregular shapes; for a rectangle deck it is one multiplication.
| Common deck size | Floor area | Under 200 sq ft? |
|---|---|---|
| 8 x 10 ft | 80 sq ft | Yes |
| 10 x 10 ft | 100 sq ft | Yes |
| 10 x 16 ft | 160 sq ft | Yes |
| 12 x 16 ft | 192 sq ft | Yes |
| 10 x 20 ft | 200 sq ft | Right on the line |
| 14 x 16 ft | 224 sq ft | No |
| 16 x 20 ft | 320 sq ft | No |

The 12x16 is the size that fools people. At 192 square feet it passes the size test, so the internet calls it permit free. Put that same 12x16 on a ledger against the house and it needs a permit. Raise one corner over 30 inches on a sloped yard and it needs a permit. The size number is the one you check last, not first.

Does a deck attached to the house need a permit?
Yes, under the model code, at any size. The exemption only covers decks that are not attached to a dwelling, so a ledger board bolted to the house rim ends it. That is the single biggest reason deck permits are so common: almost every deck people picture is attached.

The reason is the connection itself. The ledger carries a large share of the deck's load into the house framing, it needs the right fasteners into the right member, and it needs flashing so water does not rot the rim behind it. An inspector wants to see that before the decking covers it, and the American Wood Council's DCA 6 prescriptive deck guide shows the ledger and footing details most offices check against. If you want to stay exempt, the alternative is a freestanding deck with its own beam and posts a few inches off the wall, still inside the size and height limits.

Do you need a permit for a deck under 30 inches?
Not for the height alone. Under the model code, a deck no more than 30 inches above grade at any point passes the height test, but it still has to pass the size, attachment and exit door tests. The trap is "at any point". On a yard that slopes away from the house, a deck can be 16 inches high at the door and 34 inches at the far edge. That far corner decides it.
Thirty inches is also the height where the code starts requiring guards. Under IRC R312.1.1, an open side of a walking surface more than 30 inches above the floor or grade below needs a guard. So a deck that goes over 30 inches picks up a permit and a railing in the same step, and the stairs and posts grow with it.

Deck permits by situation
Here is the verdict for the decks people actually build. Each row assumes an IRC based code with no local amendment to item 10.
| Situation | Permit under the model code? | What to check first |
|---|---|---|
| Floating ground level deck, under 200 sq ft | Often not | Setbacks, lot coverage, HOA |
| Deck on a ledger, any size | Yes | Ledger flashing and fastener detail |
| Raised deck or second story deck | Yes | Guards, stairs, footing size |
| Deck on a sloped yard | Yes if any point passes 30 in | Height at the lowest grade point |
| Replacing deck boards only | Often treated as repair, ask | Whether joists, beams or posts change |
| Rebuilding the frame or footings | Usually yes | Treat it as a new deck |
| Deck with a hot tub, lights or outlets | Yes, plus electrical | Design load and GFCI wiring |

Two rows deserve a note. Swapping old deck boards for new ones on a sound frame is often handled as repair, but the moment you replace joists, a beam, posts or the ledger you are building structure, and most offices want a permit. And a hot tub changes everything: it adds a concentrated load the exemption never had in mind, plus wiring that needs an electrical permit on its own.
A deck that needs no building permit can still break zoning. Setbacks, side yard rules and lot coverage limits apply at any size, and an HOA can add its own approval on top. The same logic runs through every small structure: our guides to shed permits and pergola permits work through the same exemption list from the other side. Fences run on the same split, and our guide to fence permits shows why the zoning desk, not the building one, usually decides them.
How to find out if your deck needs a permit
The free method takes an evening and one email. It works whether you are a homeowner or a contractor quoting the job.
How to check if your deck needs a permit
- Measure the deck
Write down length, width and the highest point of the deck surface above grade. Note the distance from each edge to every lot line and whether the deck touches the house.
- Find your adopted code
Search your city or county name plus "deck permit" or "work exempt from permit". Most offices post a deck handout with their own size and height lines, which may differ from the model code.
- Ask building and zoning in writing
Email both desks a dimensioned sketch and ask two questions: do I need a building permit, and does this location meet zoning setbacks?
- Keep the reply
Save the answer with your house papers. A written answer is what you show a buyer, a lender or an insurer later.

When the answer is yes, the office will ask for drawings: a site plan showing the deck on the lot, a framing plan and the ledger and footing details. Our guide to deck permit drawings walks through all three sheets with a worked 16x12 deck, and the site plan for permit guide covers the lot sheet in more depth.
Here is the wall. The free method gets you a yes or no, but a yes means drawing that site plan, sizing joists and beams and turning it all into a lumber list before you can quote or order. Doing that by hand means redrawing every time the owner moves the stairs. Run the numbers in the framing calculator first, then size each member against the actual lumber dimensions.
ScaledPlans measures your plan or photos and drafts the permit site plan and material takeoff, and you check every quantity before you submit or price it. Get started when the office asks for drawings.
Deck permit mistakes and what they cost
| Mistake | What it costs you |
|---|---|
| Checking only the 200 sq ft size | A ledger deck built without the permit it needed |
| Measuring height at the door, not the low corner | A deck over 30 in with no guard and no permit |
| Building the deck as the landing for the main exit door | Lost exemption at any size |
| Ignoring setbacks because no permit was needed | An order to cut back or move the deck |
| Footings that stop above the frost line | Heaving posts and a failed inspection if one comes |
| Adding a hot tub to an existing deck | A structure never designed for that load |

Footings are the mistake that hides longest. Most deck footings need to reach below your local frost depth, which your building department publishes. The code has narrow exceptions for very low freestanding decks on pier blocks, so ask before you skip the dig. A footing that stops short can lift in the first hard winter and pull the frame out of square. Width matters as much as depth, and how big each deck footing should be depends on the load on that post and your soil. Our step by step guide to building a deck covers footing depth, the ledger and the rest of the build in order.
What happens if you skip a permit you needed depends on the city, but the usual list is a stop work order, fines, a demand to apply after the fact and open up the framing for inspection, or an order to remove the deck. Most of these surface at the worst time: when a neighbor complains, or when you sell and the buyer's inspector asks for permits on the deck.
The bottom line
You need a permit for most decks. Under the IRC model code, a deck skips it only when all four tests pass: 200 square feet or less, 30 inches or less above grade at every point, freestanding and not serving the required exit door. Check attachment first, because the ledger is what turns most backyard decks into permit jobs, then height at the lowest grade point, then size.
The one habit that matters most is getting the answer in writing before you dig the first footing. When the answer is yes, the drawings come next, and that is where ScaledPlans helps.
Frequently asked questions
Under the IRC model code, 200 square feet, as long as the deck is also no more than 30 inches above grade at any point, is not attached to the house and does not serve the required exit door. A freestanding 12x16 deck at 192 square feet fits. Your city may amend those numbers, so check its deck handout before you build.
Sometimes. A low, freestanding deck under 200 square feet that does not serve the main exit door often needs no building permit under the model code. A deck attached to the house, one higher than 30 inches at any point or one larger than 200 square feet usually does. Zoning setbacks apply either way.
Yes, under the model code at any size. The exemption in IRC R105.2 only covers decks that are not attached to a dwelling, so a ledger board bolted to the house ends it. If you want to avoid the permit, build the deck freestanding with its own beam and posts, inside the size and height limits.
Put it on your next bid
Plans in. Checked quantities out.
Upload the plan you are bidding, review every quantity on the drawing and export the list.
Share article
About the author
Founder
Alexander Novak founded ScaledPlans and builds the product: how plans are measured, what each document includes and how every number stays checkable on the drawing.
More articles
Permits & site plans · 12 min Joist Span Chart for Decks: 2x6 to 2x12 by Spacing
The full deck joist span chart from the 2021 IRC: 2x6 through 2x12 at 12, 16 and 24 inches on center for southern pine, fir and cedar, how snow load shortens it, how far you can cantilever, and a 12 ft deck worked out both ways.
Permits & site plans · 11 min How Many Square Feet in an Acre? 43,560 and How It Looks
An acre is 43,560 square feet, about 208.7 ft on each side if it were a square. Here is the acre to square feet chart, common lot sizes in acres, a worked lot example, and why two one acre lots can need very different amounts of fence.
Permits & site plans · 12 min Building a Deck: How to Do It in 7 Steps, From Footings Up
Lay it out, pour footings below the frost line, bolt a flashed ledger, set posts and a beam, hang the joists, then deck it. Design it in the opposite order: the boards set the joist spacing, and the joists set the beam and footings.
Permits & site plans · 13 min Do You Need a Permit to Remodel a Kitchen? 8 Triggers to Check
Most cosmetic kitchen remodels need no permit: paint, flooring, backsplash, cabinets and countertops in the same layout are finish work under the IRC model code. Move the sink, add an outlet or circuit, run a gas line, duct a hood outside or change a wall, and you usually need plumbing, electrical, gas or building permits. Here is the job by job answer and how to get it in writing.
Permits & site plans · 13 min Do You Need a Permit to Put a Fence Up? Zoning vs Building
Often yes, but usually a zoning or fence permit, not a building permit. Under the IRC model code a fence 7 ft or less needs no building permit, while zoning sets the height for each yard, corner sight lines and pool barrier rules. Here is how to check yours in writing.
Permits & site plans · 13 min Do You Need a Permit to Replace a Water Heater? Usually Yes
Most US cities require a permit to replace a water heater, even a same spot swap: the code exempts repairs, not new equipment. Here is which permits each job needs, what the inspector checks on the vent, gas line and relief valve, and how to get the answer in writing.