Prices, Promotions, styles, and availability may vary. Our local stores do not honor online pricing. Prices and availability of products and services are subject to change without notice. Errors will be corrected where discovered, and Lowe's reserves the right to revoke any stated offer and to correct any errors, inaccuracies or omissions including after an order has been submitted.

How to Build a DIY Pergola for a Deck

Lowe's Editorial Team

By Lowe's Editorial Team
Updated February 19, 2025

A pergola helps you create an extension of your living space while adding to the architectural landscape of your home. You have an option to grow a natural cover with plants and greenery or install a pergola with a roof. Learn how to build a DIY pergola and other ways to cover your deck or patio.

Skill

Advanced

Time

One Weekend

A pergola on a deck with hanging plants.

Tools and Materials

Note

Items may be Special Order in some stores. Product costs, availability and item numbers may vary online or by market. Paint colors may vary slightly from those shown. Availability varies by market for lumber species and sizes.

Benefits of Having a Deck With a Pergola

A pergola covering a deck with sofas and planters built in front of a garden of a white house.

A pergola can transform your backyard into a stylish retreat. Pergolas offer shade, privacy and versatility to your backyard, patio or deck. Customize a pergola by building it on top of a low deck rather than creating concrete footings to anchor it to the ground. Add plants, curtains, string lights, a trellis screen and more to create a focal point that’s functional and attractive.

Building a Do-It-Yourself Pergola Secured to Footers on the Ground

These instructions and the project diagram will help you build a DIY pergola similar to the one shown here, which was created for a 12-foot-by-14-foot deck. Use these materials as a starting point and customize the structure to suit your deck and yard’s dimensions and style. Work with local building code officials to make certain this design is allowed on your property.

Good to Know

Before digging the footings for the posts, call 811 or have your local utility companies locate buried pipes and lines.

Size and Cut the Parts of the Pergola

For your DIY pergola, begin by designing the pergola and preparing the posts. Refer to the pergola plan diagram.

Instructions

Attach the Lower Supports

Once you’ve cut and stained the boards, you can begin attaching the lower supports.

Complete the Pergola

The final stages of building a pergola allow you to start seeing your work come together.

How to Add a Pergola on Top of an Existing Deck

You can anchor many types of prebuilt pergola kits to a low deck rather than using the technique above to build one that’s secured to footers on the ground. One benefit of an on-deck pergola is that it can provide shade to a space you already use and have invested in. Additionally, building a pergola on a deck can save space, especially in small yards where there isn’t room for a structure separate from the deck. You can even anchor a pergola on a concrete patio, so be creative in maximizing your backyard space and working off of your existing structures.

Caution

Before attaching a pergola on top of an existing deck, be sure to check with a professional to determine your deck’s weight limits and the best structural support points. A pergola can be very heavy, so it’s important to make sure your deck can handle the additional weight.

How to Install and Anchor a Pergola to a Deck

The manufacturer's instructions on a pergola kit should include steps for securing the structure to a deck if the pergola is suitable for this type of installation. The pergola may have mounting components at the base of each leg, and you may need to purchase additional pergola hardware, such as 90-degree heavy-duty steel angle brackets and structural screws to fasten the pergola to the deck. You’ll need to attach the pergola to a structural element of the deck, such as a beam or joist, rather than the decking alone. Always follow the instructions for your pergola and any applicable building codes.

Pergola Installation FAQs

1. Can you put a pergola on an existing deck?

Yes, you can anchor a pergola on top of an existing deck or a concrete patio. There are many pergola kits available that are perfect for low decks. Building a pergola on a deck can save space, especially in small yards where there isn’t room for a structure separate from the deck.

2. Is it cheaper to build or buy a pergola?

DIYing or building your own pergola helps you save on labor while buying a pre-made pergola kit helps you save on time. The size, material and roof type are a few other things that may also add to the cost of building a pergola, DIY or otherwise.

3. What is a budget-friendly way to cover the deck?

Shade sails are a cost-effective and functional option to cover your deck. If you’re looking for a temporary solution try pop-up canopy tents or patio umbrellas. Pergolas, canopies and gazebos are other ways you can set up a shaded area outdoors.

4. How high should a pergola be above a deck?

Pergolas are usually 8 to 12 feet in height. Pick the size of the pergola based on the dimensions of the space you want to cover. The wider the area the higher the pergola will be.

5. What can you use for framing a pergola?

There are lots of ways to beautify a pergola. But the most attractive and affordable way is to add greenery and color in the form of potted plants, shrubbery and climbing vines.

6. Are there pergola DIY kits?

Yes, you can find DIY kits to simplify the process of building your own pergola.