To run electric to a garden, plan a GFCI-protected circuit, dig to code depth, use rated cable or conduit, and weatherproof all boxes.
Adding power outdoors lets you run pumps, lights, heaters for seedlings, and string lights without dragging cords from the house. This guide shows a clean, code-aligned approach from planning to inspection. You’ll learn how to pick the wiring method, trench to the right depth, mount weather-rated boxes, and finish with tests that keep people and gear safe.
What You’ll Achieve And When To Call A Pro
You’ll extend a dedicated circuit from the main panel to a post, wall, or small structure in the yard. The endpoint can be a single covered outlet, a switch loop for lights, or a tiny subpanel for a shed. Bring in a licensed electrician if you need a multi-circuit feeder, aluminum conductors, trenching across shared property lines, or service upgrades. If soil hides rock, tree roots, or unknown utilities, pro help saves patchwork later.
Safety, Permits, And Code Basics
Start with a simple plan drawing. Pull a permit where required. Book a utility locate so buried lines get marked before any digging. Use parts listed for wet locations. Outdoor receptacles need ground-fault protection, weather-resistant devices, and in-use covers so a plug stays protected while connected. Burial depth is measured from finished grade to the top of the wiring method per the NEC article on wiring methods; your trench depths come from the underground cover table adopted in your area (NEC Article 300 overview).
Underground wiring uses one of three common paths: direct-burial cable, nonmetallic conduit with individual conductors, or rigid metal conduit for shallow, protected runs. Low-voltage landscape cable can sit much shallower, but it must not share a conduit with 120 volts. The chart below lists typical depths and notes so you can pick the right method before you open the ground.
Underground Methods And Minimum Cover
| Method | Minimum Cover | Notes |
|---|---|---|
| UF-B direct burial (120V) | 24 in. | Use cable marked UF; add warning tape 12 in. above. |
| PVC (Sch. 40/80) with THWN conductors | 18 in. | Glue joints; use long sweeps for easier pulls. |
| Rigid metal conduit | 6 in. | Corrosion-resistant; bond fittings well. |
| Landscape lighting cable (≤30V) | 6 in. | Keep in a separate trench path or separate raceway. |
Running Power To Your Garden – Step-By-Step
1) Map The Route And Loads
Sketch the path from panel to garden. Avoid roots and irrigation. List gear you’ll power: path lights, a fountain pump, a pond aerator, heat cables, or a future shed light. Add wattage and leave 25% headroom. For a single outdoor outlet or a few lights, a 20-amp, 120-volt branch circuit with copper conductors is a common pick. Mark any pool or hot tub zone; outlets near water have spacing rules and must sit on ground-fault protection.
2) Pick Cable Or Conduit
Choose direct-burial UF-B when you want the simplest trench and fewest parts. Pick PVC conduit with THWN conductors if you want easy replacement later or your soil is rocky. Rigid metal conduit works for shallow transitions near driveways and patios. Keep low-voltage in a separate raceway so signals don’t mix with line voltage.
3) Gather Materials
Buy enough cable or conductors to cover the full route with slack. Add PVC primer and cement, male adapters, and bushings if you’re using pipe. Use a deep exterior box and an extra-duty bubble cover. Select weather-resistant (WR) receptacles. Pick a GFCI breaker at the panel or a GFCI at the first box. Grab duct seal for the wall penetration, expansion fittings for long PVC runs, stainless screws, and warning tape for the trench.
4) Shut Off Power And Prep The Panel
Open the main disconnect or switch off the feeder to the branch space you’ll use. Verify dead with a two-pole tester. Mount the new breaker sized for the circuit. Land the equipment grounding conductor on the ground bar and the neutral on the neutral bar only for a branch circuit. If you’re feeding a detached structure, keep neutrals and grounds isolated in the subpanel and add a grounding electrode system at that structure.
5) Drill And Seal The Exit Point
Drill through the rim joist or sill at the chosen exit. Install a connector or male adapter with a bushing sized for the conductors. Seal open space with duct seal to block vapor and insects. Angle penetrations slightly downward toward the exterior so any water drains out.
6) Trench To Code Depth
Cut a neat trench to the depth that matches your wiring method. Smooth the bottom so nothing sharp presses into cable or conduit. Where the run passes under a walkway, sleeve with PVC and add depth to reduce frost lift. Backfill with clean soil, placing warning tape roughly halfway up the trench so future digs see a bright flag before reaching the line.
7) Set Boxes, Posts, And Conduit
Mount an exterior box on a treated post or a stable wall. Set the box 12 to 18 inches above grade to stay out of splash zones. Strap PVC within 3 feet of each box and every 3 to 4 feet along the path. Use long-radius sweeps and keep pulls gentle. If you’re feeding a tiny subpanel in a shed, add a local disconnect at the point of entry and label it clearly.
8) Pull Conductors And Make Up Terminations
For conduit, pull THWN conductors with lube and a rope. Follow color codes: black or red hot, white neutral, green ground. Leave drip loops before entries. For direct-burial cable, avoid underground splices; if one is unavoidable, use a listed kit rated for wet locations and bury it at the same depth as the rest of the run.
9) Weatherproof Every Device
Install a WR receptacle and an extra-duty in-use cover so a cord remains protected while plugged in. In-use covers must stay weatherproof with the plug inserted per the outdoor cover rule; pick a hood listed as “extra-duty” (NEC 406.9 wet-location cover). Use gaskets and stainless screws. Where spray hits often, add a small overhang or shield.
10) Bond, Test, And Backfill
Make the final terminations in the panel. Snap in the GFCI breaker or set a feed-through GFCI at the first box. Test the GFCI with its button and verify trip. Check polarity and voltage at the outlet. Once tests pass, backfill in lifts and tamp lightly so the trench settles evenly across the season.
Clear Rules Near Water Features
Outlets near pools, spas, and similar basins must sit beyond a clearance band and must have ground-fault protection. Many jurisdictions require at least one general-purpose outdoor outlet 6 to 20 feet from the water’s edge, with the distance measured without going through a door or window. Luminaires near water also have height limits above the maximum water level. Plan boxes and conduit before you pour concrete or set a tub so you meet these distances cleanly.
Weatherproofing Must-Haves
| Location | Required Protection | Notes |
|---|---|---|
| Wet area (rain/snow) | WR device + extra-duty in-use cover | Cover stays closed over a live cord. |
| Damp area (under roof) | WR device + cover | Protected from direct spray; keep gaskets intact. |
| Outdoor outlet near grade | GFCI protection | Breaker-type or first-box GFCI both satisfy the rule. |
Conductor Size And Voltage Drop
Long runs lower voltage at the far end. Aim for 3% to 5% drop or less. Short garden runs on 12 AWG handle small pumps and strings of lights with ease. Past 100 feet, stepping to 10 AWG steadies motor starts and keeps heaters from sagging. Aluminum feeders to a shed need upsizing and antioxidant compound on lugs. Match conductor metal to terminals and follow torque specs on breakers and devices.
Sample Material List
Here’s a lean bill for a 20-amp branch circuit feeding a single outdoor post. Adjust lengths for your site:
- 1 × 20-amp GFCI breaker (or 1 × standard breaker + 1 × GFCI receptacle)
- 75–150 ft UF-B 12/2 with ground, or THWN conductors in PVC as the route demands
- 1–2 long-radius PVC sweeps, couplings, male adapters, bushings, and straps
- 1 × deep exterior box with gasket + extra-duty in-use cover
- 1 × WR duplex receptacle and weather-rated plate
- Duct seal, expansion coupling for long PVC runs, pull rope, wire lube
- Warning tape, treated post, stainless screws, and a bag of gravel for the base
Permits, Inspections, And Common Misses
Inspectors check burial depth, support spacing, listed parts, and tidy terminations. They test GFCI function, look for box fill compliance, and confirm clear labeling at any detached-structure disconnect. A subpanel at a separate building needs bond-neutral isolation and ground rods per local amendments. Keep the trench open for rough inspection. Snap photos of depth and route before backfill; those shots help during finals or future changes.
120 Volts Or Low Voltage?
Line voltage (120V) powers pumps, heaters, and any outlet for tools. Low-voltage (12–24V) is great for path lights and accent spots, with small transformers near the outlet. Keep systems separate so maintenance stays simple. Low-voltage cable can run shallower, yet it still deserves smooth trenches and protection from stones. If you expect both, run them in separate conduits with clear labels at each end.
Cost And Time Planning
Material costs scale with trench length and method. UF-B is cheap per foot and fast to place. PVC adds fittings and glue time, yet makes future upgrades painless. Rigid metal costs more and takes threading or fittings, but it solves shallow crossings at driveways. Budget a weekend for a basic post with one covered outlet and lights. Add a day for conduit bending and an inspection window for rough and final.
Troubleshooting After Power-Up
If the GFCI trips right away, unplug loads and reset. If it holds with no load, hunt downstream for damp connections, cracked covers, or a nicked cable. If lights dim when a pump starts, shorten the run, upsize conductors, or move the pump to a dedicated circuit. If a tester shows open neutral, open the first box and check wirenuts and device back-wire clamps. Fix loose terminations and re-torque to label specs.
Care And Seasonal Upkeep
Press the GFCI test button each spring. Replace any cover that sticks or won’t latch. Keep mulch below the lid so the door shuts over a cord. After storms, open covers and look for moisture before you plug in. Update your sketch and panel label when you add fixtures or change loads. When you swap to a larger fountain or a pond heater, recheck amp draw against circuit rating and distance.
Final Walkthrough
You mapped the route, chose a method that fits the site, trenched to the right depth, used listed parts, sealed entries, and tested protection. The payoff is a tidy, durable line that powers garden gear without hassles. For reference, outdoor outlets need GFCI protection under the modern code cycle, and wet-location devices require weather-resistant construction with an in-use cover that stays sealed while a cord is plugged in (GFCI rules for outdoor outlets and wet-location cover rule).
