How To Wire A Subpanel: A Step-by-Step NEC-Compliant Installation Guide
Wiring an electrical subpanel requires routing a four-wire feeder system—consisting of two ungrounded hot conductors, one grounded neutral conductor, and one equipment grounding conductor—from a dedicated double-pole breaker in your primary service panel to the secondary panel enclosure. Achieving a safe, code-compliant installation requires complete isolation of the neutral and ground buses within the subpanel, precise calculation of load requirements, and adherence to strict National Electrical Code wire-sizing and torque specifications.
Pre-Installation Planning, Sizing, and Equipment Checklist
Before initiating an electrical subpanel installation, you must calculate the existing electrical load of your primary service panel to ensure it has the surplus capacity to feed the subpanel. Adding a subpanel does not increase the total electrical service entering your home; rather, it distributes a portion of your existing service to a secondary location. A load calculation must be performed in accordance with National Electrical Code (NEC) Article 220 to confirm your main service (typically 100-Amp or 200-Amp) can handle the added demand of the subpanel.
A standard subpanel installation requires a four-wire system. Older three-wire configurations are hazardous and are strictly prohibited for new installations by the NEC. This four-wire requirement ensures that neutral currents and ground fault currents travel along entirely separate pathways back to the main service panel, preventing the metal enclosures of your electrical system from becoming accidentally energized.
Essential Tools, Materials, and Compliance Benchmarks
- Essential Tools: Calibrated torque wrench (measured in inch-pounds), heavy-duty cable cutters, professional-grade wire strippers, knockout punch set or hammer and screwdriver, fish tape (for conduit runs), non-contact voltage tester, digital multimeter (capable of measuring AC voltage and resistance), and drywall saws or mounting drills.
- Mandatory Materials: NEC-approved subpanel enclosure (typically NEMA 1 for indoor or NEMA 3R for outdoor), correctly sized feeder conductors (either copper or aluminum THHN/THWN-2 in conduit, or SER cable), a double-pole feeder circuit breaker for the main panel, an auxiliary ground bus bar kit, appropriate conduit fittings, and anti-oxidant joint compound for aluminum wiring terminations.
- Prerequisite Standards: Full compliance with NEC Article 250 (Grounding and Bonding), Article 310 (Conductors for General Wiring), and local building codes. All work must be permitted and inspected by a local authority having jurisdiction.
- Project Benchmarks: The estimated project cost ranges from $200 to $600 depending on feeder length and conductor material. The installation process typically takes 4 to 8 hours of active labor.
Step-by-Step Subpanel Installation and Wiring Guide
Step 1: Calculate the Subpanel Load and Select Conductor Size
Determine the total volt-ampere demand of the branch circuits you intend to run from the subpanel. If the subpanel is serving a workshop with heavy machinery or a suite with electric heating, size the panel feeder for the continuous load plus 125 percent of that load, plus the non-continuous load. Use the copper or aluminum ampacity tables in NEC Table 310.15(B)(16) to determine the exact wire gauge required for your feeder breaker size. For example, a 60-Amp subpanel requires minimum 6 AWG copper or 4 AWG aluminum conductors, while a 100-Amp subpanel requires minimum 3 AWG copper or 1 AWG aluminum conductors when using 75-degree Celsius rated terminals.
Warning: Do not undersize your feeder conductors. Operating conductors above their rated ampacity causes insulation degradation, extreme heat buildup, and represents a severe electrical fire hazard.
Step 2: Mount the Subpanel Enclosure
Position the subpanel enclosure at an accessible height, ensuring it conforms to the working space clearances outlined in NEC Section 110.26. The panel must have a minimum of 30 inches of width clearance, 36 inches of front depth clearance, and the center of the highest breaker handle must not exceed 6 feet, 7 inches from the finished floor. Secure the enclosure firmly to the wall studs using heavy-duty wood screws or appropriate masonry anchors. Ensure the panel is perfectly level and plumb to prevent structural stress on internal components.
Step 3: Establish the Feeder Pathway and Install Conduit
Plan the physical route of the feeder cable or conduit from the main panel to the subpanel. If routing through finished walls, use Type NM-B or SER cable where permitted by code. If routing through unfinished basements, crawlspaces, or outdoors, run scheduled PVC or Electrical Metallic Tubing (EMT) conduit. Pull individual THHN/THWN-2 conductors through the conduit using a high-tensile fish tape. Ensure that the conduit fill does not exceed the 40 percent limit defined in NEC Chapter 9, Table 1 for three or more conductors. Secure the conduit or cable with approved straps within 12 inches of each enclosure and at least every 4.5 feet along the run.
Step 4: Isolate the Neutral Bus Bar
Open the subpanel enclosure and locate the factory-installed grounding and bonding components. In a main service panel, the neutral bus and ground bus are bonded together. In a subpanel, they must remain completely isolated. Locate the green bonding screw or metal bonding strap that connects the neutral bus bar to the steel backpan of the enclosure. Remove this bonding screw or strap entirely.
Pro-Tip: Keep the removed bonding screw in a labeled bag inside the panel for future reference, but do not leave it installed. To provide a terminating point for grounding wires, install a separate, auxiliary ground bus bar kit screwed directly to the metal enclosure, ensuring metal-to-metal contact for a low-resistance path to ground.
Step 5: Route and Prepare the Feeder Conductors
Thread the feeder cable or individual conductors through the knockout holes of both panels using approved cable clamps or conduit connectors to protect the conductor insulation from sharp metal edges. Leave at least 8 to 12 inches of wire slack inside both enclosures to allow for clean wire dressing and to prevent strain on the terminal lugs. Carefully strip the outer sheathing of the cable, then strip the individual conductor insulation to the exact depth specified by the terminal lug manufacturer, taking care not to nick or damage the underlying copper or aluminum strands.
Step 6: Terminate Feeder Wires in the Subpanel
Route the four feeder wires neatly along the perimeter of the subpanel interior, avoiding sharp 90-degree bends to minimize mechanical stress on the conductors. Terminate the two hot lines (typically black and red) directly into the main lugs of the subpanel. Connect the white neutral wire to the isolated neutral bus bar. Connect the green or bare equipment grounding conductor to the newly installed, bonded grounding bus bar.
If using aluminum conductors, apply a generous coating of anti-oxidant joint compound to the stripped ends before insertion. Use a calibrated torque wrench to tighten every terminal lug to the exact torque specifications listed on the panel’s manufacturer label, which is typically specified in inch-pounds.
Step 7: Terminate Feeder Wires in the Main Panel
Verify that the main breaker of the primary service panel is turned completely off. Use a digital multimeter set to AC volts to confirm that the entire panel interior is de-energized, testing from hot buses to neutral and ground. Mount the new double-pole feeder breaker into two adjacent slot spaces on the main bus assembly.
Route the subpanel’s grounding wire to the main panel's ground bus, and the white neutral wire to the main panel's neutral bus. Connect the two hot conductors to the terminals of the new double-pole breaker. Torque these terminations precisely to the manufacturer's specified values.
Step 8: System Verification and Commissioning
With all branch circuit breakers inside the subpanel turned off, switch on the main service panel's main breaker, and then switch on the new subpanel feeder breaker. Use a digital multimeter to test the electrical values at the subpanel main lugs.
Measure the voltage across the two hot lugs to confirm a clean 240-volt reading. Measure from each individual hot lug to the neutral bus bar, and then from each hot lug to the ground bus bar, confirming a stable 120-volt reading in all four configurations. Finally, measure the voltage between the neutral bus and the ground bus; this value must read zero volts. If all measurements are correct, install the dead front cover, label all circuits clearly, and close the panel doors.
Electrical Sub Panel Wire Size
Feeder Conductor Sizing and Conduit Fill Specifications
The selection of feeder conductors and conduit sizes must adhere to standard engineering metrics to prevent voltage drop and thermal degradation. The table below outlines the mandatory physical specifications for common subpanel capacities using copper or aluminum conductors rated at 75 degrees Celsius, alongside the recommended Schedule 40 PVC conduit size to stay safely within NEC conduit fill limitations.
| Subpanel Amperage | Copper Feeder Wire (THHN) | Aluminum Feeder Wire (THHN) | Minimum Copper Ground Wire | Minimum Aluminum Ground Wire | Recommended Schedule 40 PVC Size | Standard Lug Torque Range |
|---|---|---|---|---|---|---|
| 50 Amps | 8 AWG | 6 AWG | 10 AWG | 8 AWG | 1 Inch | 35 - 40 in-lbs |
| 60 Amps | 6 AWG | 4 AWG | 10 AWG | 8 AWG | 1 Inch | 40 - 45 in-lbs |
| 100 Amps | 3 AWG | 1 AWG | 8 AWG | 6 AWG | 1.25 Inches | 45 - 50 in-lbs |
| 125 Amps | 1 AWG | 2/0 AWG | 6 AWG | 4 AWG | 1.5 Inches | 50 - 55 in-lbs |
| 150 Amps | 1/0 AWG | 3/0 AWG | 6 AWG | 4 AWG | 2 Inches | 110 - 120 in-lbs |
| 200 Amps | 3/0 AWG | 250 kcmil | 6 AWG | 4 AWG | 2 Inches | 250 - 275 in-lbs |
Common Subpanel Installation Mistakes and Field Fixes
Scenario 1: Failure to Remove the Neutral-to-Ground Bonding Jumper
- Root Cause: The installer leaves the pre-installed green bonding screw or metal bonding strap intact on the subpanel's neutral bus bar. This mistake bonds the neutral and grounding systems together at the subpanel, creating parallel return paths for normal neutral current. As a result, hazardous neutral current flows back through the metal conduit and ground wires, energizing the metallic enclosures of the electrical system and presenting a lethal shock hazard to anyone who touches them.
- Actionable Fix: De-energize the feeder breaker at the main panel, verify the subpanel is completely dead using a multimeter, and locate the green bonding screw or copper strap on the neutral bus. Back the screw out completely or unscrew and remove the bonding jumper. Use a resistance meter to verify that there is infinite resistance (no continuity) between the neutral bus and the grounded metal enclosure.
Scenario 2: Severe Voltage Drop Over Long Feeder Runs
- Root Cause: Running standard-sized conductors over a distance exceeding 100 feet without accounting for the electrical resistance inherent to long wire lengths. This causes a voltage drop greater than the NEC recommended limit of 3 percent for feeder circuits, leading to inefficient appliance operation, flickering lights, and premature motor failure at the subpanel location.
- Actionable Fix: Calculate the expected voltage drop using the standard single-phase formula: Two times the distance in feet, multiplied by the conductor resistance, multiplied by the load current, divided by one thousand. If the calculation shows a drop exceeding 3 percent, upsize the feeder conductors by at least one full trade size. For example, if a 100-Amp subpanel is located 150 feet away, upsize the feeder conductors from 3 AWG copper to 1 AWG copper.
Scenario 3: Missing or Undersized Grounding Electrode System at Detached Structures
- Root Cause: Installing a subpanel in a detached building (such as a detached garage, barn, or shed) and failing to install local grounding electrodes, relying solely on the equipment grounding conductor running from the main panel. This violates NEC Article 250.32 and deprives the detached system of a local earth path to dissipate lightning strikes or high-voltage surges.
- Actionable Fix: Drive two copper-clad or galvanized steel grounding rods, at least 8 feet in length, into the earth outside the detached building. Space the rods at least 6 feet apart (ideally 8 to 10 feet apart) and connect them in series using an unspliced 6 AWG bare copper grounding electrode conductor. Run this conductor into the detached subpanel and terminate it securely on the bonded ground bus bar.
Scenario 4: Poor Conductor Termination and Arcing from Improper Torque
- Root Cause: Tightening terminal lugs on the main breakers or bus bars by hand using standard screwdrivers or Allen wrenches without verifying the tension. Over time, thermal cycling (the expansion and contraction of wires as load current passes through them) loosens these hand-tightened connections, creating high-resistance interfaces that lead to arcing, oxidized wires, and potential panel fires.
- Actionable Fix: Use a professional, calibrated dial or click-type torque wrench. Locate the torque specifications printed on the panel label or breaker housing. Adjust the wrench to the precise value in inch-pounds and tighten every termination until the wrench clicks or indicates that the target torque has been reached. Re-torque any aluminum terminations after 24 hours of operation to account for initial wire settling.
Frequently Asked Questions
Can I use a subpanel without a main breaker installed inside of it?
Yes, you can use a main-lug-only subpanel without an integrated main breaker, provided that the subpanel is located within the same physical building as the main service panel. In this setup, the double-pole feeder breaker in the main panel serves as the required overcurrent protection device for the subpanel. However, if the subpanel is installed in a detached structure, NEC Article 225.31 dictates that a local main disconnect (which can be a breaker inside the subpanel) must be present at the detached building to shut off power instantly in an emergency.
Why must grounds and neutrals be kept separated in a subpanel but not in a main panel?
Grounds and neutrals are bonded together in the main panel because it is the single point of entry where the electrical system connects to the earth via grounding rods and the utility neutral wire. In a subpanel, keeping them isolated ensures that the neutral wire carries all return current back to the main panel's neutral bus. If you bond them at the subpanel, the equipment ground wire and metal conduit become parallel return paths, which continuously carries current on non-insulated surfaces, creating a major shock hazard.
What is the maximum distance a subpanel can be located from the main panel?
There is no hard limit defined by the National Electrical Code regarding the maximum physical distance a subpanel can be from the main service panel. However, practically speaking, as the length of the run increases, resistance increases, which leads to voltage drop. To keep voltage drop below the recommended 3 percent threshold for feeders, you must upsize your conductors once the run exceeds roughly 100 to 150 feet, depending on the current load.
Can I run a subpanel feeder through the same conduit as other branch circuits?
Yes, you are permitted to run subpanel feeder conductors through the same conduit as other branch circuits, but you must adhere to strict code requirements. First, the total cross-sectional area of all conductors must not exceed 40 percent of the conduit's interior area. Second, if you run more than three current-carrying conductors in a single conduit, you must apply the ampacity derating factors found in NEC Table 310.15(B)(3)(a), which may require you to use larger wire sizes to offset the heat generated by the grouped wires.
Professional Electrical Installation and Compliance Solutions
Ensure your electrical infrastructure is safe, code-compliant, and fully optimized by trusting licensed professionals for complex panel upgrades. Contact our team of certified electrical specialists today to schedule your subpanel installation, load calculation analysis, or safety inspection.