Do You Need a Permit for a Pergola? 7 Triggers to Check
Alexander Novak Updated 12 November 2026 11 min read
In this article
Do you need a permit for a pergola? Often no, if it is freestanding, open on top, small and has no wiring. You usually do once you bolt it to the house, put a solid roof on it, run power to it or go past your local size limit.
Most people ask about size first. Size is the weakest of the triggers. What decides most pergola permits is what the structure touches and what sits on top of it: a ledger on the house wall or a metal roof turns a garden feature into a building addition. And even a pergola that needs no building permit still has to meet zoning, which is where most of the surprise violations come from.
| Your pergola | Building permit? | Zoning still applies? |
|---|---|---|
| Freestanding, open slats, under the size limit | Often not required | Yes, setbacks and height |
| Freestanding, over the size limit | Usually required | Yes |
| Attached to the house | Usually required | Yes |
| Solid, louvered or metal roof | Usually required | Yes |
| Lights, fan or outlets | Electrical permit at minimum | Yes |
| HOA or historic district | Depends on the city, plus HOA approval | Yes |
Do you need a permit for a pergola? The short rule
Most US cities and counties build their residential rules on the International Residential Code. Its permit exemption list, IRC R105.2, lets you skip a building permit for a one story detached accessory structure up to 200 square feet. A small freestanding pergola fits that line in the model code. The same line covers tool and storage sheds, which our guide to permits for building a shed works through size by size.
The catch is the word "model". Your city adopts the code and then amends it. California's residential code drops the line to 120 square feet, and Orange County, Florida uses 120 square feet as well. The same code section also says an exemption does not authorize work that breaks any other local law, which is how zoning still reaches a permit exempt pergola.

Here is how the size line moves between three real rule sets.
| Rule set | Exempt footprint for a detached accessory structure | Source |
|---|---|---|
| IRC model code (2018, 2021, 2024) | Up to 200 sq ft | IRC R105.2 item 1 |
| California Residential Code | Up to 120 sq ft | CRC R105.2 |
| Orange County, Florida | Up to 120 sq ft skips code review, still needs a zoning permit | County Ordinance 2024-04 |
| Your city | Check its adopted code and amendments | Your building department |

How big can a pergola be without a permit?
Under the IRC model code, a detached pergola up to 200 square feet usually needs no building permit. In California and Orange County, Florida the line is 120 square feet. Your city may use either number or its own, so measure first and look up your adopted code second.
Measure the footprint the way your office does. Many measure to the outside of the posts. Some count the roof overhang. A 12 x 14 ft pergola is a good test case because it lands on both sides of the line.

The math is one line: 12 ft x 14 ft = 168 sq ft. That is under 200, so it passes the IRC model line. It is over 120, so in California or Orange County it needs a permit. Shrink it to 10 x 12 ft and you get 120 sq ft, which sits right on the limit. Ask before you build to the edge of a number.
Setbacks are where pergolas actually get caught
A pergola that needs no building permit still has to sit where zoning allows. That means distance from the side and rear lot lines, a height cap and no building over a utility easement. Orange County, Florida is a good example: its accessory structure page names pergolas outright, skips code review for ones up to 120 square feet, and still sends them through a zoning review with a dimensioned site plan.

Measure from the post to the property line, not to the fence. Fences are often built a foot or more inside the line, or a foot over it, and the setback is measured to the line. Your survey or recorded plat shows the lot lines and any easements. If the office asks for a drawing, our guide to a site plan for permit shows what to put on the sheet, and the plain site plan guide covers the basics. If a new fence is part of the same project, check whether you need a permit to put a fence up before the post holes go in.
Attached vs freestanding: the line that matters most
An attached pergola almost always needs a permit, at any size. A ledger board bolted to the house hangs load on the house framing, and the size exemption in R105.2 covers detached structures only. Freestanding on its own four posts is the only version with a real shot at no permit.

This is the same logic deck permits run on. A ledger connection has to be flashed, fastened to the rim and sized for the load, and the inspector wants to see it before it is covered. If you have pulled a deck permit, the drawings will feel familiar: our guide to deck permit drawings walks through the framing plan and ledger detail that offices usually ask for. The code's exemption list even has its own line for decks, and our guide on whether you need a permit to build a deck shows why a ledger ends it there too.

Do you need a permit for a pergola with a roof?
Usually yes. Once you add a solid, metal or motorized louvered roof, most offices treat the structure as a patio cover, because it now carries snow, wind and rain loads that open slats let through. Shade cloth or a retractable fabric canopy is a gray zone, so ask how your office classifies it.

The trap is the add later roof. People build an exempt open pergola, then screw panels onto it a year later. The posts, beam and footings were never sized for a roof load, and the structure is now a covered patio built without a permit. If a roof is in the plan at all, size the framing for it and file up front.
Footings, posts and the parts an inspector looks at
When a pergola does need a permit, the inspection centers on what holds it down. Expect questions on footing size and depth, post size, the post to footing connector and the beam to post connection. Footing depth often follows your local frost line, which your office sets.

Get the lumber right on paper first. A 6x6 is not 6 inches: the standard lumber dimensions chart lists the actual sizes you draw and order. Then count the posts, beams and rafters before you buy. If the same project includes a framed privacy wall or an outdoor kitchen wall, the framing calculator counts its studs and plates for you.
How to find out if your pergola needs a permit
The free route works and costs you a phone call and an email. Do it before you dig, because footings are the first thing an inspector wants to see and the last thing you can show after the fact.

How to check if a pergola needs a permit
- Measure the pergola
Write down the footprint, the height to the highest point, the distance from each post to every lot line and whether it touches the house.
- Find your adopted code
Search your city or county name plus "accessory structure permit" or "work exempt from permit". Look for the exemption list and the zoning setbacks for accessory structures.
- Ask the office in writing
Email the building desk and the zoning desk with a dimensioned sketch and ask two questions: do I need a building permit, and does it meet 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.
Each city runs its own process. Houston, for example, has its own rules and intake, which our guide to City of Houston permits breaks down.
Pergola permit mistakes and what they cost
| Mistake | What it costs you |
|---|---|
| Measuring the setback to the fence | A post inside the setback, and a structure you may have to move |
| Building over an easement | The utility may need it removed, often at your cost |
| Adding a roof to an exempt pergola | An unpermitted patio cover on framing never sized for it |
| Wiring lights or a fan without a permit | An electrical violation and a likely insurance problem |
| Skipping the permit on an attached pergola | A stop work order, fines, or a demand to open it up for inspection |
| No written answer from the office | Nothing to show a buyer's inspector at resale |
The resale row is the one owners forget. Unpermitted structures tend to come up during a sale, and a buyer or lender can ask you to permit it after the fact or take it down. A garage conversion permit follows the same pattern: the work is the easy part, and the paper trail is what protects the value.
The bottom line
A small, freestanding, open pergola with no wiring often needs no building permit, but it still has to meet setbacks and height. Attach it to the house, add a roof, run power or pass your local size limit and you are filing.
The free method above gets you a yes or no. The wall comes next: when the office says yes, it usually asks for a dimensioned site plan, and for an attached or roofed pergola a framing plan too. That drawing is where most homeowners and small contractors lose a weekend. ScaledPlans turns your plans or photos into permit site plans and material takeoffs, so you can Get started and spend that weekend building instead.
Frequently asked questions
Often yes, if it is freestanding, has an open slatted top, no wiring and a footprint under your local limit: 200 sq ft under the IRC model code, 120 sq ft in California and Orange County, Florida. It still has to meet zoning setbacks, height limits and any HOA rules, so check those before you dig.
California's residential code exempts one story detached accessory structures up to 120 square feet from a building permit. A freestanding open pergola under that size often needs none, but city zoning rules on setbacks and height still apply, and many California cities add their own amendments. Attached pergolas, solid roofs and wiring usually need permits.
Usually yes, regardless of size. The size exemption in IRC R105.2 covers detached structures only, and a ledger bolted to the house loads the house framing, so offices want to see the connection, the flashing and the footings.
Usually. A solid, metal or louvered roof makes most offices treat the pergola as a patio cover, which carries snow, wind and rain loads. Fabric shade is a gray area. Adding a roof to an open pergola later can turn an exempt structure into an unpermitted one.
If it needed one, you risk a stop work order, fines, a demand to open it up for inspection, or an order to move or remove it if it sits in a setback or easement. It often surfaces when you sell, when a buyer or lender asks for permits on every structure.
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.