Skip to content
US Home Costs

Electrical

Cost to Run Electricity to a Shed in 2026: Prices & Guide

Running electricity to a shed or detached garage costs $500 to $7,100 in 2026, with most homeowners paying between $1,000 and $3,800 and a national average of $2,500 depending on trench length and amperage.

Updated November 12, 2026 · 16 min read · US Home Costs editorial desk

Planning range

Assumes running a 100- to 150-foot underground feeder line from an existing residential main panel with spare capacity to a standard backyard shed or detached garage, including trenching, conduit or direct-burial cable, grounding, basic interior circuits, and licensed electrician labor.

Typical planning range $1,000 to $3,800. National spread $500 to $7,100.

DIY or hire
Homeowners with basic digging tools can often trench the yard themselves to save $5 to $12 per linear foot, while leaving high-voltage panel connections, feeder sizing, and final inspections to a licensed electrician.
Repair or replace
Minor faults like a tripped GFCI receptacle or damaged junction box are worth repairing for $150 to $450, whereas undersized, ungrounded, or deteriorating underground wiring should be replaced with a code-compliant conduit or UF-B feeder run.

In 2026, the national typical range for the cost to run electricity to a shed or detached garage is $1,000 to $3,800, with a national average of $2,500. Across all project sizes, distances, and installation methods, the total cost to run power to a shed spans from $500 to $7,100. A short 50-foot single-circuit run for a couple of overhead lights and a standard outlet lands near the bottom of that range, while a 200- to 250-foot underground trench feeding a 60- to 100-amp subpanel, 240-volt tool receptacles, and full interior wiring pushes total costs toward the upper end.

Cost to run electricity to a shed at a glance

Planning how to get electricity to a shed starts with comparing distance, trenching labor, and the electrical load inside the outbuilding. The figures below reflect 2026 national residential planning benchmarks for standard backyard sheds, workshops, and detached garages.

Project Scope or TierTypical Cost RangeNational AverageWhat Is Included
Overall Project Range (All Setups)$500 – $7,100$2,500Shortest basic runs to long multi-circuit subpanel builds
Typical Homeowner Project$1,000 – $3,800$2,500100–150 ft underground run, trenching, conduit/cable, basic outlets
Short Single-Circuit Run (50 ft)$500 – $1,250$87520A branch circuit, shallow trench, 1–2 outlets, 1 light fixture
Mid-Range Workshop Feeder (100–150 ft)$1,500 – $3,800$2,650Underground PVC conduit or UF-B cable, grounding rod, 4–6 outlets
Long Run + Subpanel + Interior Wiring (150–250 ft)$3,800 – $7,100$5,450Heavy-gauge feeder, 60A–100A subpanel, full interior rough-in and trim
Overhead Aerial Cable Run (100 ft)$500 – $700$600Triplex/quadruplex overhead service drop, weatherheads, mast hardware

Cost to run electricity to a shed by distance

Distance from the main service panel in the house to the shed wall is the single strongest linear driver of project cost. Every extra foot adds trenching labor, PVC conduit length, and heavy-gauge copper or aluminum conductor footage. On runs beyond 100 feet, electricians also have to upsize the wire gauge to prevent voltage drop, which increases material prices per linear foot.

Run Length (Linear Feet)Underground Installation CostOverhead Installation CostTypical Amperage & Setup
50 feet$500 – $1,250$250 – $50020A single circuit or light 30A feeder
100 feet$1,000 – $2,500$500 – $70020A–50A circuit, standard PVC conduit or UF-B
150 feet$1,500 – $3,800$750 – $3,00050A–60A subpanel feeder, upsized wire for voltage drop
200 feet$2,000 – $5,000$1,000 – $3,00060A–100A subpanel feeder, heavier aluminum or copper conductors
250 feet$2,500 – $6,250$1,500 – $4,000100A subpanel feeder with voltage-drop compensation

Measuring the true cable run

Homeowners frequently estimate distance by pacing a straight line across the lawn, which often undercounts the actual wire needed by 20 to 40 feet. A compliant feeder route has to climb down the exterior house wall from the main panel, travel around concrete patios, septic fields, or tree roots, rise back up into the shed wall, and leave enough slack at both ends for breaker terminations. Always add 15% to 20% to your straight-line yard measurement when budgeting for wire and conduit.

Cost by wiring method and amperage capacity

The cost to run wire to a shed depends heavily on how much electrical power the building needs and whether the cable travels underground or overhead. Under National Electrical Code (NEC) rules, a detached structure can be fed either by a single branch circuit (including a multi-wire branch circuit) or by a feeder supplying a dedicated subpanel.

Wiring Method & CapacityTypical Installed CostBurial Depth (NEC Standard)Best Use Case
Direct-Burial UF-B Cable (15A–20A)$600 – $1,80024 inches (12 inches with GFCI protection)Basic storage shed lighting and small hand tools
PVC Conduit + THWN-2 Copper Wire (30A–50A)$1,200 – $3,50018 inchesBackyard hobby shop, small compressor, space heater
PVC Conduit + Aluminum SER/XHHW Feeder (60A–100A)$1,800 – $4,80018 inchesWoodworking shop, detached garage, EV charger prep
Rigid Metal Conduit (RMC) Run (20A–100A)$2,200 – $6,5006 inchesRocky soil, shallow ledges, or runs beneath driveways
Overhead Aerial Drop (20A–60A)$500 – $3,00010–18 feet above gradeBedrock yards where trenching is impractical

Single branch circuit vs. shed subpanel

A single 20-amp, 120-volt branch circuit is the least expensive way to power a shed because it does not require a subpanel or separate grounding electrode system at the outbuilding. However, once a shed needs both lighting and high-draw equipment—such as a table saw, dust collector, mini-split heat pump, or 240-volt welder—a single circuit will trip constantly. Installing a dedicated subpanel in the shed solves that bottleneck and provides a local main disconnect inside the structure, which is required whenever more than one circuit feeds a detached building. For detailed panel pricing, check the site's subpanel-installation guide.

Copper vs. aluminum feeder conductors

Copper conductors offer superior conductivity and smaller wire diameters, making them easy to pull through 1-inch or 1.25-inch PVC conduit on shorter runs. On runs over 100 feet at 50 to 100 amps, copper prices climb steeply, whereas heavy-gauge aluminum conductors (such as #2 or #1/0 XHHW-2 aluminum) deliver the same ampacity for 30% to 50% less in wire cost. When terminated on rated lugs with anti-oxidant compound and torqued to manufacturer specifications, modern AA-8000 series aluminum feeder wire is completely code-compliant and standard practice for detached garages.

Cost to run electricity to a detached garage vs. a backyard shed

While homeowners often use the terms interchangeably, the cost to run electricity to a detached garage usually runs 30% to 60% higher than wiring a small garden shed. A detached garage typically requires a 60-amp to 100-amp subpanel, automatic garage door opener circuits, motion-activated exterior floodlights, multiple GFCI-protected wall outlets, and sometimes a dedicated 240-volt circuit for an air compressor or Level 2 electric vehicle charger.

Structure Type & SizeTypical AmperageTypical Total CostCommon Interior Fixtures Included
Small Storage Shed (8x10 to 10x12)15A – 20A$500 – $1,6001–2 LED ceiling lights, 1 light switch, 2 GFCI outlets
Hobby Shed or Garden Studio (10x16 to 12x20)30A – 50A$1,400 – $3,4004–6 outlets, 2–4 LED shop lights, exterior sconce, small subpanel
Detached Workshop (14x24 to 20x24)60A – 100A$2,500 – $5,5008–12 outlets, one 240V receptacle, subpanel, grounding rods
Two-Car Detached Garage (20x20 to 24x24)60A – 100A$3,000 – $7,100Subpanel, ceiling opener outlets, exterior security lights, 240V prep

If you are planning to charge an electric vehicle in a detached garage, factor in the separate expense outlined in the site's ev-charger-installation guide, or size your feeder now so the subpanel has spare ampacity later.

Cost per unit: linear foot and component rates

Breaking down the project by linear foot and individual hardware components makes it much easier to compare contractor bids side by side.

Unit / Line Item2026 National Unit PriceNotes
Complete Underground Run (All-In)$10 – $25 per linear footIncludes trenching, conduit, wire, backfill, and terminations
Complete Overhead Aerial Run (All-In)$5 – $15 per linear footIncludes aerial cable, support hardware, and mast fittings
Mechanical Trenching & Backfill Only$5 – $12 per linear footUses walk-behind trencher in normal soil; higher in rock or clay
Schedule 40/80 PVC Conduit$1 – $3 per linear foot3/4-inch to 1.5-inch diameter plus sweeps and couplings
Electrical Wire / Feeder Cable$1.50 – $5 per linear footVaries by gauge (#12 copper up to #2 aluminum or #4 copper)
Grounding Rod & Electrode System$100 – $400Two 8-foot copper-clad rods spaced 6+ feet apart with #6 copper
Electrical Permit & Inspection$50 – $350Municipal or county electrical permit and rough/final inspections
Licensed Electrician Labor$50 – $100 per hourJourneyman rate; master electricians run $90 – $120 per hour

What moves the price

Several physical and electrical variables can swing two seemingly similar shed wiring quotes by thousands of dollars:

  • Trench length and yard obstacles: A straight, unobstructed 75-foot path across soft turf takes an hour or two with a walk-behind trencher. Having to tunnel under a concrete sidewalk, asphalt driveway, paver patio, or mature tree root system adds hand-digging hours or directional boring fees.
  • Soil composition and frost depth: Sandy loam trenches cleanly at $5 to $8 per linear foot, while dense clay, caliche, glacial till, or buried rock can push excavation rates to $12 to $25 per linear foot.
  • Main electrical panel capacity: If your home's main breaker box is an older 100-amp panel with no open breaker slots or limited spare load capacity, you may need tandem breakers, a subpanel, or a full service upgrade before feeding the shed. See the electrical-panel-upgrade guide if your main box is already maxed out.
  • Interior finish of the shed: Running surface-mounted EMT (electrical metallic tubing) conduit or armored MC cable across exposed wall studs inside an unfinished shed is fast and economical. Fishing wires inside insulated, drywalled, or tongue-and-groove finished studio walls increases interior rough-in and trim-out labor.
  • 240-volt equipment and dedicated circuits: Adding a dedicated 240-volt outlet for a woodworking dust collector, compressor, or mini-split HVAC system requires a double-pole breaker, heavier feeder wire, and specialized receptacles, as covered in the 240v-outlet-installation guide.
  • Local labor rates and trip minimums: Electrician hourly rates average $50 to $100 nationally ($90 to $120 for a master electrician), but contractors in high-cost metro areas often charge $120 to $150 per hour plus a two- to four-hour minimum service fee.

Labor vs. materials breakdown

On a typical $2,500 underground shed electrical installation, labor accounts for 60% to 70% of the bill ($1,500 to $1,750), while materials and permits make up the remaining 30% to 40% ($750 to $1,000).

  • Labor expenses cover layout and utility locating verification, mechanical trenching, gluing and laying PVC conduit, pulling conductors, mounting the subpanel, driving grounding rods, wiring interior boxes and fixtures, backfilling the trench, and meeting the municipal inspector.
  • Material expenses cover the feeder breaker in the main panel, Schedule 40 PVC underground pipe, Schedule 80 PVC risers (required where conduit emerges above ground and is subject to physical damage), weatherproof expansion fittings, copper or aluminum conductors, a 60- to 100-amp subpanel, ground rods and clamps, GFCI receptacles, LED fixtures, and wire nuts or lugs.

Because labor represents roughly two-thirds of the total invoice, any site condition that slows down digging or wire pulling—such as a finished basement ceiling blocking access to the main panel—has an immediate impact on the final price.

Hidden or extra costs to plan for

When budgeting to get electricity to a shed, set aside a 10% to 15% contingency for line items that often sit outside a basic feeder quote:

  • Main panel upgrade or load-shedding: If a load calculation shows your existing 100-amp or 150-amp main service cannot support a new workshop subpanel, upgrading to a 200-amp main panel adds $1,500 to $4,000+ on top of the shed run.
  • Sidewalk or driveway boring: Crossing under a 4-foot concrete walkway by hand tunneling adds $150 to $400. Crossing beneath a 20-foot concrete driveway using pneumatic missile boring or cutting and patching concrete can add $500 to $1,500.
  • Private utility locating: Calling 811 marks public utility lines (electric, gas, telecom, water main) for free, but 811 does not mark private lines running from your house to a pool, septic tank, well pump, or yard lighting. Hiring a private utility locator costs $150 to $350 and prevents expensive line strikes.
  • Sprinkler and landscape repairs: Even careful trenching frequently clips shallow PVC irrigation pipes or low-voltage landscape lighting wires, costing $100 to $300 in parts and repair time.
  • Trench settling and topsoil restoration: Freshly backfilled trenches settle over the first few rainstorms. Most electricians rough-backfill the trench with excavated dirt, leaving fine grading, topsoil, and grass seed to the homeowner or a landscaper ($100 to $300).
  • AFCI and GFCI code requirements: Current NEC rules require GFCI protection for all 120-volt, 15- and 20-amp outlets in detached garages and unfinished sheds, plus tamper-resistant and weather-resistant receptacles where applicable, adding $20 to $50 per circuit compared to standard outlets.

DIY or hire

Running electricity to a shed combines heavy physical excavation with high-voltage electrical connections, making it an ideal candidate for a hybrid DIY-and-pro approach rather than an all-or-nothing choice.

Tasks homeowners can often DIY

  • Calling 811 and flagging the route: Free utility marking takes 2 to 3 business days and must happen before any shovel hits the dirt.
  • Digging and backfilling the trench: Renting a walk-behind trencher from a home improvement store costs roughly $120 to $200 per day. Digging the trench to the exact depth specified by your electrician saves $5 to $12 per linear foot in labor.
  • Mounting interior boxes and fixtures: In an unfinished shed, screwing plastic or metal outlet boxes to studs and hanging LED shop lights before the electrician arrives can shave 2 to 4 hours off labor billing.

Tasks best left to a licensed electrician

  • Load calculations and wire sizing: Undersizing a long feeder causes voltage drop that burns out tool motors and creates fire hazards.
  • Main panel tie-in and subpanel termination: Working inside a live residential service panel carries severe arc-flash and electrocution risks, and improper neutral-to-ground bonding in a detached subpanel creates dangerous stray voltage on metal tool housings.
  • Permit sign-off and code compliance: Many municipalities require a licensed electrical contractor to pull the permit or perform the final terminations, and homeowners insurance policies can deny fire claims tied to unpermitted, non-compliant DIY wiring.

Repair or replace

If your shed or detached garage already has electrical power that is flickering, tripping, or dead, deciding whether to repair or replace the line comes down to age, wire type, and physical damage.

  • When to repair ($150 – $450): Repairing makes financial sense when the underground feeder is modern PVC conduit or intact UF-B cable and the failure is isolated to an accessible component—such as a tripped or worn-out GFCI receptacle, a corroded exterior junction box, a loose neutral lug in the subpanel, or a faulty breaker.
  • When to replace ($1,000 – $5,000+): Full replacement is the right call if the shed is fed by an old, ungrounded two-wire cable, a deteriorated cloth-insulated line, an undersized 15-amp extension run that cannot support modern tools, or a buried cable that has suffered insulation breakdown and repeatedly trips a ground-fault breaker. Once underground direct-burial wire fails due to moisture intrusion or root damage, splicing it underground is unreliable; pulling new conductors in conduit or trenching a fresh feeder is safer and more durable.

Signs you need to run dedicated power to a shed

Homeowners frequently start out running an orange outdoor extension cord from a porch outlet to the shed, which is only safe for brief, temporary tool use. Permanent wiring is needed when any of the following apply:

  • Extension cords stay plugged in continuously: Under electrical safety codes, flexible extension cords cannot be used as a substitute for permanent building wiring, nor can they be buried or run through walls and doorways.
  • Breakers trip when starting tools or heaters: Running a miter saw, air compressor, or portable heater over a 100-foot extension cord causes severe voltage drop, overheating the cord and stalling electric motors.
  • You need reliable lighting after dark: Battery-powered or solar shed lights dim quickly in winter and lack the brightness needed for safe workbench or storage access.
  • You plan to climate-control or finish the space: Adding a mini-split heat pump, dehumidifier, freezer, or home office equipment requires dedicated, grounded circuits with proper overcurrent protection.
  • You want backup generator connectivity: If you plan to house a portable generator near an outbuilding or integrate backup power across your property, coordinate layout and transfer rules early using the standby-generator-installation guide.

How to save money on running electricity to a shed

You can trim 20% to 40% off the total cost to get electricity to a shed without cutting safety corners:

  1. Trench the yard yourself: Renting a trencher for a single weekend day and digging to your electrician's required depth (typically 18 inches for PVC conduit or 24 inches for direct-burial UF-B) eliminates the most labor-intensive part of the job. Always have the electrician inspect the open trench before backfilling.
  2. Choose aluminum feeder cable for long runs: On runs over 100 feet feeding a 50- to 100-amp subpanel, ask your electrician to quote aluminum XHHW-2 conductors in PVC conduit instead of copper. You get identical amperage performance at a much lower material price.
  3. Align the shed route with existing walls: Placing the shed subpanel on the wall closest to the house reduces total linear footage, saving money on trenching, conduit, and wire.
  4. Bundle other trenching projects: If you are already renting a trencher to run power to a detached garage or shed, lay a separate low-voltage PVC conduit in the same trench (with proper code separation) for Ethernet internet cable or future irrigation wiring.
  5. Buy your own interior light fixtures: Supplying basic plug-in or hardwired LED shop lights yourself avoids contractor material markups while leaving the rough-in wiring to the pro.
  6. Schedule during slower seasonal windows: Spring and early summer are peak months for outdoor shed and workshop builds. Booking an electrician in late fall or winter (in mild-climate states) often yields faster scheduling and sharper bids.

Regional and climate considerations

Where you live shapes both the installation method and the final price tag:

  • Northeast and Upper Midwest: Deep frost lines (36 to 48 inches) do not require electrical conduit to be buried below frost depth under NEC rules, which only require 18 inches for PVC conduit. However, frost heave makes expansion couplings mandatory where vertical conduit rises out of the ground into the house and shed walls. Higher metro labor rates ($90 to $130/hour) also push total project costs toward the upper half of national ranges.
  • South and Southeast: Warm weather allows year-round trenching in sandy or clay soils, keeping excavation costs closer to $5 to $9 per linear foot. High humidity and heavy thunderstorm activity make whole-house surge protection and weather-resistant exterior enclosures especially worthwhile.
  • Southwest and Rocky Mountain States: Caliche hardpan, granite ledges, and rocky soil can double trenching time or require rock-saw attachments and rigid metal conduit (which only needs 6 inches of cover under NEC Table 300.5). In arid regions, UV-resistant Schedule 80 PVC is essential for any exposed sunlight risers.
  • Pacific Northwest: Heavy winter rainfall makes watertight underground conduit glue joints and elevated weatherproof disconnect boxes critical so groundwater cannot migrate into indoor panels.

How to hire a licensed electrician and questions to ask

Collect at least three itemized quotes from licensed, insured electrical contractors—visit the site's electrician-cost guide for broader rate benchmarks before comparing bids. Before signing a contract, ask each bidder these specific questions:

  1. Does your quote include the electrical permit, municipal inspection fees, and 811 utility locating? Permits typically run $50 to $350, and skipping them leaves you liable during a home sale or insurance claim.
  2. Are you quoting PVC conduit with individual conductors, direct-burial UF-B cable, or overhead service? Make sure every bidder is pricing the same installation method and burial depth so you can compare apples to apples.
  3. What wire gauge and conductor material (copper vs. aluminum) are included for my distance? Verify that the contractor factored voltage drop into the wire gauge for runs over 100 feet.
  4. Does my main electrical panel have enough spare capacity, or does this quote include load-calculation adjustments? Ask them to check your main panel before locking in a fixed price.
  5. Who is responsible for trenching, backfilling, and repairing any cut sprinkler lines or sod? Clarify whether the electrician includes machine trenching or expects you to hire an excavator or dig the trench yourself.
  6. Will the shed get a dedicated subpanel and grounding electrode system? Confirm that any multi-circuit shed installation includes a local disconnect and two 8-foot ground rods bonded properly at the shed.

Common questions

Answers describe national planning ranges, not your house.

How much does it cost to run electricity 100 feet to a shed?

Running electricity 100 feet underground to a shed typically costs between $1,000 and $2,500 in 2026, depending on whether you install a single 20-amp branch circuit or a larger 50- to 60-amp subpanel feeder. An overhead aerial cable run of 100 feet costs less, averaging $500 to $700, while adding a subpanel and full interior outlet and lighting wiring can push the total closer to $3,500.

How deep do you have to bury electrical wire to a shed?

Under the National Electrical Code (NEC Table 300.5), standard Schedule 40 or 80 PVC conduit must be buried at least 18 inches below grade, while direct-burial UF-B cable generally requires 24 inches of cover. A single 120-volt, 20-amp residential branch circuit protected by a GFCI breaker at the main panel can be buried at 12 inches, and Rigid Metal Conduit (RMC) only requires 6 inches of cover.

Is it cheaper to use PVC conduit or direct-burial UF-B cable?

For a short, single 20-amp circuit, direct-burial UF-B cable is slightly cheaper upfront because you skip buying and gluing PVC pipe. For longer runs or subpanel feeders, pulling individual THWN-2 copper or XHHW-2 aluminum conductors through PVC conduit is often similar in total cost, offers far better physical protection against shovels and rocks, and lets you upgrade wires later without re-digging the trench.

Do I need a subpanel in my shed or detached garage?

You do not need a subpanel if you are running a single 15- or 20-amp branch circuit (or a single multi-wire branch circuit) for basic lights and a couple of standard outlets. However, NEC rules require a dedicated subpanel and a local disconnecting means whenever a detached shed or garage needs multiple circuits—such as running power tools, a space heater, a mini-split, or a 240-volt outlet at the same time.

Can I dig the trench myself to save money on running power to a shed?

Yes, most electricians welcome homeowners digging and backfilling the trench themselves, which can save $5 to $12 per linear foot in labor. Before digging, call 811 to mark public utilities, confirm the exact burial depth and conduit sweep requirements with your electrician, and leave the trench open until the electrician and local building inspector approve the conduit or cable placement.

Ranges for work that often shows up in the same season as this project.