Knowing how to build a pergola comes down to eight stages: check approvals, set out, dig and pour footings, stand posts, fit beams, fix rafters and battens, add the roof, then finish and inspect. This guide walks through each stage for a freestanding or attached timber pergola, lists the tools and materials you need, flags the points where a licensed builder is required by law, and explains the NSW, Victorian and ACT approval rules that apply before the first hole is dug.
Key points
- In NSW, residential building work worth more than $5,000 including materials must be done by a Fair Trading licensed contractor, so most roofed pergolas are not a legal DIY project.
- A pergola in NSW is exempt from council approval only if it is 25 m² or less, no higher than 3 m, at least 900 mm from the boundary and behind the building line.
- Timber members are sized from the AS 1684 span tables, and exposed timber must be H3 treated or a Class 1–2 durable hardwood to AS 1604.
- Footings, post connections and the beam-to-house fixing carry the whole structure; get these right and the rest of the build is carpentry.
What you need to build a pergola
Gather everything before set-out day. The table covers a four-post timber pergola up to about 3 m × 4 m with a flat sheet roof.
| Item | Specification | Purpose |
|---|---|---|
| Posts | H4 treated pine or Class 1–2 hardwood, sized from AS 1684 tables | Carry roof load to footings; H4 if in ground contact |
| Beams and rafters | H3 treated pine or durable hardwood, sized to span | Beams carry rafters; rafters carry battens and roofing |
| Post stirrups or brackets | Hot-dip galvanised, stainless near the coast | Keep post ends out of wet concrete and anchor to footing |
| Concrete | Pre-mixed bags or delivered, depth per soil type (indicative — engineer for clay) | Footings resisting uplift and overturning |
| Fixings | Galvanised or stainless bolts, coach screws, joist hangers, roofing screws | Connections rated for wind load |
| Roofing | Polycarbonate or steel sheet, flashings, gutter and downpipe | Weather cover and water control |
| Tools | Post-hole digger, string line, laser or water level, circular saw, drill, spanners, ladders | Set-out, cutting and fixing |
Approvals to sort before you build a pergola
Approval rules differ by state and the limits are tight. Check which pathway applies before buying timber.
- NSW exempt development allows a pergola of up to 25 m² floor area, no higher than 3 m above ground, at least 900 mm from a side or rear boundary and behind the building line, provided the property is not a heritage item or in a heritage conservation area.
- Outside those NSW limits you need a complying development certificate from a private certifier or a development application to your local council.
- Victoria requires a building permit from a registered building surveyor for most pergolas unless the structure meets the Building Regulations 2018 exemptions for small, low, freestanding or attached structures.
- The ACT exempts decks and pergolas only within the Planning (General) Regulation 2023 criteria for size, height, setback and plot ratio; building approval may still be needed even where development approval is exempt.
- Bushfire-prone land assessed at BAL-29 or above must use AS 3959 construction, which affects timber choice and roof detailing.
Step-by-step: how to build a pergola
Follow the stages in order. Each step assumes a freestanding four-post frame; an attached pergola replaces the two house-side posts with a ledger beam bolted to the wall framing.
- Set out the footprint with string lines and profiles, then check the diagonals match to within a few millimetres so the frame is square before any digging begins.
- Dig post holes to the depth the soil and engineer require, keeping sides vertical and the base firm; reactive clay needs deeper footings than sand (indicative — confirm on site).
- Pour concrete footings and set galvanised stirrups level and in line, or cast posts directly only if they are H4 treated and the design allows it.
- Stand the posts plumb in the stirrups, brace them temporarily in two directions, and mark the beam height with a laser or water level across all four.
- Cut and fit the beams on top of or bolted to the sides of the posts, using the AS 1684 span tables to confirm the section size for the span and roof load.
- Fix rafters at the spacing the roofing manufacturer specifies, usually with a slight fall of at least a few degrees so sheet roofing drains to a gutter (indicative).
- Screw battens across the rafters at the roofing supplier’s spacing, then lay sheets from the downwind end so laps face away from prevailing weather.
- Fit flashings, gutter and downpipe, remove bracing, fill nail holes and apply the first coat of oil or paint to all exposed timber, including end grain.
Common mistakes when building a pergola
Most guides on how to build a pergola skip the failures. These six errors cause the bulk of problems. All are cheaper to avoid than to fix.
- Undersized beams chosen by eye rather than from the AS 1684 span tables, leading to sag in the middle of the span within a few seasons.
- Post ends buried in concrete without H4 treatment, which traps moisture at ground level and rots the post from the inside.
- No fall on a flat roof, so water ponds on the sheets, finds the laps and drips through onto the furniture below.
- Ledger fixed to cladding or brickwork rather than through to the house frame, so the attached side pulls away under wind load.
- Plain steel fixings near the coast, where salt air corrodes them long before the timber fails; use hot-dip galvanised or stainless instead.
- Building to 26 m² or 3.1 m high, which pushes a NSW pergola out of exempt development and into a certificate or application you did not budget for.
When to use a licensed builder instead of building a pergola yourself
Some triggers are legal, some are structural. If any apply, the job belongs with a licensed contractor.
- The total value of labour and materials exceeds $5,000 in NSW, which makes a Fair Trading licence mandatory for whoever does the work.
- Victorian domestic building work over $10,000 must be done by a registered building practitioner under a major domestic building contract.
- The pergola attaches to the house, because the ledger connection and flashing into the existing roof or gutter are the points most likely to leak or fail.
- The site is sloping, on reactive clay or in a BAL-29 or higher bushfire zone, where footings and materials need engineering rather than guesswork.
- You want a gable, louvre or flyover roof, which carries more load and needs steel brackets or larger sections than a flat sheet roof.
- Any electrical work is planned for lighting or a louvre motor; that must be done by a licensed electrician regardless of the pergola itself.
Frequently asked questions
How do I build a pergola on a sloping block?
Set the beam height from the highest point and let the posts get longer down the slope, with each footing stepped to suit. If the floor beneath ends up more than 1 m above ground, the NCC requires a balustrade at least 1 m high with openings no wider than 125 mm.
How long does building a pergola take?
A simple four-post flat-roof pergola is often framed in two to three days once footings have cured, with roofing and finishing adding another day or two (indicative — weather and access vary). Approval, where needed, adds weeks before the build starts, so lodge early.
Is there a guide on how to build a pergola for beginners without plans?
You can set out and dig without drawings, but you cannot size beams and rafters safely without the AS 1684 span tables or a drawn plan. A certifier also needs a plan for any pergola outside exempt development, so drawing one first saves rework.
How do you build a pergola attached to a house with gutters?
Fix a ledger beam to the wall framing below the gutter, or use a flyover design where the pergola roof passes above the eaves on taller posts. Either way, flashings and the gutter tie-in need careful detailing, which is why attached builds are usually left to a licensed builder.
What timber should I use to build a pergola?
Use H3 treated pine for above-ground members exposed to weather and H4 where the timber touches the ground, both to AS 1604. Alternatively choose a naturally durable Class 1–2 hardwood such as spotted gum, ironbark or blackbutt, which needs no treatment but costs more.
Next step: get the pergola build priced and approved
If the job sits above the licensing threshold, or you simply want it done once and done right, hand the build to a licensed carpenter in the TQN Construct network. They check the approval pathway, size the members, pour footings to suit your soil and roof the frame under a written warranty on workmanship. Start on the pergola service page, or go to pergola builders in Sydney or pergola builders in Melbourne for a local quote.
Related guides
- Pergola design and build service across Australia
- Pergola attached to house — ledger, flashing and approval notes
- Covered pergola ideas for every roof type
- Pergola roof replacement — when and how
- Pergola roof installation step by step
- How to attach a pergola to a house with gutters
- Pergola builders in Sydney
- Pergola builders in Melbourne


