Wiring a breaker box is one of the most dangerous DIY projects in a house and one of the most heavily regulated. In nearly every US jurisdiction, a homeowner can legally work on their own panel, but an inspection and permit are required before the utility will re-energize the service. Learning how to wire a breaker box means learning both the physical process and the code rules that protect people from fires and electrocution. If you are not comfortable with either, hire a licensed electrician.
Permit and Safety Disclaimer
A panel upgrade or new panel install always requires a permit. The inspection protects you, your family, and every future owner of the house. Insurance companies routinely deny claims on unpermitted electrical work, and an unpermitted panel can kill a sale. Before you open the cover, visit the local building department and pull the permit.
Working inside an energized panel is fatal-risk work. The main service conductors are always live, even with the main breaker off, because they come directly from the utility meter. Contact with those lugs delivers a shock that is usually fatal.
Understanding the Panel
A standard 200-amp residential panel contains a few key parts. Understanding what each one does is essential before you touch anything:
- Service entrance conductors: Two hot wires and a neutral from the meter
- Main breaker: Disconnects the whole panel from the service
- Hot bus bars: Two vertical metal strips that breakers clip onto
- Neutral bus: A horizontal bar on one side for white wires
- Ground bus: A separate bar (or combined with neutral in main panels) for bare or green wires
- Branch circuit breakers: Individual breakers that protect each circuit
In a main service panel, neutral and ground are bonded together at one point. In a subpanel fed from another panel, neutral and ground must be separated on different bus bars.
Kill the Power Safely
To work on branch circuit wiring inside the panel, flip the main breaker to the OFF position. This kills power to all the individual breakers but does not kill power to the main breaker lugs themselves or to the utility side of the panel.
To work on the main breaker or service conductors, the utility must pull the meter or kill service at the transformer. That is a utility-only job. Call your power company to schedule a service disconnect; most will do it for free if a permit is on file.
Always test every wire with a non-contact voltage tester before touching it. A Klein NCVT-3P (about $25) is the tool to own.
Installing the Main Breaker
A 200-amp main breaker has three connections: two hot lugs (where the service entrance hots attach) and neutral/ground bonding. Service conductors are typically 2/0 or 4/0 aluminum or 2/0 copper for 200 amps. Strip just enough insulation to seat in the lug, torque to the manufacturer’s spec (usually 250 in-lbs), and use anti-oxidant compound on aluminum terminations.
Torque matters. A loose lug is the number-one cause of panel fires because the loose contact generates heat under load. Use a calibrated torque wrench, not feel.
Installing Branch Circuit Breakers
Each branch circuit breaker clips onto one hot bus (for 120V circuits) or bridges both buses (for 240V circuits). To install a single-pole 15-amp or 20-amp breaker, turn it sideways and hook the back clip under the bus clip, then rotate the breaker down until the front clip snaps in.
For a 240V appliance (electric range, water heater, dryer), use a double-pole breaker that sits across both buses. This gives you 240V between the two hots. Never use two single-pole breakers as a poor man’s 240V; they are not mechanically tied together and cannot open both legs at once.
Wiring Branch Circuits
Run the cable (usually NM-B Romex in residential work) from the device box back to the panel. Strip 12 inches of the outer sheath, leaving 6 inches of conductor exposed inside the panel. Route the wire around the perimeter of the panel, not across the middle.
- Black or red wire: hot, attaches to the breaker terminal
- White wire: neutral, attaches to the neutral bus
- Bare copper wire: ground, attaches to the ground bus
Torque each wire to spec (typically 20 in-lbs for branch circuit breakers). Label each circuit on the panel directory as you go, not at the end. Write down “Kitchen GFCI,” “Master bedroom outlets,” or “Dishwasher” in plain language.
AFCI and GFCI Requirements
Modern code (NEC 2020 and later) requires AFCI protection on most 120V circuits in living areas and GFCI protection on circuits serving kitchens, bathrooms, garages, outdoor outlets, and laundry rooms. Combination AFCI/GFCI breakers handle both in one device. They cost $40 to $70 each versus $6 to $10 for a standard breaker.
Check the edition of the NEC your jurisdiction has adopted. Some states lag behind by a cycle or two, which changes the exact requirements.
Grounding the Panel
The main service panel must be grounded to two 8-foot ground rods driven into the earth near the panel, with a 6 AWG bare copper wire running from the ground bar to the rods. Bonding to the water pipe and any metal gas piping is also required. The ground system is what protects you from the utility’s transformer faults, not just your internal wiring.
Use acorn clamps on the ground rods and a rated bonding clamp on the water pipe. All connections must be accessible for inspection.
Schedule the Inspection
Once the panel is complete and all branches are landed, call for the inspection. Leave the panel cover off so the inspector can see the work. Do not turn on the utility power until the inspector signs off. After approval, the utility will energize the service and you can flip individual breakers on one at a time to verify each circuit works.
Have the directory complete, the panel clean inside, and all wiring neatly dressed. A messy panel makes inspectors suspicious. A clean one usually passes on the first visit.
When to Call an Electrician
If any of these apply, call a licensed electrician instead of DIYing: you are replacing the main service entrance cable, upgrading from 100A to 200A, working with aluminum service conductors, or you feel any hesitation at all about working near the live utility side. A full panel swap runs $2,500 to $5,000 and takes a pro one day. That is cheap compared to a house fire or a trip to the emergency room.