October 23, 2026 · Thomas Jackson

Pergola vs Gazebo: Differences, Costs, and Which Fits Your Yard

A pergola has open or adjustable roof slats and posts, giving filtered shade over a patio; a gazebo is a freestanding pavilion with a solid roof, often on its own raised floor. Pergolas cost less and suit modern homes and patios, while gazebos give full shelter from sun and rain. HomeGuide puts a custom 12-by-12 gazebo at $8,600 to $14,400 and a custom pergola at $30 to $65 per square foot.

PergolasPatio CoversBackyard Design
Gazebo with a solid roof standing in a green park, compared with an open pergola

Key takeaways:

  • A pergola has an open, slatted, or louvered roof; a gazebo has a solid roof and is usually freestanding, often with its own floor.
  • Pergolas give filtered shade and suit patios, pool decks, and modern architecture; gazebos give full shelter.
  • HomeGuide: custom pergolas run about $30 to $65 per square foot; a custom 12-by-12 gazebo runs about $8,600 to $14,400.
  • Motorized louvered pergolas offer the best of both: open for sun, closed for shade and rain.
  • In the City of San Diego, many patio covers under 300 square feet can be exempt from a building permit, but the exemption disappears in the Coastal Zone or with electrical work.

Pergola vs gazebo is a common question when homeowners want shade over part of the yard. Both create an outdoor room, but they look, feel, and cost differently, and the right choice depends on how you will use the space. At Modern Yardz, we design and build pergolas and patio covers across San Diego County.

This guide compares structure, shade, placement, cost, and permits, and explains where louvered pergolas fit in.

What is the difference between a pergola and a gazebo?

The roof. A pergola's roof is open: beams, slats, lattice, or adjustable louvers that let sunlight and air through. A gazebo has a solid roof, typically pitched or domed, that blocks sun and rain completely.

PergolaGazebo
RoofOpen slats, lattice, or louversSolid, usually pitched or domed
ShadeFiltered or adjustableFull
Rain protectionNone (unless louvered or covered)Yes
ShapeUsually square or rectangularOften round, hexagonal, or octagonal; also square
PlacementAttached to the house or freestandingUsually freestanding
FloorSits on an existing patio or deckOften has its own raised floor
StyleModern, Mediterranean, minimalTraditional, garden, pavilion

Which is better for shade in San Diego?

For most San Diego patios, a pergola gives the right kind of shade. Our mild climate and frequent sun reward filtered shade and airflow, and a pergola keeps a patio bright while cutting glare. Inland, where afternoons get hot, a denser slat pattern, shade cloth, or a louvered roof adds more protection.

A gazebo makes more sense when you want a true sheltered room away from the house - a spot at the end of the garden, a dining pavilion, or a place to sit during the occasional rain.

What about louvered pergolas?

A motorized louvered pergola is a hybrid: open like a pergola, closed like a gazebo. Aluminum louvers rotate to let in full sun, filtered light, or close completely to shed rain. For San Diego's mix of bright afternoons and marine-layer mornings, they offer the most flexibility. Our aluminum pergola guide covers louvered systems in detail.

How much does a pergola cost compared with a gazebo?

Pergolas usually cost less because the roof is simpler. HomeGuide estimates:

  • Pergola: A prefabricated pergola runs about $1,450 to $5,750 installed, and a custom pergola about $30 to $65 per square foot, per HomeGuide's pergola cost guide.
  • Gazebo: About $30 to $100 per square foot installed, with a custom 12-by-12 gazebo around $8,600 to $14,400, per HomeGuide's gazebo cost guide.

High-end and engineered structures cost more. For Modern Yardz's aluminum pergolas, lattice styles start around $65 per square foot, solid-roof covers around $100, and cantilever designs around $125, with motorized louvered systems typically $30,000 to $60,000 depending on size and features.

Do you need a permit for a pergola or gazebo in San Diego?

Often, especially for larger or coastal structures. The City of San Diego's Information Bulletin 206 explains when patio covers on single-family lots can be exempt: generally up to 300 square feet, under 12 feet tall, and at least 5 feet from property lines. The exemption does not apply in the Coastal Zone, over 300 square feet, above 12 feet, or where the structure encroaches on a setback, and integrated electrical needs its own permit.

Gazebos with solid roofs are evaluated similarly as accessory structures. Your designer should confirm requirements for your lot and any HOA rules before you order materials.

Which should you choose?

Choose a pergola if:

  • You want filtered shade over an existing patio, deck, or outdoor kitchen.
  • You prefer a modern or Mediterranean look attached to the house.
  • You want to integrate lighting, fans, or a louvered roof.

Choose a gazebo if:

  • You want a fully covered, freestanding retreat away from the house.
  • Rain and full sun protection matter more than light.
  • Your home's style is traditional or garden-oriented.

Choose a louvered pergola if you want both, and the budget allows.

Build shade that fits your yard

The right structure depends on your patio, your architecture, and how you use the space. Modern Yardz designs pergolas and patio covers engineered for San Diego's coast and sun, shown in a 3D rendering with a line-item cost. Call 619-775-9554, see our pergola ideas, or explore covered patio ideas.

Free Consultation

Start Your Free Design Consultation

Tell us about your project and we'll be in touch within 24 hours. No pressure, no obligation.

Frequently Asked

Common questions

What is the main difference between a pergola and a gazebo?
The roof. A pergola has an open, slatted, or louvered roof that filters sunlight, while a gazebo has a solid roof that blocks sun and rain. Gazebos are also usually freestanding with their own floor.
Is a pergola cheaper than a gazebo?
Usually. HomeGuide estimates custom pergolas at about $30 to $65 per square foot and a custom 12-by-12 gazebo at about $8,600 to $14,400. Engineered aluminum and louvered pergolas cost more.
Does a pergola protect from rain?
A standard open pergola does not. A motorized louvered pergola can close to shed rain, and a solid-roof patio cover provides full protection.
Do I need a permit for a pergola in San Diego?
Smaller patio covers can be exempt under City of San Diego Information Bulletin 206 if they stay under 300 square feet and 12 feet tall and meet setbacks, but not in the Coastal Zone or with electrical work. Larger structures generally need a permit.
Can a pergola be attached to the house?
Yes. Pergolas are commonly attached to the house over a patio, while gazebos are usually freestanding. Attached structures must be properly engineered and connected to the home's framing.
Book Free Design Consultation

Ready to design your dream yard?

Tell us about your project. We'll send back a real plan, not a templated quote.

Book My Free Consultation→