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

How to Compact Soil Properly After Backfilling a Trench Yourself

Compact backfill in layers using the right equipment and technique to prevent settlement, protect pipes, and meet NZ Building Code requirements.

How to Compact Soil Properly After Backfilling a Trench Yourself

Properly compacting soil after backfilling a trench is one of the most important — and most often skipped — steps in any excavation job. Done correctly, it prevents the ground from sinking, protects buried pipes or cables, and keeps your driveway, lawn, or foundation stable for years to come. Rush it or skip it, and you could be looking at costly subsidence, cracked paving, or even damaged services.

Why Compaction Matters

When you dig a trench and refill it, the disturbed soil contains far more air voids than undisturbed ground. Without compaction, that soil will settle naturally over time — sometimes dramatically. This can cause:

  • Sunken paths, driveways, or lawns
  • Cracked concrete or paving
  • Stress on buried pipes, conduits, or drainage lines
  • Water pooling in low spots
  • Undermining of nearby structures or foundations

For trenches near buildings or under hard surfaces, good compaction is not just best practice — it may be required under the NZ Building Code (particularly Clause B1 – Structure and Clause E1 – Surface Water).

Choose the Right Backfill Material

Not all soil is suitable for backfilling. Avoid:

  • Organic material (topsoil, roots, clippings) — it breaks down and compresses unpredictably
  • Large rocks or clods — they create voids and can damage pipes
  • Wet or waterlogged soil — it won't compact properly and can become unstable

Ideal backfill is granular material such as AP20 (all-passing 20 mm crushed aggregate), clean sand, or well-graded gravel. These compact reliably and drain well. Your local PlaceMakers or Mitre 10 branch can advise on suitable aggregate products for your region.

The Golden Rule: Compact in Layers

The single most important technique is compacting in lifts (layers), not all at once. Dumping all your backfill in and running a compactor over the top will only compact the top 50–100 mm — everything below stays loose.

Recommended Layer Depths by Equipment

Compaction EquipmentMaximum Layer (Lift) Depth
Hand tamper (manual)75–100 mm
Plate compactor (small, hired)100–150 mm
Jumping jack / rammer150–200 mm
Ride-on roller (contractor)200–300 mm

For most DIY trench backfilling, a plate compactor (also called a wacker plate) is the most practical choice. These are widely available for hire from Bunnings and most hire centres around NZ.

Step-by-Step Compaction Process

  1. Protect the pipe or service first. Place a 150–200 mm layer of fine sand or pea gravel directly around any pipe before adding heavier fill. Never run a compactor directly over a pipe without adequate cover.
  2. Add your first lift. Spread backfill to the appropriate depth for your equipment (see table above).
  3. Check moisture content. Soil compacts best when slightly damp — not wet, not bone dry. If it's too dry, lightly spray with water. If it's muddy, wait for it to dry out.
  4. Make overlapping passes. Run the plate compactor in overlapping parallel passes across the full width of the trench. Then make a second set of passes at 90 degrees to the first.
  5. Repeat. Add the next lift and repeat until you reach the finished level.
  6. Allow for slight mounding. Even well-compacted fill may settle a little. Mound the final layer 20–30 mm above the surrounding ground level to allow for this.

Soil Types and Special Considerations

  • Clay soils are tricky — they compact well when moist but become unworkable when wet. In wet NZ winters, you may need to wait for drier conditions or import granular fill.
  • Sandy soils compact easily but can wash out if drainage is poor.
  • Expansive clays (common in parts of Auckland and Waikato) can swell and shrink significantly — consult a geotechnical engineer if you're backfilling near a foundation.
  • Sloping sites may require additional engineering consideration to prevent slip or erosion. BRANZ has useful guidance on earthworks near buildings.

Safety on the Job

Always call Before U Dig (0800 248 344) before excavating to locate underground services. Wear steel-capped boots, safety glasses, and hearing protection when operating a plate compactor. Never work alone in or near an open trench — trench collapse is a serious hazard. Review WorkSafe NZ guidelines on excavation safety before you start.

When to Call a Professional

Some backfilling and compaction work is best left to — or legally requires — a qualified tradesperson:

  • Trenches for plumbing or drainlaying must be installed by (or under the supervision of) a licensed tradesperson registered with the Plumbers, Gasfitters and Drainlayers Board. Backfill over these services may need to be inspected before covering.
  • Electrical conduit trenches involve restricted electrical work — contact an EWRB-registered electrician.
  • Trenches near foundations, retaining walls, or on unstable ground should be assessed by a geotechnical engineer or Licensed Building Practitioner.
  • Large or deep trenches (over 1.5 m deep) require proper shoring and are not suitable for DIY.
  • Compaction testing (such as a nuclear density gauge or sand replacement test) may be required by your council or engineer — a professional excavator or civil contractor can arrange this.

If you're not confident in the scope of your project, it's always worth getting a qualified excavator or civil contractor involved. You can find experienced local excavation professionals on tradedirectory.co.nz.

Frequently Asked Questions

How many passes should I make with a plate compactor over each layer?+

As a general guide, make at least three to four overlapping passes in one direction, then repeat at 90 degrees. For critical areas like under driveways or near foundations, more passes are better. The goal is that the surface stops visibly moving or vibrating under the machine.

Can I just use the soil I dug out to backfill the trench?+

Sometimes, yes — if the excavated soil is granular, free of organic matter, and not too wet or clayey. However, imported granular fill like AP20 crushed aggregate is generally more reliable and easier to compact. Avoid using topsoil, clay-heavy soil, or any material with roots or organic debris.

Do I need a building consent to backfill a trench in NZ?+

It depends on what the trench is for and where it is. Minor drainage or service trenches on private property may be exempt under Schedule 1 of the Building Act, but you should always confirm with your local council before starting work. Trenches associated with new structures or significant earthworks may require consent.

How long should I wait before paving or concreting over a backfilled trench?+

Even with good compaction, it's wise to allow some time for any residual settlement — at least a few weeks for non-critical areas, or longer in wet conditions. For driveways or structural slabs, consult a professional, as they may recommend compaction testing before you pour concrete.

Is a hand tamper good enough, or do I need to hire a plate compactor?+

A hand tamper can work for very shallow, narrow trenches in granular soil, but it's slow and less effective than a plate compactor. For any trench deeper than about 300 mm or under a hard surface, hiring a plate compactor (wacker plate) is strongly recommended. Most hire centres and Bunnings stores in NZ offer these for daily hire.

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.