A traditional pergola has open beams overhead that filter sunlight without blocking it — pretty, but useless during summer rain. Once you add a solid roof, the structure becomes something else entirely, and the name depends on the geometry. Most people asking what is a pergola with a roof called end up with three possible answers: a pavilion (open-walled with a pitched solid roof), a gazebo (octagonal or hexagonal with full roof), or a ramada (Southwest-style flat or low-pitch covered shelter). A covered pergola also exists as a category, where solid panels replace the typical louvered or open beam structure.
Part of our Roofing guide — explore the full guide →
Each has different building code implications, costs, and best-use scenarios. The distinction matters when you pull permits or talk to contractors.
Pavilion: Rectangular with a Pitched Roof
A pavilion is a freestanding rectangular structure with open walls (or partial walls) and a solid pitched roof, typically 4:12 to 6:12 pitch. Roof materials match the main house — asphalt shingles, metal panels, or cedar shakes — giving the structure a permanent architectural quality.
Pavilions range from $15,000 for a basic 12-by-14 cedar kit installed to $45,000 or more for a custom timber-frame pavilion with stained tongue-and-groove ceiling and stone column bases. The Tuff Shed Premier Pro pavilion starts around $11,000 in the basic 10-by-12 configuration. Most jurisdictions require a building permit because of the structural roof load and foundation requirements — typically 4-foot deep sonotubes set below frost line for footings.
Gazebo: Octagonal or Hexagonal Roofed Structure
The gazebo is the most distinctive shape — usually octagonal (8-sided), occasionally hexagonal (6-sided), with a steep pyramidal or domed roof. The geometry traces back to Victorian garden architecture and remains popular for backyard structures intended as focal points rather than dining or entertaining spaces.
Pre-fabricated cedar gazebo kits from Costco, Sams Club, and Lowe’s run $4,500 to $12,000 for 10-foot or 12-foot diameter models. Higher-end custom gazebos with full screen panels, electrical wiring, and cupola vents can reach $30,000 or more. The vertical roof geometry makes them less practical for entertaining (low side clearance) but ideal as ornamental garden features. Permits are usually required, though some jurisdictions exempt structures under 120 square feet from full permits.
Ramada: Southwest-Style Flat or Low-Pitch Cover
A ramada is rooted in Southwest and Mexican architecture — a freestanding shaded structure with a flat or very low-pitch roof, often supported by heavy timber posts or stucco columns. The roof traditionally used latilla branches over vigas (heavy beams) but modern versions use solid roof decking with metal or membrane roofing for actual weather protection.
Ramadas read as more architectural and intentional than pergolas, blending into Spanish, Mediterranean, and modern Southwest home styles. Custom-built timber ramadas with stained ceilings run $18,000 to $40,000 depending on size and finishing details. They handle heavy sun exposure better than steep-roofed alternatives because the low pitch reduces solar gain on the surface.
Covered Pergola: The Hybrid Approach
A covered pergola keeps the rectangular open-frame pergola silhouette but replaces the open beams with solid panels — polycarbonate, metal, or fabric — to provide weather protection. The Mexican wave-style standing seam or corrugated metal panels run between traditional pergola rafters and beams.
Aluminum louvered pergolas from Struxure ($25,000 to $45,000 installed for a 14-by-16-foot motorized model) sit in the same category — open beams in adjustable louvers that close fully for rain protection. Pergola Kits USA, Renson, and Equinox Louvered Roofs all sell similar systems. The motorized louvered category has dominated the upscale outdoor living market since 2020 because it combines pergola aesthetics with on-demand weather protection.
Permits and Code Considerations
The IRC (International Residential Code) treats permanent roofed structures over 200 square feet as buildings requiring full permits — including footing inspection, framing inspection, and final inspection. Structures over 120 square feet typically need a permit even if the requirements vary by jurisdiction.
Setbacks matter: most municipalities require 5 to 10 feet from side property lines and 10 to 25 feet from rear lot lines for any roofed accessory structure. HOA approval often runs separately from city permits. Pull a permit even when the cost feels punitive ($300 to $1,500 typical permit fees) because unpermitted structures complicate home sales and may not be insured for liability if someone is injured.
Foundation Requirements
A roofed structure carries significantly more dead load than an open pergola. Snow loads in northern climates push the design loading further — the IRC requires 30 to 70 pounds per square foot ground snow load depending on region.
- Concrete pier footings: 12-inch diameter sonotubes to frost line (varies 12 inches to 48 inches by region)
- Surface mount post bases: only acceptable for very light structures on existing slabs
- Full concrete slab: required by some jurisdictions for larger pavilions
- Helical pile anchors: code-approved alternative when ground conditions are poor
- Embedded post construction: cheapest, but reduces post lifespan to 20-25 years vs 40+ for concrete piers
Skipping proper footings is the single most common building code violation on DIY pavilion projects. Inspectors will require excavation and pour-in-place footings during the inspection if you skip this step, costing more than doing it right the first time.
Materials That Survive Weather
Pressure-treated southern yellow pine is the budget standard at $4 to $7 per linear foot for posts and beams. Western red cedar costs $9 to $14 per linear foot and resists rot naturally without chemical treatment. White oak and ipe (Brazilian walnut) are the highest-end options at $18 to $40 per linear foot and last 50 to 75 years.
Aluminum extruded structures from Struxure, Renson, and Suncast offer zero-maintenance options with powder-coated finishes that hold color for 20-plus years. Steel structures provide the strongest framework but require regular paint maintenance to prevent rust unless you specify galvanized or weathering steel.
How to Choose for Your Yard
Pavilions suit families that entertain regularly and need year-round weather protection over outdoor kitchens or dining areas. Gazebos work as garden focal points and contemplative spaces but suit smaller-scale uses. Ramadas fit Southwest-style homes and provide excellent sun control in hot climates. Covered or louvered pergolas blend pergola aesthetics with the practical protection of a roof.
Match the structure to actual use patterns first, architectural style second, and budget third. A $30,000 timber-frame pavilion used twice a year is a worse investment than a $9,000 cedar pergola kit used three nights a week. The right structure earns its cost through the time you actually spend under it.