An electrical subpanel is a secondary breaker box that distributes power to a specific area or outbuilding, fed by a dedicated double-pole breaker from the main service panel. While the main panel receives raw utility power and establishes the primary grounding bond, a subpanel acts strictly as a local distribution node. In a real installation, wiring an electrical subpanel changes a single high-amperage feeder circuit into multiple localized branch circuits, keeping voltage drop manageable and ensuring a local fault trips a local breaker rather than shutting down the entire house. The most common point of confusion for DIYers and junior apprentices is treating a subpanel like a main panel—specifically regarding the neutral-to-ground bond, which must remain isolated in a subpanel to prevent stray current on grounding paths.

The Core Mechanics: What a Subpanel Actually Changes

When you wire a subpanel, you are essentially extending the bus bars of your main service disconnect to a new physical location. However, the electrical topology changes in one critical way: the separation of the neutral and equipment grounding conductors.

Think of the main panel as the municipal water treatment plant where the primary earth ground (the reservoir) is established. The subpanel is a neighborhood manifold; it distributes the water to individual houses but doesn't create a new path back to the earth. If you were to bond the neutral and ground at the subpanel, you would create a parallel path for normal neutral return current to flow along the bare copper ground wire.

WARNING: The Bonding Mistake
Per NEC 250.142, the neutral and ground must ONLY be bonded at the main service disconnect. If you leave the green bonding screw or strap installed in a subpanel, 120V return current will energize the subpanel enclosure, conduit, and any bonded appliance chassis, creating a severe shock hazard and causing nuisance GFCI tripping.

When wiring an electrical subpanel, you must purchase a separate equipment grounding bar (if not pre-installed) and ensure the factory-installed neutral bonding strap is removed or omitted. The neutral bar must float on insulators, while the ground bar must be bonded directly to the metal enclosure.

Worked Example: Sizing Feeder Wire for a 60A Garage Subpanel

Let's run the numbers for a standard residential scenario: wiring an electrical subpanel in a detached garage, located 100 feet from the main house panel. We want to supply a 60-amp, 240V feeder to run lighting, a refrigerator, and a 240V EV charger or welder.

According to NEC Table 310.16, assuming standard 75°C rated terminals on your breakers and lugs, copper wire ampacities dictate our minimum size. Here is how the common cable choices break down for a 60A circuit:

Wire Type AWG Size Ampacity (Temp Column) Notes for 60A Subpanel
NM-B (Romex) 4 AWG 70A (60°C column) Required if running inside walls; NM-B is limited to the 60°C column per NEC 334.80.
THHN in Conduit 6 AWG 65A (75°C column) Best choice for underground or surface-mount conduit. 6 AWG is sufficient for 60A.
UF-B (Direct Burial) 4 AWG 70A (60°C column) Used if trenching without conduit; requires 24-inch burial depth.

Let's calculate the voltage drop using 6 AWG Copper THHN in conduit for our 100-foot run. The formula for single-phase voltage drop is VD = (2 × K × I × D) / CM.

  • K (Copper resistivity) = 12.9
  • I (Current) = 60A
  • D (Distance) = 100 ft
  • CM (Circular mils for 6 AWG) = 26,240
Voltage Drop Calculation: (2 × 12.9 × 60 × 100) / 26,240 = 5.89 Volts.
At 240V, this is a 2.45% drop, which is well under the NEC's recommended 3% maximum for feeders.

The Jobsite Reality Check: While 2.45% is perfectly fine for your 240V loads, remember that voltage drop is absolute, not relative. If you pull a heavy continuous 120V load (like a large air compressor) on just one leg of that subpanel, the drop on that leg is still 5.89V. Against a 120V baseline, that's a 4.9% drop, which exceeds the 3% recommendation for branch circuits. If your 120V loads are heavy and far from the subpanel, upsizing the feeder to 4 AWG THHN is a smart, future-proof move.

Where You Meet This in Practice

You will typically encounter the need for wiring an electrical subpanel in three specific residential scenarios:

  1. Detached Buildings (Garages, Barns, Workshops): This is the most heavily regulated scenario. Per NEC 250.32, a detached building with a subpanel requires its own Grounding Electrode System (usually two ground rods driven 6 feet apart, or a single rod if the first passes a 25-ohm earth resistance test). The ground rods connect to the subpanel's ground bar, not the neutral bar.
  2. Basement Finishes and Additions: When finishing a basement or adding a home theater, running a 40A or 60A subpanel saves you from crowding the main panel with six new AFCI breakers and running six individual home-run cables back to the service entrance.
  3. EV Charger Upgrades: Many older homes have 100A or 150A main services. Adding a 60A EV charger directly to the main panel might exceed the calculated load. Installing a subpanel with a smart load-management relay allows the EV charger and the HVAC system to share capacity safely.

In all these cases, the physical installation requires a 4-wire feeder: two ungrounded conductors (hot), one grounded conductor (neutral), and one equipment grounding conductor (ground). Never use a 3-wire feeder for a new subpanel installation; the 3-wire rule for detached garages was retired in the 2008 NEC cycle.

Frequently Asked Questions About Wiring an Electrical Subpanel

Do I need a ground rod when wiring an electrical subpanel to a detached garage?

Yes. If the subpanel is in a separate building, NEC 250.32 requires a grounding electrode system at that building. This typically means driving two 5/8-inch copper-clad steel ground rods, spaced at least 6 feet apart, and connecting them to the subpanel's equipment grounding bar with a bare 6 AWG or 8 AWG copper grounding electrode conductor. This rod protects against lightning and utility surges; it does not replace the equipment grounding wire run back to the main panel.

Why do the neutral and ground bars need to be separated when wiring an electrical subpanel?

If the neutral and ground are bonded at the subpanel, normal 120V return current will split and travel back to the main panel on both the neutral wire and the bare ground wire. This energizes the metal subpanel enclosure, any metal conduit, and the chassis of plugged-in appliances. Separating them ensures the ground wire only carries current during a fault condition, allowing the breaker to trip instantly while keeping humans safe from shock.

Can I use a main breaker panel as a subpanel?

Yes, and it is often cheaper to buy a "main breaker" panel from a big-box store than a dedicated "main lug" subpanel. To use it as a subpanel, simply remove the green neutral bonding screw or strap, install a separate add-on ground bar, and feed the panel's main breaker lugs from your feeder wire. The main breaker in the subpanel then acts as a convenient local disconnect switch, which is actually required by code if the subpanel has more than six breakers and is in a detached building.

What size breaker do I need in the main panel when wiring an electrical subpanel?

The breaker in the main panel must be sized to protect the feeder wire, not the subpanel's total bus rating. If you are using 6 AWG copper THHN wire, you must use a 60A double-pole breaker in the main panel. It is perfectly legal and common to feed a 100A-rated subpanel bus with a 60A feeder breaker; the 100A rating simply means the subpanel's physical bus bars can safely handle up to 100A if you ever decide to upgrade the feeder wire and main breaker in the future.