HomeGuidesHow to Build a Pergola: DIY Guide, Timber Sizes & Costs

How to Build a Pergola – Step by Step with a 3D Plan

A pergola is the ideal first timber-building project: manageable in scale, achievable over a few weekends, and with a big impact in the garden. This guide takes you from dimensions through timber choice, foundations and structural basics to the correct assembly order – with practical guide values for cross-sections and costs.

Planning: dimensions, location and permissions

Start by settling on the length, width and height. A footprint of 3 × 4 m with a clear height of 2.20 to 2.50 m is a proven starting point – any lower and the space quickly feels cramped, any higher and both the material bill and the wind loading increase. For a seating area for six people, allow at least 3 × 3 m; for a dining table plus barbecue zone, plan closer to 3.5 × 5 m. Also think about the path of the sun: a pergola to the south-west of the patio casts shade in the afternoon and evening – exactly when you need it most.

Freestanding or attached to the house?

A freestanding pergola stands on four or six posts and needs bracing in both directions. The lean-to version is fixed to the facade via a wall plate (ledger) – that saves two posts, but demands sound load-bearing masonry and a properly sealed junction with the wall.

Do you need planning permission?

In many areas, open, unroofed pergolas below a certain size can be built without formal approval. The thresholds vary considerably between countries and local councils, however, as do the minimum distances to the property boundary (often around 3 m). Check with your local building authority before you start – the local regulations are always what counts, not general figures found online.

Choosing your timber: larch, Douglas fir or structural spruce?

For a structure that stands outdoors permanently, the natural durability of the timber matters just as much as the price. Here are the most common options at a glance – prices are guide values for 12 × 12 cm sawn timber:

TimberOutdoor durabilityPrice per linear metre, 12 × 12 cm (guide)Notes
Structural spruce/fir (KVH)low – only with a protective coatingapprox. €8–14cheap, dimensionally stable, high-maintenance
Douglas firmoderate to goodapprox. €12–20good balance of price and durability
Siberian larchgoodapprox. €15–28hard, resinous, weathers to an even silvery grey
Pressure-treated pinegoodapprox. €10–18robust; re-treat cut ends with preservative

Structural solid timber (KVH) in spruce is the cheapest option and very dimensionally stable, but it absolutely needs constructive timber protection and regular recoating. Douglas fir and larch get by with far less maintenance. Pressure-treated timber is tough but looks more utilitarian, and freshly cut surfaces have to be re-treated with preservative.

Cross-sections and structure: guide values for sizing

For an open pergola without a solid roof covering, the following cross-sections have proven themselves: posts 12 × 12 cm (from around 2.5 m in height, or with heavy climbing plants, better 14 × 14 cm), purlins 8 × 16 to 10 × 20 cm, rafters 6 × 12 to 8 × 16 cm at 50–70 cm centres. Knee braces cut from 8 × 8 cm timber, fitted at 45° and at least 60–80 cm long, stiffen the frame corners. A 10 × 20 cm purlin spans roughly 3.5 to 4 m unsupported – for larger bays, add an extra post in between.

Important: these figures are rough guide values for an open, unloaded pergola. As soon as you plan a solid roof of glass or twin-wall polycarbonate, a large surface exposed to wind, or heavy climbers such as wisteria, the loads change significantly. Snow and wind load zones also vary by region – when in doubt, have the sizing checked by a structural engineer or carpenter.

Foundations: concrete pad footings and post anchors

Pergola posts should never go straight into the ground – there they will rot within a few years. The standard solution is concrete pad footings with cast-in H-post anchors or bolt-down post bases:

Let the concrete set for at least three to seven days before assembly; it only reaches its full strength after around 28 days.

Assembly step by step

With the material prepared and a helper on hand, the pergola goes up in one to two weekends:

  1. Setting out: mark the footprint with string lines and measure the diagonals. At 3 × 4 m, each diagonal must be exactly 5.00 m – then the layout is perfectly square.
  2. Footings: dig the holes, pour the concrete, set the H-post anchors plumb and let everything cure.
  3. Standing the posts: insert the posts, plumb them in both directions with a spirit level and bolt them to the anchors with M10 or M12 coach bolts. Prop them with temporary battens until further assembly.
  4. Fitting the purlins: lay the cross beams on top, check the heights and connect them rigidly to the posts with half-lap joints or angle brackets.
  5. Setting the rafters: fit the rafters at even 50–70 cm centres – traditionally with a notched (birdsmouth) seat cut, or with rafter-to-purlin framing anchors.
  6. Bracing: fit the knee braces at 45° between posts and purlins. Only then will the structure stand firm against wind loads.
  7. Timber protection: apply a stain or oil, taking particular care over cut edges and end grain.

Costs: what should you budget for?

For a 3 × 4 m pergola built yourself, material costs come to roughly €400 to €1,100 depending on the timber – all figures are guide values, and regional prices may differ:

ItemGuide price for 3 × 4 m
Structural spruce timber (basic option)approx. €250–450
Larch/Douglas fir timber (alternative)approx. €450–800
Concrete, H-post anchors, post supportsapprox. €80–150
Screws, brackets, connectorsapprox. €50–100
Stain or oil (two coats)approx. €30–70
Total DIY buildapprox. €400–1,100

For comparison: off-the-shelf kits cost around €800–2,500 depending on size and timber, while a pergola built by a joiner or carpenter usually comes to €3,000–6,000. Building it yourself saves a substantial amount – provided you plan carefully and buy neither too much nor too little material.

Avoiding common mistakes

Plan it in 3D first and calculate your materials precisely

The best safeguard against buying the wrong material is a true-to-scale plan before you order the first piece of timber. If you work out the posts, purlins, rafters and knee braces in advance, you will spot clashes and awkward lengths before they cost time and money on site. Tip: in a 3D planner such as HolzBau 3D, you can build the structure virtually and automatically get a cutting list with all the lengths and cross-sections for your shopping trip. After that, nothing stands in the way of your weekend project – and with regular care, such as a fresh coat of stain every two to four years, your pergola will last for decades.

🪵
HolzBau 3D
Plan it in 3D for free →

More guides

🚗  How to Plan a Carport: Size, Structure, Roof & Cost🏠  Roof Frame Design: Rafter, Collar & Purlin Roofs Explained🏡  Build Your Own Garden Room: Methods, Sizes & Costs☀️  Planning a Patio Roof: Lean-To, Glass Roof & Timber Sizing🔩  Timber Joints Explained: Traditional vs Modern Connectors🌲  Best Timber for Outdoor Use: Larch, Douglas Fir, Oak & More🧱  Foundations for Timber Structures: Types, Frost Depth & Costs🛡️  Protecting Outdoor Timber: Design First, Chemicals Second📋  Planning Permission for a Carport, Pergola or Shed🛠️  Essential Tools for Timber Projects: Kit List & Buying Order📐  Roof Types Compared: Flat, Mono-Pitch, Gable & Hip Roofs⚖️  Timber Structural Basics: Loads, Spans & Beam Sizing