Skip to content
Wattsmith Electric

Panels

Detached Garage or Shed Electrical: Running Power Out Back

November 23, 2026Last updated 4 min readWattsmith Electric · TECL 41806

Key takeaways

  • A shed with a light and an outlet or two can run on one circuit. A workshop or garage with tools usually needs a feeder and a subpanel.
  • A second building gets its own disconnect and its own grounding, and the feed is buried to the depth the code sets.
  • Garage and outbuilding outlets need GFCI protection, and the work is permitted and inspected in San Antonio.

Detached garage or shed electrical work starts with one question: what will you run out there? A light and a couple of outlets for a lawn mower charger is one circuit. A workshop with a table saw, a compressor, a window unit and a welder is a feeder and a subpanel. Getting that answer right first saves digging the trench twice. The run itself is electrical wiring installation, done to the code for a second building.

Do I need a subpanel or just a circuit?

If the building needs one 120 volt circuit for lights and a few outlets, a single circuit from the house panel can do it. If it needs more than one circuit, any 240 volt tool, or room to grow, a feeder to a small subpanel in the building is the better answer. The subpanel then gives each tool or area its own breaker out there, where you can reach it.

A common middle ground is a feeder sized a little larger than today's needs, so adding a mini split or an EV charger later does not mean a new trench.

How does the power get there?

Usually underground, in conduit or in cable rated for direct burial, from the house to the building. The National Electrical Code sets how deep each wiring method must be buried, and that depth changes with what is above it: lawn, a driveway, or a concrete slab. Overhead runs are allowed too, with their own clearance rules, but most homeowners prefer the wire out of sight.

Before anyone digs, the utility lines get marked. Texas has a free call before you dig service, and we use it on every trench.

Does the shed need its own grounding?

Yes. A separate building supplied by a feeder needs its own disconnect at the building and its own grounding electrode, typically ground rods, bonded to the subpanel. The feeder also carries an equipment grounding wire back to the house. Older installs that tied neutral and ground together at the second building are a common inspection fail, and a shock risk.

If you have an older outbuilding with power, our grounding installation page explains what we check.

Which outlets need GFCI protection?

The code asks for ground fault protection on receptacles in garages and accessory buildings, and outdoors. In a workshop that is most of them. Our guide on where GFCI outlets are required lists the places, and GFCI breakers in the subpanel can cover a whole circuit at once.

Does running power to a shed need a permit in San Antonio?

Yes. A new circuit or feeder is permitted work inside the city, pulled by the licensed electrical contractor on the City's electrical permit application. The inspector usually sees the trench open before it is backfilled and again at the end. The City's amendments to the code are in Chapter 10 of its city code, and cities around San Antonio run their own permit offices.

What should I do next?

Make a list of what you want to run in the building, and pace off the distance from the house panel. We will size the feed, plan the route and write the price before the work starts. If the house panel is already full, the same visit looks at that too. And if an old outlet out there ever runs warm, read our post on a hot or sparking outlet before using it again.

Related help

Where to go from here

Ready to get it handled?

Flat-rate pricing quoted up front. Licensed and insured. A Wattsmith electrician calls you back within 15 minutes during business hours.

  • Licensed and Insured
  • BBB Accredited
  • Flat-Rate Pricing
  • Background-Checked
Call NowGet a Quote