Licensed & Insured · MD License 7788 · Family-Owned Since 2005

Subpanel for a garage or workshop: sizing, code and installation

When a garage, workshop or pole barn needs its own breaker panel, how to size it, what the code requires for detached buildings, and how the feeder gets there.
Subpanel on the wall of a detached garage workshop in Fallston, MD

On this page

Short answer · 11 min read

A garage or workshop needs a subpanel when it needs more than one or two circuits, any 240-volt tools, heat or an EV charger. The subpanel is fed by one feeder from the main panel. Detached buildings need a four-wire feeder, neutral and ground kept separate, a disconnect at the building and their own grounding electrode. Most garage subpanels are 60 or 100 amps.

Key takeaways

Garages, workshops and pole barns outgrow a single outlet fast. A table saw, an air compressor, a welder, a heater and an EV charger can’t share one circuit run out from the house. This post, part of our electrical panel guide, explains when a subpanel is the right answer, how to size it, and what the code requires when the building stands apart from the house.

A subpanel is a second breaker panel fed by a single large circuit, called a feeder, from your main panel. It puts breakers close to the loads, gives you room for new circuits and lets you shut the whole building off from one place. We see a lot of these in Fallston and Jarrettsville, where one-acre lots, detached garages and pole barns are common, so the long-feeder questions get extra attention below.

Do you need a subpanel for a garage or workshop?

You need a subpanel when the garage or shop needs several circuits, any 240-volt equipment, or a large load like a heater or EV charger. If all you want is lights and a couple of outlets for a battery charger, one dedicated circuit is often enough.

The rule that tips many detached buildings toward a subpanel is NEC 225.30, which generally allows only one feeder or one branch circuit to supply a separate building. A multiwire branch circuit counts as one circuit, which can give you two 120-volt circuits, but once you want a 240-volt tool plus lights plus outlets, a subpanel fed by one feeder is the clean way to do it.

Single circuit or subpanel? A quick guide

What the building needsUsually enoughWhy
Lights and one or two outletsOne 20-amp circuitLight loads, simple wiring
Lights, outlets and a freezer or fridgeOne 20-amp circuit or a multiwire circuitStill modest, but plan for growth
Bench tools, compressor, 240V sawSubpanel, often 60ASeveral circuits, including 240V
Heater or mini-split plus toolsSubpanel, 60A to 100AHeating is a large continuous load
EV charger, welder or hot tubSubpanel, often 100AEach needs its own large circuit
Barn with stalls, water heaters, lightingSubpanel, sized by load calculationMany loads and long runs
For a garage attached to the house, a subpanel is about convenience and panel space. For a detached building, it is usually the only practical way to bring several circuits out while meeting the one-feeder rule.

How big should a garage subpanel be?

Size the subpanel and feeder to the loads you will actually run at the same time, plus room to grow. Most residential garage and shop subpanels land at 60 or 100 amps, and the panel itself should have more breaker spaces than you need today.

Start by listing what will run together. A cabinet saw and a dust collector often run together; a welder and a heater might not. Continuous loads, the ones that run three hours or more, such as heaters and EV chargers, are sized at 125 percent, which is why a 48-amp charger needs a 60-amp circuit.

Common shop and garage loads (check the nameplate on yours)

EquipmentTypical circuitNotes
Lights and general outlets15A or 20A, 120VGFCI protection required in garages
Air compressor, 2 to 5 HP20A to 30A, 240VMotor starting current matters on long feeders
Cabinet table saw, 3 HP20A to 30A, 240VOften runs with a dust collector
Electric shop heater, 5 kW30A, 240VContinuous load
Stick or MIG welder30A to 50A, 240VFollow the welder’s nameplate and manual
Level 2 EV charger, 48A60A, 240VContinuous load, NEC Article 625
Ductless mini-split15A to 25A, 240VSized from the unit’s minimum circuit ampacity
Two more things affect the size. First, the main service has to carry the new load. A 100-amp service with central air and an electric range may have little room left, so a residential load calculation comes before any subpanel design. Second, distance. A feeder that runs 150 feet or more to a pole barn may need a larger wire than the amps alone suggest, so voltage stays up when a compressor or welder starts.

What an electrician checks before sizing

Main service rating and existing load, open spaces in the main panel, the route and distance to the building, soil and obstacles along the trench path, what equipment you own and what you plan to add in the next few years, and whether an EV charger belongs in the garage. Our garage workshop electrical planning post helps you build that list.

What does the code require for a detached garage subpanel?

A subpanel in a detached building needs a four-wire feeder (two hots, a neutral and an equipment ground), neutral and ground kept separate in the subpanel, a disconnecting means at the building, and its own grounding electrode system. That is the core of NEC 225 and 250.32.
  • Separate neutral and ground (NEC 250.32(B)): the equipment grounding conductor from the house bonds to the subpanel enclosure, and the neutral bar stays isolated. Bonding them at a subpanel puts normal neutral current on metal parts and ground paths.
  • Grounding electrode (NEC 250.32(A)): the building gets its own electrode, usually two ground rods or a concrete-encased electrode in a new slab, connected to the subpanel.
  • Disconnect at the building (NEC 225.31 and 225.32): a main breaker in the subpanel or a separate disconnect, outside or just inside the building where the feeder enters.
  • GFCI protection (NEC 210.8(A)(2)): receptacles in garages and accessory buildings need GFCI protection, including many 240-volt receptacles under the 2023 code.
  • Working space (NEC 110.26): a clear area at least 30 inches wide and 36 inches deep in front of the panel, so it doesn’t end up behind a workbench or shelving.
An attached garage subpanel follows most of the same panel rules but is fed as part of the house system, without the separate electrode. Agricultural buildings that house livestock fall under NEC Article 547, which has its own bonding and wiring-method rules. If your pole barn has horses or other animals, tell your electrician up front.
Electrician's hands wiring a new subpanel with separate neutral and ground bars in a Maryland basement.
At a subpanel, the neutral and the equipment ground land on separate bars.

Wondering what your panel can handle?

Text a photo or short video to 410-808-4215 and we’ll reply within 24 hours with what we see and what it means. Burning smell, sparks or a hot panel? Call now, day or night.

How does the feeder get to a pole barn or detached garage?

Most feeders to detached garages and pole barns run underground, in a trench, either as direct-burial cable or as conductors pulled through conduit. Overhead runs are possible, but they need proper clearances over driveways and lawns and are less common for new work.

Minimum cover depths from NEC Table 300.5 (common residential cases)

Wiring methodMinimum depthNotes
Direct-burial cable (UF or USE)24 inchesNeeds protection where it rises out of the ground
PVC conduit18 inchesCommon choice, allows future upgrades
Rigid or intermediate metal conduit6 inchesUsed where digging deep is not practical
120V, 20A or less, GFCI-protected residential branch circuit12 inchesBranch circuits only, not feeders
Conduit costs more up front, but it lets you pull larger wire later if the shop grows. On a long run to a Jarrettsville barn, that can save digging the yard twice. Warning tape above the conduit marks the line for anyone who digs later.
Trench with conduit for an underground feeder to a pole barn in Jarrettsville, MD
A trench with conduit for an underground feeder to a pole barn on a rural Harford County property.

Call Miss Utility before anyone digs

Maryland requires a locate request through Miss Utility before excavation. As of October 2026, the Miss Utility site says to contact them at least 3 full business days and no more than 12 business days before digging. Private lines, such as a feed to an existing barn or a well pump cable, are not marked by the utility locate, so tell your electrician where they run.

Rural Harford lots raise a few other questions: rock in the trench path, crossing a driveway (which needs deeper or protected conduit), a septic field or well line in the way, and whether the existing service at the house can carry the barn at all. Those answers come from a walk of the route.

Does a subpanel add capacity to your electrical service?

No. A subpanel adds breaker spaces and puts circuits closer to the loads, but every amp it delivers still comes through your main service. If the main service is already near its limit, a subpanel just moves the problem to a new box.

That is why the first question for any shop or garage project is what the house service can spare. A 200-amp service in a gas-heated home usually has room for a 60 or 100-amp garage feeder. A 100-amp service with electric heat or an electric range may not, and the answer may be a service upgrade first. Our post on 100 amp vs 200 amp service shows which homes tend to fall where.

If the main panel is out of spaces but the service has capacity, a subpanel near the main panel can free up room for new circuits. If both are short, upgrading the service and panel together, then feeding the garage from the new panel, is often the cleaner path.

What does a garage subpanel installation look like?

A typical detached garage subpanel job runs from assessment to final inspection in a set order, and the trench and feeder usually take the most time.

1

Assess and plan

We confirm the service has room, list the loads, measure the route and choose the feeder size, wiring method and subpanel.

2

Permit and locate

We pull the permit when the job requires one, and a garage or outbuilding feeder does. A Miss Utility locate is requested before any digging.

3

Trench and conduit

The trench is dug to depth, conduit is laid and the rough inspection of the trench is scheduled where the county requires it before backfill.

4

Set the subpanel and electrodes

The subpanel, disconnect and grounding electrode go in at the building, and the feeder breaker goes in the main panel.

5

Pull wire and land circuits

Feeder conductors are pulled and terminated, then the branch circuits for lights, outlets and tools are installed with GFCI protection.

6

Inspection and walkthrough

The county inspector checks the work. We walk you through which breaker controls what and how to shut the building off.
One customer put it this way after a garage job: “Mike did a great job – a very creative and sensible solution to getting power out to my garage. Very accommodating to my budget and time. Mike and his son make a great team.” (Phil Mackenzie)

Start with a short video

Send a video of your main panel with the door open, the outside meter and the walk from the house to the garage or barn to 410-808-4215. Please Note: Quotes provided from videos are estimates based on the information shown. If additional issues, repairs, materials, or site conditions are discovered that were not visible in the video, the final cost may vary. A more detailed video helps ensure the most accurate quote.

Do you need a permit for a garage subpanel in Maryland?

Yes. A subpanel and feeder to a garage or outbuilding is permitted electrical work in Harford, Baltimore and Cecil counties. Buried feeders are typically inspected before the trench is backfilled, and the whole job gets a final inspection.

Harford County’s Electrical Services Division lists garages and outbuildings among the work that needs an electrical permit, and permits are valid for 12 months from issue. Baltimore County requires a permit for all electrical work, including extending circuit wiring. Cecil County uses approved third-party inspection agencies, chosen when the permit is filed. Our Harford County electrical permit guide walks through each step.

Our subpanel installation service covers garages, workshops, pole barns and additions, and our garage, shed and workshop electrical page covers the circuits inside. If you’re on acreage in Fallston, our Fallston electrician page has more on the area’s detached garages and wells.

Related reading

How electricians decide whether your service can carry a new load.
Which homes need which service size before adding a garage or EV charger.
Who pulls the permit, how inspections work and which code applies.

FAQ

Questions homeowners ask

No. Extension cords are temporary wiring and are not rated for burial, sunlight or permanent use, and a cord run to an outbuilding is a common cause of tripped GFCIs, damaged cords and shock hazards. Permanent power to a detached building needs a proper branch circuit or feeder, buried at the depth the NEC requires, with a disconnect at the building.
A detached building needs a disconnecting means where the feeder enters, and a subpanel with a main breaker is the usual way to provide it. For an attached garage subpanel, the feeder breaker in the main panel can serve as protection, so a main-lug subpanel may be fine. Many electricians fit a main breaker anyway because it gives you one switch to shut the garage off.
There is no fixed distance limit. What changes with distance is voltage drop: the longer the feeder, the more voltage is lost on the way, which shows up as dim lights and motors that struggle to start. On long runs to barns and shops, electricians often increase the wire size beyond the minimum so voltage stays within a few percent of the source.
Yes, if the subpanel and its feeder are sized for it. A 48-amp charger needs a 60-amp circuit on its own, so a 60-amp subpanel would have nothing left for tools. A 100-amp garage subpanel is common when an EV charger shares the space with a shop. Our EV charger guide covers charger amperage choices in more detail.
Only if the problem is too many loads on one circuit. A subpanel lets you spread tools across several circuits so they stop tripping each other. If a breaker trips because of a ground fault from a wet outlet or a damaged tool cord, a subpanel won’t fix it. Testing the circuit first tells you which problem you have.
Michael Cliffe, owner of Snapper Electric

Reviewed for accuracy

Michael Cliffe, Owner · Maryland State Licensed Contractor, License 7788

Written by the Snapper Electric team · Last updated October 25, 2026

Electrical work can be dangerous. The information on this page is general guidance for homeowners in Maryland and is not a substitute for an on-site assessment by a licensed electrician. Always turn off power at the breaker before touching any wiring, and call 911 if you smell burning, see sparks, or have an active electrical fire.

Keep reading

More guides like this

Ready when you are.

Call, text, or send the form. We’ll tell you what we see, what it means for your home, and what it costs before any work starts.
Office hours Mon–Sat 8 AM–5 PM · 24/7 for electrical emergencies
Snapper Electric turtle mascot