The basic wiring path from panels to your house
Solar panels connect in a chain to an inverter, which converts their power into electricity your home can use, then that power flows into your electrical panel where it either powers your devices or feeds back to the grid. The panels themselves produce direct current (DC) — the same type of power a battery makes. Your home runs on alternating current (AC), which is what comes from the utility company. The inverter is the device that does this conversion.
The physical path is straightforward: wires run from the panels on your roof down through conduit (protective metal or plastic tubing) to the inverter, usually mounted on an exterior wall or inside near your main electrical panel. From the inverter, another set of wires connects to your home's breaker panel — the metal box where all your circuits originate. A new breaker installed in that panel lets solar power flow into your home's wiring, or to the grid if you produce more than you use.
If you have a battery system, the inverter connects to the battery first, and the battery then connects to your breaker panel. This lets you store power for use at night or during an outage, rather than sending all excess power back to the utility company.
Key Takeaways
- Solar panels produce DC power and connect in series (one after another) to an inverter that converts it to AC power your home can use.
- The inverter sits between the panels and your main electrical panel, and a new breaker in that panel lets solar power flow into your home's circuits.
- If you have a battery, it sits between the inverter and your breaker panel so you can store power instead of sending all excess back to the grid.
- A disconnect switch between the panels and inverter, and another between the inverter and breaker panel, lets you safely shut down the system for maintenance or emergencies.
- Most residential installations are done by licensed electricians because the work involves high voltage and must meet local electrical codes.
How panels connect to each other in series and parallel
Panels are wired together in strings — usually 8 to 12 panels in a row, with positive and negative wires running from one panel to the next. This is called a series connection, and it adds up the voltage each panel produces. If each panel makes 40 volts, a string of 10 panels produces 400 volts. This higher voltage is what the inverter needs to work efficiently.
If you have multiple strings of panels (common on larger roofs), those strings connect together in a combiner box — a small enclosure that merges them before they reach the inverter. This is where parallel connection happens: the strings stay at the same voltage, but their currents (measured in amps) add together. A combiner box also holds fuses or breakers that protect each string if one panel fails or gets shaded.
The type of inverter you have determines how the strings connect. A string inverter takes one or two strings and converts them all at once. A microinverter mounts on each panel individually and converts that panel's power right there, so no combiner box is needed. Microinverters cost more but handle shading better because one shaded panel does not drag down the whole string.
The role of the inverter and disconnect switches
The inverter is the most expensive single component in a solar system after the panels themselves. Its job is to convert DC to AC, but it also monitors the system constantly. If the grid goes down, the inverter detects this and shuts itself off within milliseconds — this is a safety feature called anti-islanding, which prevents your panels from feeding power into a dead grid where utility workers might be repairing lines.
A DC disconnect switch sits between the panels and the inverter. Flipping it cuts power from the panels without shutting down the inverter. This is used during maintenance or if the inverter needs service. An AC disconnect switch sits between the inverter and your breaker panel and does the same thing on the AC side. Some systems combine both into one device called a combiner disconnect.
These switches are not optional — they are required by electrical code in every state. They let you safely work on the system without exposing yourself to live wires. The DC side carries higher voltage and is more dangerous, so the DC disconnect is the one you use most often.
How power flows into your home and to the grid
Once the inverter converts solar power to AC, it flows into a new breaker in your main electrical panel. This breaker is usually 20 to 60 amps depending on your inverter size. The breaker connects to the same bus bar (the metal rail inside the panel) that all your other circuits connect to, so solar power mixes with any power coming from the grid.
Your home uses solar power first — the electricity takes the shortest path to whatever is running at that moment. If you are running your air conditioner and your panels are making 5 kilowatts, the AC uses what it needs and the rest flows backward through the meter to the grid. Your utility meter has the ability to run backward, and when it does, you are credited for that power at a rate set by your utility. This is called net metering, though the rate you receive varies widely by location and utility.
If you have a battery, the flow is different. The inverter charges the battery during the day, and the battery powers your home at night. Any excess power still goes to the grid, but only after the battery is full. This setup costs significantly more but gives you power during outages and reduces how much you buy from the grid.
Grounding and safety equipment
Every solar system must be grounded — connected to the earth through a copper rod driven into the ground near your house. This protects against lightning strikes and electrical faults. The grounding wire runs from the metal frames of the panels, through the conduit, to a grounding bus bar in the combiner box or inverter, and then to the ground rod. If lightning hits a panel, the current flows safely into the earth instead of through your home's wiring.
The system also includes surge protection, usually in the form of a surge protective device (SPD) installed in the combiner box or near the inverter. This is similar to a surge protector power strip, but designed for the high voltages in a solar system. It protects the inverter and your home's electronics from voltage spikes caused by lightning or grid disturbances.
All wiring must be rated for outdoor use and UV exposure if it runs on the roof. The conduit protects the wires from physical damage and rodents. Local electrical code specifies the wire gauge (thickness) required based on the current flowing through it — thicker wire for higher currents. An undersized wire can overheat and cause a fire.
Why most installations need a licensed electrician
Solar installation involves working at height on a roof, handling high-voltage DC power, and making permanent connections to your home's electrical system. Most states require a licensed electrician to do the final connections to the breaker panel, and many require a licensed solar installer for the entire job. This is not a barrier to understanding how it works — it is a safety requirement because mistakes can cause electrocution, fire, or damage to the grid.
Your local building department will require permits and inspections before the system can be turned on. The inspector checks that all wiring is properly sized, all disconnects are in place, grounding is correct, and the inverter is the right type for your grid. This process usually takes a few weeks and is included in the cost of a professional installation.
If you are installing panels yourself on a property you own, some jurisdictions allow owner-builder permits, but you still need to pass inspection. The utility company must also approve the interconnection before you can feed power back to the grid. This involves paperwork and sometimes a site visit by a utility technician.
Frequently Asked Questions
Can I add more panels to my system later?
Yes, but it depends on your inverter size. If your inverter is rated for 10 kilowatts and you currently have 8 kilowatts of panels, you can add 2 more kilowatts. If you want to add more than that, you need a new inverter or a second inverter. Adding panels also requires a new electrical inspection and utility approval.
What happens to my solar power when the grid goes down?
Without a battery, your system shuts off automatically — the inverter detects the outage and stops feeding power to protect utility workers. With a battery, you can run essential circuits through the battery, but not your whole house. The battery typically powers lights, refrigerator, and outlets for a few hours depending on its size.
Do I need a separate meter for solar power?
No. Your existing meter measures both power you use from the grid and power you send back. It runs forward when you draw power and backward when you send power back. Some utilities now use digital meters that track both directions separately, but you still use one meter.
What size wire do I need between my panels and inverter?
Wire size depends on the current flowing through it and how far it travels. A typical residential string inverter system uses 10 or 8 gauge wire, but your electrician calculates this based on your specific panel wattage, string configuration, and the distance from roof to inverter. Using undersized wire is a fire hazard and will fail inspection.
Can I connect my panels directly to my home without an inverter?
No. Your home's wiring and appliances are designed for AC power. Connecting DC panels directly would damage everything and create a serious shock hazard. The inverter is not optional — it is the essential bridge between the panels and your home.