How to connect a solar panel to a battery safely
Run the panel through a charge controller, never straight to the battery. Size the controller, fuse the battery within 150 mm, and connect the battery first.

Connect a solar panel to a battery through a charge controller: battery to controller first, then panel to controller, with a fuse on the battery's positive cable and the panel switched off until the end. Victron's wiring handbook is blunt that solar panels are not allowed to be connected directly to a battery, because the panel's voltage will overcharge and damage it, and the controller is the part that turns panel voltage into a safe charging voltage.
This guide sizes each part from manufacturer manuals (Victron's SmartSolar MPPT datasheet and Wiring Unlimited handbook, and EPEver's Tracer AN G3 manual) and the solar rules in the National Electrical Code (NFPA 70). It ends with a worked 300 W, 12 V build and a list of jobs to hand to a licensed electrician. If you own a portable power station, you can skip the controller entirely; the section on power stations explains why.
The parts and what each one does
A basic panel-to-battery system has five parts besides the panel and the battery. Every rule in the table comes from a maker manual or the code, linked below.
| Part | Job | Sizing rule | Source |
|---|---|---|---|
| MPPT charge controller | Converts panel voltage to battery charging voltage and stops at full | Charge current at least array watts / battery charge voltage; PV input voltage above the string's cold Voc | Victron and EPEver datasheets |
| Battery fuse or breaker | Protects the battery cable from a short | 1.25 to 2 times the controller's rated current, within 150 mm of the battery | EPEver Tracer AN G3 manual |
| Battery cable | Carries charge current | Per the controller manual's table, larger for long runs | EPEver manual; Victron Wiring Unlimited |
| PV disconnect or breaker | Lets you isolate the panels | DC-rated, at least the array's cold Voc | NEC 690.13 and 690.15 |
| PV cable | Carries panel current | Ampacity at least 1.56 x Isc | NEC 690.8 |
Step 1: size the charge controller
A controller has two ratings that matter: how much current it can push into the battery, and how much voltage it can accept from the panels.
Charge current. Divide the array's rated watts by the battery's charging voltage. Victron's SmartSolar MPPT 100/30 and 100/50 datasheet lists a default absorption voltage of 14.4 V on a 12 V battery, and its nominal PV power ratings work out to about that: 440 W / 30 A = 14.7 V for the 100/30. If you connect more panel watts than the rating, Victron says the controller limits input power, which wastes the extra but does no harm. The hard limit is short-circuit current: Victron warns that an array with Isc above 35 A on the 100/30, or 60 A on the 100/50, may damage the controller.
Voltage. Two checks. The array's cold-weather open-circuit voltage must stay below the controller's maximum PV voltage, and its operating voltage must stay above the battery voltage by enough margin to start charging. Victron says PV voltage must exceed battery voltage plus 5 V for its controllers to start. EPEver's Tracer AN G3 manual gives a tracking range of battery voltage plus 2 V up to 72 V on its 100 V models.
Here are the published ratings for two common controller families:
| Controller | Rated charge current (A) | Max PV open-circuit voltage | Rated PV power, 12 V battery (W) | Rated PV power, 24 V battery (W) |
|---|---|---|---|---|
| EPEver Tracer1210AN G3 | 10 | 92 V at 25°C, 100 V at minimum operating temperature | 130 | 260 |
| EPEver Tracer2210AN G3 | 20 | 92 V at 25°C, 100 V at minimum operating temperature | 260 | 520 |
| EPEver Tracer3210AN G3 | 30 | 92 V at 25°C, 100 V at minimum operating temperature | 390 | 780 |
| EPEver Tracer4210AN G3 | 40 | 92 V at 25°C, 100 V at minimum operating temperature | 520 | 1,040 |
| Victron SmartSolar MPPT 100/30 | 30 | 100 V | 440 | 880 |
| Victron SmartSolar MPPT 100/50 | 50 | 100 V | 700 | 1,400 |
Sources: EPEver Tracer AN G3 manual, technical specifications; Victron SmartSolar MPPT 100/30 and 100/50 datasheet. EPEver's 06AN models (60 V, 46 V at 25°C) are omitted.
Source: EPEver Tracer AN G3 manual; Victron SmartSolar MPPT 100/30 and 100/50 datasheet
Two patterns stand out. A controller handles twice the panel watts on a 24 V battery as on a 12 V one, because the same current at twice the voltage is twice the power. That is one reason larger systems move to 24 or 48 V. And two controllers with the same 30 A rating carry different PV power ratings, so read the watt figure for your battery voltage rather than assuming from the amps.
An MPPT controller is the right choice for nearly every setup here. A PWM controller ties the panel to battery voltage and gives up the difference, which our MPPT versus PWM guide works through.
The cold-weather voltage check
Panel voltage rises in the cold. NEC 690.7 requires the maximum voltage to be figured at the lowest expected temperature, using the panel maker's temperature coefficient. For a Victron 150 W, 12 V panel (BlueSolar datasheet: Voc 22.3 V, coefficient -0.35% per °C), the cold Voc at -10°C (14°F) is:
22.3 x (1 + 0.0035 x (25 - (-10))) = 22.3 x 1.1225 = 25.0 V per panel
3 in series = 75.1 V (fits a 100 V controller)
4 in series = 100.1 V (over the limit)
Our guide to wiring solar panels in series and parallel runs this check from 0°C to -40°C and covers PV wire, string fuses, and voltage drop.
Step 2: size the battery fuse and cable
The battery is the part that can deliver a dangerous amount of current. A short in the cable between battery and controller is fed by the battery, not the panels, so the battery cable needs a fuse at the battery end.
EPEver's manual gives the rule directly: install a fast-acting fuse rated at 1.25 to 2 times the controller's rated current on the battery side, no more than 150 mm (about 6 inches) from the battery. It also sets a battery cable length limit of 3 meters. Its cable and breaker table, with the fuse range calculated from that rule:
| EPEver model | Rated charge current (A) | Battery wire in manual | Breaker in manual | Fuse range at 1.25 to 2x (A) |
|---|---|---|---|---|
| Tracer1210AN G3 | 10 | 12 AWG (4 mm²) | 16 A, 125 V | 12.5 to 20 |
| Tracer2210AN G3 | 20 | 10 AWG (6 mm²) | 32 A, 125 V | 25 to 40 |
| Tracer3210AN G3 | 30 | 8 AWG (10 mm²) | 40 A, 125 V | 37.5 to 60 |
| Tracer4210AN G3 | 40 | 6 AWG (16 mm²) | 63 A, 125 V | 50 to 80 |
Source: EPEver Tracer AN G3 manual, sections 2.3 and 2.4.
The fuse protects the wire, so it should never be larger than the cable can carry. Victron's Wiring Unlimited handbook says a fuse must match the lower of the device's current rating and the cable's current rating.
Interrupt rating matters with lithium
Lithium batteries can deliver very large currents into a short, far more than a comparable lead-acid battery. Victron's handbook says that in every lithium installation at least one fuse in the DC line must have an interrupt rating (the largest fault current it can safely break) at or above the battery bank's maximum short-circuit current, and calls this mandatory. It lists typical ratings:
| Fuse type | Max DC voltage | Interrupt rating |
|---|---|---|
| Class T (Eaton Bussmann) | 160 V | 200,000 A |
| Class T (various makers) | 125 to 300 V | 20,000 A |
| Blue Sea ANL | 80 V | 6,000 A |
| Eaton Bussmann AMX(L) | 125 V | 3,000 A |
| Littelfuse MEGA | 70 V | 2,500 A |
| Blue Sea MRBF terminal fuse | 58 V | 2,000 A |
Source: Victron Wiring Unlimited, section 4.6.1.
Your battery's manual or datasheet gives its short-circuit current. A Class T fuse near the battery covers almost any small bank; a smaller fuse for the controller branch can follow it.
The same handbook warns that many DC fuses are rated for 12 and 24 V and not for 48 V, and that some DC breakers are polarity-sensitive, so the direction they are wired in matters.
Step 3: connect everything in order
The order matters. EPEver's manual says to connect the battery first, then any DC load, then the PV array, and to disconnect in the reverse order. Both the Victron and EPEver controllers detect whether they're on a 12 V or 24 V battery automatically, and they need the battery present to do that.
- Mount the controller close to the battery, but not in a sealed box with it. EPEver asks for 150 mm of clearance above and below for airflow and warns never to install it in a sealed enclosure with flooded lead-acid batteries, which give off gas.
- Leave the battery fuse out and the PV breaker open. Cover the panels or leave them disconnected. Panels make voltage whenever light reaches them.
- Run the battery cables. Positive from the battery through the fuse holder to the controller's battery positive terminal; negative straight to the battery negative terminal. Check polarity twice; EPEver tells you not to install the fuse until the wiring is complete and the polarity is confirmed. Torque the terminals to the manual's value.
- Insert the battery fuse. The controller should power up and show the battery voltage. EPEver's battery indicator lights green when it's operating normally.
- Set the battery type. Choose the lithium (LiFePO4) profile, or enter your battery maker's absorption and float voltages. Victron's defaults (14.4 V absorption, 13.8 V float on 12 V) are set for a generic battery and may not match yours.
- Connect the panels to the controller's PV terminals with the PV breaker still open, then close it. The controller should show PV voltage and begin charging.
- Connect an inverter to the battery, not the controller. EPEver says an inverter must connect directly to the battery and not to the controller's load terminals, which are rated for 10 to 40 A on these models, far less than an inverter can draw.
Check it with a multimeter
Before step 6, measure the panel leads in sun: you should read close to the panel's rated Voc, a little lower on a hot day. With charging running, battery voltage at the controller's terminals and at the battery posts should match within a few tenths of a volt. Victron's handbook recommends keeping voltage drop under 2.5%, which on a 12 V system is 0.3 V. A bigger gap means a loose connection or undersized cable.
If the controller shows PV voltage but no charging, check the start condition. A single 12 V-class panel (Vmp about 18 V) on a 24 V battery will never pass Victron's battery-plus-5 V threshold. Two panels in series will.
Worked example: 300 W on a 12 V lithium battery
The system: two Victron 150 W panels in series, a 12.8 V, 100 Ah LiFePO4 battery, and a 30 A MPPT controller.
PVWatts models a grid-connected system with a default 14% total system loss (NREL's PVWatts Version 5 Manual, Dobos, 2014), so treat the recharge figures as estimates for a battery system. To run the numbers for your own location, use PVWatts directly. For runtime math on what the battery can run, see our guide to watts, watt-hours, and amp-hours.
One more limit: lithium iron phosphate batteries should not be charged below freezing. Anker's SOLIX C1000 Gen 2 page, for example, lists a charging range of 32°F to 104°F. If your battery lives in an unheated shed or van, buy one with a built-in heater or low-temperature charge cutoff, and set the controller's low-temperature limit if it has one. Our LiFePO4 pros and cons guide covers the chemistry.
Adding more batteries
Victron's handbook sums up battery banks the same way as panels: batteries in series add voltage, batteries in parallel add capacity, and series-parallel adds both. A few rules from the same source:
- Wire parallel banks so every battery sees the same cable path. If you connect the bank at one end only, the battery nearest the cables works harder and fails first. Victron's fixes: busbars, equal-length cables from each battery to common posts, or connecting positive at one end and negative at the other (diagonal), which helps but isn't perfect.
- Don't build big banks from many 12 V lead-acid batteries. Victron puts the practical limit at about three or four parallel strings, because the bank gets hard to keep balanced.
- Follow your lithium battery's limits. Each battery's manual states how many units can go in series and in parallel. Don't exceed them, and use matching batteries of the same age.
A 24 V bank made from two 12 V batteries in series doubles what the same controller can deliver, as the table above shows. Change the controller's battery voltage setting, or let it re-detect, after rewiring.
If you have a portable power station
A portable power station has the charge controller, battery management, and fuses built in, so you plug panels straight into its solar input. The voltage and wattage checks still apply, with the station's own limits. A few from our power station finder, which lists every model's solar input:
| Station | Rated capacity (Wh) | Solar input voltage | Max solar input (W) | Solar connector |
|---|---|---|---|---|
| Goal Zero Yeti 500 | 499 | 12.3 to 28 V | 200 | 8 mm |
| Jackery Explorer 1000 v2 | 1,070 | 12 to 60 V | 400 | 2 x DC8020 |
| BLUETTI AC180P | 1,440 | 12 to 60 V | 500 | DC7909 |
| Anker SOLIX C1000 Gen 2 | 1,024 | 11 to 60 V | 600 | XT60i |
| EcoFlow DELTA 3 Plus | 1,024 | 11 to 60 V | 1,000 | 2 x XT60 |
Maker-rated figures from each station's product page, via the finder, checked November 25, 2026.
Those capacities are ratings, and less reaches the outlets. OutdoorGearLab's July 2026 power station test, which drains each station through a measured bank of light bulbs, got 910 Wh of AC power from the Jackery Explorer 1000 v2 (85% of its 1,070 Wh rating) and 890 Wh from the Anker SOLIX C1000 Gen 2 (87% of 1,024 Wh). Panels fall short of their labels too: the same outlet's portable panel test measured 56% to 91% of rated watts across 12 panels, so a 200 W panel on a 500 W input is unlikely to hit the input limit.
The Yeti 500's 28 V ceiling means one 12 V-class panel at a time, or several in parallel. The 60 V stations take two in series. Our guide to choosing a portable power station explains the rest of the specs, and portable solar panels for power stations matches panels to inputs.
When to call a licensed electrician
NEC 690.4 requires PV equipment and wiring to be installed by qualified persons. A small 12 or 24 V system in a van, boat, or shed is well within what many owners do under a permit. Hire a licensed electrician when:
- The battery or inverter will connect to your home's wiring in any way, through a transfer switch, interlock, inlet, or a hybrid inverter. Backfeeding a house wired without a proper transfer method can energize utility lines.
- The panels go on the roof of a house, where NEC 690.12 rapid shutdown and roofing work apply.
- You're building a 48 V bank or a system with an inverter over about 2,000 W. Battery cable currents run into the hundreds of amps, and the fuse interrupt ratings above become critical.
- Your local building department requires a licensed electrician for permanent wiring, which many do in a dwelling.
For a bigger picture of what a self-installed system involves, read our guide to installing solar panels yourself.
Sources
- Victron Wiring Unlimited
- Victron SmartSolar MPPT 100/30 and 100/50 datasheet
- Victron BlueSolar monocrystalline panel datasheet
- EPEver Tracer AN G3 user manual, version 2.4
- NFPA 70, National Electrical Code
- NREL PVWatts Calculator (National Laboratory of the Rockies)
- Anker SOLIX C1000 Gen 2 product page
- Goal Zero Yeti 500 product page
- Jackery Explorer 1000 v2 product page
- BLUETTI AC180P product page
- EcoFlow DELTA 3 Plus product page
- NREL, PVWatts Version 5 Manual, Dobos, NREL/TP-6A20-62641 (2014)
- OutdoorGearLab, Best power stations (measured AC output of 14 stations, updated July 2026)
- OutdoorGearLab, Best portable solar panels (measured output of 12 panels, updated July 2026)



