Attached vs. Freestanding Pergola: Cost, Pros, Cons, and Which Is Better?
An attached pergola connects to your house on one side and stands on posts on the other. A freestanding pergola stands on its own posts and footings, with no connection to the house. Attached pergolas use fewer posts and shade the space right outside your back door.
Freestanding pergolas cost a bit more in posts and footings. In return, they can go anywhere in the yard and never touch your house. Below, we compare both on cost, structure, permits, and upkeep for San Antonio yards.
Attached vs. Freestanding Pergola: What’s the Difference?
The difference is how the structure carries its own weight and resists wind.
An attached pergola (also called a wall-mounted or lean-to pergola) hangs one side on the house. It uses a ledger board bolted to the framing or brackets at the roofline. The far side rests on a beam and two or more posts.
A freestanding pergola (sometimes called a detached pergola) carries everything on its own posts, usually four or more, set on concrete footings. Because nothing braces it, the frame needs knee braces or rigid post-to-beam connections to keep it from racking in wind.
Both types take the same roof options: open rafters, tighter slats, a fabric canopy, or louvers.
Attached Pergola vs. Freestanding Pergola: Comparison Table
| Factor | Attached Pergola | Freestanding Pergola |
|---|---|---|
| Support | Ledger or roof brackets on the house, plus posts on the far side | Four or more posts on concrete footings |
| Posts and footings | Fewer (often two on a simple rectangle) | More (often four or more) |
| Installation cost | Lower in posts and concrete, higher in attachment labor and flashing | Higher in posts and concrete, no house work |
| Placement | Against the house only | Anywhere on the lot that meets setbacks |
| Best fit | Patio or deck off a back door, outdoor dining near the kitchen | Pool deck, fire pit, outdoor kitchen, garden, detached patio |
| Risk to the house | Leaks or rot at the ledger if flashing fails | None |
| Wind and stability | House braces one side | Needs bracing or rigid connections |
| Design limits | Height and slope set by eaves, windows, and doors | Height and size set by the design |
| Permit | Usually required | Usually required, depending on size and location |
Pergola Installation Cost: Attached vs. Freestanding
National data puts pergola installation cost at $10 to $65 per square foot, according to HomeGuide. A contractor-installed kit sits at the low end. A custom wood pergola built on site runs $30 to $65 per square foot.
Locally, HomeAdvisor reports a San Antonio average of about $6,100 for pergolas, arbors, and trellises, with a typical range of $3,400 to $8,500. For a full breakdown by size, material, and add-ons, see our pergola cost guide for San Antonio.
| Size | Kit, professionally installed | Custom wood build |
|---|---|---|
| 10×10 ft | $1,000 to $4,000 | $3,000 to $6,500 |
| 12×12 ft | $1,450 to $5,750 | $4,300 to $9,350 |
| 12×20 ft | $2,400 to $9,600 | $7,200 to $15,600 |
Source: HomeGuide national ranges. Ranges typically exclude new slabs or decks, electrical, and roof upgrades.
Why Attached Pergolas Usually Cost Less (and When They Don’t)
No reliable national source publishes a fixed price gap between the two types, so be skeptical of anyone who quotes one. The difference comes from line items:
- Posts and footings. An attached pergola on a simple rectangle drops two of the four posts and footings. HomeGuide notes that fewer columns lower material cost.
- Attachment work. That savings shrinks when the ledger needs flashing, siding removal, or a roof tie-in. Brick and stone veneer often need special fasteners or a separate support beam.
- Bracing. Freestanding frames need knee braces or heavier connections to stay rigid.
- Site prep. A freestanding pergola in open yard may need grading, a new pad, or a deck. HomeGuide puts a new slab at $5 to $10 per square foot.
On a straightforward wood-frame wall, attached usually wins on price. On a brick ranch home with low eaves, the gap often closes or flips.
What Moves the Price for Both Types
- Material. HomeGuide lists aluminum and vinyl at $10 to $30 per square foot for materials, cedar at $25 to $40, and fiberglass at $50 to $70.
- Roof. A louvered roof adds $45 to $125 per square foot. A retractable canopy adds $4 to $10.
- Electrical. Fans, lights, and outlets need a licensed electrician and a separate permit.
- Permits. HomeGuide puts typical pergola permit fees at $60 to $150, though local fees vary.
For material options, see our page on custom pergola installation in San Antonio. To spread out the cost, ask about financing options.
Pros and Cons of an Attached Pergola
Pros
- Fewer posts. Less concrete and a more open footprint over a patio.
- Indoor-outdoor flow. The covered area reads as part of the house, which suits dining near the kitchen.
- Shade on the house. On a south or west wall, it can cut direct afternoon sun on back windows and doors.
- Easier power. Running a fan or lights from the house is often simpler.
Cons
- The house becomes part of the structure. A poorly flashed ledger can let water into wall framing. It’s the failure point we see most often on attached builds.
- Your house sets the limits. Eaves, window heads, and door swings cap the height. Many single-story ranch homes we see have a short wall under the eaves.
- Not every wall can take a ledger. Brick veneer, stone veneer, and stucco need specific anchors or a separate beam and posts.
- Fixed location. Once it’s on the house, it stays there.
Pros and Cons of a Freestanding Pergola
Pros
- Place it anywhere. Over a pool deck, fire pit, outdoor kitchen, or garden path.
- No risk to the house. Nothing penetrates your siding, brick, or roof.
- Full design control. Height, size, and roof pitch aren’t limited by eaves or windows.
- Creates a destination. A detached structure defines a separate outdoor room on larger lots.
Cons
- More posts and footings. Usually more material and labor than a comparable attached design.
- Needs lateral bracing. Without a house to lean on, the frame relies on braces or rigid connections.
- May need a base. Open yard often needs grading, a slab, pavers, or a deck first.
- Power takes planning. Running electrical out to the structure adds trenching and cost.
Installation and Structural Requirements
Both types are permanent structures. The risk sits at the house connection for attached builds, and at the footings and bracing for freestanding ones.
Attached: The Connection Is the Whole Job
The ledger must bolt into structural framing, not siding, trim, or brick veneer. Flashing above and behind it keeps water out of the wall, and skipping it causes rot that stays hidden for years. If the wall under the eaves is too short, the options are roof-mounted brackets, a roofline tie-in, or a freestanding beam near the wall.
Freestanding: Footings and Bracing Do the Work
Post footings carry the whole structure plus wind uplift, so their size and depth come from code and your soil, not a rule of thumb. Knee braces, through-bolted beams, and rated connectors keep the frame square. If you might add a louvered or solid roof later, size the posts and footings for it now.
Soil and Drainage
Much of the south and east side of San Antonio sits on expansive clay that swells when wet and shrinks when dry. That movement can shift footings over time. On the north side, shallow limestone is common, which makes digging footings slower.
An open pergola doesn’t concentrate runoff, but a louvered or solid roof does. Gutters and downspouts should carry that water away from the house foundation and the pergola footings.
Existing deck framing usually can’t carry a pergola as-is. Our guide on what it takes to put a roof over a deck explains why.
Planning a new deck? Build the pergola posts in from day one. Here’s more on pairing a pergola with your deck.
Design Flexibility and Backyard Placement
Start with where you want to sit at 6 p.m. in July, then pick the structure. Shade by the back door points to attached. Shade by the pool or fire pit points to freestanding.
Orientation matters more than attachment on a west-facing yard. Low evening sun slips under the edge of any pergola, so plan screens or a side panel on the west side.
The Middle Option: Freestanding, Built Tight to the House
When your wall is brick veneer or your eaves are too low, you can still get the attached look. A freestanding pergola can sit a few inches off the house on its own beam and posts. It reads as attached from the yard, but nothing bolts to the house.
You pay for two extra posts and skip the flashing risk. On many San Antonio ranch homes, this is the cleanest solution.
Need ideas for the space underneath? Here are a few ways to use a pergola beyond shade.
Weather Resistance, Shade, and Maintenance
Shade. Neither type shades more by default. Shade comes from rafter spacing, roof type, orientation, and size. For full afternoon shade in a Texas summer, tighten the slat spacing, add a canopy, or choose a louvered roof.
Wind and storms. Both types hold up to San Antonio thunderstorms when built to code with rated hardware. The real risk is adding a closed roof to a frame designed for open rafters, since a closed roof catches far more wind.
Maintenance. Upkeep depends more on material than type:
- Cedar and pressure-treated pine need cleaning and a fresh stain or sealer every few years in full Texas sun. HomeGuide puts staining at $2 to $5 per square foot. Our tips on choosing a stain apply to pergolas too.
- Vinyl, aluminum, and fiberglass need little more than an occasional wash.
For attached pergolas, inspect the ledger flashing and the wall below it once a year. For freestanding pergolas, check that posts stay plumb, since soil movement can shift footings.
Do You Need a Permit for an Attached or Freestanding Pergola?
In most cases, yes, for both. A common myth is that freestanding means fewer rules. It usually doesn’t.
Inside the City of San Antonio:
- A building permit is the default. The city’s residential permits page says a permit is typically required to build a structure on your property. It lists accessory structures and patio covers among permitted projects.
- Who can pull it. Homeowners can apply over the counter. City-registered home improvement contractors can pull accessory structure permits under 400 square feet. Larger ones go through a registered residential building contractor.
- The exemption is narrow. The city’s No Permit Required list covers one-story detached sheds and playhouses up to 300 square feet. Pergolas aren’t on it, so don’t assume an exemption.
- Electrical is separate. Fans, lights, and outlets need their own permit from a licensed electrician.
- Historic districts add review. Properties in historic or conservation districts may face limits on design and materials.
Outside city limits, the rules change. Alamo Heights, Olmos Park, Terrell Hills, Castle Hills, Shavano Park, Converse, Cibolo, and Universal City each run their own permit offices. In unincorporated Bexar County, check with the county on floodplain and development rules.
HOA approval is a separate step. A city permit doesn’t satisfy your HOA, so get written approval first.
Confirm your project with San Antonio Development Services at 210-207-1111 or your city’s permit office. We handle permitting on the pergolas we build.
Which Pergola Type Is Better for Your Backyard?
Neither is better across the board. Use these rules to decide.
Choose an attached pergola if:
- The space you want to shade starts at a back door or sliding door.
- Your wall has accessible wood framing and enough height under the eaves.
- You want the lowest post count and a direct extension of the house.
Choose a freestanding pergola if:
- The spot you want to shade is out in the yard, by the pool, or around a fire pit.
- Your wall is brick or stone veneer, or your eaves are too low for good headroom.
- You don’t want anything penetrating your siding or roof.
- You may add a louvered or solid roof later and want the frame sized for it.
If you need dependable rain protection, an open pergola of either type won’t give it. A solid patio cover or a louvered roof will.
Frequently Asked Questions
Is an attached or freestanding pergola cheaper?
An attached pergola is usually cheaper because it needs fewer posts and footings. The savings shrink when the house connection needs extra flashing, siding work, or veneer anchors.
Can you attach a pergola to a brick house?
Yes, but brick on most homes is a veneer over the framing, not the structure itself. It needs anchors designed for that wall, or a separate beam on posts set just off the wall. Many builders choose the second option to avoid drilling into the veneer.
Are freestanding pergolas stable in Texas wind?
Yes, when built with properly sized footings, rated connectors, and knee braces or rigid post-to-beam joints. Problems start when a solid or louvered roof is added to a frame designed only for open rafters.
Do I need a permit for a freestanding pergola in San Antonio?
Usually, yes. The City of San Antonio’s no-permit exemption covers small detached sheds and playhouses, not pergolas. Suburban cities and HOAs have their own rules, so confirm before you build.
Is there a difference between an attached vs. detached pergola?
No. “Detached” and “freestanding” mean the same thing. A detached pergola stands on its own posts, while an attached pergola connects to the house on one side.
Get a Free Pergola Estimate in San Antonio
The fastest way to settle attached vs. freestanding is to have someone look at your wall, your eaves, and your yard. Alamo Decks & Fence builds both types in cedar, vinyl, and fiberglass across San Antonio and Bexar County, and we handle the permits.
Learn more about our pergola and patio cover team, call (210) 320-2138, or request a free estimate online.

BUILD YOUR FENCE TODAY!
If you’re looking to beautify and enhance the security of your property, turn to Alamo Decks & Fence in Bexar County. We truly value our customers, which is why you can trust us to build your fence using the highest quality materials at the best prices possible.