How to Build a Pergola on a Deck
A pergola is a structure built to provide overhead shade. It is usually supported on four sides by vertical posts that hold in place a lattice of wooden members. Some pergolas are attached to the house at one side with a ledger board. If you plan to do this, make sure you take all the same precautions to maintain a watertight connection using flashing and caulking. The sizes of the overhead members can vary, but the lowest boards in the assembly will be the heaviest. Beams attached to posts will support one or more layers of cross members. The spacing and size of these members or louvers will dictate the amount of sunlight that is allowed to penetrate and the visual mass of the structure. Sometimes vines are trained to grow through the latticework to provide a lush natural canopy.
Pergolas and other overhead structures are subject to building codes. While intended only for shade, these structures often support hanging swings. Depending on the design, slats overhead intended for shade may be close enough to support bridging snow. Due to the structure of some snowflakes, snow is able to bridge over gaps as big as 4 inches or more. Snow piling up on a pergola likens it to that of a roof. Even without snow bridging possibilities, many building authorities will assign a minimum 20 psf live load for the structure to support.
It is very important to properly attach pergola posts when installing a pergola over a deck. The main concern is how the structure will react under high wind conditions. Most deck builders bolt pergola support posts to the frame of the deck using (2) 1/2" x 6" lag screws with washers per post. This technique is the same as attaching a rail post. Pergolas are top heavy. Without lateral bracing, they can sway in the wind and experience strong uplift forces as the pergola acts as a sail. Attaching sections of rail in between pergola posts will strengthen the pergola. Installing 45-degree bracing in between the post and header beam also will increase stability. Using 6x6s for support posts will further strengthen the structure.
Deck Skirting
Skirting can be an attractive feature that can be added to any low-level deck.
5 Best Ways on How to Hide Trash Cans Outside
Outdoor trash cans can be an unwanted eyesore. Discover how you can easily cover them up and add an extra touch of beauty to your yard.
Deck Fire Pit Ideas
Fire pits can add ambiance and coziness to your deck year round. Get ideas and inspiration for adding a fire pit to your deck.
Decking Patterns
Step into the world of deck design and push the limits of your imagination with our collection of deck patterns and ideas. From classic single-width and diagonal layouts to intricate herringbone and chevron designs, we illustrate the wide range of patterns that will unlock your creativity.
Comprehensive Guide to Deck Design
Transform your outdoor space with our comprehensive guide to deck design. Discover whether to DIY or hire a pro, explore essential design elements, assess cost factors, and follow our step-by-step building process for creating a stunning and functional deck tailored to your lifestyle.
Brown Composite Decking
Get inspired by our collection of brown composite decking ideas and images. Find the best brown deck designs to fit your home and personal style with Decks.com.
More Helpful Resources
Explore Articles by Topic

Footings
Information related to installing frost footings for decks

Framing
Learn structural framing methods

Decking
Learn about wood and composite decking materials

Stairs
An in-depth look at the complex issue of how to build stairs

Railings
How to install guardrails and handrails to meet IRC code

Features
An overview on water drainage, benches, planters and lights

Design
The basics of deck design

Planning
Learn about permits and working with contractors

Porches & Patios
Build a covered deck to enjoy all seasons

Ledger
Proper attachment techniques

Care
Maintain your deck to maintain your investment

Materials
An overview on water drainage, benches, planters and lights
5 Best Ways on How to Hide Trash Cans Outside
Outdoor trash cans can be an unwanted eyesore. Discover how you can easily cover them up and add an extra touch of beauty to your yard.
The 8 Best Deck Paints for 2025
Painting your deck is a great way to refresh your outdoor space. Get our recommendations for how to choose the best deck paint today.
Installing a DIY Under-Deck Drainage System
Whether you're storing outdoor furniture or entertaining guests, you can add a DIY under deck drainage system to your deck to stay dry.
Pool Deck Ideas on a Budget
A stylish poolside retreat doesn't have to come with an over-the-top price tag. Allow us to show you some easy and innovative ways to build a stunning pool deck that won't empty your wallet.
Deck Design Styles
Learn how to design a deck to match your sense of style and to compliment your house.
Explore Articles by Topic

Footings
Information related to installing frost footings for decks

Framing
Learn structural framing methods

Decking
Learn about wood and composite decking materials

Stairs
An in-depth look at the complex issue of how to build stairs

Railings
How to install guardrails and handrails to meet IRC code

Features
An overview on water drainage, benches, planters and lights

Design
The basics of deck design

Planning
Learn about permits and working with contractors

Porches & Patios
Build a covered deck to enjoy all seasons

Ledger
Proper attachment techniques

Care
Maintain your deck to maintain your investment

Materials
An overview on water drainage, benches, planters and lights