How To Build an Attached Pergola for Your Backyard Patio

Adding a pergola to your backyard transforms an ordinary patio into a defined outdoor living space perfect for dining, entertaining, or relaxing. Beyond the aesthetic appeal, a well-constructed pergola provides partial shade and protection from light rain while maintaining an open, airy feel. In Season 1 Episode 4 of This Old House’s Dime Como Hacerlo series, carpenter Tony McKlem demonstrates how to build an attached wooden pergola against a house wall using specialized metal hardware that simplifies the joining of beams and posts. Whether you are tackling this as a weekend project or hiring a contractor, understanding the core techniques is essential. For builders who want to refine their overall approach, key building measurement tips from experienced professionals can make a significant difference in project outcomes. This article walks through the materials, planning, and step-by-step construction of an attached pergola so you can approach your project with confidence.

Planning Your Pergola Layout and Dimensions

The first step in any pergola project is determining the size and location of the structure. Measure the length and width of the area where you plan to build. An attached pergola typically extends outward from an exterior wall, so the house side will serve as the primary support anchor. Drive stakes at each corner of the planned area and run string between them to mark the perimeter. This visual guide helps you confirm the pergola dimensions before any cutting or digging begins. Consider how the structure will relate to existing features such as windows, doors, pathways, and landscaping. The goal is to create a pergola that feels proportional to your home and yard. Proper planning also means accounting for overhead clearance. A standard pergola height ranges from 7 to 8 feet above the patio surface, which allows comfortable passage while maintaining a human scale. If you are working with existing wood elements on your property, original wood restoration techniques can help preserve and integrate older materials into your new structure. Before finalizing your layout, check local building codes for setback requirements, height restrictions, and permit needs.

  • Measure the full length and width of the intended pergola area
  • Use stakes and mason line to mark the perimeter on the ground
  • Verify the layout clears windows, doors, and overhead obstructions
  • Check local zoning rules for setback distances and height limits
  • Consider sun angles to maximize shade coverage during peak hours

Selecting Quality Materials and Hardware

The durability and appearance of your pergola depend heavily on the materials you choose. Pressure-treated lumber is the most common choice for outdoor structures because it resists rot, insects, and moisture damage. For an attached pergola, you will need beams for the main structure, posts for vertical support, and ledger beams to attach to the house. The episode features 10 pressure-treated beams measuring 12 feet each, which provides ample material for a structure approximately 18 feet wide. Beyond the lumber itself, the hardware you select determines how well the pergola holds together over time. Metal post bases anchor the vertical posts to the concrete footings or patio slab. Beam connectors and joist hangers create secure joints between the horizontal and vertical members. The project uses specialized metal brackets that simplify installation and guarantee strong connections at every joint. For the fasteners, structural screws rated for exterior use provide superior holding power compared to standard deck screws. The Dirt to Done approach to construction emphasizes choosing components that work together as a system rather than piecing together mismatched parts. Investing in quality connectors and corrosion-resistant fasteners prevents premature failure and keeps your pergola standing strong for years.

ComponentRecommended MaterialPurpose
Posts6×6 pressure-treated lumberVertical load-bearing support
Beams2×8 or 2×10 pressure-treated lumberHorizontal spanning and structure
Post basesGalvanized metal with standoffsAnchor posts to concrete and prevent ground contact
Beam connectorsGalvanized metal bracketsJoin beams to posts securely
Fasteners3-inch structural exterior screwsHeavy-duty connections at load points
Ledger beam2×8 pressure-treated lumberHouse attachment point for pergola

Preparing the Foundation and Support Structure

A pergola is only as strong as its foundation. For the attached pergola in the episode, the homeowners had previously poured concrete footings, which provided a stable base for the post anchors. If your patio does not have existing footings, you will need to dig holes below the frost line, pour concrete piers, and embed post anchors before the concrete sets. The metal post bases are pre-drilled and fastened to the concrete using the screws included in the hardware kit. Once the bases are in place, you can set the vertical posts into the brackets and secure them with structural screws. On the house side, you must determine the exact height of the ledger beam. Use a chalk line and a laser level to mark a level line across the exterior wall where the ledger will be attached. This step is critical because any error in the ledger height will throw the entire structure out of level. The wood frame construction principles that apply to house framing also govern pergola building: every beam must bear properly on its support, all connections must resist both gravity and wind uplift, and the structure must remain plumb and square throughout assembly. Preparing the beams themselves involves cutting them to length and optionally adding decorative cuts at the ends. A 45-degree miter cut on beam ends gives the pergola a refined, professional look without adding significant time to the project.

Assembling the Pergola Step by Step

With the foundation prepared and all materials cut to size, the assembly process follows a logical sequence. Start by attaching the metal beam connectors to the ledger beam that will mount to the house wall. In the episode, these connectors were spaced 13.5 inches apart along an 18.2-foot ledger, which provides adequate support for the top beams that span from the house to the front beam. Next, install the support beam on the house wall by positioning it on the chalk line you marked earlier. Verify it is level before driving the structural screws through the ledger and into the wall framing. Once the ledger is secured, install the two vertical posts into their metal bases. Check each post for plumb using a level in both directions before tightening the fasteners. With the posts standing, install the front beam across the tops of the posts using the metal post caps and brackets provided. This front beam carries the far end of the pergola top beams. Finally, lay the top beams into the connectors on both the house ledger and the front beam, securing each one with the screws included in the hardware kit. For homeowners who are also considering ground-level improvements, composite decking materials offer a low-maintenance option for the patio surface beneath the pergola. The entire assembly process benefits from having at least two people working together, as the beams are heavy and need to be held in position while fasteners are driven.

  1. Attach metal beam connectors to the ledger beam at marked intervals
  2. Install the ledger beam on the house wall, checking for level
  3. Set vertical posts into the metal post bases and plumb them
  4. Install the front beam across the post tops using metal caps
  5. Place top beams into connectors on both ledger and front beam
  6. Secure every beam with structural exterior screws

Attaching the Pergola to Your Home and Finishing

The house attachment is the most structurally critical part of an attached pergola. The ledger beam transfers the weight of the pergola and any snow or wind loads directly into the house framing. It is essential to fasten the ledger into the rim joist or wall studs, not just into the siding or sheathing. Use structural screws sized for the load, and space them according to the manufacturer’s recommendations. Before drilling, use a stud finder to locate the framing members behind the siding. If the house has brick or stone veneer, you may need masonry anchors or a mounting block to bridge the gap between the veneer and the wall structure. Once the ledger is bolted securely, verify that the front beam is level with the ledger. If the posts required slight trimming to achieve the correct height, use a handsaw or circular saw to cut them down before installing the beam connectors. For long-term durability, how to build a pergola guides consistently emphasize the importance of using galvanized or stainless steel hardware for all exterior connections to prevent rust and corrosion. After the structure is fully assembled, apply a wood preservative or exterior stain to protect the lumber from moisture, UV damage, and insect attack. Timber preservation methods that include proper sealing and annual inspections will extend the life of your pergola significantly. A high-quality semi-transparent stain in a natural wood tone or a color that complements your home’s exterior provides the best balance of protection and appearance.

Building an attached pergola is a rewarding project that adds both function and beauty to your outdoor living space. The combination of pressure-treated lumber, quality metal connectors, and careful installation produces a structure that withstands weather and daily use for many years. The techniques demonstrated in the This Old House episode apply whether you are building a small shade structure over a patio table or a large pergola covering an entire seating area. When you are ready to start your own project, take time to study how different species perform in your climate and explore choosing wood for outdoor projects to find the best fit for your needs. With proper planning, quality materials, and the right hardware, your attached pergola will become a cherished part of your home for decades to come.