Freestanding dark-stained heavy timber pergola with dense shade rafters over a backyard patio
| | | | |

How to Attach a Pergola to Your House (the Right Way)

An attached pergola anchors to your house through a ledger board fastened to the home’s structural framing — the studs, rim joist, or band board behind the wall, never the siding — flashed against water, with the outer edge carried on posts set into proper footings. That, in a sentence, is how to attach a pergola to your house so it lasts decades instead of seasons. Whether an attached pergola succeeds or fails has almost nothing to do with the handsome timber overhead — it’s decided by a flashing detail at the wall that no one ever thinks to photograph. Get that right and the structure becomes a finished outdoor room that feels like part of the house. Get it wrong and the same wall connection becomes the single most common source of leaks, rot, and structural failure.

Most guides on this topic walk you through ledger boards and lag bolts and stop there. This one goes where the failures actually happen: the load path into your home’s framing, the flashing detail that keeps water out of your wall, how the method changes with brick versus stucco versus siding, and what an attached pergola lets you do that a freestanding one can’t. If you’re deciding whether to attach or build freestanding — or vetting a company to do it — these are the things that decide whether it lasts.

  • An attached pergola anchors to the home’s structural framing (studs, rim joist, or band board) through a ledger board — not to the siding, which can’t carry the load.
  • The wall connection is the #1 failure point: water intrusion at the ledger causes more attached-pergola problems than wind or weight ever will. Flashing is not optional.
  • Your wall type changes the method — brick, siding, stucco, and stone each attach differently.
  • Because it sits against the house, an attached pergola is the natural place to build in power, lighting, and fans from the start.
  • Attaching to your home usually triggers a building permit, and the connection should be engineered for your site’s wind and snow loads.

A freestanding pergola stands on its own posts, anywhere in the yard. An attached pergola replaces the posts along one side with a connection to the house — typically a ledger board bolted to the home’s framing — so the structure extends out from a wall, a roofline, or over a back door or patio.

That one change does two things. It saves you a row of posts (an attached structure often needs two posts instead of four), and it makes the pergola read as an extension of the house rather than a separate object in the yard. When the proportions and the roofline are matched to the home, an attached pergola can make a back wall feel like it was always meant to have a covered room against it.

It isn’t always the right call. If the wall faces hard afternoon sun with no other shade, if the roofline is complicated, or if the home’s framing isn’t suited to carry the load, freestanding can be the better answer. A good design process tells you which one fits your house before anyone drills a hole in your wall.

Attached Pergola

White attached pergola kit extending from a home over a large paver patio, creating cooling shade and an inviting outdoor living space.

Freestanding Pergola

Custom White Backyard Pergola Pavilion

Connection

Ledger board to house framing + posts on the outer edge

Posts on all corners

Posts

Typically 2

Typically 4

Best for

Covering a back door, patio, or wall; a seamless extension of the house

Pool decks, garden corners, spots away from the house

Main risk to manage

Water intrusion at the wall connection

Footing and anchoring only

Power/lighting

Easy — the house wall is right there

Requires a run from the house

Here’s the part most articles skip: the siding on your house carries nothing. A ledger board lagged into siding alone will pull loose. The connection has to reach the structural framing behind the wall — the wall studs, the rim joist, or the band board at the floor line — and transfer the pergola’s load into the home’s structure.

That means locating the framing, removing the siding where the ledger lands, and fastening the ledger with corrosion-resistant structural lag fasteners sized and spaced to the framing — not whatever’s in the garage. The spacing and size of those fasteners is an engineering question, not a guess: it depends on the span, the load, and what you’re fastening into. (Wood connection design follows the American Wood Council’s National Design Specification, and ledger attachment requirements appear in the International Residential Code.)

This is also where Western Timber Frame’s approach differs from a bracket-and-lumber kit. The structure’s own connections — post to beam, beam to rafter — are wood-to-wood Dovetail Difference® joinery, patented (U.S. Patent No. 9,797,149 B2) and independently tested at 11,055 pounds per joint, roughly 500% stronger than standard metal fasteners. The outer posts anchor on concealed EarthAnchor™ Structural Knife Plates, rated 120+ mph as standard and engineered to 160+ mph where the site requires it. The ledger ties all of that into your house. A chain is only as strong as its weakest link, and on an attached pergola, the weakest link is almost always the part nobody engineered.

Here’s the detail the opening promised — the one that decides how an attached pergola lives over time. Wherever a ledger meets a wall, water needs to be directed away rather than allowed to sit against the framing. It’s a well-understood detail, not a reason to worry.

When the ledger fastens to the house, it creates a horizontal seam. The standard solution is metal flashing installed over the top of the ledger and tucked up behind the siding above it, so water sheds out and away from the wall. Done right, it’s set-and-forget: the wall stays dry and the connection lasts as long as the structure.

So the thing to look for isn’t a reason to avoid attaching — it’s simply a builder who treats the flashing as part of the job, not an afterthought. It’s worth confirming, in writing, that whoever builds your pergola is flashing the wall connection, not just bolting to it. A clear, specific answer there is exactly what you want to hear.

There’s no single way to attach a pergola, because there’s no single kind of wall. The connection has to suit what you’re fastening into:

  • Lap or fiber-cement siding: remove the siding where the ledger lands, fasten to the studs or rim joist behind it, and flash over the top. The most common residential case.
  • Brick or masonry veneer: the brick is usually a veneer, not structure — the connection still has to reach the framing behind it, or use engineered masonry anchors rated for the load. Don’t trust the brick alone.
  • Stucco: cut back to the sheathing and framing, seal and flash carefully — stucco hides moisture problems, so the waterproofing detail matters even more here.
  • Stone or full masonry: treated as a structural masonry connection with the right anchors, often best handled with engineering input.

The wall you have determines the work. A company that quotes you an attached pergola without asking what your wall is made of hasn’t thought about the part most likely to fail.

Simple pergola attached to a house wall.

Most pergola companies sell a handful of fixed sizes and you pick the closest one to your back wall. Because Western Timber Frame builds custom, the structure is sized to your home down to the 1/16 of an inch — matched to the roofline, the window and door placement, and the patio it covers, including the custom shapes a catalog can’t make. The house doesn’t get retrofitted to the pergola; the pergola is built to the house.

That custom fit carries into the shade, too. A standard kit delivers roughly 80–85% ShadePrint™ coverage depending on orientation, time of day, and season — comparable to standing under a large shade tree with the rafters spaced to your wall’s sun exposure rather than a one-size catalog spacing.

Here’s something a freestanding pergola often avoids that an attached one usually doesn’t: a permit. Attaching a structure to your dwelling ties it into the house, and most building departments treat that as a structural modification that needs a permit — and sometimes engineered, stamped drawings.

That’s not a reason to avoid attaching; it’s a reason to work with someone who can hand your permit office what it asks for. Western Timber Frame provides engineering documentation to support permitting, and stamped structural drawings prepared by a licensed engineer where the project and jurisdiction require them. The connection and the structure are engineered for your site’s actual wind and snow loads, following the ASCE 7 standard that building departments use nationwide. We’ve built more than 7,000 structures across all 50 states since 2008, in counties where the permit is a $25 formality and in metro jurisdictions where it runs several hundred dollars and a plan review — and the engineering is the part that moves it through either way.

This is the attached pergola’s quiet advantage, and almost no one writes about it: the house wall — with its electrical — is right there.

That makes an attached pergola the natural place to build in lighting, ceiling fans, heaters, and outlets from the start. Western Timber Frame’s TimberVolt® system runs wiring through the center of the posts and beams, pre-wired in the shop, so the finished structure can carry light and power without surface conduit stapled to the timber. Planning it in before the build is the difference between an outdoor room you actually use after dark and a shaded patch you stop visiting at sunset. A freestanding pergola can have all of this too — it just has to run the power further. Against the house, it’s the obvious move.

Everything above is about the house connection, but the structure itself still has to be built to last. Most outdoor structures come apart at the connections — the joints, where load and weather and time concentrate. A kit joined with metal brackets puts its fate in the hands of hardware at exactly those points.

3D rendering of an attached timber frame pergola showing 18-foot dimensions, decorative brackets, and structural design plan
A detailed rendering of an attached timber frame pergola illustrating dimensions, joinery, and the structural layout for a custom covered patio.

Western Timber Frame’s joints are wood-to-wood: the Dovetail Difference® locks heavy timbers together without exposed bolts or brackets at the primary connections, tested at 11,055 pounds per joint. The timbers themselves are full-dimension solid wood, not built-up lumber — heavy enough to carry long spans with fewer posts, which is exactly what an attached pergola wants. Heavy timber also has the mechanical stiffness to hold its line over decades, a property documented in the USDA Forest Products Laboratory’s Wood Handbook. The wall connection ties this into your house; the joinery is what keeps it standing once it’s there.

One thing an attached pergola has to account for that a freestanding one doesn’t: your home’s existing roofline and gutters. Where the ledger lands often sits right where a gutter runs, so the design has to plan for it — tucking the structure just below the eave, integrating a new gutter line into the pergola, or setting the ledger to clear the existing gutter cleanly. Handled up front, it’s a non-issue. Discovered mid-install, it’s the kind of thing that forces an awkward compromise. It’s one more reason the wall and roofline get measured and designed around before anything is cut.

An attached pergola is more involved than a freestanding one, because the wall connection has to be right. That doesn’t mean it’s out of reach. Western Timber Frame ships pre-cut, pre-fit, labeled kits with the ledger detail planned for your specific wall and complete instructions — so the structure goes together in a clear sequence rather than getting figured out from raw lumber on site. Many homeowners install themselves — you can see five real DIY installs here — while others choose professional installation, especially when the wall is brick or stucco or the roofline is complex. If you’re weighing that call, our guide on whether to DIY or hire a pro walks through it. Either way, the precision happens in the shop first, which is why most kits go up in an afternoon to a day once the site is ready.

Western Timber Frame company logo

If you searched “pergola builder near me” and ended up here, you are already doing your homework. We have built in every state and possibly in your neighborhood — talk to our design team. Your backyard is different from everyone else’s. That is why no two of our projects are the same.

or call: (877) 870-8755

It depends on the goal. An attached pergola covers a back door, patio, or wall and reads as an extension of the house, using fewer posts. A freestanding pergola works better away from the house — over a pool, in a garden corner, or where the wall isn’t suited to carry the load. Attached gives you integration and easy power; freestanding gives you placement freedom and avoids tying into the home’s structure. The right answer is the one that fits how you’ll use the space and what your wall can support.

Usually, yes. Attaching a structure to your dwelling is generally treated as a structural modification, so most jurisdictions require a building permit and sometimes stamped engineered drawings — more often than they do for a freestanding pergola. Requirements vary by location, so confirm with your local building department.

Western Timber Frame provides engineering documentation and stamped drawings where the jurisdiction requires them.

With flashing at the wall connection. When the ledger is fastened to the house, metal flashing is installed over the top of it and tucked behind the siding above, so water sheds away from the wall instead of seeping into the framing. Skipping or botching this flashing detail is the most common cause of attached-pergola rot, so confirm it’s part of the build.

Yes, but the method changes. With brick veneer, the connection still has to reach the structural framing behind the brick or use engineered masonry anchors rated for the load — the veneer alone isn’t enough. With stucco, you cut back to the sheathing and framing and flash carefully, because stucco can hide moisture problems. Both are very doable; they just call for the right anchors and a careful waterproofing detail.

Through a ledger board bolted to the home’s structural framing — the wall studs, rim joist, or band board with corrosion-resistant structural lag fasteners sized and spaced for the load, then flashed against water. The pergola’s outer edge is carried on posts set into proper footings. The siding is never the anchor; the framing behind it is.

timber pergola ledger board attached to house supporting rafters
A ledger board anchors the pergola to the structure, providing critical support for the roof system.
ledger board connection detail for attached pergola installation

Yes — and it’s the ideal structure for it, because the house electrical is right there. Western Timber Frame’s TimberVolt® system runs wiring through the posts and beams, pre-wired in the shop, so lighting, fans, heaters, and outlets are built in without visible conduit. Planning it before the build keeps the finished structure clean and the wiring concealed.

Thinking about adding a covered room to the back of your house? Start a design conversation with Western Timber Frame — tell us your wall, your roofline, and how you want to use the space, and we’ll show you how an attached pergola would fit your home before you commit to anything. westerntimberframe.com.

You may also like