When I was planning a shade structure over my back patio, I spent a confusing week trying to sort out the difference between a pergola, a gazebo, and a pavilion. The terms get used interchangeably in marketing, sometimes incorrectly, and the structures serve different purposes, cost different amounts, and behave differently in wind and weather. Choosing the wrong one is an expensive mistake, because these are not small purchases and they are not easy to undo once built.
I want to lay out the three structures clearly, compare them on the dimensions that actually matter, and help you match the structure to what you are trying to accomplish. The right choice depends on whether you want shade or shelter, dining or lounging, permanent or flexible, and how much wind and snow your site gets.
The Three Structures Defined
Let us start with definitions, because the confusion begins here.
Pergola
A pergola is a structure with vertical posts supporting a roof of horizontal beams and cross-rafters, with open space between the rafters. It provides partial shade and a defined overhead plane, but it does not provide full shelter from rain or sun. A traditional pergola has no solid roof and no walls. It is a frame, an architectural element that defines a space without enclosing it.
The defining feature of a pergola is the open roof. You can see sky through it. It filters sun rather than blocking it. Rain passes through. This sounds like a limitation, and it is, but it is also the point. A pergola creates the feeling of a room without the enclosure of a room, and the dappled shade it produces is pleasant in a way that solid shade is not.
Gazebo
A gazebo is a freestanding, usually octagonal or hexagonal structure with a solid, pitched roof and open sides (sometimes with low walls or railings). It is the classic park bandstand shape. The roof is fully solid, providing complete shelter from sun and rain. The sides are open, preserving views and airflow.
The defining feature of a gazebo is the solid roof and the polygonal shape. It is a destination structure, usually placed away from the house, that provides a covered spot to sit. Gazebos are more enclosed than pergolas (you are under a real roof) but less enclosed than a pavilion (no walls).
Pavilion
A pavilion is a rectangular structure with a solid, pitched roof, open sides, and usually a more substantial, elongated form than a gazebo. Think of a park picnic shelter. The roof is solid, the span is larger, and the structure is designed to cover a bigger area, often for dining or entertaining. Pavilions are typically attached to or placed near a patio and oriented to cover a specific use area.
The defining feature of a pavilion is the solid roof combined with a rectangular footprint and open sides. It is essentially a roof on posts, scaled larger than a gazebo and more purpose-built for a patio or outdoor kitchen.
The Key Differences At A Glance
Here is the quick comparison before we go deep.
| Feature | Pergola | Gazebo | Pavilion |
|---|---|---|---|
| Roof | Open rafters, partial shade | Solid, pitched | Solid, pitched |
| Rain protection | None | Full | Full |
| Sun protection | Partial, dappled | Full | Full |
| Shape | Rectangular (usually) | Octagonal or hexagonal | Rectangular |
| Typical size | 8×8 to 12×16 feet | 8×8 to 12×12 feet | 12×16 to 16×24 feet |
| Walls | None | None or low railing | None |
| Attachment | Attached to house or freestanding | Freestanding | Freestanding or attached |
| Wind resistance | Good (wind passes through) | Fair (sail effect on roof) | Fair to good (depends on design) |
| Typical cost (DIY) | $500 to $3000 | $1500 to $5000 | $2000 to $8000 |
| Typical cost (installed) | $2000 to $8000 | $4000 to $12000 | $5000 to $20000 |
| Permanence | Often considered semi-permanent | Permanent | Permanent |
| Best for | Defining a space, partial shade, vines | A destination seating area | Covering a dining area or kitchen |
Costs vary wildly with size, material, and whether you build or buy. These ranges are for context, not quotes.
Coverage: Shade Versus Shelter
The first decision is whether you want shade or shelter, because this determines whether a pergola is even an option.
A pergola provides shade, not shelter. The open rafters block perhaps 30 to 50 percent of sun depending on rafter spacing, and they block zero rain. If you sit under a pergola in a rainstorm, you get wet. If you want to use the space in all weather, a pergola alone does not work.
You can add shade cloth, a retractable canopy, or polycarbonate panels to a pergola roof to increase coverage, but at that point you are converting it toward a pavilion, and you might as well have built a pavilion. A pergola is best when you want filtered shade and the feeling of structure, and you accept that it is a fair-weather feature.
A gazebo and a pavilion both provide shelter, with solid roofs that keep out rain and sun. The difference is shape and scale. A gazebo is a compact, usually round-ish shelter for a seating group. A pavilion is a larger rectangular shelter for a dining area, outdoor kitchen, or hot tub.
If you need to use the space in rain, choose a gazebo or pavilion. If you only need shade on sunny days and like the open-air feel, a pergola works.
Matching The Structure To The Use
Different uses suit different structures. Here is how I match them.
Dining Areas
A dining area wants a pavilion. You need a solid roof so rain does not ruin dinner, you need a rectangular footprint to fit a table, and you need enough height and space for people to move around chairs. A pergola over a dining table leaves you eating in the rain. A gazebo is usually too small for a full dining table and the polygonal shape wastes corners. A pavilion, sized 12 by 16 feet or larger, covers a dining table and chairs with room to spare.
Lounging And Seating Areas
A gazebo is ideal for a seating area, because the compact shape and solid roof create a cozy destination. A round conversation set or a few chairs fit naturally in a gazebo, and the shelter means you can sit out in light rain. A pergola also works for lounging if you do not mind the open roof, and it integrates better with a patio right off the house. For a destination seating spot away from the house (in a garden corner, at the end of the yard), a gazebo is the classic choice.
Outdoor Kitchens
A pavilion. Outdoor kitchens need solid shelter for the appliances and the cook, and they are rectangular and large. A pavilion covers the whole kitchen and provides a roof for the cook in rain. A pergola over an outdoor kitchen leaves the grill and fridge exposed, which shortens their life and limits usable days. The one caveat is ventilation, a pavilion over a grill needs open sides and good airflow to handle smoke.
Hot Tubs And Spas
A gazebo or a small pavilion. The solid roof keeps debris out of the tub and lets you use it in rain and snow. A gazebo provides a more enclosed, intimate feel that suits a hot tub. A pavilion provides more space if you want to include seating or a changing area around the tub. A pergola over a hot tub provides partial shade but leaves the tub exposed to rain and falling leaves, which means more cleaning.
Defining A Patio Space
A pergola. If your goal is to define a patio as a “room” without enclosing it, a pergola is the right tool. The open rafters create a visual ceiling that makes a patio feel like a space rather than a slab, and the posts define the edges. This is the pergola’s superpower, and neither a gazebo nor a pavilion does it as well, because their solid roofs close the space in rather than framing it.
Supporting Vines And Greenery
A pergola, hands down. The open rafters are designed to support climbing plants, which grow up the posts and across the top, eventually creating a living roof of leaves that provides dense shade in summer and opens up in winter when the vine is deciduous. A mature vine-covered pergola is one of the most beautiful garden structures there is. Gazebos and pavilions have solid roofs that vines cannot grow across meaningfully.
Wind And Weather Resistance
This is where people get into trouble, because these structures behave very differently in wind.
Pergola: Best In Wind
A pergola is the most wind-tolerant of the three, because wind passes right through the open rafters. There is no solid surface for the wind to push against, so a well-built pergola handles high winds that would damage a gazebo or pavilion. The posts need to be solidly anchored, but the structure itself does not act as a sail.
This makes pergolas the right choice for exposed, windy sites. If your yard gets strong winds, a pergola stays put where a gazebo might lift or a pavilion might rack.
Gazebo: The Sail Problem
A gazebo has a solid roof and open sides, which means the roof acts as a sail in wind. Wind gets under the roof and pushes up, and wind hitting the side pushes laterally. A poorly anchored gazebo can lift or shift in strong wind, and even a well-anchored one takes significant force. Octagonal gazebos are somewhat better than rectangular shapes because the angles deflect wind, but they are still vulnerable.
If you live in a windy area or a hurricane zone, a gazebo needs serious anchoring (deep concrete footings, hurricane ties) and even then it is a risk in extreme wind. Portable or kit gazebos with fabric roofs are the worst, because the fabric catches wind and the lightweight frame cannot resist it. These routinely end up in neighbors’ yards after storms.
Pavilion: Depends On Design
A pavilion has the same sail problem as a gazebo (solid roof, open sides) but usually has more posts and a more substantial frame, which helps. A well-built pavilion with proper footings and bracing handles wind better than a gazebo, but it still takes significant wind load and needs to be engineered for it. A pavilion attached to a house on one side is more wind-stable than a freestanding one, because the house provides lateral support.
Snow Load
For snow, the solid-roof structures (gazebo and pavilion) need to be engineered for the snow load in your region. A flat or low-pitch roof accumulates snow and can collapse under the weight. A steep pitch sheds snow. Check the roof pitch and the structure’s snow rating before buying or building. Pergolas do not collect snow (it falls through), which is another advantage in snow country.
Permanence And Flexibility
Pergolas are often considered semi-permanent. They can be built as permanent structures (concrete footings, attached to the house) or as freestanding temporary structures (bolted to deck blocks, removable). This flexibility suits renters or people who may move. A pergola kit can be disassembled and relocated.
Gazebos and pavilions are permanent. They require concrete footings and substantial foundations, and they are not meant to be moved. Building one is a commitment to the site. If you are unsure about the location or plan to move within a few years, a pergola is the safer choice.
Cost And Value
Pergolas are the cheapest of the three, especially as a DIY project. A basic cedar pergola kit runs $500 to $2000, and a custom-built one with good materials is $2000 to $5000 installed. The open roof means less material and less labor. This is a big part of why pergolas are popular, you get a defined outdoor structure for a fraction of the cost of a solid-roof structure.
Gazebos cost more because of the solid roof and the polygonal construction (more cuts, more complex joinery). A kit runs $1500 to $5000, and a custom-built gazebo is $4000 to $12000 installed. The complexity and the foundation work drive the cost.
Pavilions are the most expensive because of their size and the engineering required for the larger roof span. A pavilion kit runs $2000 to $8000, and a custom-built pavilion is $5000 to $20000 or more installed. The larger the span, the beefier the structure needs to be, and the cost scales with size.
For value, consider how much you will use the structure and in what weather. A pergola you use daily in summer for $2000 may be better value than a pavilion you use weekly for $10000. But a pavilion that extends your outdoor season by months may be worth the premium over a pergola you cannot use in rain. Match the spend to the usage.
Material Choices Within Each Structure
All three structures come in wood, vinyl, and metal, and the material affects longevity and maintenance.
Wood
Cedar and redwood are the standard woods, naturally rot-resistant and beautiful. Pressure-treated pine is cheaper but needs maintenance and does not look as good. Wood requires periodic sealing or staining (every 2 to 3 years) to stay looking good and to prevent cracking and graying. A wood structure lasts decades with care. Wood is the most customizable and the most traditional look.
Vinyl
Vinyl (PVC) structures are maintenance-free, never need painting, and do not rot. They look clean and are popular in vinyl-sided neighborhoods. The downside is they can look plasticky, they yellow slightly over many years, and they are not as strong as wood, so vinyl structures are usually smaller and reinforced with steel internally. Vinyl costs more than wood upfront but less over time.
Metal
Aluminum and steel structures are durable and have a modern look. Aluminum does not rust and is low-maintenance. Steel is stronger but must be powder-coated and watched for rust. Metal structures suit contemporary architecture and are common in pavilion-style shade structures. They cost more than wood but last longer with less care.
Making The Decision
Here is my decision framework, condensed.
- Do you need shelter from rain? If no, a pergola. If yes, gazebo or pavilion.
- What are you covering? Dining table or kitchen, pavilion. Conversation seating, gazebo. Patio definition, pergola.
- How windy is your site? Very windy, pergola or well-engineered pavilion. Calm, any of the three.
- Do you want vines? Yes, pergola. No, any.
- What is the budget? Tight, pergola. Mid, gazebo. Higher, pavilion.
- How permanent do you want it? Semi-permanent or movable, pergola. Permanent, gazebo or pavilion.
- Snow country? Pergola (snow falls through) or a steep-pitch engineered gazebo or pavilion.
Answer those seven questions and the right structure usually becomes obvious. Most people who are unsure actually want a pergola, because it is the most flexible, cheapest, and least committal option, and it provides the architectural definition that makes a patio feel finished. The solid-roof structures are for people with a specific shelter need that a pergola cannot meet.
Permits, Foundations, And Code
Before building any of these structures, deal with the regulatory layer, because it affects what you can build and where.
Most jurisdictions require a permit for a gazebo or pavilion (solid roof, considered a permanent structure) and may or may not require one for a pergola (open roof, sometimes classified as an arbor or shade structure and exempt). The threshold is often 200 square feet of roof area or a certain height, but it varies. A call to your local building department takes ten minutes and answers the question definitively. Building without a required permit can mean fines, forced removal, and trouble when you sell the house.
Setback rules matter too. Structures usually must sit a certain distance from property lines (often 5 feet, sometimes more) and from the house. A pavilion you want attached to the house may trigger different rules than a freestanding one. Corner lots and front yards have additional restrictions.
The foundation is the part people underestimate. A pergola can sometimes get away with deck blocks or post anchors set in concrete sleeves, because it carries less load. A gazebo or pavilion needs real footings, typically concrete piers sunk below the frost line, because the solid roof catches wind and snow and transfers serious load to the posts. Skip the footings and the structure racks, lifts, or fails within a few seasons. In frost climates, footings below the frost line are not optional, because frost heave will lift a shallow-set post and tilt the whole structure.
For any structure with a solid roof, consider hiring a contractor for at least the foundation and framing, even if you finish it yourself. The engineering on a roofed structure is real, and getting it wrong is expensive and dangerous.
My Own Choice
For the record, I ended up with a pergola over my patio, because my need was shade and definition, not shelter, and because my site is windy. I added a retractable shade cloth for the days I want more coverage, which gives me a hybrid for a fraction of the cost of a pavilion. If I later build an outdoor kitchen, I will add a pavilion over it, because a kitchen needs real shelter. The two structures will coexist, each doing the job it is suited for.
That is the real lesson. These structures are not competing for the same job. They are different tools for different jobs. Pergolas define and filter. Gazebos shelter small groups. Pavilions shelter large ones. Pick the tool that fits your job, your site, and your budget, and you will have a structure that earns its place in your yard for years.

