Pergola on Deck: How to Add One Safely and What It Costs
Quick Answer: You can build a pergola on deck framing if every post lands over a beam or joist with solid blocking beneath it and is fixed with a bolted post base, or if the posts pass through the deck to their own footings. Never fasten a pergola to the deck boards alone.

A deck is the obvious place for a pergola. The floor is already there, it is next to the house and it is where the chairs are. The catch is that a deck was designed to hold people and furniture spread across its surface, not four heavy posts and the wind that pushes on them.
That does not rule the idea out. It means the posts have to connect to the structure under the boards, and this guide shows the three ways to do it.
Can your deck take a pergola?
A 12 by 12 wood pergola weighs roughly 600 to 1,000 pounds. Spread across four posts that is not a great deal. The harder loads are sideways and upward: a gust pushing on the frame tries to rock the posts and lift them off the deck.
Wikipedia describes decks as complex load bearing structures, and that is the right way to treat yours. Before adding anything, look underneath.
- Joists and beams are sound, with no soft, dark or split wood.
- The ledger is bolted to the house, not just nailed.
- Support posts sit on concrete footings and are not leaning.
- Hardware is not rusted through.
- The deck does not bounce or sway when you walk across it.
If the deck fails any of these, fix it first or give the pergola its own footings.
Three ways to support the posts
1. Through the deck to separate footings
The strongest method. Cut a neat opening in the decking at each post position, pour a concrete footing in the ground below and run a 6×6 post up through the deck. The pergola then stands on its own and the deck carries none of it. Choose this for large pergolas, roofed pergolas and decks more than a couple of feet off the ground.
2. On top of the deck, over beams and blocking
The usual method for a light, open pergola on a healthy deck. Place each post directly above a deck beam or support post where possible. Where a post lands between joists, add blocking so the load reaches the frame.

How to add blocking
From below, fit two or three pieces of lumber the same depth as the joists tightly between the joists under the post position, flush with the underside of the decking. Fasten through the joists into the ends of each block with structural screws. The post base then bolts down through the decking and the blocking, with washers and nuts underneath.
3. Extend the deck posts on a new build
If the deck is not built yet, the neatest answer is to let the 6×6 posts that hold up the deck continue upward to carry the pergola. One post does both jobs and there is no connection at deck level to work loose.
Hardware and bracing
- Post bases: use heavy galvanized or stainless bases rated for uplift, through bolted. Lag screws driven into deck boards will pull out.
- Knee braces: a 45 degree brace at each post in both directions stiffens the frame and takes strain off the base.
- Rafter ties: metal ties at each rafter stop the top lifting in wind.
- Railing posts: tying pergola posts into the rail adds stiffness, but a standard 4×4 rail post is not strong enough to be a pergola post.
Layouts that work on a deck
- One end covered: shade the dining or lounge half and leave the rest in the sun.
- Grill outside: keep the grill out from under the pergola, clear of wood and fabric.
- Attached on the house side: a ledger on the wall replaces two posts and keeps the deck floor open.
- Corner pergola: two posts on the deck corner and a triangular top suit a small deck.
- Privacy side: add a slatted screen on the side facing the neighbors.

Composite, vinyl and raised decks
Composite and PVC boards are a surface, not structure. They crush under a point load and cannot hold a bolt on their own, so blocking and through bolts matter even more. Aluminum and vinyl pergola kits are lighter than wood and are a good match for these decks, but follow the kit maker fixing instructions exactly.
For second story decks, rooftop decks and any deck over about 6 feet high, have an engineer or experienced deck builder design the connection. Wind loads rise with height and the consequences of a failure are serious.
Budget for a deck pergola
The pergola itself costs the same as on the ground, commonly $30 to $60 per square foot built by a contractor or $10 to $40 per square foot for a kit. Budget an extra $200 to $600 for blocking, heavier post bases and bolts, and more if new footings have to be dug under an existing deck. A permit is likely, because the work changes a structure attached to the house.
For the frame itself, follow the steps in how to build a pergola. If you want rain cover, read pergola with roof first, because a roof adds weight and wind load that many decks cannot take without separate footings.
Frequently asked questions
Can I screw a pergola straight to deck boards?
No. Deck boards are held by a few small screws and will lift. Posts must be bolted to the framing or to blocking under the boards.
Will a pergola damage my deck?
Not if it is supported properly. Seal around any holes cut in the decking and use bases that hold the post end off the surface so water cannot sit there.
Can a floating deck hold a pergola?
A ground level floating deck on blocks is not anchored, so a pergola on it can shift or tip in wind. Set the pergola posts on their own footings beside or through the deck.
Do I need a permit for a pergola on a deck?
In most areas, yes, especially when the deck is attached to the house. Ask the building department before you start.
Is a pergola kit strong enough for a deck?
Good kits are, when anchored to framing as the instructions require. Light pop up frames sold as gazebos are not permanent structures.
Keep Reading
- Pergola Ideas: 15 Designs for Patios, Decks and Gardens
- How to Build a Pergola: 7 Steps, Plan and Costs
- Pergola With Roof: 6 Roof Types, Costs and Rules
- Pergola vs Gazebo: Differences, Costs and Which to Choose
- Attached Pergola: How to Fix One to Your House Safely
- All Pergolas Guides
- Outdoor Structures guides
