Guide

How to Make a Solar Battery Charger at Home

A basic solar battery charger needs three things: a solar panel, a charge controller, and the battery you want to charge. For a 12 volt battery, connect a nominal 12 volt panel to a charge controller, then connect the controller to the battery through a fuse. The controller is the part you should not skip, because it stops the panel from overcharging and damaging the battery.

Updated 2026-11-13 · Based on published specifications and maker information

Top picks from our best solar battery charger for backpacking comparison

What a solar battery charger actually does

A solar panel makes electricity only while light hits it, and its voltage and current rise and fall with the sun. A battery needs steady, controlled charging. The charge controller sits between them and turns the panel's changing output into a safe charging profile.

Connecting a panel straight to a battery can work for a very small panel on a large battery, but it is risky. On a bright day, a panel marketed as 12 volt can produce about 18 volts or more with no load. That can overcharge a lead-acid battery and can damage a lithium battery.

Parts for a 12 volt solar battery charger

This build suits a car, boat, trailer, shed or garden battery. Pick the parts to match each other, and match the controller to your battery type, such as flooded lead-acid, AGM or lithium iron phosphate.

  • Solar panel: a rigid or folding panel rated for 12 volt charging, usually 20W to 100W for small projects.
  • Charge controller: a PWM or MPPT unit with a battery type setting. PWM is simpler. MPPT squeezes more power from the panel, especially in cool or hazy light.
  • Battery: a 12 volt battery in good condition, in the type your controller supports.
  • Inline fuse or breaker: one near the battery on the positive wire, rated for the wire and controller.
  • Wire: copper cable thick enough for the current, kept as short as practical.
  • Connectors and tools: crimp lugs or ring terminals, a crimper, wire strippers, and a multimeter.

Step-by-step wiring

Work in shade or cover the panel with a blanket while you wire it. A panel in sun is live the whole time, even when it is not connected to anything.

Follow the order below. Most controllers specify the same sequence, and you should check your manual for any differences.

  • Mount the controller on a flat, dry, ventilated surface close to the battery.
  • Fit the fuse holder on the battery's positive wire, with the fuse removed for now.
  • Connect the controller to the battery first, negative then positive through the fuse. The controller should power up and detect the battery voltage.
  • Set the battery type on the controller, such as AGM, flooded or lithium.
  • Connect the panel to the controller's solar input, with the panel still covered.
  • Uncover the panel and check the controller's display or indicator lights for charging.
  • Measure battery voltage with a multimeter over the day and confirm it rises while charging.

Sizing the panel to the battery

A simple way to size a panel is to divide its watts by about 18 volts to estimate peak charging current in full sun. Real output is usually lower because of clouds, heat, panel angle and wiring losses.

For lead-acid batteries, a common guideline is to keep charging current well below the battery's amp-hour rating, roughly 10 to 20 percent of capacity. A small panel on a large battery will still work. It will just take longer to recover the charge.

If your battery is an AGM type and you want faster or more predictable charging on cloudy days or overnight, a dedicated mains charger is a useful backup. Our guide to the best battery charger for AGM batteries compares options by their published specifications.

A small USB version for hobby projects

If you only want to charge a single lithium-ion cell, such as an 18650, you can build a small charger from a 5V to 6V panel, a TP4056 charging module and a battery holder. The module handles charge current and cutoff for one cell. Many versions also include protection circuits, while others do not, so read the module description carefully.

This is a learning project, not a good way to charge a phone on a trip. Reused cells of unknown age and condition can be unsafe. Use new, genuine cells and never charge a swollen or damaged cell.

The comparison table below shows which route suits which job.

ProjectMain partsBest for
12 volt panel, controller and batteryPanel, PWM or MPPT controller, fuse, wireCars, boats, sheds, garden lighting
Single-cell USB chargerSmall panel, TP4056 module, 18650 cellHobby learning and low-power gadgets
Ready-made folding panelPanel with built-in USB portsHiking, camping, phones and power banks

Safety notes you should not skip

Lead-acid batteries can release hydrogen gas while charging, so keep them in a ventilated space away from sparks and flames. Wear safety glasses when working near a battery, since acid and short circuits can cause injury.

Remove rings and metal jewelry before working on terminals. Always fuse the positive wire close to the battery, because a short circuit can melt cable and start a fire. If you mount a panel on a roof, use fall protection and avoid working in wind or on wet surfaces.

Do not charge a frozen, cracked or leaking battery. If you are unsure about wiring a larger system into a home, boat or vehicle, ask a qualified electrician.

When buying makes more sense

A homemade 12 volt charger is a good fit for a fixed setup. It is less practical if you mainly want to charge phones, a GPS or a power bank on a trail. For that, a folding panel with built-in USB output is simpler and lighter.

Our best solar battery charger for backpacking page compares folding panels by weight, rated power and waterproof rating. For example, the GEYOTO 45W panel is listed at 1.65 lb with IP68 waterproofing and three ports, while the BigBlue 25W model is listed at 0.84 lb.

Frequently asked questions

Can I connect a solar panel straight to a car battery?

It is not recommended. Without a charge controller, the panel can overcharge the battery. Only a very small trickle panel with built-in regulation is designed for direct connection, so check the product description.

Do I need a charge controller for a small panel?

Usually yes. Even small panels can overcharge a battery over time. Some tiny maintainer panels include regulation, but check before you rely on that.

Can I charge a lithium battery with the same setup?

Only if your controller supports that chemistry and the battery has proper protection. Using a controller set for lead-acid on lithium can damage the battery.

Will a solar charger work on cloudy days?

It will still produce some power, but much less than in direct sun. Expect slower charging, and size the panel with that in mind.

Compare the products