Planning to run electrical lines underground? Before you grab a shovel, it’s important to understand how trenching works.
Underground trenching is the first step when installing outdoor lighting, powering a detached garage, or upgrading outdated wiring. It keeps your system protected, code-compliant, and built to last.
This guide explains what homeowners need to know—depth requirements, safety rules, equipment, and total costs—so you can make smart decisions before digging.
What Is Underground Trenching?
Underground trenching is the process of digging a narrow, deep channel to lay utilities like electrical conduit, water pipes, gas lines, or irrigation. In residential settings, trenching is often used to:
- Connect electricity to detached buildings
- Install low-voltage landscape lighting
- Run wires to pool equipment
- Upgrade buried service lines
- Replace old or damaged underground cables
The trench protects the wire from damage, weather, and moisture. Most jobs require a trench between 18–24 inches deep, though exact requirements vary.
Why Go Underground?
Running wires underground has major benefits:
- Improved Curb Appeal: No unsightly overhead wires
- Safer Installations: Less exposure to wind, falling branches, or accidental contact
- Longer Lifespan: Protected wiring lasts longer when buried properly
- Increased Flexibility: Reach areas where overhead wiring isn’t an option
If your project involves permanent outdoor electrical access, trenching may be the cleanest and safest solution.
Common Homeowner Projects That Require Trenching
Knowing when you’ll need trenching helps you plan better. Here are the most common home projects that involve underground trenching:
1. Detached Garages and Workshops
Running power to a structure not attached to your home? You’ll need a trench to carry wire from your main panel to a subpanel in the detached building.
2. Landscape Lighting
Low-voltage lighting circuits often need shallow trenches to keep cables safe while powering walkways, trees, or accent lighting.
3. Pool and Spa Equipment
Pumps, heaters, and lighting around pools usually require conduit buried to meet code.
4. EV Charger Installations
Some outdoor EV charger setups call for trenching, especially when installing far from the main electrical panel.
5. Upgrading Electrical Service
Trenching is often part of moving or upgrading your main service line—especially if it’s being relocated underground for safety or visual reasons.
How Deep Should Underground Electrical Lines Be?
Depth matters when it comes to trenching. Dig too shallow, and your wiring may be exposed to moisture, shifting soil, or physical damage. Go too deep, and you could waste time and money or hit existing utility lines. Here are some factors to consider:
- Conduit material (PVC, metal, or direct burial wire)
- Wire voltage
- Local codes
- Soil type and terrain
Here’s a general breakdown for residential use:
| Type of Wiring | Minimum Burial Depth |
| UF Cable (no conduit) | 24 inches |
| PVC Conduit (with individual wires) | 18 inches |
| Rigid Metal Conduit | 6 inches |
| Low-voltage Lighting (under 30V) | 6–12 inches |
Always check with your local electrical code. It can vary by city or county.
What Equipment Is Used for Trenching?
Trenching equipment can range from basic hand tools to heavy-duty machines, depending on the size and complexity of the job. Knowing what tools are needed helps you plan smarter and avoid unnecessary delays.
- Shovel and Trenching Spade: For short, shallow runs in soft soil
- Walk-behind Trencher: For clean, narrow cuts up to 36 inches deep
- Mini Excavator: For longer or deeper trenches in tough terrain
- Directional Boring Tools: To run conduit beneath driveways or walkways without damage
- Utility Locator: Essential before digging to mark gas, water, cable, or sewer lines
A reputable electrical contractor will bring the right gear based on your site and soil.
What to Know Before Digging
Digging without preparation can put your property and safety at risk. Many homeowners don’t realize how many steps come before the first scoop of dirt. Before you or your contractor breaks ground, check these boxes:
1. Call 811
In the U.S., calling 811 connects you with your state’s utility locating service. They’ll mark underground gas, water, and electrical lines—free of charge.
2. Secure Permits
Most trenching projects require city permits, especially when running power or making electrical upgrades.
3. Understand NEC Code
The National Electrical Code outlines what type of wire, conduit, and burial depth is required. Even minor projects must follow code.
4. Get an Inspection
Before backfilling the trench, an inspector may need to sign off. Missing this step can lead to fines or delays.
Can Homeowners Dig Their Own Trenches?
Yes, but it’s not always a good idea. DIY trenching might be reasonable if:
- The trench is under 20 feet
- The soil is soft
- You’re only running low-voltage lighting or sprinkler wire
Avoid DIY trenching if:
- The trench must go under concrete or driveways
- You’re connecting high-voltage lines
- You’re not sure where underground utilities are
- Local code requires inspection and permits
What Happens After Trenching?
Digging the trench is only the beginning. What happens next plays a major role in the safety, durability, and compliance of your electrical system. Here’s what comes next:
- Laying Conduit: PVC or metal conduit is placed into the trench to protect the wires.
- Pulling Wire: Electrical wire is fed through the conduit.
- Securing Conduit: The conduit is stabilized and checked for level and spacing.
- Inspection: A city inspector checks conduit placement and depth before backfill.
- Backfilling: Soil is added back in layers and compacted to prevent future settling.
- Final Connections: Wires are connected to the panel or outlet.
What Does Underground Trenching Cost?
Trenching costs can vary widely depending on the details of your project. To budget accurately, consider the following factors
- Total trench length
- Depth and soil conditions
- Type of conduit and wire
- Site access
- Permits and inspection fees
The average cost for residential underground trenching ranges from $10 to $25 per linear foot. This estimate typically includes both materials and labor, though complex projects or difficult soil conditions may push the total higher.
A full project—including conduit, wire, labor, and inspection—could run $1,000 to $3,000+, depending on your setup.
To get a clear estimate, contact a licensed contractor for an on-site quote.
Questions to Ask Your Electrician
Not all trenching jobs follow the same process. Before you hire an electrician, ask the right questions upfront to save time, money, and future problems.
- What trench depth and conduit will be used?
- Will you handle 811 and permits?
- Can you show proof of license and insurance?
- Will the work be inspected?
- What is included in the quote?
KSB Electric provides professional underground trenching with clear answers, transparent pricing, and safe, code-compliant work. We handle everything, from permits and inspections to conduit installation and cleanup.
Ready to get started?
Request a quote or call us to schedule a site evaluation. We’ll help you get your project moving safely and up to code.

