Protection & Smart Home · Reading

Cost to Run Power to a Shed, Garage or Outbuilding

National rangeREV JUN 26
$1,500$4,500
typical

Running power to a detached shed or garage typically costs $1,500 – $4,500, with trenching at $10 – $25 per foot and a 60A subpanel adding $700 – $2,000. A simple 20A circuit to a nearby shed can land at $800 – $1,500, while a fully wired garage with its own subpanel sits at the upper end. Distance from the house and how the cable is buried drive the number.

Lines open 24/7Price reference · Reviewed June 2026
Talk it through
Lines open 24/7

Talk through this project

Describe the job, get matched with a local licensed pro on the line.

(612) 353-8317

New installs, replacements & repairs · No obligation

Cost to run power to a shed or garage by scope
ScenarioTypical range
Single 20A circuit, nearby shed$800 – $1,500
Detached shed with subpanel$1,500 – $3,500
Detached garage, fully wired$2,500 – $4,500
Long run (over 100 ft)$3,500 – $7,000+
Overhead run instead of buried$800 – $2,500
Where the cost goes
Line itemTypical range
Trenching$10 – $25 per ft
Conduit and wire$3 – $12 per ft
60A subpanel installed$700 – $2,000
New breaker in main panel$100 – $300
Permit and inspection$100 – $400
Lines open 24/7

Want a real number instead of a range?

Calls are answered around the clock and routed to a licensed electrical pro serving your area.

(612) 353-8317
How it works
01

Call & describe the job

Tell us what you need: a new install, an upgrade, or something that stopped working.

02

Get matched on the line

You are connected with a local licensed electrical pro who serves your area.

03

Compare your numbers

Use the ranges on this page to sanity-check the quote before you commit.

What drives the cost: distance and the trench

The single biggest variable is how far the outbuilding sits from the house panel, because the run is priced largely by the foot. Trenching alone is $10 – $25 per foot, and that range swings on soil: easy turf trenches fast, while rocky ground, tree roots, and crossing a driveway or patio push the high end or require boring under the obstacle.

Distance also forces wire upsizing. Long runs lose voltage, so the electrician steps up the conductor gauge to compensate, and heavier copper or aluminum costs more per foot. A 30-foot run to a backyard shed and a 150-foot run to a back-lot garage are different projects even at the same amperage. If the main panel feeding the run is already full, a panel upgrade may need to come first.

Burial depth and conduit rules

Code sets minimum burial depths that the electrician must meet, and the method changes the cost. Direct-burial cable (UF) in a trench can go deeper, often around 24 inches, while wire in rigid or PVC conduit can sit shallower, around 18 inches, because the conduit protects it. GFCI protection is required on the circuit, and the depth under a driveway is greater than under a lawn.

Conduit costs more in parts than direct burial but adds protection and makes future wire pulls or upgrades possible without re-trenching. Many electricians run conduit for that reason, and some jurisdictions effectively require it for the supply to a detached structure. The shallower allowed depth for conduit can also reduce trenching labor.

When you need a subpanel

A single 20A circuit covers a shed used for lights, a charger, and a couple of outlets, and it is the lower-cost path at $800 – $1,500 for a nearby structure. But once you want multiple circuits, a workshop with power tools, a heater, or an EV charger, a subpanel in the outbuilding is the right call.

A 60A subpanel installed runs $700 – $2,000 and gives the structure its own breakers, so you can branch circuits locally instead of running many separate cables from the house. Code also has specific rules for feeding a detached building, including a grounding electrode (a ground rod) at the outbuilding and proper separation of the neutral and ground in that subpanel. Those requirements are part of why a subpanel feed is inspected.

Buried vs overhead, and permits

Where local rules allow it, an overhead run on a messenger cable between the house and the structure avoids trenching entirely and can drop the cost to $800 – $2,500. The trade-off is appearance, clearance requirements over driveways and walkways, and exposure to weather and falling limbs. Many homeowners prefer buried for a clean look, accepting the trench cost.

Either way, running a feeder to a detached structure is permitted, inspected work in nearly every jurisdiction. The permit and inspection ($100 – $400) protect you on resale and insurance, and the inspection confirms burial depth, grounding, and GFCI protection were done correctly. This is not a job to leave unpermitted.

Lines open 24/7

Ready to get it handled?

One call, no obligation. Describe the job and compare the quote against the ranges above.

(612) 353-8317
Common questions
How much does it cost to run power to a shed?
A simple 20A circuit to a nearby shed runs $800 – $1,500, while a shed with its own subpanel costs $1,500 – $3,500. The biggest variables are trenching at $10 – $25 per foot and the distance from the house panel. Long runs over 100 feet can reach $3,500 – $7,000 or more.
How much does it cost to wire a garage?
A fully wired detached garage with a 60 – 100A subpanel and multiple circuits runs $2,500 – $4,500. The subpanel itself is $700 – $2,000 installed, plus trenching and wire by the foot. An attached garage costs less because the run from the main panel is short.
How much does it cost to run electricity to a garage?
Running electricity to a detached garage typically costs $1,500 – $4,500, driven by trenching at $10 – $25 per foot plus a subpanel at $700 – $2,000. An overhead run, where local code allows it, can lower the cost to $800 – $2,500 by avoiding the trench.
How much does underground electrical line installation cost?
Underground line costs $10 – $25 per foot for trenching plus $3 – $12 per foot for conduit and wire, sized to the amperage and distance. Soil conditions, crossing driveways, and required burial depth (around 18 inches in conduit, 24 inches direct-burial) drive the per-foot figure.
Do I need a subpanel for my shed or garage?
A single 20A circuit is enough for lights and a few outlets in a nearby shed. You need a subpanel ($700 – $2,000 installed) once you want multiple circuits, power tools, a heater, or an EV charger, since it gives the building its own breakers and a local grounding electrode.
Do I need a permit to run power to an outbuilding?
Yes, in nearly every jurisdiction. Running a feeder to a detached structure is permitted, inspected work, typically $100 – $400, and the inspection verifies burial depth, grounding, and GFCI protection. Unpermitted work creates problems at resale and with insurance claims.
Related guides
Call (612) 353-8317