Planning a Pergola: Style, Location, Size, Permits and HOA Rules
A pergola is one of the most affordable ways to turn a bare patio or deck into an outdoor room. It adds height, shade, privacy and a sense of enclosure that planting alone takes years to give. What decides whether yours gets used isn't the kit you buy - it is where you put it, which way the rafters run for your climate, how big and tall you make it, and clearing permits and the HOA before the first post goes in.
General guidance for American homeowners. Permit, zoning and HOA rules vary by state, county, city and neighborhood - always confirm with your local building department (and HOA, if you have one) before building, especially for anything attached to the house, with a covered roof, wired for power, or close to a property line. Part of the PlantMapper Pergolas section.
A pergola turns an open patio into an outdoor room · photograph via Pexels
Start here
What a pergola is, and what it is for
A pergola is an open framework of posts and beams, usually with an open or slatted roof, that defines a space without enclosing it. It isn't a gazebo, a shed or a covered porch: light and rain both come through, and that is the point.
People build them for four reasons: to make a patio or deck feel like an outdoor room; to get filtered shade over a seating or dining area without losing the sky; to grow vines overhead, which is the only way to get scent and flowers above eye level; or to screen a backyard from the neighbors' upstairs windows.
Which of those matters most decides the size, the orientation and the roof, so be honest about it before you look at a single kit. A pergola built for shade in Phoenix and one built for a wisteria in Ohio are not the same structure.
The options
Pergola styles and where each one belongs
Six broad types. The difference is mostly the roof and the proportions, and each suits a different yard.
Classic open-slat pergola
The traditional backyard pergola
Posts, beams and evenly spaced rafters with slats on top, and the sky visible between them. It casts striped, moving shade and is the ideal frame for vines, which is what most people want.
Cheapest to build, and the easiest DIY project of the six.
Little wind load, so it is the most forgiving structure.
Shade is partial and moves through the day - roughly 30-50% cover.
Comes into its own once vines are established, which takes two to four years.
Attached pergola
Off the house, over a patio or deck
One side carried on a ledger on the house, the other on posts. It is the standard way to shade a patio right outside the back door, and it makes the outdoor space feel like part of the house.
Uses half the posts, so it is cheaper and less in the way.
The ledger connection to the house is the part to get right - and the part most likely to need a pro and a permit.
The ledger must be flashed so water runs away from the house, not behind the siding.
Attached structures are much more likely to need a permit. Check locally.
Louvered or adjustable-roof pergola
The modern all-weather option
Aluminum blades in the roof that rotate from open to closed, giving anything from full sun to rain cover. Increasingly popular for outdoor kitchens and hot-climate patios, and priced to match.
Genuinely usable in summer storms and midday sun, which open kinds aren't.
Needs proper footings - a closed roof catches wind, rain and snow.
Built-in gutters and downspouts have to empty somewhere sensible.
Motorized versions need outdoor power installed by a licensed electrician, usually under a permit.
Covered or canopy pergola
Rain cover without the engineering
A fixed polycarbonate or metal roof, or a fabric canopy, over an otherwise open frame. Cheaper than louvers and far more usable than open slats, at the cost of some light and a lot more wind and snow load.
A fixed solid roof changes the structure fundamentally - it must be designed for it.
Needs a slope and gutters, or water sheets off the low edge onto whoever is sitting there.
Retractable canopies and shade sails are a good middle ground and can be pulled back in wind.
A solid roof next to the house is much more likely to need a permit, and may count as a patio cover under local code.
Walkway pergola or arbor
Structure along a path
A run of linked arches or frames over a path, or a single arbor over a bench or garden gate. The classic home for roses, native honeysuckle and clematis, and the best value per dollar on this list.
Adds height, rhythm and a destination to a flat yard.
Very cheap in kit form, and easy to extend a bay at a time.
Allow at least 7 ft of headroom, more if you are growing a heavy vine.
Wide enough for two people side by side is about 5 ft; 4 ft is a squeeze.
Contemporary minimal frame
A shape rather than a shelter
A slim aluminum or steel frame with widely spaced rafters or none, used to define an outdoor room around a modern home. It does almost nothing for shade and everything for the look.
Slim sections mean it disappears visually, which is the intention.
Works best in a dark color so it reads as a line rather than a mass.
Little wind load, but posts still need real footings.
Combine with an outdoor rug, lighting and planting rather than relying on the frame alone.
Open slats give moving, striped shade and the best frame for vinesThe shadow pattern is half the reason to build oneBuilt-in seating turns a frame into a destination
The structural decision
Freestanding or attached?
This is the choice that changes cost, difficulty and whether you will need a permit or a pro. Both are legitimate; they aren't equally simple.
Freestanding and attached pergolas compared.
Freestanding
Attached (ledger on the house)
Structure
Four or more posts carrying everything
One side on a ledger bolted to the house, the other on posts
Typical cost
Higher - more posts and foundations
Lower - roughly half the posts
Difficulty
Straightforward; the frame braces itself
Harder - the ledger connection is the critical detail
Where it suits
Anywhere in the yard; a destination away from the house
A patio immediately outside the back door
Main risk
Racking - needs knee braces to stay square
Pulling away from the house, and water getting behind the siding
Water at the house
Not an issue
Critical - the ledger must be properly flashed and bolted into the house framing
Permit
Often exempt when small and open - check locally
More often required - check locally
Professional advice
Rarely needed at backyard sizes
Worth getting for the ledger, and essential on brick veneer, stucco or an older house
If you are set on an attached pergola, treat the ledger as a separate job from the rest of the build. How the house is built - wood framing behind siding, brick veneer, stucco, block - determines the connection entirely, and getting it wrong isn't a cosmetic mistake. A contractor can look at it and spec the connection quickly. The alternative is simple: add posts along that side and build it freestanding, a few inches clear of the house.
Where it goes
Location, orientation and sun
Orientation matters more for a pergola than for almost any other backyard structure, because the whole point is the relationship between the roof and the sun - and the sun in Florida or Arizona is a very different problem from the sun in Maine or Washington.
Work out when you will actually use it
This is the question that decides orientation. A pergola over a breakfast spot wants morning sun from the east. One over an evening dinner table wants shade from the low, hot western sun - the harshest light of the day across the South and Southwest.
Spend a weekend noticing where you naturally sit at the times you would use it. Most people discover the pergola belongs somewhere other than where they assumed.
Understand which way the slats run
Top slats running north to south cast shade that sweeps across the space through the day, and block more of the low morning and evening sun - useful against a hot west-facing afternoon.
Top slats running east to west block more of the high midday sun from the south and give a steadier band of shade. Choose this if real midday shade is the goal.
Check the sight lines from the house
A pergola is a large object at eye level and you will look at it every day from indoors. Stand at the kitchen window and the family-room slider before committing.
A pergola right in front of a window blocks light and view. Set slightly to one side, it frames the yard instead.
Look up as well as around
Overhead power and cable lines, satellite dishes and overhanging branches all rule out positions. Never build under or near an overhead power line.
A large tree over a pergola drops leaves, sap, seed pods and aphid honeydew onto everything below, permanently.
Call 811 before you dig
Footing holes often go 2-4 ft deep in cold climates, easily deep enough to hit utilities. Call 811 (or use your state's online request) a few business days ahead and the utility companies will mark gas, electric, water and cable lines for free.
Private lines - irrigation, a feed to a shed or hot tub, a septic field or propane line - aren't marked, so find those yourself, and never build over a septic system or cleanout.
Think about the neighbors, setbacks and easements
A pergola near the property line can overlook, shade or simply loom over the neighbors. A conversation beforehand is worth it, and this is also where zoning setbacks apply.
Keep the structure and its footings wholly on your own lot, outside any setback and off any utility easement, and leave room to maintain both sides of a fence.
Getting the proportions right
Size, height and spacing
Pergolas are almost always built too small and too low. These are the figures that make one feel generous rather than cramped.
Working dimensions for a backyard pergola.
Dimension
Typical range
Notes
Clear headroom under the beams
7 ft 6 in-8 ft
7 ft is the practical minimum. Allow extra where a heavy vine will hang down
Overall height to the top of the rafters
8-10 ft
Anything under about 7 ft 6 in feels oppressive; over 10-11 ft starts to feel exposed and catches more wind
Post size, wood
6 x 6 for most pergolas; 4 x 4 only for light arbors
4 x 4 posts look and feel flimsy at 8 ft on a full-size pergola
Post spacing
8-12 ft
Wider spans need deeper beams. Follow the kit, span tables or get advice for anything unusual
Rafter / slat spacing
12-24 in
Closer spacing gives more shade and a heavier look; wider is airier
Over a dining table for six
10 x 12 ft minimum
A 6-seat table is about 3 x 6 ft; you need about 3 ft clear all round to pull out chairs
Over a seating group
10 x 10 ft
Smaller and the furniture touches the posts
Over a path
4-5 ft wide
5 ft lets two people walk side by side; narrower once vines fill in
Beam overhang past the posts
12-18 in each end
The overhang is what stops it looking like a box. Don't leave it off
✓Proportions that look right
Height roughly two-thirds to three-quarters of the width, for a square-ish pergola.
Posts substantial enough to look load-bearing - 6 x 6 reads far better than 4 x 4 on anything bigger than an arbor.
Generous beam overhangs at every end, top and bottom.
Rafters running the length of the space rather than across the short dimension.
Lined up with the house, the patio edge or another strong line in the yard - not floating at a slight angle.
One pergola sized properly rather than two small ones.
!Proportions that look wrong
Too low - by far the most common error, and it can't be fixed afterwards.
Too small: a pergola that only just covers the table has no space to sit under.
Spindly posts under heavy beams, or heavy posts under spindly rafters.
Beams cut flush with the posts, which makes it look like an unfinished frame.
Set at an angle to everything around it for no reason.
Rafters so closely spaced that it reads as a solid roof without being one.
Before you order anything, mark the footprint on the ground with stakes and string, hold up a couple of 2 x 4s at the planned height, put the furniture underneath and sit down. Ten minutes of that tells you more than any amount of measuring, and it is where most people find they need another couple of feet each way.
What it is for
Shade, privacy, seating and dining
A pergola on its own does surprisingly little. What makes it work is the frame combined with planting, screening and what you put underneath.
Shade
An open-slat pergola gives roughly 30-50% cover, and the shade moves through the day. That is pleasant and dappled, but in a Texas or Arizona summer it isn't somewhere to escape a 100°F afternoon.
For real midday shade, run the top slats east-west, space them about 6-12 in apart, and add shade cloth or a second layer of slats on top.
A retractable canopy or shade sail under the rafters is the cheapest way to get proper shade on demand, and can be pulled back when it is windy.
Louvered aluminum roofs give complete control, at several times the cost. Ceiling fans and misters help in hot, humid climates.
A vigorous deciduous vine gives dense summer shade and lets winter sun through - which is exactly what you want in most of the country.
Privacy and screening
Being overlooked from neighbors' upstairs windows is one of the most common reasons people build a pergola, and a bare frame does nothing about it. Privacy comes from what you add.
Overhead: the roof is what blocks views from above. Closer slats, a canopy or a well-grown vine all work; an open frame doesn't.
Sides: lattice or slatted panels on one or two sides, outdoor curtains, or vines trained up the posts. Screen the side that is actually overlooked rather than all of them.
Leave the view you want to keep. A pergola screened on all four sides is a shed.
Solid side panels catch a lot of wind. Lattice and slatted screens let it through and are far safer.
Dining and seating areas
Size the pergola around the furniture, not the other way round. This is where most
pergolas are built too small.
Allow about 3 ft clear all round the table so chairs can be pulled out and people can walk behind them. A six-seat table therefore wants about 10 x 12 ft.
Keep posts out of the walkways. A post at the corner of a table is in the way forever.
Check the surface underneath: a table needs level, stable ground, which usually means pavers, concrete or a deck rather than gravel or grass.
Built-in bench seating along one side saves space and makes the structure feel deliberate.
Plan lighting, a GFCI outlet and maybe a ceiling fan at the same time, before the surface goes down.
Planting as part of the design
A pergola is a plant support first and a structure second, and the planting is what turns a frame into a place. Decide at the design stage, because it affects the loads.
A mature wisteria or a vigorous rambling rose is heavy, and gets heavier when wet, or coated in ice in a Northern winter. Size the structure for the plant you intend to grow, not the one you buy.
Plant 12-18 in out from the base of each post, so the plant isn't in the dry rain shadow, and lead the growth in on a stake.
Two or three well-chosen vines beat six competing ones. Favor North American natives such as coral honeysuckle and crossvine, and avoid invasive Chinese and Japanese wisteria.
Deciduous vines give summer shade and winter light; evergreens give year-round screening but a dark space in January.
The planting guide covers what to grow and how to
train it.
The legal bit
Permits, zoning and HOA rules
Many small freestanding open pergolas don't need a building permit, but "many" is doing real work in that sentence. Rules are set by your city or county (and sometimes your state), they differ from one town to the next, and an HOA can add its own. Treat what follows as a prompt to check, not an answer.
✓Often permit-exempt
A modest freestanding open pergola in the backyard, well away from property lines.
A structure under the size and height limits your town sets for exempt accessory structures.
A lot with no HOA, no historic-district designation and no deed restrictions.
A pergola in the backyard, not the front yard.
No electrical work - or plug-in lighting only.
!Check with your building department and HOA when
The pergola is attached to the house, or has a solid, polycarbonate or louvered roof.
It is in the front yard or a side yard facing the street.
It is close to a property line - zoning setbacks for accessory structures commonly apply.
The property is in a historic district, a coastal or flood zone, or a wildfire-prone area with its own building rules.
You live in a community with an HOA, a condo or townhome association, or deed restrictions.
The structure is unusually large or tall, or covers a big part of the yard.
You are adding hardwired lights, outlets, fans or heaters - electrical work usually needs its own permit.
Ask the building department, not the internet
Most building and zoning departments answer questions by phone, email or at the counter, and a five-minute conversation costs nothing. Describe the height, the size, the distance to the property lines and whether it is attached or covered.
If you want certainty in writing - worth having if you may sell - ask for the answer by email, or get the permit; unpermitted structures can come up when you sell the house.
Check your HOA rules separately
Building permits and HOA approval are different things. HOAs frequently restrict size, location, color and materials, or require architectural review, regardless of what the city allows.
Read your covenants (CC&Rs) and submit plans for approval in writing before you buy materials.
Inspections are part of the deal
A simple open pergola often needs no inspections at all. A permitted pergola, especially one attached to the house or with a roof, may need footing, framing and final inspections, plus an electrical inspection for any wiring.
Book them at the right stage - an inspector can't see a footing once it is poured.
Get professional advice for anything substantial
A large pergola, a solid or louvered roof, an attached structure, or anything on a difficult house wall, a hurricane-prone coast or an exposed site is worth putting in front of a contractor, structural engineer or landscape designer.
That isn't a formality: roofed structures carry wind and snow loads that open frames don't, and an attached one transfers those loads into your house.
Rules change and vary by property. Nothing on this page replaces checking your own situation with your local building department and HOA before you build - especially for an attached, covered or unusually large pergola.
Budgeting
What a pergola costs
Rough 2026 US price ranges. The spread is wide because a cedar kit and a motorized louvered aluminum system aren't really the same product, and labor costs vary a lot by region.
Rough pergola costs, materials or kit only unless stated.
Type
Typical size
Materials
Installed
Wood kit, open slat
10 x 10 ft
$800-$3,000
$2,000-$5,000
Pressure-treated or cedar, built from scratch
10 x 12 ft
$500-$3,000
$3,000-$8,000
Large cedar or redwood timber frame
12 x 14 ft
$2,000-$6,000
$5,000-$12,000
Attached pergola, wood
10 x 8 ft
$400-$1,500
$1,500-$4,000
Vinyl or powder-coated aluminum kit
10 x 10 ft
$1,500-$5,000
$3,000-$8,000
Louvered aluminum, manual
10 x 12 ft
$5,000-$12,000
$8,000-$18,000
Louvered aluminum, motorized
12 x 16 ft
$10,000-$25,000
$15,000-$35,000+
Steel frame, custom fabricated
10 x 12 ft
$2,000-$6,000
$4,000-$10,000
Walkway pergola or arbor, per bay
4-5 ft bay
$150-$500
$300-$900
Budget separately for the things that are easy to forget: permit fees, footings (concrete, tube forms, post bases), the surface underneath if it isn't already a patio or deck, lighting and outdoor power, vines and their supports, and stain or paint. On a wood build these can easily add 20-40% to the frame cost.
Avoid these
Six planning mistakes
All six are decided on paper, and all six are expensive or impossible to change afterwards.
1. Building it too low
By far the most common error. A pergola with under 7 ft to the beams feels oppressive as soon as you stand under it, and once a vine hangs down through the rafters it becomes genuinely uncomfortable.
The fixAllow 7 ft 6 in-8 ft of clear headroom under the beams, and more where a heavy vine is planned. Mock it up with stakes and 2 x 4s and stand under it before ordering.
2. Sizing it to the table rather than the room
A pergola that just covers the furniture leaves nowhere to sit that is really under it, and chairs pulled out end up in the sun or rain.
The fixAllow about 3 ft clear all round the furniture. A six-seat table wants a pergola of about 10 x 12 ft, not 8 x 8.
3. Ignoring orientation
A pergola placed for convenience rather than sun gives shade at the wrong time of day, and people quietly stop using it.
The fixDecide when you will use the space, then set the location and slat direction to suit - north-south slats to cut low morning and evening sun, east-west for steadier midday cover.
4. Assuming you don't need a permit
Attached structures, covered roofs, front yards, property-line setbacks, historic districts, wiring and HOA rules all change the answer, and a structure built without approval can have to come down or cause trouble when you sell.
The fixCall the building department before you build, and get HOA approval in writing separately.
5. Under-building for the vine you want
A mature wisteria or rambling rose is heavy, and heavier still when soaked or iced. Frames built for looks alone sag, twist and eventually fail under one.
The fixDecide the planting at the design stage. Heavy vines want 6 x 6 posts, substantial beams and shorter spans - get advice if you are unsure.
6. Forgetting power and light
A pergola without lighting gets used far less once the sun goes down, and running power after the patio is poured means cutting into it.
The fixPlan lighting and a GFCI-protected outdoor outlet at the design stage, run conduit before the surface goes down, and have hardwired electrical work done by a licensed electrician, with a permit where required.
Print or tick as you go
The planning checklist
Thirteen things to settle before you order anything. Your ticks are saved in this browser only.
Design
Location
Permits and budget
Questions
Planning a pergola - your questions answered
Eight answers to the questions that come up most.
Do I need a permit to build a pergola?
It depends on where you live. Many towns let a small, freestanding, open-roof pergola in the backyard go without a building permit, but attached pergolas, solid or louvered roofs, large or tall structures, front-yard locations and anything with hardwired electrical work often need one, and zoning setbacks from property lines usually apply either way. Historic districts and coastal or flood zones can add rules. HOA approval is a separate question and is often stricter. Call your local building department and check your HOA covenants before you buy materials.
How tall should a pergola be?
Allow about 7 ft 6 in-8 ft of clear headroom under the beams, giving an overall height of roughly 8-10 ft to the top of the slats. 7 ft is the practical minimum and it will feel tight. Building too low is the single most common pergola mistake and it can't be fixed afterwards - especially once a vine starts hanging down through the rafters, which easily takes 6-8 in off the headroom. Mock the height up with 2 x 4s and stand under it before you order.
What size pergola do I need for a dining table?
Size it around the furniture with about 3 ft clear on every side, so chairs can be pulled out and people can walk behind them. A six-seat table is roughly 3 x 6 ft, so the pergola wants to be about 10 x 12 ft. For a seating group, 10 x 10 ft is a sensible minimum. Keep the posts out of the walkways too: a post at the corner of a table is an obstacle for the life of the structure.
Is a freestanding or attached pergola better?
Freestanding is simpler and safer to build; attached is cheaper and makes a patio feel like part of the house. The deciding factor is the ledger connection, which depends on how the house is built - wood framing behind siding can take a properly bolted and flashed ledger, while brick veneer and stucco generally can't on their own - and attached pergolas are more likely to need a permit. If you aren't certain, have a contractor spec the connection, or add posts and build it freestanding a few inches clear of the house.
How much shade does a pergola actually give?
An open-slat pergola gives roughly 30-50% cover, and it moves through the day, so it is dappled rather than deep shade. For real midday shade, run the top slats east-west, space them more closely and add shade cloth, a retractable canopy or a second layer of slats. In the hottest parts of the South and Southwest, a louvered roof or a dense deciduous vine plus a ceiling fan makes the biggest difference; a deciduous vine also lets winter sun through when you want it.
Which way should pergola slats run?
East-west slats block more of the high midday sun and give a steadier band of shade, which is the choice if you want somewhere cool in the middle of the day. North-south slats let shade sweep across the space and do more to cut the low morning and late-afternoon sun - helpful on a west-facing patio in a hot climate. Decide by when you will use the space rather than by what fits the shape of the patio.
How much does a pergola cost?
Very roughly, a wood kit for a 10 x 10 ft open pergola runs about $800-$3,000 in materials, or $2,000-$5,000 installed. Built from scratch in pressure-treated pine or cedar, expect roughly $500-$3,000 in materials. Vinyl and powder-coated aluminum kits start around $1,500, and louvered aluminum systems often run $10,000 or more installed. Budget separately for permits, footings, the surface underneath, lighting, planting and stain - on a wood build those can add 20-40%. Local prices vary widely.
Can a pergola support a wisteria?
Yes, but only if it was designed to. A mature wisteria is genuinely heavy, its trunks squeeze and twist as they thicken, and it gets much heavier when wet - a light decorative frame will sag and eventually fail. Build for it: 6 x 6 posts, deep beams, shorter spans and proper footings. Choose American wisteria (Wisteria frutescens) rather than Chinese or Japanese wisteria, which are invasive in much of the eastern US and far more vigorous.