The short answer
The model building code lets you skip a permit for a small one-story detached accessory structure of 200 sq ft or less, and whether your town counts a pergola as one is a local call. Attaching it to the house, a solid roof, a large size or electrical work are the things that most often change the answer. Ask your building department before you buy lumber, and ask about HOA and setbacks too.
A pergola permit is not a federal or state question. Your city or county decides, and the answer can change from one side of a town line to the other. What stays the same is the shape of the question: the model building code has an exemption for small detached accessory structures, and the features that most often take a structure out of it are the same ones everywhere. This guide gives you the model exemption, the questions that change the answer, what to do about setbacks and HOA rules, and what a permit office asks to see.
We are not your building department. We cite the sources we read, and we say when we did not read something.
Do You Need a Permit for a Pergola? The Model Exemption
Start with the model code, since most local rules are copies of it with changes.
What the model code says
Section R105.21 of the 2021 International Residential Code lists work that does not need a permit. One item in the county copy we read exempts one-story detached accessory structures when the floor area does not exceed 200 sq ft. The same list has a separate item for decks, so a deck is not covered by the accessory rule. Our deck permit requirements guide covers decks and the state-by-state table.
Does a pergola count?
This is the part we cannot settle for you. A pergola has posts and a roof grid but usually no floor, and no solid roof. Some offices may treat it as an accessory structure, and they may measure the footprint or the area under the roof grid. Others may want a permit for anything with posts in the ground. The model text does not name pergolas in the copy we read, so this is a local reading and the answer comes from your office.
Exempt does not mean code-free
The same model section says an exemption does not authorize work that violates the code or other laws. A pergola that needs no permit still has to be built soundly and still has to meet setbacks and any other rule that applies.
It is only a starting point
Treat 200 sq ft as the model’s starting point and not as a national law. Some California cities print a lower limit of 120 sq ft for playhouses and similar uses, which shows how much the threshold can move. We did not find a source that applies either number to pergolas, so we will not.
- 1Grant County, Washington Exempt R105.2 (2021 International Residential Code, section R105) (2021)
Pergola Permit: What Changes the Answer
These are the questions to put to your office. They come from how the model code is built and from the structural issues a pergola has. They are not a survey of offices.
Attached to the house
A pergola with a ledger on the house is no longer detached, and the model exemption speaks of detached structures. It also ties the pergola to the house wall, which is where the ledger rules apply. The DCA62 guide prohibits a ledger on brick or stone veneer, on hollow masonry, on a bay window or floor overhang, on a truss ribbon board and on a thin I-joist band. Our guide to a pergola attached to the house gives the ledger test.
A solid roof
An open grid of slats is a different structure from a solid roof. A solid roof holds snow and catches wind in a different way. Say clearly which one you are building when you call. Add a solid panel, a polycarbonate sheet or a waterproof membrane to the grid and the office may see a different kind of structure. Ask how a retractable or louvered roof is treated, because we have not read any rule for them. The patio cover section below says what we can and cannot tell you.
Size and height
Ask for the maximum area, the maximum height and how each is measured. We hold no height limit for pergolas and will not invent one.
Wiring, lights and fans
If you plan to add lights, outlets or a fan, ask whether the electrical work needs its own permit. It can be a separate application from the structure.
Freestanding is not a free pass
A freestanding pergola is detached, which helps. It does not remove the size question, the setback question or the HOA question. Our designer treats a freestanding pergola as a structure that has to resist wind and snow on its own, with the same checks as one attached to the house.
On a deck or a patio
A pergola added to a deck changes what the deck carries, and a town that did not require a permit for the deck may want one for the pergola. Posts through the deck land on their own footings, and the pergola over deck guide sets out the options. If the deck is new, the permit set for the deck and the pergola can go in together.
Wind and snow loads
Reviewers often want the design loads for your address. Ask your office for the ground snow load and the design wind speed. Our designer asks you to enter both, and starts from a snow load of 30 psf and a wind speed of 115 mph, which are our starting values and not your local ones. It also leaves out snow that slides off a house roof onto the pergola, so tell the reviewer if one sits above.
- 2American Wood Council Prescriptive Residential Wood Deck Construction Guide (DCA 6, 2015 IRC version) (2015)
How to Ask Your Building Department
A good call saves a second trip. These are the questions that matter.
On the phone
Ask whether a pergola of your size and type needs a permit, whether it counts as an accessory structure, how the area and height are measured, and whether attaching it to the house changes the answer. Ask whether electrical work is separate, and whether an owner can pull the permit.
In writing
Whatever you hear, ask for it in an email or on the office’s web page, with the date. A phone answer is hard to use if someone else at the counter later says something different. Keep it with your drawings.
What to bring
Bring a sketch with the size, the height, the distance to each property line and whether it touches the house. If you have a drawing set with the footings and member sizes, bring that as well. The more you show at the start, the fewer questions come back.
Patio Cover Permit: Why a Solid Roof Is Different
A patio cover with a solid roof is not the same case as an open pergola, and the permit answer can differ. We will not give you a threshold, because we have not read your town’s rules, but we can say what the model code does with covers and what a solid roof adds.
What the model code has for patio covers
The International Residential Code has an appendix for patio covers, Appendix AH (Appendix H in the 2018 edition). As we understand it, it describes a one-story roof that is open on the sides, used for outdoor living and no more than 12 ft high, and it applies only in places that adopted the appendix. We did not open the text of the appendix this session, so treat that description as a pointer and not a quotation. Ask your office whether it uses it.
Why a solid roof is not a pergola
A solid roof holds snow and catches wind from below, so it loads the frame, the footings and the wall more than an open grid does. That is why the questions in the section above, attached or not, size, height and wiring, apply with more weight. A solid cover on the house wall also sits on a ledger, and on a one-story house the wall often has no band joist at that height, which is something a reviewer may ask about.
What changes the answer for a cover
Ask whether your office treats an attached solid-roof cover as a different structure from a pergola, whether snow sliding off the house roof onto the cover needs an added load, and whether wall studs may carry the ledger where there is no band. Our patio cover attached to house guide has the ledger test, and our covered patio cost guide lists what a cover costs to frame.
What our plan says
The patio cover designer prints “local approval not checked” on the plan, because patio cover permit rules, setbacks, HOA and zoning vary. It never says a permit is not needed. The plan is prepared to NDS 2018 methods, with the roof ledger checked to NDS 2018 Chapter 12, not engineer-stamped. Check with your building department.
Setbacks, HOA and Zoning for a Pergola
A permit is one approval. There can be several.
Setbacks
Structures are usually kept some distance from property lines, and a pergola with posts may count. The distance is set locally. Ask your office whether the posts, the beam or the rafter overhang is measured.
HOA approval
If you have a homeowners association, it can require its own approval, apart from the building permit, and may restrict materials, colors and height. Get that in writing before you buy lumber.
Zoning and easements
Check the lot for easements, utilities and any overlay zoning. Have underground utilities marked before you dig. We cannot tell you what applies to your lot.
Pools, fences and other structures
Other structures nearby can bring their own rules. A pool has barrier and clearance rules in many places, and a pergola close to one may be reviewed with it. We did not read any such rule, so ask if your pergola sits near a pool, a fence line or another outbuilding.
Rentals, historic districts and flood areas
If you rent, the owner must agree. In a historic district or a mapped flood area, extra approvals can apply to any new structure. These are questions for the local office, and we hold no facts on them.
What the Permit Office Asks For
The list varies, but a reviewer wants to see that the structure is drawn and that its parts were sized.
Drawings
Expect to be asked for a site plan, with the pergola and its distance from property lines, and for plan and elevation drawings. For a structure with footings and posts, the office may want the footing detail and the member sizes too. Our deck drawings for permit guide explains how reviewers read a drawing set, and the same habits apply.
What our plan includes
The $29 pergola plan has the plan view, elevations, details, a member schedule showing the checks, a cut list, a shopping list with hardware counts, and a build sequence with inspection points. Two separate plans, a deck and a pergola on its own footings, are $59. It is prepared to NDS 2018 methods and the DCA62 ledger rules, not engineer-stamped. Check with your building department, and ask whether it wants a stamped drawing for your structure.
Ask before you buy
A short call or a counter visit costs nothing. Ask what it needs to see, how many copies, and what the review takes.
Try it
Draw it before you go to the counter
Design your pergola in the pergola designer, then check the member sizes, footings and ledger before you apply. Prepared to NDS 2018 methods, not engineer-stamped. Check with your building department. Read how to build a pergola for the order of work.
- 2American Wood Council Prescriptive Residential Wood Deck Construction Guide (DCA 6, 2015 IRC version) (2015)
Building a Pergola Without a Permit
We do not quote fines, because we have not checked any office, and we will not make one up.
What can happen
The outcomes depend on the town. They range from nothing to a stop-work order, a fee to permit the structure after the fact, or a request to open the work for inspection. A structure built over a setback or an easement may also draw an order to change it, which is a good reason to check the lot first.
Ask first
Asking is the cheap way to find out. If the office says no permit is needed, ask them to say so in an email, so you have it on file.
If it is already built
If the pergola is already up, ask your office how it handles a permit after the fact. Bring drawings of what you built, and be ready to show footing depths and member sizes. Building to the sizes a drawing shows is far easier to defend than a pergola that was built by eye.
Sources
Every number in this guide that does not come from our own deck designer was checked against these 2 documents, numbered in the order the text first cites them and read between Oct 25, 2026 and Nov 4, 2026. 2 are code guides and official pages.
- 1Grant County, WashingtonExempt R105.2 (2021 International Residential Code, section R105) (2021)
- 2American Wood CouncilPrescriptive Residential Wood Deck Construction Guide (DCA 6, 2015 IRC version) (2015)