You build a timber pergola by fixing four posts to proper footings on a square, level layout, tying them together with beams that carry the rafters, and then locking the whole frame with diagonal bracing before you add slats or shade. The two conditions that decide everything else are your local planning rules and your frost depth. Get the post spacing, footing depth, and timber sizes right first, because fixing a twisted frame later costs far more than slowing down at layout.

This guide walks through the build in a real working order, from permits and materials to the last slat. It's written for a free-standing garden pergola in softwood or hardwood. Attached pergolas share the steps but add a ledger and flashing detail against the house, which I'll flag where it matters.

Check Permits, Frost Depth, and Loads Before You Buy Timber

Start with paperwork and underground conditions, not timber. A pergola is a structure, and many jurisdictions treat it like a deck or shed for permitting purposes. Height, footprint, distance from property lines, and whether it's attached to a dwelling all change the answer.

Two checks clear this fastest. First, call your local building authority and ask specifically whether a free-standing pergola under a stated size needs a permit. Second, ask what footing depth they require for posts, or get the local frost depth. Where I'd stop and hand off: if your pergola will support a solid roof, a swing, a hammock, climbing plants with significant weight, or if it sits on a slope or near a retaining wall, get a qualified local engineer or builder involved. Those loads go well beyond a slatted shade frame, and this article doesn't cover structural engineering for them.

On loads, a slatted pergola is mostly self-weight plus wind uplift. Wind matters more than most people expect, because an open frame acts like a sail and a light frame can lift. That's the reason for the bracing and anchor details later, and the reason to size posts for their unbraced height rather than just the plan view.

Gather Tools, Materials, and the Hardware List

Prerequisites: a level site or the means to level it, a way to dig and pour concrete, and a helper for lifting beams. Two people minimum for the beam stage.

You'll need:

Timber: posts, twin beams (or single beams), rafters, and slats. Sizes below are typical for a garden-scale pergola and should be confirmed against your span and local rules. Concrete: rapid-set or standard mix for the footings, quantity from hole volume. Post bases or anchors: galvanized or stainless standoff bases to keep timber off concrete. Structural screws, bolts, or concealed connectors: rated for outdoor use, in the sizes your joints need. Galvanized or stainless fixings throughout: plain steel rusts and stains timber. Tools: string line, spirit level (a long one, 1.2 m or more), tape, square, spade or post-hole digger, wheelbarrow, drill, saw, clamps, ladder, and a rubber mallet for tapping joints true.

Two material choices shape the whole build. Treated softwood is the budget route and needs re-sealing at cut ends. Naturally durable hardwood such as cedar, larch, or oak costs more and weathers better but is heavier and harder to drill. Whichever you pick, buy all the timber in one order so the moisture content and dimensions match.

Element Typical garden-scale size Why it matters
Posts 100 × 100 mm or 150 × 150 mm Carries the frame; heavier posts resist racking better
Beams (paired) 150 × 50 mm bolted in pairs Sandwiches the posts and carries rafters
Rafters 100 × 50 mm Spans between beams; sets slat support
Slats 50 × 50 mm or 75 × 38 mm Shade and rigidity; spacing sets the look
Post bases Standoff, galvanized Lifts timber clear of damp concrete

Set Out a Square, Level Footprint

Layout errors are the most common failure in pergola builds, and they're invisible until the beams won't meet. Do this slowly.

1: Mark the four post centres with pegs and string, using the outside face of the posts as your reference line so the beams sit true. 2: Check the rectangle for square using the 3-4-5 method: measure 3 units along one side and 4 along the adjacent side from the same corner, and adjust until the diagonal between those points is exactly 5 units. Scale the units up (for example 900 mm, 1200 mm, 1500 mm) for a larger frame and better accuracy. 3: Confirm the diagonals of the whole rectangle match each other. Equal diagonals plus a 3-4-5 check is your success signal. 4: Set a level datum with a string line or laser and mark a consistent height on all four pegs.

If the diagonals differ, don't compensate by skewing the beams. Move the pegs. A frame that's square on the ground stays square as it goes up, and a frame that isn't will fight you at every joint.

Dig and Pour Footings to the Right Depth

Footing depth is the step people shortcut, and it's the one that decides whether the pergola stays put through frost. Use the frost depth your building authority gave you; where frost isn't a factor, a deeper, wider footing still resists overturning better than a shallow one.

1: Dig each hole centred on the pegs, sized to the base you're using plus working room, and to the required depth. 2: Check the bottom of each hole is flat and the sides are reasonably straight. 3: Set the post base or anchor into the wet concrete at the correct height and position, or cast the post into the concrete if your base type calls for it. 4: Check spacing and square again while the concrete is still workable. This is your last easy chance. 5: Let the concrete cure per the product instructions before loading the posts.

Success check: all four bases are level with each other, on the same square layout, and the anchor holes line up with your post centres. Failure handling: if a base sets out of position, chip it out and redo it rather than bending the post to suit. A bent post throws the whole frame out of plumb.

Stand and Brace the Posts

With footings cured, fix the posts to the bases. Then brace before you lift anything heavy.

1: Fix each post to its base, checking plumb on two faces with a long level. 2: Temporarily brace the posts with scrap timber or adjustable props so they hold plumb while you work. 3: Keep the posts at matching heights; trim the tops to a common line once all four are standing if your design calls for it.

The temporary bracing is not optional on a four-post frame with no beams yet. A wind gust or a bumped ladder on unbraced posts can take the whole thing down and damage the fixings.

Install Beams and Rafters in the Right Order

Work from the ground up: beams first, then rafters, then slats. Paired beams that sandwich the posts are the most forgiving joint for a first build, because the post sits between two boards and bolts clamp the assembly tight.

1: Lift and temporarily clamp the paired beams on opposite sides, then on the remaining sides, checking the frame is square and the beams are level. 2: Drill and fix the beam-to-post joints with the rated bolts or structural screws your design specifies. For paired beams, bolt through both boards and the post. 3: Check level along each beam and square across the frame before final tightening. 4: Lay out rafters at even spacing, mark positions on both beams with a tape and pencil, and fix each rafter with the specified connector or screws. 5: For attached pergolas, fix the ledger to the house with the specified anchors and flash the top of the ledger so water can't get behind it before hanging the beams from it.

Success check: run a string line along the beam tops, and check it reads flat and the diagonals still match. If a beam sits proud, loosen the joint, pack or adjust, and re-fix rather than forcing it.

Lock the Frame With Diagonal Bracing

A square frame with pinned joints can still rack sideways under wind or a leaning hand. Diagonal bracing converts those joints into a rigid box, and it's the detail most home builds skip.

Add braces in the plane of the posts, in both directions, at the corners or along the sides your design allows. Fix them with the same rated connectors as the main frame, and orient them so they don't foul headroom or legs. On an attached pergola, the house fixes one side and the braces handle the rest. If your design has no room for diagonal braces, that's a cue to check with the manufacturer of your connector system or an engineer for a moment-resisting alternative.

Cut and Space Slats to Control Shade and Rain

Slats are where a pergola becomes useful rather than ornamental. Spacing sets how much sun gets through, and the slat direction controls how the frame looks and how rain runs off.

Slat spacing (centre to centre) Approx. open sky Best for
100 mm Roughly 50% open with 50 mm slats More shade, more rain shedding
150 mm Roughly 67% open with 50 mm slats Balanced shade and light
200 mm Roughly 75% open with 50 mm slats Light shade, more sky view

These are illustrative figures: with 50 mm slats at 100 mm centres, half the width is timber and half is gap, so the percentages in the table follow directly from those inputs. Change the slat width and the numbers move.

1: Cut slats to a consistent length and check a few for square against the frame. 2: Lay them out dry first, adjusting spacing to end with even gaps at both ends rather than a wide gap at one side. 3: Fix each slat with two screws or a connector per rafter, pre-drilling to avoid splitting near the ends. 4: Run the slats with a slight fall if you want rain to shed rather than drip, and check the low edge clears the frame.

Success check: stand back and look along the slat ends. They should form a straight line, and gaps should read even. A slat that's twisted or proud will stand out visually even when the fixings are right.

Finish, Seal, and Protect the Timber

Timber finish decides how the pergola ages. Cut ends of treated softwood need re-sealing with the appropriate end-grain preservative, and drilled holes deserve a dab too. Hardwoods generally need a finish that's suited to the species; check the supplier's recommendation.

Apply finish before the frame is fully assembled where you can reach hidden faces, then touch up after assembly. Check the fixings you used are compatible with the finish; some metal salts and finishes react. Re-coat on the schedule the product states, and inspect joints and end grain each time, because that's where water gets in first.

Common Mistakes and How to Catch Them

Most pergola failures come from a short list of avoidable errors. Watch for these:

Out-of-square layout. Symptom: beams won't meet cleanly at the corners. Cause: pegs set by eye or a single diagonal checked. Fix: recheck 3-4-5 and diagonals before any concrete goes in. Shallow footings. Symptom: posts lifting or shifting after a freeze, or the frame creeping out of level. Cause: footing shallower than frost depth or undersized for the base. Fix: check the required depth first; once set, a shallow footing means rebuilding that post. Timber sitting in water. Symptom: rot at the post base within a few seasons. Cause: post set directly into concrete or soil with no standoff base and no drainage. Fix: standoff base and a slight fall away from the post. Missing bracing. Symptom: frame racks and joints loosen over time. Cause: no diagonal bracing. Fix: add braces in the post planes. Plain-steel fixings. Symptom: rust streaks and stained timber. Cause: non-galvanized or non-stainless hardware outdoors. Fix: replace with rated outdoor fixings.

Stop condition: if you find splitting posts, lifting anchors, or movement at the ledger on an attached build, stop and get a local professional to assess it. Those are structural symptoms, not cosmetic ones.

Estimated Time and Cost Inputs

A free-standing garden pergola of roughly 3 m × 3 m with slatted top is often a two-to-three-day job for two people: one day for footings and curing waits, one for posts, beams, and rafters, and a half to one day for slats and finish. A larger frame, hardwood, or attached build adds time.

For cost, the timber and concrete dominate. As a worked example with clearly illustrative inputs: if you use 4 posts at 2.4 m, paired beams totalling roughly 30 m of 150 × 50 mm, rafters at about 20 m of 100 × 50 mm, and slats at about 30 m of 50 × 50 mm, your main timber length is roughly 80 m of stock. Multiply by your local price per metre at the section you choose to get timber cost, then add concrete by hole volume, fixings, bases, and finish. Prices vary widely by region and species, so confirm at your supplier rather than relying on a general figure.

FAQ

Do I need planning permission for a timber pergola?

It depends on your jurisdiction, height, footprint, and distance from property lines, and on whether it's attached to the house. Ask your local building authority for the specific rule before you buy timber.

Can I build a pergola on a patio or deck?

Yes, but the footings change. On paving you need to anchor through to a stable base; on a deck the frame must be fixed to the deck structure and checked for the added load. Get local advice if the deck's capacity is unknown.

What's the easiest joint for a first build?

Paired beams bolted through the post are the most forgiving, because the post sits between two boards and small errors are absorbed. Concealed connectors are neater but less tolerant of layout mistakes.

How long does a treated timber pergola last?

Life depends on species, treatment, climate, and finish maintenance. Standoff bases, sealed end grain, drainage falls, and a maintained finish are the biggest factors, and checking joints and end grain each year catches rot early.

This article is general educational information about timber construction, not a structural engineering, planning, or legal opinion. Permits, footing depth, and load requirements vary by jurisdiction and site, so confirm them with your local building authority and a qualified local professional before building.