Skip to main content
See the latest posts from tradesmen around the country
DIY AnswersExcavator

How to Safely Dig Near a Neighbour's Shared Fence in NZ

Digging near a shared fence requires careful planning, utility checks, and good communication with your neighbour to avoid damage, injury, or legal issues.

How to Safely Dig Near a Neighbour's Shared Fence in NZ

Digging near a shared boundary fence is one of those jobs that looks straightforward but can quickly become complicated. Done carelessly, it can undermine fence posts, damage underground services, or even cause a fence to collapse — creating both a safety hazard and a neighbourly dispute. Follow these steps to do it safely and correctly.

Talk to Your Neighbour First

Before you pick up a spade, have a conversation with your neighbour. Under the Fencing Act 1978, a boundary fence is generally a shared asset, meaning both parties have rights and responsibilities regarding it. If your excavation could affect the fence's stability or footings, your neighbour has a legitimate interest in knowing about it. A quick, friendly chat can prevent misunderstandings and potential legal headaches later. Document any agreement in writing — even a simple text message trail helps.

Check for Underground Services

This is the most critical safety step. Striking a buried power cable, gas line, or water pipe can be fatal or cause serious damage. Before any digging, you must locate all underground services in the area.

  • Contact Dial Before You Dig (0800 248 344 or online at beforeudig.co.nz) to request a service location. This is a free service and is considered standard practice on any excavation job in NZ.
  • Your local council may also hold records of stormwater and wastewater pipes near your boundary.
  • Be aware that older properties may have services that aren't accurately mapped — treat any unmarked area with caution.
  • Once services are marked, hand-dig carefully within 500 mm of any marked line before using mechanical equipment.

For electrical safety guidance, refer to WorkSafe NZ, which provides clear information on excavation hazards including buried cables.

Understand the Soil and Fence Footing Depth

Before digging, assess what you're working with:

  • Fence post depth: Standard timber fence posts in NZ are typically set 600–900 mm into the ground. Excavating close to these footings can loosen or destabilise them.
  • Soil type: Clay soils can shift and crack when disturbed; sandy or loose soils can collapse quickly. If you're unsure of your soil conditions, consult a geotechnical professional.
  • Trench depth and shoring: Any trench deeper than 1.5 metres requires proper shoring or battering (sloping the sides) to prevent collapse under WorkSafe NZ excavation guidelines. Note that a trench is not automatically classified as a "confined space" — confined space is a specific legal term with its own requirements; check with WorkSafe NZ if you believe your excavation may also meet that definition.

How Close Can You Dig?

As a general rule of thumb used in the trade:

Fence post sizeRecommended minimum clearance
Light timber post (100×100 mm)At least 300–500 mm from post base
Heavy timber or concrete postAt least 500–700 mm from post base
Retaining wall or block fenceConsult a structural engineer

These are guides only — the actual safe distance depends on soil conditions, footing depth, and what you're digging for. When in doubt, dig by hand and go slowly.

Do You Need a Building Consent?

This depends on what you're digging for. Many minor excavations for garden beds or drainage are exempt from consent under Schedule 1 of the Building Act 2004, but deeper excavations, retaining walls over 1.5 metres, or work near the boundary may require consent. Always check with your local council before starting — rules vary by region and site. You can find general guidance at MBIE Building Performance.

If you're installing or replacing the fence itself as part of the project, note that fencing work is generally not restricted building work, but structural retaining walls may be.

Safe Digging Techniques

  • Mark out your dig zone with spray paint or pegs before starting.
  • Hand-dig first in the area closest to the fence and any marked services.
  • Keep spoil (excavated soil) away from the fence line — piling it against posts adds load and can cause leaning.
  • Work in stages rather than opening a long trench all at once.
  • Never undercut the soil beneath fence footings.
  • If using a mechanical excavator, ensure the operator is experienced and aware of all service locations and the proximity of the fence.

Restricted and Licensed Work

If your excavation involves connecting to or working near gas pipes, electrical cables, or plumbing/drainage, be aware of NZ's restricted work rules:

  • Electrical work near or on cables must be carried out by a registered electrician. See EWRB for licensing requirements.
  • Gas work is restricted to licensed gasfitters registered with the PGDB.
  • Plumbing and drainlaying connections are also restricted — check the PGDB for what homeowners can and cannot do.

Safety note: If you strike an underground service while digging, stop immediately. For a gas leak, evacuate the area and call your gas network operator and 111. For a damaged power cable, do not touch it — call your lines company and 111.

When to Call a Professional

Hire a qualified excavator operator or civil contractor if:

  • The dig is deeper than 1 metre, especially near the boundary
  • You're working in unstable, wet, or clay-heavy soils
  • The fence is a retaining wall or masonry structure
  • You're unsure about underground service locations
  • The project requires a building consent

A professional excavator will carry the right equipment, insurance, and experience to protect both your property and your neighbour's. You can find qualified local excavation contractors on tradedirectory.co.nz.

Frequently Asked Questions

Do I need my neighbour's permission to dig near the shared fence?+

You don't always need formal permission, but under the Fencing Act 1978 a boundary fence is a shared asset. If your digging could affect the fence's stability or footings, it's both courteous and legally sensible to notify your neighbour beforehand and get any agreement in writing.

How do I find out what underground services are near my boundary?+

Contact Dial Before You Dig (0800 248 344 or beforeudig.co.nz) before any excavation. This free service coordinates with utility companies to mark the location of buried cables, pipes, and other services. Your local council may also hold records of stormwater and wastewater infrastructure.

How deep can I dig before I need shoring or extra safety measures?+

Under WorkSafe NZ guidelines, any trench deeper than 1.5 metres must be properly shored, benched, or battered (sides sloped) to prevent collapse. Note that a trench is not automatically classified as a "confined space" — that is a specific legal term with its own requirements; check with WorkSafe NZ if your excavation may also meet that definition. Even shallower trenches can be dangerous in loose or wet soils, so always assess conditions carefully.

Will I need a building consent to excavate near my boundary?+

It depends on the scope of work. Minor garden or drainage excavations may be exempt under Schedule 1 of the Building Act 2004, but deeper digs, retaining walls over 1.5 metres, or work close to the boundary may require consent. Always check with your local council before starting, as rules vary by region.

What should I do if I accidentally hit an underground pipe or cable while digging?+

Stop digging immediately. If you suspect a gas leak, evacuate the area and call your gas network operator and 111. If you've damaged an electrical cable, do not touch it — move everyone away and call your lines company and 111. For a broken water or sewer pipe, contact your local council or water utility and a licensed plumber.

Need a Excavator?

Find qualified excavators near you in our directory.

Find a Excavator →

Excavators Near You

NZ Development & Construction Ltd logo

Excavator

5.0(4)

Auckland, Auckland

NZ Development & Construction Ltd is an Auckland-based excavator business specialising in civil construction for subdivisions and site development. Services include earthworks, drainage, infrastructure, carparks, and retaining walls, with a certified and qualified team managing projects from start to finish.

B. Bullock (2009) Ltd logo

Excavator

Whanganui, Manawatū-Whanganui

Bullocks Group Whanganui have provided excellence in contracting, concrete, and aggregate since 1928.

Shane Cullen Contracting Ltd logo

Excavator

Whangarei, Northland

Shane Cullen Contracting 0 Keeping it local since 2003. Specialist in Earthmoving, House Sites & Roading. With over 35 years of experience in contracting and earthmoving in the Kaipara District, Shane Cullen has grown fro m a solo operator to managing a fle et of 35+ machines. Our team of 20 dedicated local employees has undertaken a wide range of , inc luding house sites, international golf courses, large roading contracts, and subdivisions. Our extensive range of machinery...

Ultimate Drilling Ltd logo

Excavator

Auckland, Auckland

Dirt Works Waikato Ltd logo

Excavator

2.6(10)

Hamilton, Waikato

Dirt Works Waikato Ltd, based in Hamilton, specialises in excavation and earthworks with excavators ranging from 1.7 to 20 tonnes. They provide comprehensive services including foundations, concrete placing, driveways, farm works, and cartage across the Waikato and wider North Island.

  • Licensed Building Practitioner (LBP)
Aardvark Excavators Ltd logo

Excavator

Auckland, Auckland

Commercial and Residential Civil Construction Aardvark Excavators Passionate Earthworks Get In touch Delivering quality since 1985 Servicing Auckland Wide Give us a call We are the one stop shop For All Your Civil Needs Give us a call Commercial and Residential Auckland Solutions Give us a call  Drainage From manholes and cess pits to backyard drains N Earthworks Our diggers and trailers can move any amount of...

Last updated: Last reviewed:

The information on this page is provided as a general guide only. Kiwi Trade Directory makes no representations or warranties regarding the accuracy, completeness, or suitability of this information for your specific situation. Costs, timeframes, and recommendations vary significantly depending on your location, property, and individual circumstances. Always obtain multiple quotes from qualified tradespeople and seek independent professional advice before undertaking any home improvement or building work. Kiwi Trade Directory accepts no liability for any loss or damage arising from reliance on the information provided on this site.