We compare published specs and prices. When you buy through our links, we may earn a commission. How we research
PERGOLA VS GAZEBO

Home / Guides / Installation and rules

Pergola attached to the house, or freestanding?

An attached pergola saves two posts and some patio space. In exchange, your house wall becomes part of the structure.

Updated November 20, 2026 · Specs compared from published manuals, not tested in person

Pergola at the end of a paved yard next to a modern house

Short answer. Attach the pergola if you want it tight to the house, the wall framing is sound and you are ready for flashing and a likely permit. Go freestanding if you have brick veneer, doubts about the wall or want the simpler job. A freestanding pergola set close to the wall looks almost the same.

Key facts

  • An attached pergola usually has two posts on the outer side and hangs from a ledger board bolted to the house framing, while a freestanding pergola has four or more posts.
  • The ledger board of an attached pergola must be fastened to the structure of the house, such as the rim joist or the wall studs, not to the siding.
  • Brick or stone veneer is not structural and usually should not carry the ledger of an attached pergola.
  • Many building departments exempt small detached structures but require a permit for a pergola fixed to the house.
  • A four-post freestanding pergola set a few inches from the house gives nearly the same look as an attached pergola, with no flashing and no load on the wall.

How the two differ

AttachedFreestanding
PostsUsually two, on the outer sideFour or more
House side supportLedger board bolted to the wall framingIts own posts
Holes in the houseYes, sealed and flashedNone
PlacementAgainst one wall onlyAnywhere on the lot
PermitOften requiredDepends on size and local rules
DifficultyHigher, the wall work must be rightLower, mostly anchoring

The ledger board

A pergola kit attached to the house hangs its rafters from a ledger board. This is a horizontal board, or a metal rail on aluminum kits, fixed to the wall.

The ledger must be fastened to the structure of the house, not to the siding. On a wood-framed house that means the rim joist or the wall studs, with structural screws or lag bolts of the size and spacing the manual gives. On solid masonry or concrete, it means masonry anchors.

Some walls are poor candidates:

  • Brick or stone veneer: a single layer of masonry in front of the framing. It is not structural and usually should not carry a ledger.
  • Stucco and foam-backed siding: can crush or crack and are hard to seal.
  • Fascia and roof overhangs: generally not built for the load.
  • Walls where you cannot find or confirm the framing.

Flashing

Every bolt through the wall is a path for water. Water behind a ledger can rot the framing for years before anyone sees it.

The standard practice is to remove the siding where the ledger sits, fix the ledger against the sheathing over a water barrier, and fit metal flashing above it so water runs out over the board, not behind it. Sealant alone is not flashing. Some kits use spacers that hold the ledger off the wall so water can drain. Follow the method in the manual.

Load on the wall

An open pergola is fairly light, but the wall carries about half of it, plus wind pushing up and down on the rafters. Add a canopy, closed louvers or a solid cover, and snow and wind loads rise sharply. The attachment then has to be designed like a patio roof.

Check the kit weight and any wind or snow rating on the spec sheet, and note what kind of wall those ratings assume. See pergola materials for how weight differs between wood, aluminum and steel.

Permits and HOA

Many building departments exempt small detached structures but require a permit for anything fixed to the house. Some ask for drawings that show the ledger fastening and the footings. Setbacks, height limits and rules on covered area may apply too.

HOAs often require approval of the design, color and position before work starts. Get both answers in writing before you order. A kit that cannot be permitted is hard to return once the boxes are open.

When to hire a pro

  • The wall is brick veneer, stone, stucco or anything other than plain siding over wood framing.
  • You plan a louvered or solid roof, or you live in a heavy snow or high wind area.
  • The ledger would sit near a window, a door header, a vent or wiring.
  • The permit office asks for engineered drawings.
  • You are not sure where the framing is, or you would be mounting to the roof.

A licensed contractor or a structural engineer can confirm the wall and the fastening. The cost is small next to repairing a rotted wall.

The freestanding alternative

A four-post pergola set a few inches from the house gives nearly the same look. Nothing touches the wall, so there is no flashing and no load on the house. You need two more footings and a little more patio space for the posts.

If you go this way, our pergola kit guide covers anchoring on slabs, decks and pavers, and the sizing guide helps you place the posts.

Before you order

  1. Confirm the kit is sold as attached, wall-mounted or convertible.
  2. Identify your wall type and where the framing is.
  3. Measure the height available under eaves, gutters and lights.
  4. Ask the building department and the HOA what they require.
  5. Read the installation manual, which most makers publish online, before paying.

Common questions

Can I attach a pergola kit to my house?

Only if the kit is designed for it and your wall can take it. An attached kit fixes a ledger board to the house framing. A freestanding kit should not be bolted to the house unless the manual allows it.

Do I need a permit for an attached pergola?

Often, yes. Many building departments treat anything fixed to the house as part of the building, whatever its size. Rules vary, so ask your local office and your HOA before you buy.

Can I attach a pergola to the fascia or roof overhang?

Usually not without an engineer or a pro. Fascia boards and rafter tails are generally not built to carry a pergola. Roof-mounted brackets exist, but they need careful sealing and a check of the roof framing.

Is a freestanding pergola next to the house a good alternative?

Yes. Four posts placed a few inches from the wall give almost the same look with no holes in the siding and no load on the house. It needs solid anchoring at every post.

Use the 30 second finder →

Keep reading

All 19 guides