How to Install a Subpanel: A Step-by-Step Guide
Learn how to install a subpanel safely and code-compliant, with planning, wiring, grounding, testing, and labeling. This Install Manual guide helps homeowners and DIY enthusiasts complete a subpanel installation with confidence and clarity.
By the end, you’ll be able to install a subpanel safely and legally, including planning the feeder size, securing a proper disconnect, running conductors, wiring neutral and ground bars correctly, and testing the circuit. This guide emphasizes safety, code compliance, and practical wiring steps for homeowners and DIY enthusiasts. Prepare for a compliant install by meeting your local electrical code.
What is a subpanel and when you need one?
A subpanel is a secondary electrical distribution panel that receives power from your main service panel and distributes it to a defined set of circuits in a specific area of your home. It helps organize breakers, balance loads, and keep branch circuits close to the rooms they serve. For homeowners and DIY enthusiasts, understanding the role of a subpanel is the first step in a safe installation. The key concept is that a subpanel is fed by a four-wire feeder from the main panel, with its neutral bus isolated from the metal enclosure, and its ground bus bonded to the enclosure. According to Install Manual, planning with a clear scope and a proper plan reduces mistakes and improves safety as you tackle how to install subpanel in your space.
Planning, permits, and code considerations
Before you touch any wires, you must confirm whether a permit is required and what the inspection process looks like in your jurisdiction. The NEC sets general rules for feeder sizing, disconnect location, grounding/bonding, and neutral isolation, but local amendments can change specific requirements. Install Manual emphasizes starting with a thorough plan: determine the feeder from the main panel to the subpanel, identify where the subpanel will be mounted for accessibility, and outline which circuits will move to the subpanel. A four-wire feeder (two hot conductors, one neutral, one ground) is typically required, and in many areas the subpanel must have an isolated neutral bus. If your building is a separate structure, you may need a grounding electrode system in addition to the subpanel grounding conductor. Document permits, inspection steps, and your load calculations so you’re not surprised by code questions during installation.
Safety prerequisites and electrical fundamentals
Electrical work demands strict safety discipline. Always de-energize power at the main service disconnect before you begin, and use lockout/tagout devices to prevent accidental re-energizing. Verify de-energization with a non-contact voltage tester before touching any conductors. Wear appropriate PPE: insulated gloves, eye protection, and flame-resistant clothing when handling live components. Understand basic electrical fundamentals: a subpanel uses a separate neutral bus isolated from the panel enclosure, a bonded ground bus, and a four-wire feeder that must not bond neutral to ground inside the subpanel. Following these safety practices minimizes the risk of shock, arc flash, or equipment damage, and aligns with Install Manual’s approach to responsible DIY electrical work.
Wiring basics: feeders, neutrals, grounds, and bonding
Four-wire feeders provide separate paths for current: two hots, one neutral, and one equipment grounding conductor. In the subpanel, the neutral bus must be isolated from the metal enclosure, while the ground bus is bonded to the enclosure and connected to the grounding electrode system if required locally. When wiring branch circuits, each circuit should have its own breaker-sized based on load estimates, and conductors must be appropriately secured with clamps and strain reliefs at the panel entrances. Aluminum conductors require antioxidant compounds and proper termination techniques to prevent corrosion. In practice, organize wires neatly, label each circuit, and leave room for future expansion. This detailed approach helps you avoid common mistakes and ensures a reliable subpanel installation that will stand up to daily use.
Layout and location planning for the subpanel
Choose a location that offers easy access for maintenance and labeling, adequate clearance for opening doors, and protection from moisture or heat sources. Ensure the subpanel is mounted on a sturdy surface with appropriate mounting hardware. Plan the feeder route from the main panel to the subpanel, considering the longest possible run to minimize voltage drop and to keep conductors protected within appropriate conduit or sheathing. Label the location clearly and map each circuit’s destination, so future work or inspections are straightforward. This planning phase aligns with best practices described by Install Manual for durable, safe electrical installations.
Authority sources and reading list
To support your install, consult authoritative references. OSHA provides electrical safety standards for work practices and PPE, while the National Fire Protection Association offers guidance on electrical codes and safety practices. The U.S. Department of Energy also publishes consumer-focused articles on electrical system safety. For a practical reference, review: • OSHA: https://www.osha.gov/laws-regs/regulations/standardnumber/1910/1910.269 • NFPA (major publication): https://www.nfpa.org • Energy.gov: https://www.energy.gov/eere/buildings/articles/electrical-system-safety-tips Install Manual recommends cross-checking these sources to confirm that your subpanel plan meets current safety and code requirements before proceeding.
Troubleshooting common issues and maintenance
If a breaker trips frequently after installation, re-check circuit loads and ensure there is no neutral-ground fault. Loose connections in the subpanel can cause overheating; power down, re-tighten all terminations to manufacturer torque ranges, and verify proper wire sizes. If you observe buzzing or arcing sounds, shut off power and inspect for damaged insulation or loose lugs. Regular labeling and airflow around the panel help prevent overheating. Keeping a maintenance log and conducting periodic voltage checks can catch emerging issues early and extend the life of your subpanel in a home environment.
Tools & Materials
- 4-wire feeder cable (hot-hot-neutral-ground)(Conductor gauge sized to load and panel rating; use appropriate outer jacket for indoor/outdoor exposure)
- Subpanel enclosure with appropriate rating(Ensure space for future circuits and that it fits the main panel clearance)
- Neutral and ground bus bars(Isolate neutral bar in subpanel; bond ground bar to enclosure)
- Lockout/tagout device(Secure main power before working; attach tag indicating work in progress)
- Non-contact voltage tester(Verify de-energized conductors before handling)
- Voltage tester / multimeter(Confirm voltages at feeders and individual circuits)
- Screwdrivers, wire strippers, needle-nose pliers(Insulated tools; use proper screwdriver types for panel screws)
- Cable clamps and connectors(Secure feeders as they enter the panel; prevent movement)
- Electrical tape and antioxidant compound(Use antioxidant on aluminum conductors and seal connections as needed)
Steps
Estimated time: 2-4 hours (depending on layout, permits, and experienced supervision)
- 1
Plan and verify requirements
Outline the circuits to move to the subpanel and confirm feeder route. Check local code requirements and permits before starting. Create a wiring diagram showing conductor routes, breaker sizes, and labeling plan.
Tip: Double-check feeder routing to avoid hidden damage from nails or staples; plan for future expansion. - 2
Power down and verify isolation
Shut off the main service disconnect and lock it out. Use a voltage tester to confirm that all feeders to the subpanel are de-energized before touching any conductors.
Tip: Work with the house power off for added safety; never rely on a switch in a local room as the main disconnect. - 3
Mount and prepare the subpanel
Install the subpanel in the chosen location, secure mounting, and plan for proper knockout openings. Separate the neutral and ground buses and confirm the enclosure is clean and dry.
Tip: Leave a little space behind the panel for cable management and future expansion. - 4
Run the four-wire feeder
Route the feeder from the main panel to the subpanel, securing it with clamps and conduits as required. Ensure the feeder is protected from physical damage and that connections are clean.
Tip: Avoid sharp bends in the feed conductors and maintain proper slack at the panels. - 5
Connect neutral and ground correctly
Isolate the neutral bus in the subpanel from the metal enclosure, and bond the ground bus to the enclosure. Attach the feeder neutral to the neutral bus and the feeder grounds to the ground bus.
Tip: Do not bond neutral to ground in the subpanel; this is a common cause of nuisance tripping. - 6
Install breakers and branch circuits
Install the main breaker in the main panel if required, then move or add branch breakers in the subpanel for the planned circuits. Label each breaker clearly with its circuit purpose.
Tip: Calculate a balanced load across phases to prevent overloading one leg. - 7
Test wiring and safety features
Restore power and test each circuit for correct voltage and correct breaker operation. Check for proper grounding, no neutral-ground fault, and verify the panel is free of overheating signs during initial run.
Tip: Perform a step-by-step voltage check across each circuit before using it regularly. - 8
Label, document, and finalize
Label all circuits and maintain an up-to-date wiring diagram. Record the installation details, including panel model, feeder size, breaker types, and inspection notes.
Tip: Keep a digital copy of your diagrams and receipts for future service or resale.
Got Questions?
Do I need a permit to install a subpanel?
In most jurisdictions, yes. Permits ensure the work complies with local codes and safety standards, and inspections verify your installation after completion.
Yes—permits are usually required to ensure code compliance and safe wiring. An inspection will verify the work after completion.
Can a subpanel be installed in a detached garage?
Yes, but you typically need a four-wire feeder and, in many cases, a grounding electrode system for the detached building. Check local requirements and ensure proper clearance and protection for the feeder.
Yes, but check local rules about feeders and grounding for detached structures. A four-wire feeder is commonly required.
What is the difference between neutral and ground in a subpanel?
Neutral is the return path for current and must be isolated from the panel enclosure in a subpanel. Ground provides a safety path to earth and is bonded to the enclosure.
Neutral carries current and must be isolated in the subpanel; ground bonds to the enclosure for safety.
What should I do if a breaker keeps tripping after installation?
Check for overloading, mis-sized breakers, or loose connections. Recalculate loads, verify conductor sizes, and ensure all connections are tight and properly seated.
If breakers trip, inspect loads, confirm proper breaker size, and tighten connections. Recheck the wiring diagram.
Is it mandatory to bond the subpanel to a grounding electrode system?
Not always required for all installations, but many jurisdictions require grounding electrodes for detached buildings or specific setups. Confirm with local codes.
Grounding electrodes may be required for detached buildings; verify local code requirements.
How long does a typical subpanel installation take?
A typical home installation takes a few hours up to a full day, depending on layout, inspections, and whether permits are involved.
Most installs take a few hours to a day, depending on complexity and permitting.
Watch Video
Main Points
- Plan thoroughly before any wiring work begins.
- Isolate neutral from ground on the subpanel and route a four-wire feeder.
- Label circuits and verify all connections with proper safety checks.
- Follow local codes and obtain permits as required.
- Test comprehensively and document the installation for future service.

