At a glance
- Homewyse trench cost
- $11.55 – $27.49 / linear ft Homewyse calculator
- Basic trench, contractor
- $4 – $12 / linear ft Airtasker cost data
- Shallow irrigation / low-voltage
- $6 – $25+ / linear ft Cojo Asphalt (OR)
- Mini excavator + operator
- $80 – $130 / hr our excavation cost guide
- Job minimum
- $500 – $800 most excavation contractors
- Cave-in protection
- required at 5 ft deep OSHA 29 CFR 1926.652
- Before any digging
- call 811 free, and required
How much does trenching cost per foot?
Trenching usually costs about $4 to $28 per linear foot, depending on depth, soil and what goes in it. Homewyse's calculator puts a typical trench at $11.55 to $27.49 per foot, while basic shallow trenching can start around $4 to $12 a foot.
Most contractors also carry a job minimum of $500 to $800, so a 40-foot trench often costs the same as a 100-foot one.
| Trench type | Typical range | Average | Basis |
|---|---|---|---|
| Irrigation / low-voltage (6 – 12 in) | $6 – $25+ / ft | — | Cojo Asphalt |
| Basic shallow trench (12 – 24 in) | $4 – $12 / ft | — | Airtasker |
| General utility trench (18 – 36 in) | $11.55 – $27.49 / ft | — | Homewyse |
| Deep, rocky or near structures (4 ft+) | well above these ranges | — | rock and shoring |
Last updated: · Reviewed by Nisar Dalvi
Ranges are dig-and-backfill. Pipe, wire, conduit and the trade that installs them are usually extra.
How much does a long rural utility run cost?
Multiply the per-foot rate by the length, then add the minimum and the materials. On rural land, length is the whole story.
| Run | Length | Digging cost |
|---|---|---|
| Well to house | 150 ft | $600 – $4,200 |
| Barn or shop line | 200 ft | $800 – $5,600 |
| Meter to house | 300 ft | $1,200 – $8,400 |
| Road to a set-back house | 500 ft | $2,000 – $14,000 |
Rock, wet ground or deeper burial pushes toward the top. Trenching once for several lines saves real money. Where code allows, power, communications and water can share a trench with the required separation — ask your electrician and plumber before the machine shows up.
How deep does each utility line need to be?
Depth depends on the line, the code and your frost line. Deeper trenches cost more per foot, so get the right depth from the trade before you hire the digging.
- Electrical: the National Electrical Code sets minimum cover by wiring method. Direct-buried cable needs more cover than cable in rigid conduit. Your electrician or inspector sets the depth.
- Water lines: must sit below the local frost line so they don't freeze — a few inches in south Texas and Florida, several feet in northern states.
- Septic and sewer lines: set by the septic design and the slope needed to flow by gravity.
- Gas lines: set by the gas utility or code, with tracer wire required in many areas.
Why does trenching cost more in some soils?
Because the machine slows down. Price per foot is really an hourly rate divided by how fast the trencher moves.
- Sand and loam cut fast, but walls can cave.
- Clay cuts well dry and sticks when wet.
- Rock can stop a chain trencher and need an excavator with a breaker.
- Roots on newly cleared land jam chains and slow digging.
- Wet ground means pumping and slower work.
As one contractor on a heavy-equipment forum put it, some hours dig 10 feet and some dig 200. That's why open-ended jobs get billed hourly.
Trencher or mini excavator — which is cheaper?
A chain trencher is usually faster and cheaper for long, narrow runs in soft ground. A mini excavator handles rock, roots and wide trenches better.
| Chain trencher | Mini excavator | |
|---|---|---|
| Best for | long straight utility runs | rock, roots, wide trenches, tight turns |
| Trench width | narrow | wider |
| Speed in good soil | very fast | slower |
| Typical hourly rate | varies | $80 – $130 with operator |
The excavator rate is from our excavation cost guide. Many contractors own both and pick based on your soil.
Is trenching dangerous?
Yes — trench collapse is one of the deadliest hazards in construction. OSHA requires a protective system on any trench 5 feet or deeper, unless it's entirely in stable rock.
Protection means sloping the walls, benching, shoring, or a trench box. For trenches under 5 feet, a competent person still has to check the ground for signs of a cave-in (29 CFR 1926.652).
Most utility trenches are shallower than that, but septic lines, basement drains and deep water lines in cold climates can go deeper. Never step into a deep, unprotected trench.
Do I need to call 811 before trenching?
Yes, every time — it's free and legally required, including for homeowners. Utility owners mark their buried lines before you dig.
811 marks utility-owned lines only. Private lines — your well line, a line to the barn, irrigation — aren't marked. Use a private locator or old site plans for those.
Can I dig a trench myself?
For a short, shallow run in soft soil, yes, with a rented trencher. Long runs, rock, or trenches near foundations are usually better left to a pro.
Two things trip up DIY jobs: hitting an unmarked private line, and backfilling badly so the trench settles into a ditch. Compact the backfill in layers, and mound it slightly to allow for settling.
Who do I hire to dig a trench?
An excavation contractor, a utility trenching company, or the trade installing the line. Electricians and plumbers often subcontract the digging.
Ask each bidder:
- Is the price per foot, per hour, or lump sum?
- What's your minimum?
- What depth and width did you price?
- Is backfill and compaction included?
- What happens if you hit rock?
- Who calls 811?
Estimate the dirt volume with the excavation cost calculator. Trenches usually follow the well and septic — see well pump installation cost — and come before final grading. For the whole earthwork budget, see site preparation cost.
Where this fits
This page covers one part of a larger job. The service hub explains how the whole thing works, what it costs, and how to hire for it.
Sources
Every figure on this page traces back to one of these. Open them and check us — that is what they are here for.
- OSHA — Trenching and Excavation Protective systems required for trenches 5 feet deep or more.
- OSHA — Trenching and Excavation Safety Federal excavation-safety requirements for protective systems and engineering.
- 811 — Call Before You Dig Free utility locating, required before digging.
Links verified November 2026. Tell us at info@landclearingandexcavation.com if one has moved.
Frequently asked questions
How much does it cost to dig a trench per foot?
About $4 to $28 per linear foot, with Homewyse putting a typical trench at $11.55 to $27.49.
How much does it cost to dig an electrical trench?
Often in the same $4 to $28 per foot range for the digging, plus the conduit, wire and electrician.
How much to dig a 300-foot trench?
Roughly $1,200 to $8,400 at $4 to $28 a foot, before materials.
How deep can a trenching machine dig?
Depends on the machine. Walk-behind trenchers dig shallow utility trenches; ride-on and track trenchers dig several feet deep.
Who do I hire to dig a trench?
An excavation or utility trenching contractor, or the electrician or plumber installing the line.
What is the 5-foot rule for trenching?
OSHA requires cave-in protection on trenches 5 feet or deeper, unless they're entirely in stable rock.
Get quotes from local contractors
Tell us about the job and we will pass it to licensed contractors who work in your area. No cost, no obligation.
