Updated November 2026
A solar panel wiring diagram with inverter and battery shows how your panels, charge controller, battery bank, and inverter connect so power flows from sunlight to your appliances safely. In this guide you will learn how to read a typical diagram, match panel strings to your controller, size the battery and inverter connections, and add the protective devices that keep the system from overheating or shocking someone. Always have a licensed electrician review the final design and inspect the work before you energize the system.
What a Solar Panel Wiring Diagram Shows
A wiring diagram is a map of electrical paths. It tells you which conductor goes where, what size wire and fuse belong on each run, and where disconnects and grounding points sit. For an off-grid or battery backup system, the diagram usually includes five blocks: the PV array, a combiner or disconnect, the charge controller, the battery bank, and the inverter that feeds your home loads. Some diagrams add a transfer switch or a grid-tie connection, which we cover later.
Shopping for one? See our guide: 6 Best Solar Panel Battery Wiring Diagram Guides for Homeowners (2026).
Read the diagram from left to right. Power starts at the panels, moves through the controller, is stored in the battery, and leaves through the inverter. Each arrow usually represents a DC or AC conductor, and each small box is a protective device. Once you can trace that path, the rest of the drawing becomes much easier to follow.
Core Components and Their Roles
- Solar panels: Produce DC power. Their voltage (Voc and Vmp) and current (Isc and Imp) are printed on the nameplate and set your string design.
- Charge controller: Regulates the voltage going into the battery. MPPT controllers accept higher panel voltages and are common in modern systems. PWM controllers require panel voltage close to battery voltage.
- Battery bank: Stores energy as DC. Batteries are wired in series to raise voltage and in parallel to raise capacity. Lithium iron phosphate and lead-acid are the two types you will most often see.
- Inverter: Converts battery DC into 120V or 240V AC for household loads. Its DC input voltage must match your battery bank voltage (commonly 12V, 24V, or 48V).
- Protective devices: DC fuses or breakers, a battery fuse close to the battery terminal, surge protection, and disconnects between each major block.
- Grounding: Equipment grounding conductors and, where required, a system grounding electrode.
Step 1: Confirm Your System Voltage
Pick a nominal system voltage first, because everything else depends on it. A 12V system suits small cabins and boats. A 24V system is common for mid-sized off-grid homes. A 48V system is typical for larger homes because it reduces current and wire size. Your inverter’s DC input rating is the hard limit: if the inverter is a 48V unit, your battery bank must be 48V nominal. Check the inverter manual before you buy batteries.
Step 2: Design the Panel Array
Series strings
Connecting panels in series adds their voltages while current stays the same. This raises the input voltage to the charge controller, which is useful with MPPT controllers because higher voltage means lower current in the wire run.
Parallel strings
Connecting strings in parallel adds current while voltage stays the same. This is how you increase total array output without exceeding the controller’s maximum input voltage.
Check the limits
Calculate the cold-weather open-circuit voltage of your string using the panel’s temperature coefficient for Voc. The result must stay below the controller’s maximum PV input voltage. Also confirm that the total short-circuit current of the parallel strings does not exceed the controller’s rated input current.
Step 3: Wire the Battery Bank
Use batteries of the same model, age, and capacity. Mixed batteries cause uneven charging and early failure. For series banks, connect positive to negative between adjacent batteries and take the total voltage from the two open ends. For parallel banks, connect like terminals together. Keep the connection lengths as equal as possible so current shares evenly.
Place a DC fuse or breaker as close to the positive battery terminal as practical, sized to the maximum current the inverter can draw. This protects the cable run if a short occurs between the battery and the inverter.
Step 4: Connect the Charge Controller
- Turn off all breakers and disconnects. Confirm the array is covered or the panels are otherwise isolated.
- Connect the controller’s battery terminals to the battery bank first. This lets the controller detect system voltage.
- Connect the solar input from the array only after the battery is connected.
- Set the battery type, voltage, and charge profile in the controller to match your batteries.
- Install a DC disconnect between the array and the controller so you can isolate the panels for service.
Connecting the array before the battery can damage some controllers, so keep this order.
Step 5: Connect the Inverter
Run heavy DC cable from the battery terminals to the inverter’s DC input, keeping the run short. Use a DC-rated fuse or breaker near the battery and a disconnect at the inverter. On the AC side, the inverter output feeds a sub-panel or a transfer switch. If you plan to use a generator, the transfer switch prevents backfeeding the utility.
Sample wire and fuse sizing
| System voltage | Typical inverter size | Approximate DC current at full load | Common battery fuse rating |
|---|---|---|---|
| 12V | 1,000 W | About 85 A | 100 A class fuse |
| 24V | 3,000 W | About 130 A | 150 A class fuse |
| 48V | 5,000 W | About 110 A | 125 A class fuse |
These figures are rough examples for a fully loaded inverter with efficiency losses included. Your actual cable size depends on run length and allowable voltage drop. Use the inverter manufacturer’s recommended cable table and your local electrical code.
Step 6: Add Protection and Grounding
Every positive DC conductor should have an overcurrent device sized for its wire. Install surge protection on the array side if your region sees lightning. Bond the equipment grounding conductors to the system ground as your local code requires. Label all disconnects and fuses so anyone servicing the system knows what each one isolates.
Common Mistakes
- Exceeding the controller’s maximum PV input voltage on cold mornings. Always calculate using cold-temperature Voc.
- Mixing old and new batteries or different capacities in the same bank.
- Undersized DC cable. Thin wire causes voltage drop and heat, especially at 12V.
- Skipping the battery fuse, leaving the bank unprotected against a dead short.
- Connecting the array before the battery, which can damage the controller.
- Using AC-rated breakers on DC circuits. DC arcs are harder to interrupt, so use DC-rated devices.
- Wiring the inverter output into the main panel without an approved transfer or interlock method.
Tips for a Cleaner Installation
- Draw your own diagram before buying parts. Mark every fuse, disconnect, and cable length.
- Use color-coded cable and heat-shrink labels at both ends of each run.
- Keep the battery in a ventilated enclosure, especially lead-acid types that release hydrogen while charging.
- Torque all terminals to the manufacturer’s specification and recheck after the first few charge cycles.
- Leave room in your cable routing for future expansion.
Recommended gear
A quality crimping tool and MC4 connector kit makes the panel-side connections reliable and weatherproof, which matters more than most beginners expect. A digital multimeter with DC voltage and current ranges lets you verify open-circuit voltage and polarity before you connect anything to the controller. A DC-rated fuse holder and a properly sized battery fuse protect the battery-to-inverter run. Owners often report that a clamp meter with DC capability speeds up commissioning because you can confirm charge and load current without breaking the circuit.
- MC4 crimping tool kit: keeps panel connections secure and rated for outdoor use. View on Amazon
- Digital multimeter with DC measurement: verifies polarity and open-circuit voltage before energizing. View on Amazon
- DC-rated battery fuse holder: protects the main battery cable at the terminal. View on Amazon
- DC clamp meter: checks charge and load current without interrupting the circuit. View on Amazon
Related Reading
If you are still choosing between series and parallel layouts, the guide Solar Panel Parallel Wiring Diagram: Step-by-Step Guide for Homeowners walks through the math. For battery bank construction specifically, see How to Make a Battery Bank for Solar Panels: A Step-by-Step Guide. If you plan a 48V system, 48V Solar Panel Wiring Diagram: A Step-by-Step Guide for Homeowners covers voltage choices in more detail, and Solar Panel Wiring Connections: Series, Parallel and MC4 Steps explains the connector work. Before buying cable, compare options in 3 Best Solar Panel to Inverter Wiring Cables for Homeowners (2026).
FAQ
Can I connect the solar panels directly to the inverter?
Some small inverters accept direct PV input, but most home systems route the array through a charge controller so the battery is charged correctly. Check the inverter manual before wiring it straight to the panels.
What size fuse goes between the battery and the inverter?
Size the fuse to the inverter’s maximum continuous DC current draw, with a margin, and use a DC-rated fuse. The exact rating depends on the inverter and cable size, so confirm it against the manufacturer’s documentation.
Do I need a disconnect between the panels and the controller?
Yes. A DC disconnect lets you isolate the array for maintenance and is required in many jurisdictions. Your local code will specify placement.
Can I mix panels of different wattages in one string?
It is better to avoid this. Mismatched panels in series limit the output of the whole string to the weakest panel, and mixing in parallel can cause unequal currents. Use identical panels where possible.
What battery voltage should I choose?
Match the battery voltage to your inverter’s DC input. Higher voltage systems, such as 48V, carry lower current for the same power, which allows smaller cable, but they require more careful handling.
Is a grid-tied system wired the same way?
Grid-tied systems often omit the battery and use a grid-interactive inverter that connects directly to your panel. Battery backup versions add a transfer switch and follow similar DC wiring rules.
Should a professional review my wiring diagram?
Yes. A licensed electrician or qualified solar installer should review the design, confirm code compliance, and inspect the work before the system is energized. Mistakes in DC wiring can cause fires and serious injury.
Conclusion
A solar panel wiring diagram with inverter and battery is a logical map: panels feed a controller, the controller charges the battery, and the inverter draws from the battery to power your home. Choose your system voltage first, size the array to the controller limits, and protect every DC run with correctly rated fuses and disconnects. Check your design against local code and have a professional confirm it before you switch the system on.
