How to Wire Solar Panels to Your Breaker Panel: Step-by-Step Guide

Off Grid Authority Team March 28, 2026 17 min read Solar & Power

Affiliate Disclosure: Off Grid Authority participates in affiliate programs, including Amazon Associates. We may earn a commission on qualifying purchases at no extra cost to you. All recommendations are based on real-world testing and editorial independence.

SAFETY WARNING: Working inside a breaker panel exposes you to lethal voltage. The main bus bars inside your panel remain energized even when the main breaker is turned off — only the utility company can de-energize them. If you are not experienced with electrical panel work, hire a licensed electrician for this portion of the installation. Improper connections can cause electrocution, fire, or damage to the utility grid.

Connecting solar panels to your home's breaker panel is the final and most critical step in a solar installation. This is where your solar system meets your household electrical system, and mistakes here have serious consequences — from tripped breakers and lost production to electrical fires and electrocution hazards.

This guide walks you through every step of the process for both grid-tied and off-grid setups. We cover the NEC code requirements you must follow, the equipment you need, and the exact sequence of steps to make a safe, legal connection.

Grid-Tied vs Off-Grid Panel Connections

The way you connect solar to your breaker panel depends entirely on whether you are grid-tied or off-grid. These are fundamentally different approaches.

Grid-Tied Connection

In a grid-tied system, your solar panels feed power through a grid-tie inverter that converts DC to AC and synchronizes with the utility grid's frequency and voltage. The inverter's AC output connects to your breaker panel through a dedicated backfeed breaker.

Power flows in both directions: solar power feeds your loads first, and any excess flows back through the main breaker to the grid (if your utility allows net metering). When solar production is not enough, grid power supplements it seamlessly.

  • Pros: Simplest installation, no batteries needed, net metering income, grid acts as infinite backup
  • Cons: No power during grid outages (inverter shuts down for safety), requires utility approval, subject to interconnection rules

Off-Grid Connection

In an off-grid system, solar panels charge a battery bank through a charge controller. A battery-based inverter (or hybrid inverter) converts stored DC power to AC and feeds a dedicated sub-panel that supplies your circuits. There is no connection to the utility grid at all.

  • Pros: Complete energy independence, works during grid outages, no utility bill
  • Cons: Requires batteries (significant cost), must size system for peak loads, no grid backup

Hybrid Connection

A hybrid system uses a battery-based inverter with grid interconnection. Solar charges batteries first, batteries power your home, and excess goes to the grid. During outages, the system disconnects from the grid and runs on battery power. This requires a transfer switch or hybrid inverter with built-in transfer switch and is the most complex to install.

What Is a Solar Disconnect Switch?

A solar disconnect switch (also called an AC disconnect) is a lockable, weatherproof switch installed between your inverter and your breaker panel. Its purpose is to provide a visible, accessible way to shut off all solar power feeding into your electrical system.

Who uses it and why:

  • Utility workers — Must be able to disconnect your solar before working on the grid connection to your home
  • Firefighters — Need to de-energize solar to safely fight a structure fire
  • Maintenance — You need to safely de-energize the AC side for panel work or inverter service

NEC requirements for the disconnect:

  • Must be rated for the inverter's maximum AC output current
  • Must be accessible to utility personnel (typically exterior, near the meter)
  • Must be lockable in the off position
  • Must be labeled "SOLAR DISCONNECT" with permanent, weatherproof signage

Check Price on Amazon - 60A Solar Disconnect Switch Check Price at Home Depot - Disconnect Switches

NEC Code Requirements for Solar Panel Connections

The National Electrical Code (NEC) Article 690 and Article 705 govern solar installations. Here are the requirements that directly affect your breaker panel connection.

The 120% Bus Bar Rule (NEC 705.12)

This is the most important rule for grid-tied solar connections and the one most likely to determine whether your existing panel can accept solar.

The rule: The sum of the main breaker rating plus all solar backfeed breaker ratings cannot exceed 120% of the panel's bus bar ampere rating.

Here is how to calculate it:

Panel Bus Bar RatingMain Breaker120% of Bus BarMax Solar BreakerMax Solar (240V)
100A100A120A20A~4.8kW
125A100A150A50A~12kW
150A150A180A30A~7.2kW
200A200A240A40A~9.6kW
225A200A270A70A~16.8kW

Important: The bus bar rating is stamped on the panel's label (inside the dead front cover). It is not always the same as the main breaker rating. A panel with a 200A main breaker might have a 200A or 225A bus bar — check the label.

If you exceed the 120% rule: You have three options:

  1. Derate the main breaker — Replace the 200A main breaker with a smaller one (e.g., 150A) to make room for a larger solar breaker. Only works if your actual load never exceeds the new main breaker rating.
  2. Line-side tap — Connect solar between the meter and the main breaker using a tap splice. This bypasses the 120% rule but has its own NEC requirements and typically requires utility approval.
  3. Upgrade the panel — Replace with a larger panel (higher bus bar rating) that accommodates both the main breaker and solar breaker within the 120% limit.

Rapid Shutdown Requirements (NEC 690.12)

Since NEC 2017, all new solar installations must include a rapid shutdown system that reduces voltage on rooftop conductors to 80V or less within 30 seconds of activation. This protects firefighters working on or near rooftop solar arrays.

Compliance methods:

  • Module-level power electronics (MLPE) — Microinverters or DC optimizers on each panel that shut down individually
  • Rapid shutdown devices — Dedicated units installed at each panel or at the array edge that de-energize the string on command
  • String inverters with integrated rapid shutdown — Some modern string inverters have rapid shutdown built in

Additional NEC Requirements

  • Backfeed breaker position: The solar backfeed breaker must be installed at the opposite end of the panel from the main breaker (NEC 705.12(B)(2)(3)(a)). This ensures current flows through the full length of the bus bar.
  • Backfeed breaker retention: The breaker must be bolted or clamped in place so it cannot be pulled out by hand. A standard push-in breaker is not sufficient — you need either a bolt-on breaker or a retaining clip.
  • Labeling: The panel must be labeled with a permanent placard stating "WARNING: SOLAR ELECTRIC SYSTEM CONNECTED" and the maximum solar current and voltage.
  • Wire sizing: AC wire from inverter to panel must be sized for 125% of the inverter's maximum continuous output current.

System Connection Diagram

This diagram shows the complete path from solar panels to your main breaker panel for a grid-tied system.

Solar Array DC Output to Inverter DC Disconnect (Rooftop) Grid-Tie Inverter DC to 240V AC AC Disconnect (Exterior) L1 (Black) Ground Main Breaker Panel Main Breaker 200A 20A 20A 15A 30A 15A 50A Solar 40A (Backfeed) From Utility Meter Bus Bar: 200A rated 120% = 240A max 200A main + 40A solar = 240A Grounding Electrode System 1. DC from panels 2. Convert to AC 3. Safety cutoff 4. Backfeed into panel

Grid-tied solar connection: Panels to inverter to AC disconnect to backfeed breaker in main panel

Tools and Materials Needed

ItemPurposeWhere to Get It
Backfeed Breaker (2-pole, matching panel brand)Connects inverter AC output to panel bus barsHome Depot - 2-Pole Breakers
AC Disconnect Switch (fused, 60A)Exterior safety disconnect for utility/fire accessAmazon - Disconnect Switch
THWN-2 Wire (6 AWG, black/red/white/green)AC wiring from inverter to disconnect to panelHome Depot - 6 AWG THWN
EMT or PVC Conduit (3/4" or 1")Protect wire runs from inverter to panelHome Depot - EMT Conduit
Junction Box (weatherproof)Transition points between conduit runsHome Depot - Junction Boxes
Conduit Fittings (connectors, LBs, couplings)Connect conduit sections and make turnsHome Depot - Conduit Fittings
Breaker Retaining Clip or Bolt-On BreakerPrevent backfeed breaker from being removed by handHome Depot - Retaining Clips
Warning Labels ("SOLAR DISCONNECT", "DUAL POWER SOURCE")NEC-required labelingAmazon - Solar Warning Labels
MultimeterVerify voltage, polarity, and circuit continuityAmazon - Digital Multimeter
Torque Wrench / ScrewdriverTighten breaker and terminal connections to specHome Depot - Torque Tools

Step-by-Step: Grid-Tied Solar to Breaker Panel

These steps assume your solar panels and inverter are already installed and the DC side is fully wired and tested. This section covers the AC connection from your inverter to your breaker panel.

Before starting: Turn off the inverter. Turn off the AC disconnect (if already installed). Turn off the main breaker in your panel. Verify with a multimeter that no voltage is present on the circuits you will be working on. Remember: the bus bars above the main breaker are STILL ENERGIZED. Do not touch them.

1Verify the 120% rule. Open your breaker panel and find the bus bar rating on the label inside the dead front cover. Calculate: (Bus bar rating x 1.2) - Main breaker rating = Maximum solar breaker size. If your solar system requires a larger breaker than this allows, stop and consult an electrician about a line-side tap or panel upgrade.

2Plan the conduit route. Map the path from your inverter's AC output to the AC disconnect location (exterior, near the meter) and from the disconnect to your breaker panel. Measure all distances. Plan conduit bends — maximum 360 degrees total between pull points. Purchase conduit, fittings, and wire based on your measurements plus 10% extra.

3Install the AC disconnect switch. Mount the disconnect on the exterior wall in a location accessible to utility personnel. It should be within sight of and within 10 feet of the electric meter (check local code for specific requirements). Secure with appropriate fasteners for your wall type. Ensure it is at a reachable height (NEC specifies 6'7" maximum to the center of the switch handle).

4Run conduit from inverter to disconnect. Install conduit along your planned route. Use weatherproof fittings for all exterior connections. Secure conduit to the wall every 4 feet and within 12 inches of each box or fitting. Pull THWN-2 wire through the conduit: two hot conductors (black and red for 240V), one neutral (white), and one ground (green).

5Run conduit from disconnect to breaker panel. Continue the conduit run from the AC disconnect to your main breaker panel. Pull the same four conductors through this section. Where conduit enters the panel, use an appropriate connector with a locknut and bushing to protect the wire from the sharp metal edge.

6Wire the AC disconnect. Connect the inverter-side wires to the line terminals and the panel-side wires to the load terminals. Connect the ground wires to the grounding terminal. Torque all connections to the manufacturer's specification (usually printed on the disconnect).

7Install the backfeed breaker. With the main breaker OFF, remove the dead front cover from the panel. Install the 2-pole backfeed breaker in the bottom-most available slot (opposite end from the main breaker). The breaker must match your panel brand — do not use off-brand breakers. Snap or bolt the breaker into place and install a retaining clip if required by your AHJ.

8Connect wires to the backfeed breaker. Strip the hot conductors (black and red) and insert them into the breaker terminals. Torque to the breaker manufacturer's specification (typically 20-25 inch-pounds for residential breakers). Connect the neutral (white) to the neutral bus bar. Connect the ground (green) to the ground bus bar.

9Apply labels. Install the following labels:

  • "WARNING: SOLAR ELECTRIC SYSTEM CONNECTED" on the panel cover
  • "SOLAR DISCONNECT" on the AC disconnect
  • Maximum solar current and voltage on the panel directory
  • "WARNING: DUAL POWER SOURCE" near the meter

10Test and verify. Replace the dead front cover. Turn on the main breaker. Turn on the AC disconnect. Turn on the inverter. Use a multimeter to verify voltage at the backfeed breaker matches the inverter's output specification (typically 240V +/- 5%). Verify the inverter successfully synchronizes with the grid (the inverter display should show power production after a brief startup delay, usually 2-5 minutes).

Step-by-Step: Off-Grid Solar Sub-Panel

For off-grid systems, you do not connect to the main utility panel. Instead, your battery-based inverter feeds a dedicated sub-panel that powers only the circuits you want to run on solar.

1Install a dedicated sub-panel. Mount a small breaker panel (6-12 spaces) near your inverter and battery bank. This sub-panel will contain breakers for each circuit powered by solar.

2Wire the inverter AC output to the sub-panel. Connect the inverter's AC output to the sub-panel's main lugs (or main breaker if the sub-panel has one). Use appropriately sized wire — a 3000W inverter at 120V delivers up to 25A, requiring 10 AWG minimum for short runs.

3Install branch circuit breakers. Add breakers for each circuit you want to power: lights, refrigerator, outlets, etc. Size each breaker for the circuit it protects (15A for lighting, 20A for general outlets, etc.).

4Run circuits from sub-panel to loads. Wire each circuit from the sub-panel breaker to the outlets, switches, or appliances it will power. Follow standard residential wiring practices (14 AWG for 15A circuits, 12 AWG for 20A circuits).

5Ground the sub-panel. Bond the sub-panel's ground bus to the same grounding electrode system as the rest of the building. Do NOT bond neutral and ground in the sub-panel — they should only be bonded at the first means of disconnect (your main panel or the inverter, depending on your system configuration).

Check Price at Home Depot - Sub-Panels Check Price - Renogy 3000W Inverter

Grounding Requirements

Proper grounding is not optional — it is the single most important safety measure in your solar installation. NEC Article 690 Part V covers solar grounding specifically.

Equipment Grounding

All metallic components must be bonded to the equipment grounding conductor:

  • Solar panel frames
  • Mounting racking and rails
  • Inverter enclosure
  • Charge controller enclosure (if applicable)
  • AC disconnect switch enclosure
  • Combiner box (if applicable)
  • All conduit (if metallic)

System Grounding

The AC system ground from your inverter must bond to the same grounding electrode system as your main panel. This is typically one or two ground rods plus the concrete-encased electrode (Ufer ground) if your building has one.

For the DC side, systems over 50V (which includes most series-wired panel arrays) require one current-carrying conductor to be grounded. The inverter or charge controller typically handles this automatically — check your equipment manual.

Check Price at Home Depot - 8ft Ground Rod Check Price at Home Depot - 6 AWG Ground Wire

When You Need Permits and Inspections

In almost all jurisdictions, connecting solar to your breaker panel requires permits. Here is what to expect:

When a Permit Is Required

  • Grid-tied systems: Always. You are modifying your electrical system's connection to the utility grid. This requires both a building/electrical permit from your local authority having jurisdiction (AHJ) and an interconnection agreement with your utility.
  • Off-grid systems: Usually, if you are building or modifying electrical circuits in a permanent structure. The exception is temporary or portable systems (like an RV or a shed with no permanent wiring).
  • Battery systems: Some jurisdictions require additional permits for battery energy storage systems (BESS), especially lithium-ion installations.

The Permit Process (Typical)

  1. Design and documentation: Prepare a system design with a site plan, electrical single-line diagram, equipment specifications, and structural calculations (for roof mounts). Many jurisdictions accept SolarAPP+ for streamlined residential permitting.
  2. Submit application: Apply to your local building department. Fees range from $100-500 depending on the jurisdiction.
  3. Receive approval: Turnaround varies from same-day (SolarAPP+) to 4-6 weeks for manual review.
  4. Install: Complete the installation per the approved plans.
  5. Inspection: Schedule a rough inspection (before closing walls) and a final inspection. The inspector checks wiring, labeling, grounding, disconnect placement, and code compliance.
  6. Utility interconnection: For grid-tied systems, submit the passed inspection report to your utility. They may perform their own inspection before activating your interconnection and installing a net meter.

Do not skip permits. Unpermitted solar work can void your homeowner's insurance, complicate a home sale, result in fines, and — for grid-tied systems — create a liability if your system harms utility workers. The permit process exists to keep you and others safe.

Common Mistakes to Avoid

1. Using the wrong breaker brand. Breakers are not interchangeable across panel brands, even if they physically fit. A Square D breaker in a Siemens panel (or vice versa) may not make proper contact with the bus bar, leading to arcing, overheating, and fire. Always match the breaker to your panel manufacturer.

2. Installing the backfeed breaker at the top of the panel. NEC 705.12 requires the solar backfeed breaker to be at the opposite end of the bus bar from the main breaker (typically the bottom). This ensures the bus bar is not overloaded at the top end near the main.

3. Skipping the AC disconnect. Even if your inverter has a built-in disconnect, most jurisdictions require a separate, exterior-accessible AC disconnect switch that utility workers can locate and operate without entering your building.

4. Undersizing the backfeed breaker wire. The NEC requires wiring for solar backfeed circuits to be sized at 125% of the inverter's maximum continuous output. If your inverter outputs 30A, the wire must be rated for 37.5A (so you need wire rated for at least 40A — typically 8 AWG THWN-2).

5. Not calculating the 120% rule. Installing a solar breaker that exceeds the 120% bus bar rule creates an overload hazard. The inspector will catch this and fail your installation, requiring costly rework.

6. Forgetting to label everything. Missing labels are the #1 reason solar inspections fail. Prepare all labels before the inspection: panel warning, disconnect label, dual power source warning, and system specifications on the panel directory.

7. Bonding neutral and ground in the sub-panel. In an off-grid sub-panel fed by an inverter, neutral and ground should NOT be bonded together. The neutral-ground bond should exist at only one point in the system — typically the inverter itself or the main disconnect. Double bonding creates parallel return paths that can energize metal enclosures.

For complete wiring diagrams showing every connection in a solar system, see our Solar Wiring Diagrams Complete Guide. For wire sizing tables to choose the correct gauge for every run, see our Solar Wire Sizing Guide.


Frequently Asked Questions

Do I need a permit to connect solar to my breaker panel?

In most jurisdictions, yes. Any electrical work that connects to or modifies your main breaker panel requires an electrical permit and inspection. Grid-tied solar systems require additional utility approval (interconnection agreement) before you can legally backfeed power to the grid. Some jurisdictions allow homeowners to pull their own permits; others require a licensed electrician. Check with your local building department before starting work.

What is a backfeed breaker and do I need one?

A backfeed breaker is a standard circuit breaker installed in your main panel that allows your solar inverter to feed power INTO the panel rather than drawing power from it. For grid-tied systems, this is the standard connection method. The breaker must be installed at the bottom of the panel (opposite the main breaker) per NEC 705.12 and must be bolted in place so it cannot be removed by hand. The breaker size must match your inverter's output rating.

What is a solar disconnect switch and where does it go?

A solar disconnect switch (also called an AC disconnect) is a lockable switch installed between your inverter and your breaker panel. It allows utility workers, firefighters, or maintenance personnel to quickly shut off solar power without entering your home. The NEC requires a disconnect that is accessible and visible from the exterior of the building. Most installations place it on the exterior wall near the electric meter or on the wall next to the main panel.

Can I connect solar to a sub-panel instead of the main panel?

Yes, and in many cases this is the better approach. Connecting to a sub-panel avoids the 120% bus bar rule issues that can arise when adding solar to a fully loaded main panel. The sub-panel is fed from a dedicated breaker in your main panel, and the solar backfeed breaker is installed in the sub-panel. This keeps the solar-powered circuits separate and simplifies maintenance. Just make sure the sub-panel's bus bar rating can handle the combined load.

What is the NEC 120% rule for solar breaker panels?

NEC Section 705.12(B)(2)(3) states that the total amperage of the main breaker plus the solar backfeed breaker cannot exceed 120% of the panel's bus bar rating. For a 200A panel with a 200A main breaker, the maximum solar backfeed breaker is 40A (200 x 1.2 = 240, minus 200 = 40). If you need a larger solar connection, you can use a line-side tap (which has its own requirements) or upgrade to a panel with a higher bus bar rating.

What happens if I backfeed power to the grid during an outage?

This is extremely dangerous and illegal. If your solar system feeds power back to the grid while utility workers are repairing downed power lines, it can electrocute them with lethal voltage on lines they believe are de-energized. Grid-tied inverters have built-in anti-islanding protection that automatically shuts them down within seconds of a grid outage. Never bypass or disable this safety feature. If you want solar power during outages, you need a battery backup system or a hybrid inverter with transfer switch functionality.

Do I need to upgrade my breaker panel for solar?

Not always, but sometimes. If your existing panel is a 200A panel and you are installing a small to medium solar system (up to about 7.6kW), you can likely use a 40A backfeed breaker without exceeding the 120% rule. However, if your panel is 100A or 150A, or if it is an older panel with no available breaker slots, you may need to upgrade. Federal Pacific and Zinsco panels should always be replaced regardless of solar — they have known safety defects.

Can I wire solar to my breaker panel myself?

It depends on your local jurisdiction and your comfort level with electrical work. Some areas allow homeowners to perform their own electrical work with a permit and inspection. However, working inside a live breaker panel is genuinely dangerous — the main bus bars carry full utility voltage and current even when the main breaker is off. If you are not experienced with panel work, hire a licensed electrician for this specific step. You can do the rest of the solar installation yourself and just bring in an electrician for the panel connection.

Related Guides from Our Network:

Related Guides

From Our Solar Network

Join the Off-Grid Community

Weekly tips, gear reviews, and solar guides delivered straight to your inbox.