Skip to content
Independent adviceKent basedFree, no-obligation quotes
[email protected]
Solar Panels KentIndependent solar guide

How to connect a solar panel to a battery

How to connect a solar panel to a 12V battery safely through a charge controller: what you need, the right order to connect everything, fuses, cable sizes and common mistakes.

Updated

We may earn a commission if you buy through links on this page, at no extra cost to you. It never changes what we recommend.How we make money

At a glance

Quick comparison
ModelCapacityOutputWeightUK priceMore
Renogy Rover 2 12V/24V 20A Compact MPPT Charge Controller with BluetoothTBCTBCTBC£68.99Details
Renogy New Edition Voyager 20A PWM Waterproof Solar Charge ControllerTBCTBCTBC£40.99 to £42.99Details
Renogy 300W 12V Premium Kit with Rover 40A MPPTTBCTBCTBC£389.99 to £479.99Details

To connect a solar panel to a battery, you need a charge controller between them. Connect the battery to the controller first, then the solar panel to the controller, with a fuse on the battery cable close to the battery terminal. Disconnect in the reverse order. Skipping the charge controller risks overcharging and damaging the battery.

This guide covers a typical 12 V setup for a shed, campervan, caravan or boat. If anything involves mains (230 V) wiring, get a qualified electrician.

What you need

Part Why
Solar panel Makes the electricity. Size it to your use (see below).
Charge controller Charges the battery safely and stops overcharging. Choose MPPT for over about 200 W.
12 V battery Stores the power. Lithium (LiFePO4) or AGM.
Solar cable with MC4 connectors Connects the panel to the controller.
Battery cable Connects the controller to the battery. Sized for the current.
Inline fuses or breakers Protects the wiring if something shorts.

A solar panel kit includes a matched panel, controller and cables, which takes the guesswork out. See solar panel kits.

What size panel and controller?

Panel: 50 to 100 W keeps a battery topped up. 100 to 200 W covers lights, a pump and charging. 200 to 400 W keeps up with a compressor fridge in summer.

Controller: divide the panel watts by the battery voltage and add about 25%. For 200 W on a 12 V battery: 200 ÷ 12 = 17 A, plus 25% = about 21 A, so a 20 to 30 A controller. Make sure it has a lithium setting if your battery is lithium. Read MPPT vs PWM to choose the type.

Step-by-step: connecting it up

  1. Mount the controller somewhere dry and ventilated, as close to the battery as practical. Shorter battery cables waste less power.
  2. Cover the solar panel with a blanket or leave it face down. Panels produce voltage whenever there’s light, so this keeps you safe while you wire.
  3. Connect the battery to the controller first. Run positive (red) and negative (black) cables from the controller’s battery terminals to the battery, with a fuse or breaker on the positive cable close to the battery. Most controllers detect 12 V or 24 V when the battery is connected, which is why it goes first.
  4. Set the battery type on the controller: lithium, AGM, flooded or gel.
  5. Connect the solar panel to the controller. Plug the panel’s MC4 connectors into the solar cable, and connect the other end to the controller’s PV terminals, positive to positive and negative to negative. Fit a fuse or breaker on the panel cable if the instructions call for one.
  6. Uncover the panel. The controller should show the panel voltage and charging current.
  7. Connect your 12 V loads to the controller’s load terminals or a fused distribution panel, depending on the system.

Disconnecting: reverse the order. Cover or unplug the panel first, then disconnect the battery. Never disconnect the battery while the panel is still connected, as some controllers can be damaged.

Cable and fuse sizes

Use the cable sizes and fuse ratings in your controller’s manual. As a rough guide for 12 V:

Current Typical cable for short runs
Up to 20 A 4 to 6 mm²
20 to 30 A 6 to 10 mm²
30 to 40 A 10 to 16 mm²

Longer cable runs need thicker cable to avoid voltage drop. Always fuse the positive cable as close to the battery as possible.

Common mistakes

  • No charge controller. Fine for a tiny trickle charger, dangerous for anything bigger.
  • Wrong connection order. The controller may not detect the battery voltage.
  • Lead-acid settings on a lithium battery. It won’t charge properly and may be damaged.
  • No fuse near the battery. A short circuit can melt cables.
  • Undersized cables. They run hot and waste power.
  • Shading. Even partial shade can cut a panel’s output dramatically.

When to call a professional

Small 12 V systems are a common DIY project. Get a qualified electrician or auto electrician if you’re adding an inverter, connecting to mains wiring, working on a boat’s electrical system, or are at all unsure.

The products in this article

Best small MPPT controller

Renogy Rover 2 12V/24V 20A Compact MPPT Charge Controller with Bluetooth

TBC · TBC · £68.99

Good

  • TBC

Watch out for

  • TBC

Best budget controller

Renogy New Edition Voyager 20A PWM Waterproof Solar Charge Controller

TBC · TBC · £40.99 to £42.99

Good

  • TBC

Watch out for

  • TBC

Easiest option: a matched kit

Renogy 300W 12V Premium Kit with Rover 40A MPPT

TBC · TBC · £389.99 to £479.99

Good

  • MPPT controller included
  • Rigid, anti-shading or flexible panel options

Watch out for

  • Battery and inverter not included

Frequently asked questions

Can I connect a solar panel directly to a battery?
Only a very small trickle-charge panel, of a few watts, designed for that purpose. Anything bigger needs a charge controller, or it can overcharge and damage the battery.
What size solar panel do I need to charge a 12V battery?
To keep a leisure battery topped up, 50 to 100 W. For daily use with lights and a pump, 100 to 200 W. To keep up with a compressor fridge, 200 to 400 W. UK winter output is much lower than summer.
Which do I connect first, the battery or the solar panel?
Connect the battery to the charge controller first, so it can detect the system voltage. Then connect the solar panel. Disconnect in reverse order: panel first, then battery.

Keep reading