If you own more than two solar lights, you will eventually hold a dead battery in your hand and wonder what to replace it with. The sticker on the original cell has rubbed off. The light’s manual is gone. You are standing in a hardware aisle staring at a rack of rechargeable batteries, none of which look exactly like the one you brought in. I have been there more times than I can count, and I have put the wrong battery in the wrong light often enough to learn the hard way what matters.
Three battery chemistries run almost every solar light on the market. Nickel-metal hydride (NiMH), lithium-ion (Li-ion), and lithium iron phosphate (LiFePO4). They are not interchangeable, they do not behave the same way in heat or cold, and they do not last the same number of years. Pick the right one and your light runs well for seasons. Pick the wrong one and you either get a light that dies by 9pm or, worse, a battery that swells and leaks.
This article compares all three in practical terms, the kind of comparison I wish someone had handed me the first time I ruined a perfectly good path light by stuffing a lithium cell into a circuit built for NiMH.
Why The Battery Matters More Than Anything Else
The solar panel gets all the attention, but the battery is the component that actually determines how long your light runs each night and how many years the light survives. The panel is a passive slab of silicon that lasts a decade. The battery is a chemical reactor that is being charged and discharged every single day, baked in the sun, frozen in winter, and asked to hold energy for hours.
A solar light battery does a brutal job. It gets a partial charge most days (because clouds, shade, and short winter days limit the panel), a full charge on good days, and a deep discharge every night. That partial-charge cycling is called shallow cycling, and different chemistries handle it very differently. Some tolerate it for thousands of cycles. Others degrade quickly under exactly that pattern.
Most solar light failures are battery failures, not panel or LED failures. When a light stops working, the first thing to check and replace is the battery. Knowing which chemistry to buy, and why, saves you money and keeps lights out of the landfill.
The Three Contenders At A Glance
Here is the quick comparison before we go deep. Numbers are typical ranges for solar light applications, not lab extremes.
| Property | NiMH | Li-ion (cobalt-based) | LiFePO4 |
|---|---|---|---|
| Nominal voltage per cell | 1.2 V | 3.6 to 3.7 V | 3.2 to 3.3 V |
| Common form in solar lights | AAA or AA | 18650 cylinder | 18650 or small pouch |
| Energy density | Low to medium | High | Medium |
| Cycle life (to 80% capacity) | 500 to 1000 | 300 to 800 | 1500 to 3000+ |
| Cold weather performance | Poor below freezing | Mediocre | Good |
| Heat tolerance | Fair | Poor (swells, degrades) | Excellent |
| Self-discharge per month | 15 to 30% (standard), 1 to 3% (low self-discharge) | 2 to 5% | 2 to 5% |
| Safety (abuse tolerance) | Good, vents gas if overcharged | Poor, can ignite | Excellent, very stable |
| Cost per cell | Low | Medium | Higher |
| Needs protection circuit | No | Yes, mandatory | Yes, but more forgiving |
That table is the cheat sheet. The rest of this article explains why those numbers matter in real yards, with real weather.
NiMH: The Old Reliable Workhorse
Nickel-metal hydride batteries have been the default in cheap solar lights for twenty years, and they still are. If your solar path light takes a single AAA or AA rechargeable, it is almost certainly NiMH. The chemistry uses a nickel oxyhydroxide positive electrode and a hydrogen-absorbing metal alloy negative electrode, with a potassium hydroxide electrolyte. None of that matters to you as a user except to know that it is a water-based chemistry, which is why it is safe and forgiving.
The Good
NiMH is cheap. A replacement AAA NiMH cell costs a dollar or two. You can buy them in bulk and swap them into a dozen lights for the price of a single lithium pack. They are safe. Overcharge a NiMH cell and it vents hydrogen gas through a safety valve, gets warm, and maybe loses some capacity. It does not catch fire. You can leave them in a drawer, drop them, short them briefly, and they survive.
They do not need a protection circuit. A solar light with a NiMH battery usually charges it through a simple diode from the panel. No balance circuit, no overcharge cutoff, no under-voltage lockout. This is why NiMH lights can be built for ten dollars. The simplicity is the feature.
NiMH tolerates trickle charging. A panel feeding a constant low current into a full NiMH battery is not ideal, but the battery handles it by venting the excess as gas. This matters for solar lights because the charge is uncontrolled. On a long summer day the battery might be full by noon and the panel keeps pushing current for six more hours. NiMH shrugs this off. Lithium does not.
The Bad
NiMH has a low nominal voltage, 1.2 volts per cell. That means a single NiMH AA cannot drive a white LED directly (white LEDs need about 3 volts). Solar lights get around this either by using two or three NiMH cells in series, or by using a boost converter to step 1.2V up to 3V. Both approaches have tradeoffs. Series cells can get out of balance. Boost converters waste energy and add a failure point.
NiMH hates cold. Below freezing, the internal resistance rises and the usable capacity drops sharply. A light that runs 8 hours in summer might run 3 hours in a January freeze, even if the battery charged fully. The chemistry just cannot deliver current efficiently when cold. If you live somewhere with real winters, NiMH lights will underperform for months.
NiMH self-discharges fast. A standard NiMH cell loses 15 to 30 percent of its charge per month just sitting there. This does not matter much for a light that charges daily, but it matters if you store lights indoors over winter. Pull them out in spring and the batteries are flat, which is fine, but they may have self-discharged so deeply that they need a few cycles to recover capacity.
The cycle life is modest. You get 500 to 1000 cycles before capacity drops to 80 percent. In a solar light that cycles daily, that is 1.5 to 3 years. Realistically, expect to replace NiMH cells every 2 years, sooner in hot climates where heat accelerates degradation.
Low Self-Discharge NiMH
There is a subtype worth knowing about. Low self-discharge NiMH cells (sometimes sold as “pre-charged” or “ready to use” rechargeables) hold 70 to 85 percent of their charge after a year of storage. They use a modified electrode alloy that resists self-discharge at the cost of slightly lower peak capacity. For solar lights that sit unused for half the year, these are a meaningful upgrade over standard NiMH. The chemistry is identical in terms of safety and charging, so they drop right in.
Li-ion: The High-Energy Option
When a solar light needs real brightness, a long run time, or has a big panel, it usually steps up to a lithium-ion cell. These are the same 18650 cylinders that power laptops, power tools, and vape devices. The chemistry is typically a cobalt or nickel-cobalt-aluminum blend, which packs a lot of energy into a small space.
A single 18650 Li-ion cell holds 2500 to 3500 mAh at 3.7 volts, which is roughly three times the energy of a NiMH AA in the same physical volume. For a solar floodlight or a motion security light that needs to run a bright LED for hours, this is the only practical chemistry.
The Good
Energy density is the headline. Li-ion stores more usable energy per gram and per cubic centimeter than NiMH. A light that would need three NiMH AAs runs on one 18650 and runs longer.
Voltage is convenient. A single Li-ion cell at 3.7 volts can drive a white LED directly with just a current-limiting resistor or a simple driver. No boost converter, no series stack. This simplifies the circuit and improves efficiency.
Self-discharge is low. Li-ion loses 2 to 5 percent per month. Stored over winter, it holds most of its charge. This is one reason lights with lithium packs often survive storage better.
The Bad
Li-ion is dangerous without a protection circuit. Overcharge a Li-ion cell and it can swell, vent hot gas, and in rare cases ignite. Over-discharge it and the chemistry degrades permanently. For this reason, every solar light that uses Li-ion has a small protection board attached to the cell or built into the light. This board cuts charge at 4.2 volts, cuts discharge at around 2.5 to 2.7 volts, and limits current. If that board fails, the battery is at risk.
Li-ion hates heat. This is the biggest problem for outdoor solar lights. A battery sitting inside a sealed plastic housing in direct summer sun can hit 140 degrees Fahrenheit or more. At those temperatures, Li-ion degrades fast. The electrolyte breaks down, internal resistance rises, and capacity falls off a cliff. A Li-ion pack that would last 5 years at room temperature might last 2 years in a hot solar housing. I have seen solar floodlights with puffed, dead Li-ion packs after a single Arizona summer.
Cold performance is mediocre. Li-ion delivers less current below freezing, and you should never charge a frozen Li-ion cell because lithium plating can occur on the anode, permanently damaging it and creating a safety risk. Cheap solar lights do not have temperature-compensated charging, so a Li-ion light charging on a cold sunny day is slowly damaging its own battery.
Cycle life is shorter than you might think. In solar light conditions (partial charges, heat, deep discharges), expect 300 to 600 useful cycles, or 1 to 2 years. The high energy density comes at the cost of fragility.
When To Use Li-ion
Li-ion makes sense when you need a lot of energy in a small space and the light is mounted somewhere that does not bake in direct sun all day. A motion-activated floodlight under an eave, where the panel is up on the roof but the battery housing is shaded, is a good fit. A path light sitting in full sun with the battery inside the same housing is a poor fit, and you will be replacing the pack often.
LiFePO4: The Tough One
Lithium iron phosphate is the chemistry I have come to prefer for anything that lives outdoors full time. It is a lithium chemistry, but the cathode is iron phosphate instead of cobalt oxide. That single change in chemistry reshapes the entire performance profile.
LiFePO4 has a lower nominal voltage (3.2 to 3.3 volts per cell) and a slightly lower energy density than standard Li-ion. But it trades that energy for stability, safety, and cycle life that make the other two chemistries look fragile by comparison.
The Good
Cycle life is the headline number. LiFePO4 routinely delivers 1500 to 3000 cycles to 80 percent capacity, and good cells go well beyond that. In a solar light cycling daily, that is 4 to 8 years of life. Some high-quality cells are rated for 5000+ cycles. This is two to five times the life of standard Li-ion and three to six times the life of NiMH under similar conditions.
Thermal stability is excellent. The LiFePO4 cathode is chemically robust and does not release oxygen when overheated, which is the failure mode that makes cobalt-based Li-ion cells ignite. You can puncture, overcharge, and short a LiFePO4 cell and it will get hot and maybe vent, but it will not sustain a thermal runaway. For an unattended battery sitting in a hot yard, this is the difference between peace of mind and a small fire.
Heat tolerance is the second big win. LiFePO4 degrades more slowly at elevated temperatures than cobalt Li-ion. A pack in a hot solar housing lasts meaningfully longer. This is the chemistry I would choose for any solar light deployed in the southern half of the country.
Cold performance is the best of the three lithium options. LiFePO4 delivers decent current below freezing and tolerates charging at low temperatures better than cobalt Li-ion, though you still want to avoid charging a deeply frozen cell.
Self-discharge is low, comparable to standard Li-ion. Storage is not a problem.
The Bad
LiFePO4 costs more. A quality 18650-size LiFePO4 cell runs two to three times the price of a comparable NiMH cell and somewhat more than a cobalt Li-ion. For a yard full of lights, this adds up. The saving grace is that you replace them far less often, so the lifetime cost is actually lower. But the upfront sting is real.
Energy density is lower than cobalt Li-ion. You give up maybe 20 to 30 percent of capacity for the same volume. For most solar lights this is not a problem because the panels are small and the daily energy budget is modest anyway.
Voltage is slightly awkward. At 3.2 to 3.3 volts nominal, a single LiFePO4 cell is right at the edge of driving a white LED (which needs about 3 volts forward). It works, but as the cell discharges toward 2.5 volts, the LED dims. Some lights handle this gracefully, others look noticeably dim in the last hour of the night. A well-designed light uses a small boost or buck-boost driver to keep the LED voltage constant, but cheap ones do not.
LiFePO4 still needs a protection circuit. The chemistry is safer, but you can still over-discharge and damage the cell, and overcharge still degrades it. Any LiFePO4 cell you buy for a solar light should come with or be paired with a protection board set for LiFePO4 voltages (3.65V charge cutoff, 2.5V discharge cutoff). Do not use a standard Li-ion protection board, because the voltage thresholds are wrong.
Matching Chemistry To The Light
Knowing the chemistry is half the battle. The other half is matching it to the specific light and climate. Here is how I think about it.
Path Lights And Garden Accents
These are low-power, cheap, and usually take NiMH. Stick with NiMH. The light is not bright enough to justify lithium, the housing bakes in the sun (bad for Li-ion), and the cost of upgrading exceeds the cost of the light. Buy low-self-discharge NiMH AAAs in bulk and replace them every two years. This is the boring, correct answer.
Motion Security Lights And Floodlights
These need the energy density of lithium because they run bright LEDs, often with multiple cells. If the battery housing is shaded (under an eave, behind the panel), Li-ion is fine and cheaper. If the housing sits in full sun, spend the extra money on LiFePO4. The heat tolerance and cycle life pay for themselves within two years.
Wall-Mounted Dusk-to-Dawn Lights
These run all night at moderate brightness. They need a decent battery but not a huge one. LiFePO4 is my default here. The long cycle life suits a light that discharges deeply every night, and the heat tolerance suits a wall that gets afternoon sun. NiMH works but you will replace it yearly in this application because the deep nightly discharge chews through cycle life.
Decorative String And Fairy Lights
These almost always use a single NiMH AAA or a small Li-ion pouch. Use what the light came with. The power budget is tiny and the difference between chemistries is negligible. Replace like for like.
How To Tell What Your Light Uses
If you lost the manual, here is the detective work.
Open the battery compartment and look at the cell. A metal-cased cylinder labeled 1.2V is NiMH. A metal-cased cylinder labeled 3.6V or 3.7V with a small attached circuit board is Li-ion. A cell labeled 3.2V or 3.3V, often blue or wrapped with LiFePO4 markings, is LiFePO4.
If the cell is a bare AA or AAA with no circuit board, it is NiMH. If there is a tiny green or blue board wired to the cell terminals, it is lithium (either flavor), and that board is the protection circuit. Do not remove it.
Check the panel voltage if you can. A panel that produces 2 to 3 volts open-circuit is meant for a single NiMH cell. A panel producing 5 to 6 volts is meant for a single lithium cell or two NiMH cells in series. A panel producing 9 volts or more is for a multi-cell lithium pack.
Never substitute one chemistry for another without checking the charge voltage. A solar light designed for NiMH (1.2V, trickle-tolerant) will overcharge a lithium cell if you stuff one in, because there is no protection circuit in the light and the panel voltage is wrong for lithium. A light designed for lithium will undercharge a NiMH cell, giving you a dim light that quits early. Match the chemistry.
The Real-World Lifespan Question
People want a single number: how long will the battery last? The honest answer is that it depends on climate, daily cycle depth, and how hot the housing gets. Here are the numbers I have observed across a lot of lights in a temperate four-season climate.
| Chemistry | Temperate climate | Hot southern climate | Cold northern climate |
|---|---|---|---|
| NiMH (standard) | 2 to 3 years | 1 to 1.5 years | 1.5 to 2 years (winter underperformance) |
| NiMH (low self-discharge) | 3 to 4 years | 2 years | 2.5 to 3 years |
| Li-ion (cobalt) | 2 to 3 years | 1 to 2 years (heat kills it) | 2 to 2.5 years |
| LiFePO4 | 5 to 8 years | 4 to 6 years | 4 to 6 years |
These are not guarantees. A LiFePO4 cell in a light that gets deep-discharged every single night because the panel is shaded will die faster than the table suggests. A NiMH cell in a light that only runs a few hours a night and rarely discharges deeply will outlast the table. But the relative ranking holds. LiFePO4 wins on longevity, Li-ion wins on energy density, NiMH wins on cost and simplicity.
A Note On Replacement Safety
A few hard rules I follow after making every mistake once.
Never charge a frozen lithium cell. If you bring lights out of winter storage and the battery is cold, let it warm to room temperature before the panel starts charging it. Lithium plating on a charging cold anode is permanent damage and a safety risk.
Never use a lithium cell without its protection board in a solar light. The unregulated panel voltage will eventually overcharge the cell. The protection board is not optional.
Never mix old and new cells in a series pack. The weak cell gets over-discharged first and reverses polarity, which damages it and can be dangerous with lithium. Replace all cells in a pack at the same time with the same brand and capacity.
Never assume a swollen battery is safe to use. If a lithium cell looks puffy or feels soft, it is failing. Stop using it and recycle it. Do not try to charge it to “see if it still works.”
Dispose of all rechargeable batteries at a proper recycling location. Hardware stores and electronics retailers usually have drop boxes. Do not throw them in household trash. NiMH contains nickel and metal hydride. Lithium cells contain reactive materials that can start fires in garbage trucks and landfills.
What I Actually Buy
If you want the short recommendation after all of this. For cheap path lights, I buy low-self-discharge NiMH AAAs by the dozen and swap them every two years. For anything I care about, motion lights, wall lights, floodlights, I buy LiFePO4 cells with protection boards and accept the higher upfront cost. I have stopped buying cobalt Li-ion for outdoor use because the heat degradation is not worth the energy density in a solar light that already has a small panel and modest energy needs.
The battery is the heart of a solar light. Treat it that way, pick the chemistry that fits the job and the climate, and your lights will run longer and quit less often. Pick wrong, and you will be back in the battery aisle sooner than you think.

