Do I need a permit for a pergola or gazebo?
Often not for a small, open, freestanding pergola. But a solid roof, a size over your city's cutoff, wiring, or attaching it to the house can each mean a permit, and a roofed gazebo often needs one.
Examples from city rules
A few examples, as each city's own page put it in November 2026:
- Apex, NC needs no permit for a freestanding pergola with no roof. A pergola supported by the house counts as an addition and needs a permit. Put a roof on it and it becomes a gazebo, which needs plan review with a plot plan, an application and fees. Wiring always needs an electrical permit, and your HOA's sign-off doesn't replace any of this.
- Maplewood, MN requires a building permit for gazebos and pergolas larger than 200 square feet. The application includes construction plans and a site plan showing the structure and its distances to the property lines and other buildings. Electrical work is a separate permit.
- San Jose, CA counts gazebos and trellises as accessory structures. At 120 square feet or less, no permit is needed unless there's electricity or plumbing; bigger ones need a building permit.
So a 12 by 12 open pergola (144 square feet) needs no permit in Apex if it stands on its own, none in Maplewood because it's under 200 square feet, but a permit in San Jose because it's over 120. That's why it pays to look up your own city's rule.
What usually decides it
- A roof. Open slats or lattice are often treated lightly; a solid roof has to carry snow and wind, so many cities want a permit. Apex calls a roofed pergola a gazebo.
- Size. Cutoffs like 120 or 200 square feet are common.
- Attachment. Fastened to the house, it can count as an addition, as in Apex.
- Power or water. Lights, fans, outlets or plumbing usually bring a separate permit.
- Where it sits. Even without a permit, zoning setbacks and your homeowners' association's rules often still apply.
If you need a permit, have ready
- The structure's size, height and roof, with simple construction drawings
- A site plan showing where it goes and its distance to the lot lines and buildings
- Whether it's attached to the house or a deck
- Any wiring or plumbing, for a separate permit
- Your homeowners' association's sign-off, if you have one
Check yours in four steps
- Pin down the design: its footprint in square feet, whether it has a solid roof, and whether it touches the house.
- Find your city's page: search for "[your city] pergola permit" or "[your city] gazebo permit".
- Check the setbacks for accessory structures, even if no permit is needed.
- Ask if you're close to a cutoff. The permit desk can tell you in a few minutes.
Draw the site plan in minutes
The Odd Jobs site plan maker places a pergola or gazebo as a labeled structure, with your house, a deck or anything else on the lot, and lists every distance to the lot lines and the dashed setbacks on a to-scale PDF. The preview is free, so you can check it against your city's checklist before you pay $29. It draws the site plan, not the structure's building drawings. No account.
Check your city
Size cutoffs, how a roof or attachment changes things, and what the permit needs all differ from city to city. Your city's building department has the final word, so check your city before you build.