Free guide

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:

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

If you need a permit, have ready

Check yours in four steps

  1. Pin down the design: its footprint in square feet, whether it has a solid roof, and whether it touches the house.
  2. Find your city's page: search for "[your city] pergola permit" or "[your city] gazebo permit".
  3. Check the setbacks for accessory structures, even if no permit is needed.
  4. 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.

Start your site plan See a sample (PDF)

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.

Related guides

Something missing from this guide?