A pergola has an open slatted roof that filters sun but lets rain through, while a gazebo and a pavilion both carry solid roofs — the gazebo typically smaller and freestanding, the pavilion larger and built for open-sided dining or kitchens.
The three names get swapped constantly, and hardware stores do not help by labeling every backyard frame a pergola. The structure you actually need is decided by four things: roof design, footprint, whether it attaches to the house, and what you plan to do underneath it. Get those wrong and you end up with a soaking-wet dining table or a permit problem.
The table below separates the three on the points that matter, then the sections after it cover cost, permit risk, and the choice most patio owners actually face.
How The Three Structures Actually Differ
The defining line is overhead coverage: a pergola’s roof is largely open, a gazebo’s and a pavilion’s are solid. Everything else — size, shape, attachment — follows from that one design decision.
| Structure | Roof And Coverage | Typical Form And Cost |
|---|---|---|
| Pergola | Open rafters, lattice, fabric canopy, or adjustable louvers; standard open versions give filtered shade and let rain pass through. | Rectangular or square, attached or freestanding; installed $1,500–$12,000, DIY kits $500–$3,500 in materials. |
| Gazebo | Solid roof — shingles, metal, or polycarbonate — with real sun and rain protection; screens or partial enclosure optional. | Usually freestanding and smaller, common footprints 10×10 to 14×14 feet; installed $4,000–$25,000. |
| Pavilion | Solid roof with open sides; full overhead weather coverage without enclosing the space into a room. | Larger and rectangular, examples starting near 16×20 feet; roughly $35–$60 per square foot. |
A gazebo reads as a destination — an octagon or oval set apart on the lawn or at the patio’s edge. A pavilion behaves more like an outdoor room without walls, sized for a long table, an outdoor kitchen, or several seating zones. A pergola is the lightest of the three and the one that frames a view instead of blocking it.
One caution worth stating plainly: a louvered pergola can close its roof for stronger rain protection, but it is not automatically the same as a solid-roof gazebo or pavilion. Drainage, wind ratings, and engineering vary by product, so check the specific unit’s specs.
What Each One Really Costs
Installed prices cluster far apart, and the gap is bigger than most homeowners expect. One 2026 comparison puts custom cedar pergolas at $6,000–$12,000, motorized louvered pergolas at $10,000–$25,000, hardtop gazebo kits at $2,500–$6,000, DIY wood gazebo kits at $4,500–$9,000, and custom cedar gazebos at $12,000–$25,000. Screened or fully wired custom gazebos can reach $30,000–$35,000, and a national average for pergola and gazebo projects lands near $5,500.
Those numbers only compare fairly when you know what is included. Delivery, foundations, installation, electrical work, permits, roofing, screens, drainage, and taxes swing a project by thousands. A $3,000 kit and a $9,000 installed build are not the same quote.
If you have settled on an open structure and want to compare specific models rather than concepts, our breakdown of the best outdoor patio pergola options covers kits, materials, and installed configurations side by side.
Permits, Footings, And The Mistakes That Cost Money
No single nationwide pergola rule exists in the US — local jurisdictions adopt and amend model codes, commonly versions of the International Residential Code, so permit treatment depends on where you live and what you are building. HyreYard’s glossary entry on pergolas notes the same: requirements are set locally, not federally.
Attachment to a house is the usual trigger. So is a solid roof, a tall or large footprint, electrical or gas work, plumbing, or substantial foundations. Call the city or county building department before ordering materials, not after the pallet arrives.
Engineering has to match local wind, snow, seismic, and uplift conditions. Footings, post connections, roof drainage, and anchoring are safety-critical, and a manufacturer diagram does not substitute for site-specific review. Outdoor electrical gear should be listed for the purpose and installed with weather and ground-fault protection by a qualified professional; gas appliances need proper clearances, ventilation, shutoffs, and licensed installation.
The recurring errors are predictable. People call an open pergola weatherproof. They compare kit prices against installed custom-build prices. They forget footing and drainage costs. They assume an attached structure is exempt from permits, or skip checking overhead utilities, property lines, easements, HOA rules, and setbacks.
Which Structure Fits Your Patio?
Choose by what you need the space to do on a rainy afternoon. If the answer is “keep eating outside,” an open pergola is the wrong pick.
- Open pergola: you want visual definition, filtered shade, climbing plants, a lower-cost build, and a clear view of the sky.
- Gazebo: you want a smaller, freestanding focal point with a permanent roof, and possibly screens for insect protection — at added cost and framing complexity.
- Pavilion: you need the most usable covered area, over a long dining table, an outdoor kitchen, or multiple seating groups. Expect larger footings, more framing, and heavier permitting and wind-load requirements.
The cited figures are general US estimates, not universal code. Exact dimensions, allowed materials, and engineering must be confirmed locally before you buy.
Common Questions
Can A Pergola Be Made Rainproof?
An open pergola cannot stop rain — its rafters and slats let water through by design. You can add a fabric canopy, a retractable cover, or a louvered roof that closes, but only the louvered and solid-cover versions offer meaningful rain protection. Check drainage and wind ratings on the specific product before relying on it.
Is A Gazebo Cheaper Than A Pavilion?
Usually yes, because a gazebo covers less ground. Hardtop gazebo kits start around $2,500, while pavilions are priced by area at roughly $35–$60 per square foot and typically span 16×20 feet or more. A large gazebo can close the gap, so compare total installed cost, not the sticker price.
Do I Need A Permit For A Freestanding Structure?
Not always, but the answer is local. Freestanding structures under a certain size often escape permits while attached ones rarely do, and the thresholds differ by city and county. Rules on electrical work, solid roofs, and height can also pull a small build into the permit process. Confirm with your building department first.
Sources
- BoCo Modern. “Pavilion Vs. Pergola Vs. Gazebo” Source for the three-way comparison table, pavilion square-foot pricing, and 2026 cost ranges.
- HyreYard. “Pergola: What It Is, Permits and Gazebo Differences” Source on pergola definition and how local jurisdictions handle permits.