Get started
Menu

Do You Need a Permit for a Pergola? 7 Triggers to Check

Alexander Novak Updated 12 November 2026 11 min read

ScaledPlans · Field notesGet started
Plans in. Quantities out.Get started
Cedar pergola with four posts in steel bases on a backyard concrete patio beside a house, rafters casting striped shadows, rolled plans and a tape measure on a patio table at sunset

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.

Checklist of seven pergola permit triggers: attached to the house, footprint over the local limit, solid roof, electrical, height, setbacks or easements, HOA or historic district
Any one of these usually means you file

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
Bar chart of exempt footprint limits: 200 sq ft IRC model code, 120 sq ft in California and Orange County, Florida, with a 168 sq ft 12 by 14 ft pergola between them
Same pergola, two different answers

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.

Formula card: a 12 by 14 ft pergola is 168 sq ft, under the 200 sq ft IRC model limit but over the 120 sq ft limit in California and Orange County, Florida
168 sq ft: exempt in one place, a permit in another

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.

Hand stretching a tape measure from an unfinished pergola post to a wooden privacy fence across a lawn, with plan sheets and a square on a work table
Measure to the lot line, not to the fence

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.

Wood pergola under construction against a stucco house, ledger board bolted to the wall above a sliding door, rafters set on it, ladder and tools on a sawhorse table
A ledger on the house wall makes it an attached structure

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.

Comparison of three pergola builds: freestanding open slats often need no building permit, attached and solid roof pergolas usually do
The build decides the permit more than the size

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.

Builder on a ladder screwing dark metal roof panels onto pergola rafters, turning an open pergola into a covered patio, plans on a table below
Roof panels turn a pergola into a patio cover

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.

Builder checking a pergola post for plumb with a level, the post set in a galvanized steel base bolted to a concrete footing in a dug hole, shovel beside it
Footing and post base: the first inspection

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.

Four steps to a permit answer: measure the pergola, find the local code, ask the permit office in writing, keep the reply
Four steps, one written answer

How to check if a pergola needs a permit

  1. 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.

  2. 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.

  3. 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?

  4. 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

Can I put up a pergola without a permit?

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.

Do you need a permit for a pergola in California?

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.

Does a pergola attached to the house need a permit?

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.

Do I need a permit for a pergola with a roof?

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.

What happens if you build a pergola without a permit?

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.

Get started

About the author

Alexander Novak

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