Pergola vs pavilion basics
A pergola is an open frame of posts and crossbeams that shades and defines a space. A pavilion, as we use the word on this page, is a freestanding structure with a solid roof that keeps rain off. The difference drives shade, weather protection, structural design, cost and, in Pennsylvania, how closely your municipality looks at the project.
What each one is
For planning, the feature that matters most is the roof. An open-frame pergola filters sun and lets air through, but it does not shelter you from rain unless a cover is added. A pavilion as defined here has a solid roof, so it keeps rain off and gives more shade, and the roof is also what makes the structure heavier and more closely reviewed. The structural and permit questions below follow from that difference.
The LSU AgCenter (Louisiana State University’s extension service) describes a pergola as a simple structure of columns and posts that support beams or a lattice overhead. It says a pergola provides shade, similar to a shade tree, and a cooler, more comfortable outdoor space in summer, and that it creates an enclosed feel while keeping a connection to the outdoors. That is an extension description of the open-frame type, and it matches how we use the word here.
Side-by-side
| Question | Pergola (open frame) | Pavilion (solid roof, as used here) |
|---|---|---|
| Rain protection | Little or none, unless a cover is added | Keeps rain off |
| Structure | Posts, beams and open framing | Posts, beams plus rafters or trusses and roof covering |
| Roof loads | Depends on design | A solid roof can collect snow, so structural design matters |
| Permit questions | Ask your municipality | Ask your municipality; a roofed structure is likely to get a closer look |
How a pergola is typically framed
The LSU AgCenter’s pergola guide lists a typical wood build, and these are the numbers it gives for a pergola in Louisiana, so treat them as an example of how one extension service describes the parts, not as a Pennsylvania design:
| Part | What LSU lists |
|---|---|
| Posts | 4×4 or 6×6 pressure-treated lumber, sized to the weight they must support |
| Beams (headers) | 2×6 or 2×8 |
| Rafters | 2×4 or 2×6, commonly spaced 12 to 16 inches on center |
| Top runners (optional) | 2×2 boards laid across the rafters |
| Fasteners | Hardware or carriage bolts |
LSU says shade depends on rafter spacing and rafter height, that top runners give more shade control, and that tighter runner spacing gives more shade. For more shade than runners provide, it suggests lattice. It says beams can rest in a notch cut into the post, attach to the side of the post, or use a combination of both, with all connections secured by hardware or carriage bolts. It adds that staining protects the wood from early breakdown.
Setting the posts
LSU says to call 811 to have utilities marked before digging. If posts go directly in the ground, it says to dig to about one third of the post length, so an 8-foot finished height uses a 12-foot post with 4 feet underground. It also says anchoring posts on a concrete pier or surface adds stability, especially under heavy loads, and protects against soil heaving and post rot. Posts need to be perpendicular to the ground and flush with each other.
Do not copy the 4-foot figure for Pennsylvania. It is a rule of thumb from a Louisiana source and says nothing about frost depth, which is set locally in Pennsylvania. Ask your municipality or builder what footing depth applies where you live. Note that LSU’s page does not discuss permits, building codes or roofed structures at all, so it speaks to the pergola frame only and not to the pavilion question.
Permits and zoning in Pennsylvania
Pennsylvania’s Uniform Construction Code regulation (34 Pa. Code section 403.62) lists the work that does not need a building permit. Pergolas and pavilions do not appear on that list. A roof over a deck is also not on it. That does not mean a permit is automatically required. Some accessory structures are excluded elsewhere in the regulation, and municipalities can add their own ordinances. It means you should ask. Setbacks, height and lot coverage under local zoning apply even when no building permit is needed. If you plan lights, ceiling fans or outlets, adding electric wiring is not an ordinary repair under the regulation, so ask about electrical permits. See work that does not need a UCC building permit and do you need a permit for a deck in Pennsylvania.
Structural questions to ask
- Footings. Posts need to be anchored for your soils and frost depth. Ask the builder what the footing design is and who designed it.
- Snow load. A solid roof collects snow. The design snow load for your location is a local code number; ask your building code office rather than guessing.
- Wind. Ask how the posts connect to the footing and how the roof connects to the posts.
- Attachment to the house. A pergola or roof attached to a house or deck raises questions about the ledger, flashing and the deck below. Get the design reviewed.
- Materials. Ask the manufacturer or builder for load ratings and warranty terms for whatever material is proposed.
How to choose
Choose a pergola when the goal is a defined, partly shaded space. Choose a pavilion when you want to use the space in the rain, protect furniture or an outdoor kitchen, or get serious shade. If you are not sure, a pergola frame designed with the posts and footings to carry a roof later can leave the option open, but have the builder confirm that in writing. Also think about the surface under it: patio pavers, concrete or a deck all change how the posts are anchored.
Questions
What is the main difference between a pergola and a pavilion?
On this page, a pergola is an open frame and a pavilion has a solid roof that keeps rain off. Naming varies, so describe the roof to your contractor.
Do I need a permit for a pergola in Pennsylvania?
Pergolas are not on the state’s list of work exempt from a UCC building permit, but local rules vary. Ask your municipality before you build.
Will a pergola keep the rain off?
An open frame does not shelter from rain unless a cover is added.
Do I need an engineer for a pavilion?
Ask your municipality. A solid roof carries snow and wind loads, and local code sets design values. A builder or design professional can tell you what drawings your office wants.
How much shade does a pergola give?
The LSU AgCenter says shade depends on rafter spacing and rafter height, that tighter spacing of top runners gives more shade, and that lattice gives more shade than runners.
Sources
- 34 Pa. Code section 403.62, Permits (Justia copy; may lag the current regulation)
- LSU AgCenter, Landscape Ornamental Series: Designing and Building a Pergola (Louisiana; out of state, does not address permits or roofed structures)
Want shade or shelter over your patio?
We build patios, decks and the foundations structures sit on. Tell us what you have in mind.
Get a quotePlanning information only, not engineering or legal advice. Structural design, permits and zoning are set by your municipality and a qualified designer. Sources checked Nov 23, 2026.