Residential Trenching for Drainage, Water and Electrical: What to Know

Published November 3, 2026
Jayden Tittle

Written by

Jayden TittleCo-Founder / Owner

Licensed builder · Decks · Fences · Excavation · Hamilton, ON · Published November 3, 2026

Residential trenching is digging narrow channels to run drainage, water lines, or electrical out across your yard. The work that keeps it safe and legal: mandatory utility locates before you dig, water lines set below the frost line, and an electrical permit for power. Most of it falls under residential excavation work on the average lot.

What residential trenching actually involves

A trench is just a narrow, straight cut in the ground, deeper than it is wide. On a residential lot we dig them to carry one of three things: water away from the house, a fresh water line into the house, or electrical out to a structure. The depth, the slope, and the rules change with the job. A surface drain sits shallow. A water service has to clear the frost line. Power gets its own set of approvals. Same machine, very different specs, and on the older, tighter lots common around Hamilton the access to get a machine into the backyard at all is half the job.

Trenching for drainage

Trenching for drainage is about moving water to where you want it instead of where gravity drops it. The most common version is foundation drainage: a trench dug down beside the footing, weeping tile (perforated pipe) laid in clear stone, wrapped to keep silt out, then sloped to daylight or a sump so groundwater runs away from the foundation instead of pooling against it. Surface and yard drainage is the same idea higher up. We cut a trench, set pipe on a fall, and lead roof and yard water out to a safe outlet. On the heavy clay common up on the Mountain and around Ancaster, water has nowhere to soak away on its own, so a proper drainage trench does the work the soil won't.

Trenching for water lines

A buried water line cannot sit at a depth where it will freeze. The Ontario Building Code requires water service below the frost line, and in the Hamilton and Halton area that working frost depth is about 1.2 m (4 ft) below grade. A line run shallower than that risks freezing solid in a cold snap and splitting. So a water trench is a deep, narrow cut: down past frost, bedded on stable material so the pipe is fully supported, then backfilled so it isn't left sitting on a rock or spanning a void. Near the lakeshore in north Stoney Creek or Aldershot the ground is sandier and easier to dig; up near the escarpment brow in Dundas you can hit shallow soil over rock and the trench gets harder. The frost rule doesn't change either way.

Trenching for electrical

Trenching for electrical is the one with the most paperwork. Running power out to a structure, a detached garage, a shed, or a future hot tub, needs an electrical permit from the Electrical Safety Authority (ESA). A buried cable has to be the right type for direct burial or run in conduit, set at a safe depth, and inspected before the trench gets covered. That inspection is the whole point: once it's backfilled, nobody can see how it was run, so it gets signed off while the trench is still open. We dig the trench, the licensed electrical work and the ESA permit cover the cable itself, and the trench stays open until it passes.

The rules that keep a trench legal

Before any of those trenches gets dug, two things have to be sorted out: what's already buried, and whether the land is regulated.

  • Locates first, always: By law, anyone digging in Ontario has to request locates from Ontario Dig Authority before breaking ground. It doesn't matter if it's one fence post or a full water trench, homeowner or contractor. The request is free, you submit it at least 5 business days ahead for a single property, and the utilities come out to mark their gas, hydro, water, and telecom lines. Digging without locates is an offence under the Act, and hitting an unmarked line is how people get hurt.
  • Conservation authority land: If the trench is near a watercourse, floodplain, or steep slope, a conservation-authority permit can apply under Ontario Regulation 41/24. Which authority depends on the town: the Hamilton Conservation Authority through Hamilton, Ancaster, Dundas, and Stoney Creek; Conservation Halton in Waterdown and Burlington; the Niagara Peninsula Conservation Authority in Grimsby; and the Grand River Conservation Authority in Brantford. Close to Spencer Creek in Dundas or the Grand River in Brantford, that's a real check, not a formality.

Why the backfill matters as much as the pipe

A trench isn't done when the pipe or cable is in. How it gets closed up decides whether it lasts. Pipe set on a rock or left spanning a void can crack under the weight of the soil above it, so the bedding under it has to be right. Backfill goes in and gets compacted in layers, not dumped in one heave, or the ground settles later and you get a sunken line running across the yard. Then the surface gets graded to shed water away from the trench, not into it. Southern Ontario freeze-thaw punishes anything left loose, so the work below grade is where a trench is won or lost.

Staying safe when you dig a trench in the backyard

Digging a trench in the backyard looks simple from the seat of a machine, and that's exactly where people get into trouble. A trench wall can collapse without warning, especially once it's deep, the soil is wet, or someone is standing in it. Keep the excavated spoil back from the edge so it isn't loading the wall. Respect that wet clay and loose fill behave differently than packed ground. And never climb into a deep trench that hasn't been made safe. Depth, slope, and how a trench is held open are job-specific calls, which is why locates, the right equipment, and someone who reads the soil matter more than horsepower.

Frequently Asked Questions

How deep does a residential trench need to be?

It depends on the job. A water service line has to clear the frost line, about 1.2 m (4 ft) below grade in the Hamilton area, so it doesn't freeze. Drainage trenches are set by the slope they need to keep water flowing to an outlet, and electrical depth is set by code and the ESA inspection. There's no single number that fits every trench.

Do I need a permit to dig a trench in my yard?

The trench itself usually doesn't need a building permit, but two rules still bind. You must request free locates from Ontario Dig Authority at least 5 business days before you dig, by law. And running electrical to a structure needs an ESA permit. Near a creek, floodplain, or slope, a conservation-authority permit can apply on top of that.

What's the difference between trenching and excavation?

Trenching is a narrow, deep cut for a single line: drainage, water, or power. Excavation is the broader category that also covers foundations, footings, grading, and bulk digging. A trench is one kind of excavation work. Both start the same way, with locates, and both have to bear or drain on stable ground to hold up through an Ontario winter.

Planning a trench on your Hamilton-area lot?

Whether you're moving water off the lot, running a new water line, or getting power out to a structure, the trench has to be dug to the right depth and signed off before it's covered. The Hammer Construction handles residential trenching and excavation across the Hamilton area: licensed and insured, so the crew that books the locates is the crew that digs. Get a free quote at our online estimator, call or text (647) 424-1148, or email hello@thehammer.construction

About the author

Jayden Tittle
Jayden TittleCo-Founder / Owner

Licensed builder · Decks · Fences · Excavation · Hamilton, ON

Jayden is co-founder of The Hammer Construction and runs the build side of the company, working alongside the crew on decks, fences, and excavation across the Hamilton area. He writes here about doing the job right the first time, the details that make a build last, and what actually holds up to Ontario winters.

Need a quote for your project?

Free, no-pressure on-site estimate from The Hammer Construction, licensed & insured, serving Greater Hamilton.