Most solar garden lights run on NiMH batteries. A single AA NiMH cell provides 1.2 volts, which is enough to drive a white LED with a simple boost circuit, and NiMH batteries tolerate the crude charging that cheap solar controllers provide. The problem is that NiMH batteries degrade fast in solar light service. They get cooked in the summer heat, they freeze in the winter, and they die after one or two seasons. You end up replacing them constantly.
Lithium iron phosphate, or LiFePO4, is a different battery chemistry that solves most of these problems. LiFePO4 cells last 2000 to 5000 charge cycles compared to 500 for NiMH. They tolerate heat better. They hold their charge longer in storage. They do not leak. The catch is that LiFePO4 has a nominal voltage of 3.2 volts per cell, which is almost three times the voltage of a NiMH cell. You cannot just drop a LiFePO4 battery into a light designed for NiMH. The voltage mismatch will either fry the LED driver or undercharge the battery, depending on the direction of the mismatch.
This guide covers how to convert a NiMH solar light to LiFePO4. I will walk through voltage matching, charge circuit modifications, battery holder adaptation, and the cases where the conversion is not worth doing. This is an advanced project. You need to understand basic electronics, be comfortable soldering, and be willing to test your work carefully before leaving a modified battery unattended.
Understanding the Voltage Differences
The first thing to understand is why voltage matters so much. A solar light is a small electrical system with four parts: the solar panel (generator), the charge controller (regulator), the battery (storage), and the LED with its driver (load). Every part is designed to work at a specific voltage range, and if you change the battery voltage, you affect how every other part behaves.
A single NiMH AA cell has a nominal voltage of 1.2V, a full charge voltage of about 1.45V, and a discharged voltage of about 1.0V. Most single battery solar lights are designed around this 1.0 to 1.45V range.
A single LiFePO4 cell (commonly sold as a 14500 size, which is the same physical size as AA) has a nominal voltage of 3.2V, a full charge voltage of 3.65V, and a discharged voltage of 2.5V. The voltage range is completely different and much higher.
This means you cannot substitute a single LiFePO4 cell for a single NiMH cell. The 3.2V nominal would overpower a circuit designed for 1.2V. The LED would either burn out instantly or the driver would fail.
However, there are two scenarios where the conversion makes sense:
Scenario A: Two NiMH cells in series replaced by one LiFePO4 cell. Many larger solar lights use two AA NiMH batteries in series, giving 2.4V nominal and about 2.9V fully charged. A single LiFePO4 cell at 3.2V nominal and 3.65V full is in a similar range. The voltage is a bit higher, but many boost circuits and LED drivers tolerate it. This is the most common and most practical conversion.
Scenario B: One NiMH cell replaced by one LiFePO4 cell with circuit modification. If the light uses a single NiMH cell, you can convert to LiFePO4 but you need to modify the circuit to handle the higher voltage. This usually means adding a current limiting resistor or replacing the LED driver. More work, but doable.
The solar panel voltage also matters. A panel designed to charge two NiMH cells in series needs to produce about 3 to 4V under load. That same panel can charge a single LiFePO4 cell, which needs 3.65V max, but it is marginal. The panel may not produce enough voltage in low light to reach the LiFePO4 charge threshold. Conversely, a panel designed for a single NiMH cell produces about 2V, which is not enough to charge a LiFePO4 cell at all. The panel and battery must be voltage matched.
Compatibility Table: Which Lights Can Be Converted
Before you start, check whether your light is a good candidate. Here is a compatibility table based on my experience converting about 25 different solar lights.
| Light Type | Battery Stock | Panel Voltage | Conversion Feasible | Difficulty | Notes |
|---|---|---|---|---|---|
| Path light, single AA | 1.2V NiMH | ~2V | No | N/A | Panel voltage too low to charge LiFePO4 |
| Path light, two AA series | 2.4V NiMH | ~3-4V | Yes | Moderate | Best candidate, single LiFePO4 14500 |
| Wall mount, two AA series | 2.4V NiMH | ~3-4V | Yes | Moderate | Same as above, more room in housing |
| Flood light, 18650 cell | 3.2V LiFePO4 already | ~5-6V | Already LiFePO4 | N/A | No conversion needed |
| Flood light, three AA series | 3.6V NiMH | ~5V | Marginal | Hard | One LiFePO4 is 3.2V, may under-drive LED |
| String lights, single AA | 1.2V NiMH | ~2V | No | N/A | Panel too low voltage |
| String lights, two AA series | 2.4V NiMH | ~3-4V | Yes | Moderate | Good candidate |
| Post light, single AA | 1.2V NiMH | ~2V | No | N/A | Panel too low voltage |
| Motion sensor, 18650 | 3.7V Li-ion | ~5-6V | Different chemistry | N/A | Uses Li-ion not LiFePO4, do not mix |
| Decorative globe, two AA | 2.4V NiMH | ~3-4V | Yes | Moderate | Good candidate if housing fits 14500 |
The pattern is clear. Lights with two AA NiMH batteries in series are the best candidates. Lights with a single AA are not convertible without changing the solar panel too, which defeats the purpose.
Modifying the Charge Circuit for LiFePO4
This is where the conversion gets technical. You cannot just swap the battery. The charge controller in a NiMH solar light is designed for NiMH chemistry, and it will not charge a LiFePO4 battery correctly. In fact, charging a LiFePO4 battery with an unmodified NiMH controller can be dangerous.
Why NiMH controllers do not work for LiFePO4. NiMH charge controllers are simple. They connect the solar panel to the battery through a blocking diode and maybe a current limiting resistor. There is no voltage regulation. The battery is charged until the sun goes down or the battery voltage approaches the panel voltage. This works for NiMH because NiMH tolerates overcharge at low currents (called trickle charging). The excess energy is dissipated as heat.
LiFePO4 does not tolerate overcharge. If you charge a LiFePO4 cell above 3.65V, the lithium plating begins and the cell degrades. If you charge it above 4.2V, it can vent or catch fire. A NiMH controller has no overvoltage protection, so it will happily overcharge a LiFePO4 cell every sunny day until the cell fails.
The safe approach: add a LiFePO4 charge module. The cleanest way to convert the charge circuit is to bypass the original controller entirely and install a dedicated LiFePO4 charge controller module. These are small boards (about the size of a postage stamp) that take solar panel input and provide regulated LiFePO4 charging with proper overvoltage protection.
Look for a TP5000 module or a CN3722 module. The TP5000 is a 1A LiFePO4 charge controller that costs about 2 dollars. It handles the full charge algorithm: constant current, then constant voltage at 3.6V, then cutoff. It also has a blocking diode built in so the battery does not discharge back through the panel at night.
Wire the module as follows: solar panel positive to module IN+, solar panel negative to module IN-, battery positive to module BAT+, battery negative to module BAT-. The module’s output to the LED driver comes from the battery terminals (the module passes through the battery voltage when not charging).
You need to disconnect the original charge controller from the circuit. On most solar light boards, the controller is a single chip (often a YX8018 or a QX5252 for single cell lights, or a larger chip for two cell lights). You do not need to remove the chip. You just need to cut the trace between the solar panel input and the battery, and between the battery and the LED driver, so the original controller is out of the loop. Then wire your TP5000 module into those cut points.
This sounds intimidating but it is straightforward if you can read a circuit board. Trace the solar panel wires to the board, find where they connect to the controller chip, and cut the trace on the panel side of the chip. Do the same for the battery and LED connections. Now the chip is isolated and your module is the only thing in the circuit.
The simpler approach: use a protected LiFePO4 cell and accept imperfect charging. If you do not want to install a charge module, there is a shortcut. Use a LiFePO4 14500 cell that has a built in protection circuit (a small PCB on the negative end that cuts off charging at 3.65V). These are sold as “protected LiFePO4” cells. The protection circuit acts as a safety valve, preventing overcharge even with a dumb NiMH controller.
This approach works but it is not ideal. The protection circuit trips at 3.65V and resets when voltage drops, which means the battery charges in a start stop pattern rather than a smooth constant voltage taper. This reduces charge efficiency and the battery may not reach full charge on cloudy days. But it is safe, and it requires no circuit modification. You just need to make sure the solar panel voltage is high enough to reach 3.65V under load (a panel that produces 4V open circuit is sufficient).
I have used both approaches. The charge module approach gives better results (fuller charges, longer runtime, longer battery life) but requires more work. The protected cell approach is a quick swap that works adequately. For a 20 dollar path light, the protected cell approach is fine. For a 60 dollar flood light, take the time to install the module.
Adapting the Battery Holder
LiFePO4 14500 cells are the same diameter as AA batteries but slightly longer (about 5mm longer) because of the protection circuit. This means they do not always fit in the battery holder.
The fit problem. A standard AA battery is 50.5mm long. A protected 14500 LiFePO4 is about 55mm long. The battery compartment in a solar light is sized for AA, so the extra 5mm means the door will not close.
Solution 1: use unprotected cells. Unprotected 14500 LiFePO4 cells are 50.5mm, exactly the same as AA. They fit perfectly. But you lose the overcharge protection, so you must use the charge module approach described above. If you are installing a TP5000 module anyway, use unprotected cells. They fit and the module provides the protection.
Solution 2: modify the holder. If you want to use protected cells without a charge module, you need to make room for the extra length. Some battery holders have a spring on one end that can be compressed further. Try inserting the cell and compressing the spring manually. If the door almost closes, you may be able to shim the spring or file down the plastic stop to gain a few millimeters.
Do not force the door closed. Cracking the battery compartment housing to fit a battery is not worth it. If the cell does not fit, use unprotected cells with a charge module.
Solution 3: use a battery adapter. Some converters use a dummy AA spacer with a 14500 cell inside. This does not solve the length problem but it solves diameter problems if the holder is tight. Not usually necessary for solar lights since AA and 14500 have the same diameter.
Polarity check. LiFePO4 14500 cells have the same polarity as AA (flat positive, button negative on some, or flat on both ends with the positive marked). Check that the cell orientation matches the holder markings. Reversed polarity will damage the light.
When the Conversion Is Not Worth Attempting
Not every solar light should be converted. Here are the cases where I tell people to skip it and just buy new NiMH batteries or replace the light.
Single battery lights. If the light uses one AA NiMH battery, the solar panel produces about 2V. That is not enough to charge a LiFePO4 cell which needs 3.65V. You would need to replace the panel too, and at that point you have rebuilt the entire light. Not worth it. Just buy a good NiMH battery and accept the shorter life.
Lights with integrated battery packs. Some solar lights have the battery soldered to the board rather than in a removable holder. These are usually cheap lights where the battery is spot welded to tabs. Converting these requires desoldering the pack, finding space for a 14550 holder, and rewiring. The labor exceeds the value of the light.
Lights with sealed battery compartments. If you cannot access the battery without destroying the light (some decorative lights are glued shut), you cannot convert it. Period.
Lights with three or more NiMH cells. Three NiMH in series is 3.6V nominal. One LiFePO4 is 3.2V nominal. The voltage drop means the LED will be slightly dimmer. Some lights tolerate this, some do not. It is a marginal conversion at best, and the complexity of modifying a three cell charge circuit is high. Skip it.
Lights where the LED driver is voltage specific. Some solar lights use a direct drive LED with no boost circuit. The LED runs straight off the battery voltage. A white LED needs about 3V to light up. Two NiMH cells (2.4V) need a boost circuit, so these lights have one. But some lights with three NiMH cells (3.6V) drive the LED directly through a resistor. If you drop to one LiFePO4 (3.2V), the LED still lights but dimmer. If the light is already dim, this makes it worse.
When you should just buy a LiFePO4 solar light instead. If the conversion requires a charge module, a new battery, holder modification, and circuit tracing, you have spent 15 dollars in parts and 2 hours of labor on a light that cost 25 dollars. At some point, buying a solar light that was designed for LiFePO4 from the start makes more sense. Many modern flood lights and wall lights come with 18650 LiFePO4 cells and proper charge controllers built in. If your goal is LiFePO4 longevity, upgrading to a purpose built light is more cost effective than converting an old one.
Step by Step Conversion of a Two Cell Light
Let me walk through the full conversion of a two AA NiMH light to a single LiFePO4 cell with a TP5000 charge module. This is the most common and most rewarding conversion.
Materials needed: One unprotected LiFePO4 14550 cell (600 to 800 mAh), one TP5000 charge module, 26 AWG wire, soldering iron, rosin core solder, heat shrink tubing, multimeter, and a small piece of double sided tape.
Step 1: Open the light and remove the old batteries. Take photos of the wiring before you disconnect anything.
Step 2: Identify the circuit. Trace the solar panel wires to the board. Find the charge controller chip. On two cell lights, it is often a 6 or 8 pin chip. Identify the battery positive and negative connections on the board.
Step 3: Isolate the original controller. Cut the trace between the solar panel input and the controller chip. Cut the trace between the battery positive and the controller. Now the chip is disconnected from both the panel and the battery. The LED driver portion of the board can stay connected to the battery.
Step 4: Wire in the TP5000 module. Connect solar panel positive to module IN+. Connect solar panel negative to module IN-. Connect module BAT+ to the battery positive pad on the board. Connect module BAT- to the battery negative (ground).
Step 5: Adapt the battery holder. Since you are going from two AA cells to one 14500, you need to bypass the second battery slot. The two AA slots are in series, so the positive of slot 1 connects to the negative of slot 2. Remove the metal strap between the two slots, or tape over it. Now slot 1 is your single cell holder. The positive tab of slot 1 goes to BAT+ on your module, and the negative tab (originally the negative of slot 2, now connected to nothing) needs to be jumpered to the negative of slot 1.
Actually, the cleaner approach is to remove both battery tabs and wire the module directly to a single 14500 holder. But if you want to keep the original holder, the strap bypass works.
Step 6: Secure the module. Tape the TP5000 module to the inside of the housing with double sided tape or hot glue. Make sure the module’s solder joints are not touching any metal.
Step 7: Test before sealing. Install the LiFePO4 cell. Measure the battery voltage (should be around 3.2V if new). Place the light in bright sun for 30 minutes. Measure the battery voltage again. It should be rising. If it is not, the module wiring is wrong or the panel voltage is too low.
Cover the photocell and confirm the LED turns on. The LED should be at normal brightness. If it is much brighter than before, the voltage may be too high and you need a current limiting resistor. If it is dim, the battery is not charged yet.
Step 8: Seal and reassemble. Once everything works, seal the housing. The modified light is now running on a battery that will last years instead of months.
Realistic Expectations and Results
After converting about a dozen lights, here is what I have observed. The LiFePO4 converted lights run about 30 percent longer per night than they did with NiMH, because LiFePO4 holds its voltage more steadily through the discharge cycle. The LED stays at full brightness longer rather than dimming as the night goes on.
Battery life is dramatically better. The oldest conversion I did is four years old and still on the original LiFePO4 cell. The same light was eating a NiMH battery every 12 to 18 months before the conversion. Over four years, I would have gone through three or four NiMH batteries. One LiFePO4 cell at 6 dollars versus four NiMH at 4 dollars each, plus the hassle of replacing them, the conversion pays for itself.
Cold weather performance is where LiFePO4 really shines. NiMH batteries lose capacity in the cold. A NiMH solar light in January might run for 2 hours instead of 8. LiFePO4 holds its capacity much better in cold, and the converted lights run nearly as long in winter as in summer.
The downsides are real though. The conversion takes 1 to 2 hours per light. You need soldering skills. You can ruin a light if you wire the module wrong. And if you use protected cells without a module, the start stop charging means you lose some capacity on cloudy days.
Safety considerations. Working with lithium batteries requires more caution than NiMH. A LiFePO4 cell that is short circuited can deliver a large current burst that heats wires and can cause burns. Never short the battery terminals, even briefly, to test the cell. Use a multimeter to check voltage.
If you smell a sweet or metallic odor coming from a LiFePO4 cell during charging, the cell is venting electrolyte. Disconnect it immediately and move it outdoors. A venting cell is a fire risk. This should not happen with a properly installed charge module, but if the module fails or is wired wrong, overcharging can occur. This is why I recommend testing the conversion in a supervised setting (on a bench, not on the wall) for the first few charge cycles.
Do not use a LiFePO4 cell that has physical damage, swelling, or a torn wrapper. Damaged cells can short internally and are not worth the risk. The cell should cost about 5 to 8 dollars, so there is no reason to use a questionable one.
What about capacity matching? The original two NiMH cells in series might have been 1000mAh each, giving 1000mAh at 2.4V. A replacement LiFePO4 14500 is typically 600 to 800mAh at 3.2V. The capacity in mAh is lower, but the energy in watt hours is comparable because the voltage is higher. 1000mAh at 2.4V is 2.4 watt hours. 700mAh at 3.2V is 2.24 watt hours. The LiFePO4 stores slightly less total energy, but it delivers it more efficiently and at a more useful voltage, so the runtime is similar or better despite the lower mAh rating. Do not be alarmed that the mAh number on the LiFePO4 cell is lower than the NiMH cells. The relevant metric is watt hours, and the two are close.
Is the conversion worth it? For a light you like and want to keep running for years, yes. For a cheap light you do not care about, just buy a new NiMH battery and move on. The conversion is a project for people who enjoy tinkering and want the best possible performance from their solar lights. If that describes you, start with a two cell wall light, follow the steps above, and you will have a light that outlasts anything off the shelf.

