Skip to the main content
Panel and service capacity

Sub-Panel Installation for Garage and Detached Charging

A subpanel is a small breaker panel fed from your main service so a garage, workshop or outbuilding gets its own local circuits instead of one wire trying to do everything. For an EV charger the question that actually decides the job is not whether you can run a single circuit to the charger — you usually can — it is whether anything else out there needs power too. One charger and nothing else is often a single circuit. A charger plus lighting, receptacles or shop tools is almost always a subpanel, sized for a two-pole charger breaker and however many spaces the rest of the building needs, main-lug or main-breaker depending on whether the structure is attached to the house or standing on its own.

Updated 2026-08-20

Sub-panel installation for garage and detached charging

One circuit or a subpanel: what actually decides it

A single 240-volt branch circuit run straight to the charger is the cheapest way to charge a car in a garage or a workshop, and it is a perfectly legal way to do it. It does exactly one job. If lighting and a receptacle or two are already there and working, and nothing about the space is changing, a home-run circuit for the charger alone is a reasonable answer.A subpanel earns its cost the moment there is a second thing to feed: lighting that is not there yet, a couple of general-purpose receptacles, a compressor or a bench tool, a second EV in the household eventually. Instead of pulling a second wire back to the house for every one of those, the subpanel gives the building its own small set of breakers and the house only sees one feeder.If the building sits away from the house, this decision also runs into the code's general rule that a separate structure is normally supplied by one feeder or one branch circuit — not one of each, and not several of either without upgrading the supply. That trench-and-feeder side of the question, including burial depth and the route across the yard, is covered on its own page; this one is about what happens at the panel end.

Size it for the charger and for what else is out there

A 48-amp charger alone needs a 60-amp two-pole breaker and nothing else. A subpanel sized to exactly that gives you the charger and almost no room for anything else, which is the mistake people make when they size the panel to today's plan instead of the building's life. Spaces are cheap when the panel is a line item on the invoice already; they are not cheap once the cover is back on and inspected.How much headroom the subpanel can actually be given is set upstream, by how much spare capacity your main panel has to spend on a new feeder — which is its own calculation, not a guess at the truck. If you are not sure your main panel has room for any of this, start with the load calculation question before you pick a subpanel size.

Main lug only, or main breaker

A main-lug-only subpanel has no overcurrent device of its own at the top — the feeder breaker back in the main panel is what protects it and what you'd shut off to work on it. That is fine for a subpanel inside the same building as the main panel, where nobody needs to find a disconnect standing at the detached structure itself.A main-breaker subpanel has its own switch at the top, sized to the feeder, and it can be opened without walking back to the house. For a subpanel that also has to satisfy the separate-structure disconnect requirement — because the garage, workshop or outbuilding is not part of the same building as the house — the main breaker is usually what does that job, rather than adding a second disconnect device beside it.Cost difference between the two is modest; a main breaker is a few hundred dollars of hardware. The decision that actually matters is the one below.

Attached to the house, or standing on its own

An attached garage or workshop — sharing a wall or a roofline with the house, not a separate footprint — is generally treated as part of the same building for this purpose. Its subpanel is an ordinary interior subpanel: no separate-structure disconnect requirement, no separate grounding electrode system, because it never left the building the service already grounds.Step the same panel into a detached structure and two requirements attach that were not there a moment ago. Article 225 calls for a disconnecting means at the structure — satisfied by a main-breaker subpanel — and 250.32 calls for a grounding electrode system at the structure itself, typically a pair of ground rods, because the building is no longer relying on the house's grounding alone. The feeder also has to be four-wire, with the neutral and the equipment ground kept separate at the subpanel rather than bonded there.None of that is a reason to avoid a detached subpanel. It is a reason the same-looking panel costs more once it crosses the yard, and a reason to ask which side of that line your building sits on before you compare two quotes that scoped it differently.

What the workshop puts on the same panel as the charger

The EV charger circuit is sized the way it always is: continuous load, breaker and conductors at 125 percent of the charger's maximum current. Stationary shop equipment with a motor — a compressor, a table saw, a dust collector, a welder — follows a different rule under Article 430, where the feeder supplying more than one motor is sized for the largest motor's full-load current at 125 percent plus the full-load current of the rest. Mixing those two kinds of load on one feeder is normal; sizing them by the same shortcut is not.There is also a real difference in how the building's general lighting and receptacle load gets counted once the structure is detached and not itself a dwelling unit. A house uses the optional dwelling-unit method for that; a stand-alone garage or workshop that is not a dwelling is calculated under the code's general method by occupancy type, which is a separate table and a separate conversation with whoever is running the numbers. Ask which method they used, the same way you would for the house's own load calculation.The practical upshot: tell the electrician everything that will ever plug into or hard-wire to that subpanel, not just the charger, before the feeder size gets picked. A welder added after the trench is closed is the same expensive mistake as a second charger added after a single circuit was run.

Permit and inspection points that belong to the panel, not the charger

Most jurisdictions cover the subpanel and the charger circuit on one permit, but the inspector is looking at more than the breaker the charger lands on. A few things specific to the panel itself: the directory inside the door has to legibly identify what each breaker feeds, which matters more here than in a house panel because a garage or workshop subpanel tends to get added to for years after the original install. The panel's own listing label governs what can go in it — the same rule that decides whether tandem breakers are allowed anywhere in a full main panel applies here too. And if the structure is detached, the grounding electrode and the disconnect are their own inspection items, generally checked before the trench gets closed.Ask for the subpanel to appear on the permit as its own scoped item — amperage, main lug or main breaker, spaces, and the grounding work if it's detached — rather than folded into a single line that just says "EV charger circuit." A quote that only mentions the charger has not scoped the panel.

What it costs, and why the number splits in two

There is no separate national figure for "subpanel installation" as its own line item, because the two scenarios below cost differently for different reasons and averaging them would hide both. Both bands are the site's already-published modelled ranges, sourced the same way as the rest of this site's cost figures, not a new number invented for this page.

Not yet verifiedNo cost figure here is specific to 'subpanel installation' as its own sourced category, because none exists. The ranges quoted are the site's already-published modelled bands for panel work and for a detached structure with a trench, both from commercial secondary sources via docs/EV_Charger_Quote_Website_Brief.md.

Do I need a subpanel just to add one EV charger in my garage?

Often not. If the garage already has lighting and outlets you're happy with, and the charger is the only new thing, a single home-run circuit from the main panel is usually cheaper and simpler. A subpanel earns its cost once there's a second thing to feed out there — new lighting, receptacles, or shop tools.

What size subpanel do I need for a garage with an EV charger and a workshop?

As a rough guide: 60 amps covers a charger with lighting and a couple of receptacle circuits and little else. 100 amps comfortably adds stationary shop tools on their own circuits. 125 amps is for a charger plus real shop load, like a welder, or for two chargers. The real ceiling is whatever spare capacity a load calculation shows on your main panel.

Main lug or main breaker for a garage subpanel?

Main-lug-only is fine for a subpanel inside the same building as the main panel, since the feeder breaker in the main panel already protects it. A detached structure generally needs its own disconnect at the building, and a main-breaker subpanel is usually what satisfies that rather than adding a separate switch.

Does a subpanel in an attached garage need its own ground rod?

No. An attached garage is treated as part of the same building as the house, so its subpanel doesn't need a separate grounding electrode system. A detached garage, workshop or outbuilding does, under NEC 250.32, because it's no longer relying on the house's grounding alone.

Can my main panel actually feed a new subpanel?

Only if it has the spare capacity to give, which is a load calculation question, not something you can tell by counting empty breaker slots. If the main panel is already near its calculated capacity, adding a subpanel doesn't create room — it just moves the shortage outside.

Is the subpanel permit separate from the EV charger permit?

Usually it's one permit and one inspection visit covering both, but the subpanel has its own checklist inside that visit: amperage, feeder size, spaces, the panel directory, and — if the structure is detached — the disconnect and the grounding electrode. A quote that only describes the charger circuit hasn't scoped the panel.

How much does a subpanel cost for a garage or workshop EV setup?

Roughly $2,000 to $4,500 for an attached garage or workshop with the charger included, and $2,000 to $6,000 for a detached structure, where the trench across the yard is what actually drives the price, not the panel. The bare panel hardware itself typically runs $500 to $5,000 depending on amperage and spaces.


Get a range that knows about the panel, not just the charger

Tell the estimate tool whether the space is attached or detached and what else it needs to power, and the range reflects the subpanel and its spaces rather than a bare charger-circuit price with a guess added on top.