What connecting solar panels actually means

Connecting solar panels means linking them together in a series or parallel arrangement, then running that combined output through an inverter, a charge controller (if you have batteries), and finally into your home's electrical panel or directly to your utility company's grid. The panels themselves produce direct current (DC) electricity, but your home runs on alternating current (AC), so the inverter does that conversion. The physical connections involve running wiring between panels, from panels to the inverter, and from the inverter to either your breaker box or a battery bank.

This is different from having a solar company install a complete system on your roof — that involves structural work, permitting, and inspections. This guide covers the electrical connections themselves: how the wires and equipment talk to each other once the panels are mounted.

Key Takeaways

  • Solar panels connect in series (positive to negative) to increase voltage, or in parallel (positive to positive) to increase current, depending on your inverter's input requirements.
  • The inverter converts DC power from the panels into AC power your home uses, and must match your system's voltage and power output.
  • A charge controller sits between panels and batteries if you have battery storage, preventing overcharging and damage.
  • All connections use appropriately sized wiring and breakers rated for DC current on the panel side and AC current on the home side.
  • Grid-tied systems require a special interconnect breaker and utility approval before you feed power back to the grid.

Series versus parallel wiring: which one you need

In a series connection, you connect the positive terminal of one panel to the negative terminal of the next, creating a chain. This adds up the voltage of each panel while keeping the current the same. If each panel produces 40 volts and 10 amps, two panels in series produce 80 volts and 10 amps. Most modern inverters expect 400 to 600 volts on the DC input side, so series wiring is the standard for residential systems.

In a parallel connection, you connect all positive terminals together and all negative terminals together. This keeps the voltage the same but adds up the current. Two 40-volt, 10-amp panels in parallel still produce 40 volts but now 20 amps. Parallel wiring is less common in home systems because it requires much thicker wiring to handle the higher current safely, and it produces lower voltage that most inverters cannot use efficiently.

Check your inverter's manual for its input voltage range — usually printed on the label on the back or side of the unit. Count how many panels you have and multiply one panel's voltage by that number. If the result falls within the inverter's range, series wiring works. If it exceeds the range, you may need to split your panels into two separate strings (two series chains) that each feed into the inverter, or use a different inverter.

Running wires between panels and to the inverter

Use DC-rated solar cable, typically 10 AWG to 2 AWG depending on the current your system carries. The thicker the wire (lower AWG number), the more current it can safely handle. Your inverter manual specifies the minimum wire size for your system's current. Do not use regular household electrical wire — it lacks the UV and temperature resistance solar installations require.

Run the positive wire from the first panel's positive terminal to the second panel's negative terminal (if wiring in series). From the last panel's positive terminal, run a wire to a DC disconnect switch — a safety device that lets you cut power to the inverter without unplugging anything. From the disconnect switch, run the positive and negative wires down to the inverter's DC input terminals, labeled + and −.

Keep the run as short as practical to reduce power loss. If panels are on a roof and the inverter is in a basement, you may lose 2 to 5 percent of power to resistance in a 100-foot run of undersized wire, but properly sized wire keeps that loss under 3 percent. Secure wires in conduit or cable trays to protect them from weather and physical damage, and label both ends of every wire with its voltage and current rating.

The inverter: converting DC to AC power

The inverter is the bridge between your solar panels and your home. It takes the DC power from the panels and converts it to 120/240-volt AC power that matches what your home's electrical panel supplies. String inverters are the most common type for residential systems — one inverter handles all the panels in a series string. Microinverters mount on individual panels and each one converts that panel's output, which costs more but handles shading better.

The inverter has a DC input side (where the panels connect) and an AC output side (where your home connects). On the AC side, run wiring from the inverter's output terminals to a breaker in your main electrical panel, or to a separate AC disconnect switch if local code requires one. This breaker must be rated for the inverter's AC output current — usually 20 to 60 amps for residential systems. The breaker protects the wiring and your home's panel from overcurrent.

Mount the inverter in a location with good ventilation and away from direct sunlight — a garage, basement, or utility closet works well. Most inverters have a small display showing real-time power output and any error codes. Check the manual for the correct orientation; some models must be mounted upright or at a specific angle for cooling fans to work properly.

Adding a charge controller if you have batteries

If your system includes battery storage, a charge controller sits between the panels and the batteries. It regulates the voltage and current flowing into the batteries to prevent overcharging, which damages battery cells and shortens their lifespan. There are two main types: PWM (Pulse Width Modulation) controllers are simpler and cheaper but less efficient, while MPPT (Maximum Power Point Tracking) controllers extract more power from the panels but cost more.

Wire the panels to the controller's DC input terminals, then wire the controller's DC output terminals to the positive and negative terminals of your battery bank. The controller monitors the battery voltage and reduces charging current as the battery fills up, stopping completely when full. Most controllers have a display showing battery voltage, charging current, and total energy stored.

Size the controller for your system's current. If your panels produce 50 amps total, the controller must handle at least 50 amps. Check the controller's manual for the maximum input voltage — it must be higher than your series-wired panels' voltage, or the controller will shut down to protect itself.

Connecting to your home's electrical panel or the grid

For a grid-tied system with no batteries, the inverter's AC output connects directly to a breaker in your main electrical panel. This breaker is usually a 240-volt double-pole breaker sized to the inverter's output current. The inverter then supplies power to your home first, and any excess flows backward through the meter to the utility grid, which credits your account.

Before connecting to the grid, you must obtain a utility interconnection agreement from your power company. This is a contract that specifies how your system connects, what safety equipment is required, and how you are credited for power you send back. Most utilities require a utility-grade disconnect switch between your inverter and the grid connection, so they can isolate your system during maintenance or outages. Some also require a second meter to track power flowing back to the grid, though many modern inverters have this built in.

For an off-grid system with batteries, the inverter's AC output connects to a breaker in a separate sub-panel in your home, not the main panel. This sub-panel supplies only the circuits you have chosen to run on solar power. The rest of your home can still draw from the grid or a backup generator. This setup is simpler because you do not need utility approval, but it requires you to manage battery charge levels and load carefully to avoid running out of power.

Safety equipment and breakers you need

Every solar system needs breakers and disconnects on both the DC and AC sides. On the DC side (between panels and inverter), install a DC breaker or fused disconnect rated for DC current — regular AC breakers cannot safely interrupt DC current and may fail dangerously. This breaker protects the wiring from the panels if a short circuit occurs. Size it for 125 percent of your panels' maximum current; if panels produce 40 amps, use a 50-amp breaker.

On the AC side (between inverter and home panel), install an AC breaker rated for AC current. This is a standard breaker like any other in your panel. Size it for 125 percent of the inverter's output current. If the inverter produces 30 amps, use a 40-amp breaker.

Install a DC disconnect switch between the panels and the inverter so you can safely shut down the DC side for maintenance or emergencies. Install an AC disconnect switch between the inverter and the home panel if your local electrical code requires one — many jurisdictions do. These switches let you isolate the solar system from the rest of your home's wiring without opening the main panel.

Grounding and bonding for safety

All metal frames of the solar panels, the inverter case, and the mounting structure must be bonded together and grounded to a ground rod driven into the earth near your home. This prevents dangerous voltage buildup if lightning strikes or a wire fails. Use green or bare copper wire sized appropriately for your system's current — usually 6 AWG to 2 AWG — to connect all metal parts to a central grounding point, then run a single wire from that point to the ground rod.

The ground rod must be at least 8 feet long and driven until only a few inches remain above ground. If your soil is very dry or rocky, you may need two rods spaced 6 feet apart, connected together with a copper conductor. Test the ground resistance with a meter if possible — it should be under 25 ohms, though lower is better. Poor grounding is a common cause of system failures and fire risk.

Frequently Asked Questions

Do I need a permit to connect solar panels myself?

Most jurisdictions require an electrical permit and inspection before you energize a solar system, even if you install it yourself. Contact your local building department or electrical inspector before you start wiring. They will tell you what inspections are needed and whether you must hire a licensed electrician for certain parts of the work.

What happens if I wire panels in series but the voltage is too high for my inverter?

The inverter will not turn on and may display an overvoltage error. You can split your panels into two separate strings, each with fewer panels, so each string's voltage falls within the inverter's range. Each string then connects to a separate DC input on the inverter, or you use two smaller inverters instead of one large one.

Can I add more panels to my system later?

Yes, but only if your inverter has enough DC input capacity and your wiring and breakers can handle the additional current. Check your inverter's manual for its maximum input current and voltage. If you are at or near the limit, you will need a larger inverter or a second inverter to add more panels safely.

What size wire do I need between my panels and inverter?

Wire size depends on the current your panels produce and the distance from panels to inverter. Use a solar wire sizing calculator (search "solar wire size calculator") and enter your system's current in amps and the distance in feet. The calculator will tell you the minimum AWG size. When in doubt, go one size thicker — it costs little more and reduces power loss.

Do I need a battery backup system?

No. Grid-tied systems without batteries are simpler, cheaper, and more efficient because you do not lose power storing and retrieving energy from batteries. You draw from the grid at night and send excess power back during the day. Batteries are useful only if you want power during grid outages or live off-grid with no utility connection.