Digging a trench along a boundary fence line is a manageable DIY task for many NZ homeowners — whether you're laying drainage, irrigation, or a conduit for cabling. However, it carries real risks if you don't plan carefully. Underground services, unstable soil, and proximity to your neighbour's property all need to be considered before you pick up a spade.
Step 1: Locate Underground Services Before You Dig
This is the single most important step. Striking a buried power cable, gas line, or water main can be fatal or cause serious damage. In New Zealand, you can contact Before U Dig (BUD) — a free national service that notifies utility companies so they can mark out their assets near your work area. Allow several working days for responses.
Even after BUD notifications, treat any marks as approximate. Hand-dig carefully within 500 mm of any marked service. Check with your local council for stormwater and wastewater pipe locations, as these may not always be captured by BUD.
WorkSafe NZ has clear guidance on excavation hazards — it's worth reading before you start.
Step 2: Check Consent and Boundary Rules
Most shallow trenches for drainage or irrigation on your own property don't require a building consent, but there are exceptions. Under Schedule 1 of the Building Act 2004, certain drainage and earthworks may be exempt — but always confirm with your local council before starting. If your trench connects to the public stormwater or wastewater network, that work is restricted to a licensed drainlayer under the Plumbers Gasfitters & Drainlayers Board.
Also check your title and any easements — there may be legal restrictions on digging near the boundary, particularly if services belonging to neighbours or the council run through your property.
Step 3: Plan Your Trench Dimensions
For most residential purposes, a trench along a fence line will be:
- Width: 300–600 mm depending on what you're installing
- Depth: 300–900 mm for irrigation or conduit; deeper for drainage (check relevant standards and manufacturer specs)
- Offset from fence posts: At least 300–500 mm to avoid undermining post footings
Be aware that digging too close to fence posts can destabilise them, potentially damaging your neighbour's fence — which could make you liable for repairs.
| Purpose | Typical Depth | Notes |
|---|---|---|
| Irrigation pipe | 300–450 mm | Protect from frost in southern NZ |
| Electrical conduit | 500–600 mm | Must be installed by a licensed electrician |
| Drainage (ag pipe) | 450–900 mm | Slope minimum 1:100 toward outlet |
| Wastewater/stormwater | 600 mm+ | Restricted work — licensed drainlayer required |
Step 4: Choose the Right Tools
For short runs (under 10 m), a long-handled spade and mattock may be sufficient. For longer trenches or harder ground, consider hiring a trenching machine (trencher) or mini excavator from a local hire company. These are available from many NZ hire centres and can save hours of hard labour.
Always wear:
- Steel-capped boots
- Safety glasses
- Gloves
- Hi-vis vest if working near a road or driveway
Step 5: Manage Spoil and Trench Safety
Pile excavated soil (spoil) at least 500 mm back from the trench edge on the opposite side from where you're working. This prevents it from collapsing back in — or worse, onto you.
For trenches deeper than 1.5 metres, WorkSafe NZ requires shoring, benching, or battering the sides to prevent collapse. This is a serious risk — trench collapses can be fatal. If your trench needs to go this deep, strongly consider hiring a professional earthmover.
Never enter a trench deeper than 1.5 m without proper shoring in place.
Step 6: Protect the Fence and Your Neighbour's Property
Talk to your neighbour before you start — it's good practice and legally sensible. If your digging undermines their fence posts or causes soil movement onto their property, you may be responsible for the cost of repairs. Keep a clear working margin from the fence line and backfill and compact the trench properly once work is complete.
Step 7: Backfilling and Compaction
Once your pipe, conduit, or drain is laid:
- Bed the pipe in clean sand or fine gravel (check manufacturer specs)
- Backfill in 150–200 mm layers, compacting each layer with a hand tamper or plate compactor
- Restore topsoil and re-grass or reinstate paving as needed
Poor compaction leads to ground settlement, which can crack paths, shift fence posts, and cause drainage problems down the track.
When to Call a Professional
Call a licensed earthmover or drainlayer if:
- Your trench needs to be deeper than 1.5 m
- You're connecting to the public stormwater or wastewater system (legally required)
- You've struck an unknown pipe or cable
- Ground conditions are unstable, waterlogged, or rocky
- You're unsure about the location of underground services
- The job is longer than 20–30 m and time or effort is a concern
For electrical conduit installation, always use a registered electrician — this is restricted work under the Electrical Workers Registration Board.
You can find qualified local earthmovers, drainlayers, and electricians on tradedirectory.co.nz.



Site Safe


