The basic wiring path for a solar panel system

Solar panels connect in a chain called a string, then that string runs to an inverter, which converts the power to usable electricity for your home. The panels themselves connect in series (positive terminal of one to negative terminal of the next), the strings connect in parallel through a combiner box, and the combiner box connects to the inverter. From the inverter, wiring runs to your home's electrical panel, where a disconnect switch and breaker protect the circuit.

The actual physical connections use MC4 connectors — the industry standard two-part plugs that lock together. You do not strip and twist wires; the connectors click on and off. The wire gauge (thickness) depends on how much current flows through each part of the system, which depends on how many panels you have and how far apart they are.

Most residential systems are either 24-volt or 48-volt DC (direct current) on the panel side, then the inverter steps that up to 240-volt AC (alternating current) for your home. The voltage and current at each stage determine what wire size, breaker size, and disconnect switch you need.

Key Takeaways

  • Panels connect in series (end-to-end) to form a string, then multiple strings connect in parallel through a combiner box before reaching the inverter.
  • MC4 connectors are the standard plugs used between panels and between strings; they click together and do not require stripping wires.
  • Wire gauge must match the current flowing through each section, which depends on panel count and distance, and is determined by the system design.
  • A disconnect switch between the inverter and your electrical panel is required by code and lets you safely shut down the system for maintenance or emergency.
  • Most residential systems need a licensed electrician to connect the inverter to the home's main panel, as this involves the utility meter and requires permits.

How panels connect to each other in series

Each solar panel has two MC4 connectors on the back — one positive (usually marked with a plus sign or red label) and one negative (minus sign or black label). To connect two panels in series, you plug the positive connector of the first panel into the negative connector of the second panel using an MC4 extension cable. This cable is pre-terminated, meaning the connectors are already attached; you do not make the connection yourself.

You continue this pattern for every panel in the string. A typical residential string might have 8 to 12 panels, depending on the roof layout and the system size. The first panel's negative connector and the last panel's positive connector become the two ends of the string — these are what you will eventually connect to the combiner box.

The reason for series connection is that it adds voltage. If each panel produces 40 volts, a string of 10 panels produces 400 volts. This higher voltage means you can use thinner, cheaper wire to carry the power from the roof to the inverter without losing too much energy to resistance.

Combining multiple strings with a combiner box

If your system has more than one string of panels, those strings meet at a combiner box — a metal enclosure mounted on the roof or on the side of the house. The combiner box has breakers and fuses that protect each string independently, plus a main breaker that protects the entire combined output.

Each string's positive and negative wires connect to a separate breaker inside the combiner box. The breaker size is chosen based on the current that string produces; a typical 400-watt panel string might use a 20-amp breaker. From the combiner box, a single pair of wires (positive and negative) runs down to the inverter, carrying the combined power of all strings.

The combiner box also includes a disconnect switch that lets you shut off all the strings at once without having to unplug each one individually. This is useful for maintenance or emergency shutdown. If you have only one string, you may not need a separate combiner box — some systems use a single breaker and disconnect mounted directly on the inverter or on the wall nearby.

Running wire from panels to the inverter

The wire that runs from the combiner box (or from a single string) down to the inverter must be sized correctly for the current flowing through it. This is where the system design matters: a 10-kilowatt system with four strings might carry 80 amps of current, which requires 2/0 gauge wire (very thick). A smaller 5-kilowatt system might use 1/0 or 2 gauge wire.

The wire runs through conduit — a plastic or metal tube that protects it from weather, UV damage, and physical damage. The conduit is mounted along the roof edge, down the side of the house, and into the inverter location. At the inverter, the positive and negative wires connect to the DC input terminals, usually marked with a plus and minus symbol or with red and black labels.

Before the wire reaches the inverter, it passes through a DC disconnect switch — a safety device that lets you cut power to the inverter without unplugging anything. This disconnect is required by electrical code and is usually a simple lever switch mounted on the wall near the inverter. Flipping it to "off" stops power flow from the panels to the inverter, which is essential if you need to service the inverter or if there is an emergency.

Connecting the inverter to your home's electrical panel

The inverter converts DC power from the panels into 240-volt AC power that your home can use. Two wires (or four wires in a split-phase system) run from the inverter's AC output terminals to your home's main electrical panel. This is where a licensed electrician must take over, because the connection involves the utility meter and requires a permit from your local building department.

The inverter output connects to a breaker in your main panel — typically a 60-amp or 100-amp breaker depending on the inverter size. The breaker protects the circuit and prevents backfeed (power flowing backward into the grid if the inverter fails). An AC disconnect switch is also required between the inverter and the main panel, allowing you to safely isolate the inverter from your home's wiring.

The utility company must inspect this connection before the system can operate. They will verify that the disconnect switches are in place, that the wire sizes are correct, and that the breaker is properly rated. Only after inspection and approval can you turn the system on and start generating power.

Wire gauge and breaker sizing rules

Wire gauge is chosen using a table that matches the current flowing through the wire to the wire size and the maximum distance the wire travels. The National Electrical Code (NEC) provides these tables, and your system designer uses them to specify the exact wire size for each section. A common rule of thumb is that the wire should be sized so that voltage drop does not exceed 3 percent on the DC side and 3 percent on the AC side.

Breakers are sized to protect the wire, not to protect the panels. A breaker is chosen to be slightly larger than the maximum current the panels can produce, but smaller than the ampacity (safe current capacity) of the wire. For example, if a string produces a maximum of 12 amps and the wire is rated for 20 amps, you might use a 15-amp breaker. The breaker trips if current exceeds that level, protecting the wire from overheating.

Fuses serve the same purpose as breakers and are often used in combiner boxes instead of breakers. A fused combiner box has a fuse for each string, and each fuse is sized the same way — slightly above the string's maximum current but well below the wire's ampacity.

Safety disconnects and grounding

Every solar system needs at least two disconnect switches: one on the DC side (between the panels and the inverter) and one on the AC side (between the inverter and the home's electrical panel). These are not optional — they are required by code. The DC disconnect lets you shut down the panels without affecting the home's power. The AC disconnect lets you shut down the inverter without affecting the home's power or the grid connection.

Grounding is another critical safety feature. A bare copper wire runs from the metal frames of the panels, through the conduit, to a grounding rod driven into the earth near the inverter. This wire provides a safe path for electricity if there is a fault, preventing dangerous voltage from building up on the panel frames. The grounding rod is typically 8 feet long and is driven until only a few inches stick above ground.

The inverter also has a grounding terminal that connects to the home's main grounding system. This ties the solar system's ground to the same ground as the rest of the house, ensuring that all metal parts of the system are at the same electrical potential and that fault current has a safe path to ground.

Frequently Asked Questions

Can I connect solar panels myself, or do I need a professional?

You can connect the panels to each other and run wire to the inverter if you follow the design and have basic electrical knowledge, but most jurisdictions require a licensed electrician to connect the inverter to your home's main panel and to pull the permit. Check with your local building department about what work requires a license in your area.

What happens if I use the wrong wire gauge?

Wire that is too thin will overheat when current flows through it, creating a fire hazard and wasting energy as heat. Wire that is too thick is wasteful and expensive but not dangerous. Always use the wire size specified in the system design, which is based on the current and distance for each section.

Do I need a combiner box if I have only one string of panels?

No. A single string can run directly to a breaker and disconnect switch mounted on the wall or on the inverter itself. A combiner box is only necessary when you have two or more strings that need to be combined into one circuit before reaching the inverter.

What is the difference between MC4 connectors and other solar connectors?

MC4 is the industry standard for residential and small commercial systems because the connectors are weatherproof, rated for high voltage, and lock securely. Other connectors exist but are less common. Stick with MC4 unless your system design specifies otherwise, and never mix connector types on the same system.

Why do I need a disconnect switch if I can just unplug the panels?

Panels cannot be unplugged — they are hardwired. A disconnect switch is a code-required safety device that lets you shut down the system quickly in an emergency or for maintenance without having to climb on the roof or open the combiner box. It is also required by the utility company before they will connect your system to the grid.