What "connecting" solar panels actually means
Connecting solar panels is not about plugging them in like a lamp. It means wiring them together in a sequence, then running that sequence through an inverter (a box that converts the direct current the panels produce into the alternating current your home uses), and finally linking that inverter to your home's electrical panel. The panels themselves stay on your roof or in your yard. The real work is the wiring that runs from the panels down into your house and into the equipment that makes the electricity usable.
Most residential solar installations follow the same basic path: panels in series (one after another), then to an inverter, then to your electrical panel, then to the grid or to a battery. The specific order and equipment depend on whether you want to store power in a battery, whether you are connected to the utility grid, and how much power you need.
Key Takeaways
- Solar panels produce direct current (DC) electricity, but your home runs on alternating current (AC), so an inverter is required to convert between them.
- Panels are wired in series (connected end-to-end) to increase voltage, then that string connects to an inverter, which connects to your electrical panel.
- A grid-tied system (the most common type) connects to the utility grid and lets you send excess power back to the grid; a battery system stores power for later use.
- The actual installation requires a licensed electrician and permits from your local building department, not a DIY project.
How panels are wired together in a string
Solar panels are connected in what is called a string — a series of panels wired positive-to-negative, one after another. When you wire panels in series, their voltages add up. A single panel might produce 40 volts; ten panels in a string produce 400 volts. This higher voltage is more efficient to send through wiring and into the inverter.
Each panel has two terminals on the back: a positive and a negative. The positive terminal of one panel connects to the negative terminal of the next panel, and so on down the line. At the end of the string, you have one positive wire and one negative wire that run together down to the inverter. If you have a large roof, you might have two or three strings running in parallel (side by side) into the same inverter, which increases the total current without increasing voltage further.
The wiring itself is special solar cable, rated for outdoor use and the voltage the panels produce. It is thicker than household electrical wire and has insulation that resists UV damage and temperature swings. A licensed electrician sizes the wire correctly based on the voltage and current of your specific panels and the distance the wire has to travel.
The inverter: converting DC to AC
The inverter is the piece of equipment that makes solar power usable in your home. Panels produce direct current (DC) — electricity that flows in one direction. Your home's outlets, lights, and appliances all run on alternating current (AC) — electricity that switches direction back and forth many times per second. The inverter takes the DC power from the panels and converts it to AC power that matches what the grid supplies.
There are two main types of inverters for residential systems. A string inverter is a single box, usually mounted on a wall in your garage or basement, that handles all the power from all your strings of panels. A microinverter is a small inverter mounted on each individual panel (or on a few panels), so each panel converts its own power to AC right there on the roof. String inverters are cheaper upfront; microinverters cost more but can be more efficient if some panels are shaded or if you want to monitor each panel separately.
The inverter also has safety features built in. If the grid goes down (a power outage), the inverter stops sending power back to the grid, which protects utility workers. If you have a battery system, the inverter manages charging and discharging the battery as well.
Connecting the inverter to your home's electrical panel
After the inverter converts DC to AC, the AC power has to get into your home's electrical system. This happens at your electrical panel — the metal box with circuit breakers that distributes power throughout your house. A licensed electrician runs a wire from the inverter to a new breaker in your electrical panel, usually a 20-amp or 30-amp breaker depending on the inverter size.
This breaker is separate from your main breaker and is labeled for solar. It acts as a disconnect switch: if you need to shut down the solar system for maintenance or safety, you flip this breaker. The wire from the inverter to the panel has to be sized correctly and run through conduit (a protective tube) if it is exposed, or through the walls if it is hidden.
Once the solar breaker is in place, the AC power from your panels is now part of your home's electrical supply. Any power your panels produce goes first to power whatever you are using in your home at that moment — lights, refrigerator, air conditioning, whatever is running. If the panels produce more power than you are using, the excess either goes to a battery (if you have one) or back to the grid (if you are grid-tied).
Grid-tied systems versus battery systems
A grid-tied system is connected to the utility grid and has no battery. When your panels produce more power than you use, that power flows backward through your meter to the grid, and the utility credits you for it (this is called net metering, though the credit amount varies by location and utility). At night or on cloudy days, you draw power from the grid as usual. This is the most common type of residential solar because it is simpler and cheaper than adding a battery.
A battery system (also called a hybrid system) includes a battery pack, usually lithium-ion, that stores power your panels produce. During the day, excess power charges the battery. At night or when the sun is not shining, you draw from the battery instead of the grid. If the battery is full and the panels are still producing, the excess goes to the grid. A battery system costs significantly more but gives you power during an outage if the battery is charged.
The inverter handles the logic of both systems. In a grid-tied system, it straightforward converts DC to AC and sends it where it is needed. In a battery system, the inverter (or a separate battery management system) decides whether to send power to your home, to the battery, or to the grid, depending on the time of day, how full the battery is, and how much power you are using.
Permits, inspections, and why this is not a DIY project
Installing solar panels requires permits from your local building department and electrical permits from your local authority having jurisdiction (often the same office). The building permit covers the structural work of mounting the panels safely. The electrical permit covers all the wiring, the inverter, the breaker, and the connection to the grid. An inspector will visit to check that the work meets code before the system can be turned on.
This is not a DIY project because the work involves high-voltage DC wiring on your roof, high-voltage AC wiring inside your home, and a connection to the utility grid. Mistakes in any of these areas can cause fire, electrocution, or damage to the grid. Your utility company will not connect a system to the grid unless it has been installed by a licensed electrician and has passed inspection. Most homeowners' insurance will not cover a system installed by the homeowner.
A licensed solar installer handles all of this: they design the system, pull the permits, do the installation, schedule the inspections, and coordinate with the utility to set up the system. The installer is responsible for the work meeting code and the system working safely.
What happens after the system is connected
Once the system passes inspection and the utility approves it, the utility company installs a new meter (or reprograms your existing meter) to measure power flowing both directions. Your solar company or the utility will then "turn on" the system, which means activating the inverter so it starts converting power. From that point on, the system runs automatically. The inverter monitors the sun, the panels, and the grid, and adjusts power flow without any action from you.
Most systems have a monitoring app or website where you can see how much power the panels are producing in real time, how much you are using, and how much you are sending to the grid or storing in a battery. This is useful for spotting problems (if production drops suddenly on a sunny day, something may be wrong) but is not required to operate the system.
Frequently Asked Questions
Can I add more panels to my system later?
Yes, but it depends on your inverter and electrical panel. If your inverter has capacity, you can add panels to existing strings. If not, you may need a second inverter or to replace the existing one. Your electrician can assess whether your panel has room for a larger breaker. Adding panels requires a new permit and inspection.
What if my roof is partially shaded?
Shade on one panel reduces the output of the entire string it is part of, which is why microinverters or power optimizers (small devices on each panel) are sometimes used in shaded situations. A solar designer will assess your roof and recommend the best configuration. Some shade is acceptable; heavy shade makes solar less cost-effective.
Do I need a battery if I have solar?
No. A grid-tied system without a battery is simpler, cheaper, and works well if you want to reduce your electricity bill. A battery is useful if you want backup power during outages or if you live somewhere with high electricity rates at certain times of day and want to store cheap daytime power to use at night.
How do I know if my electrical panel has room for a solar breaker?
A licensed electrician will check this during the design phase. Most panels have space, but older homes or homes with many circuits may need the panel upgraded, which adds cost. The electrician will tell you during the site visit whether an upgrade is needed.
What happens to my solar power if the grid goes down?
In a grid-tied system without a battery, the inverter shuts down and you have no power from the panels. This is a safety feature to protect utility workers. If you have a battery, the system can switch to battery power and keep running, though only the circuits connected to the battery will have power.