In most cases, yes — you need a permit to build a pergola, but there’s a common exemption for small freestanding ones. Under the model building code used across most of the United States, a one-story detached accessory structure under 200 square feet generally doesn’t require a building permit.1International Code Council. 2021 International Residential Code – Chapter 1 Scope and Administration Cross that threshold, attach the pergola to your house, or run electrical wiring to it, and a permit is almost certainly required. Even a permit-exempt pergola still has to comply with local zoning, and your homeowners association may have its own approval process on top of anything the city requires.
The Small-Pergola Exemption
The International Residential Code, which forms the basis for most local building codes in the U.S., exempts “one-story detached accessory structures” from permit requirements as long as the floor area stays under 200 square feet.1International Code Council. 2021 International Residential Code – Chapter 1 Scope and Administration A freestanding pergola that fits within a 10-by-20-foot or 14-by-14-foot footprint could qualify.
Three pieces of fine print trip people up. The structure has to be detached from the house — a pergola bolted to your exterior wall doesn’t qualify no matter how small. It has to be one story. And the exemption only waives the building permit itself; it doesn’t waive setback rules, height limits, or any other zoning requirement. Your pergola can be permit-exempt and still illegal because it sits too close to a property line.
Local jurisdictions also adopt the IRC with their own modifications. Some lower the 200-square-foot threshold. Some add conditions. The model code is the starting point, not the final word, which is why you still need to check locally even when you think you fit within the exemption.
When a Permit Is Almost Always Required
Four project features push a pergola firmly into permit territory regardless of where you live.
- Floor area over 200 square feet. Once you cross the IRC’s exemption threshold, a permit is required in nearly every jurisdiction.1International Code Council. 2021 International Residential Code – Chapter 1 Scope and Administration
- Attached to the house. Bolting a pergola to your home’s exterior with a ledger board makes inspectors treat it more like a home addition. The connection affects your wall’s waterproofing and transfers structural loads into your house framing, so municipalities commonly classify attached pergolas differently than freestanding ones.
- Height over roughly 10 to 12 feet. Many jurisdictions cap accessory structures around 12 feet. The IRC’s frost-protection exemption for freestanding accessory structures only applies when the eave height stays at or below 10 feet, which signals the code’s general comfort level with smaller, lower structures.2International Code Council. 2021 International Residential Code – Chapter 4 Foundations
- Electrical wiring. Adding lights, a fan, or outlets requires a separate electrical permit in virtually every jurisdiction, even if the pergola itself is small enough to be exempt from a structural permit. All outdoor outlets and circuits need ground-fault protection.
Why Attached Pergolas Get Treated Differently
An attached pergola uses a ledger board fastened to your house’s rim joist or wall framing. Done poorly, water can seep behind the board and rot the sheathing, and the structural load transfers into your home’s framing, which means inspectors want to verify the connection can handle wind uplift and anything you hang from it. A freestanding pergola stands on its own posts and footings, keeping your house’s structure out of the equation. If you have flexibility on design, freestanding is the path of least regulatory resistance.
Setbacks and Zoning Apply Either Way
A permit-exempt pergola is not a zoning-exempt pergola. The most common zoning issue for backyard structures is setbacks, which dictate how far a structure must sit from property lines, easements, and other buildings. Typical residential setbacks for accessory structures range from three to ten feet from side and rear property lines, though the numbers vary widely by jurisdiction and zoning district.
Other rules that apply regardless of whether you pull a permit include maximum lot coverage (the total percentage of your lot covered by structures), height limits measured from grade, and aesthetic requirements in historic districts. Violating any of them can result in an order to move or remove the pergola. Check your local zoning ordinance before you pour any concrete.
HOA Approval Is a Separate Process
If your neighborhood has a homeowners association, a building permit doesn’t mean the HOA approves your project, and HOA approval doesn’t substitute for a building permit. They are two different authorities with two different reviews.
Most HOA covenants require you to submit plans to an architectural review committee before building any outdoor structure. The committee evaluates design, placement, height, materials, and sometimes color. Building without HOA approval, even with a valid city permit, can result in fines, mandatory removal, or legal action by the association. Submit to your HOA first — their review often takes several weeks, and there’s no reason to pay for a building permit on a design your HOA won’t allow.
How to Confirm What Your Jurisdiction Requires
Your local building department is the only reliable source for permit requirements in your area. Look for the building, planning, or community development office at your city hall or county government website. Many jurisdictions post their municipal codes, permit applications, and fee schedules online.
When you call or visit, have these details ready:
- The pergola’s dimensions (length, width, and height)
- Its proposed location relative to your house and each property line
- Whether it will be attached or freestanding
- Whether you plan to add any electrical wiring
Providing specifics upfront lets staff identify every applicable regulation in one conversation instead of three. Don’t rely solely on contractors, hardware stores, or online forums. Permit requirements can differ between neighboring cities in the same county, and what was true five miles away or five years ago may not apply to your lot today.
Permit fees for small accessory structures generally run between $50 and a few hundred dollars, depending on the jurisdiction and project scope. Some departments charge a flat rate; others base fees on the estimated construction value.
What Happens If You Skip the Permit
This is where homeowners get into real trouble, and it’s more common than people think. Estimates suggest 40 to 50 percent of homes have some form of unpermitted work. The consequences range from annoying to genuinely expensive.
If code enforcement discovers unpermitted construction, the typical sequence starts with a stop-work order, followed by a requirement to apply for a retroactive permit. Retroactive permits, sometimes called “as-built” permits, generally cost two to three times more than a standard permit because the department has to investigate before issuing one. You’ll need to submit construction drawings of the finished structure, and an inspector will verify it meets code. If it doesn’t, you’ll need to make corrections, which can mean opening finished work for inspection or, in the worst cases, partial demolition and rebuilding.
The financial sting extends beyond permit fees. Many jurisdictions treat unpermitted construction as a code violation carrying daily fines until it’s resolved. The violation can be recorded against your property title as a certificate of noncompliance, which shows up during title searches when you try to sell. Sellers are generally required to disclose known unpermitted work to buyers, and failing to do so can expose you to lawsuits after closing. Buyers who discover unpermitted structures often demand price reductions, and some walk away entirely.
Insurance is the other exposure. Standard homeowners policies cover detached structures under “other structures” or Coverage B, usually set at 10 percent of your dwelling coverage, which is more than enough for most pergolas. But if an unpermitted pergola collapses and causes injury or property damage, your insurer may investigate whether it was built to code. An unpermitted structure that wasn’t built to code gives the insurer grounds to deny the claim.
A pergola permit that might have cost $100 upfront can turn into thousands of dollars in penalties, rework, denied claims, and lost property value when handled after the fact. If there’s any doubt about whether your project needs a permit, one phone call to the building department is the cheapest hour you’ll spend on the whole build.