A TP4056 not charging is almost always telling you something through its two LEDs and the voltage on its BAT pin. The chip itself rarely dies; far more often the cell is locked out by its protection circuit, the input sags under load, the TEMP pin is not where it should be, or the PROG resistor asks for more current than the USB source can give.

Start with a multimeter on the cell terminals and on the module's B+ and B− pads. Those two readings, plus which LED is lit, separate most faults in a few minutes.

Quick Fix — Try This First

  1. Unplug the input and measure the bare cell voltage on its own terminals (not through the module).
  2. Plug the input back in and measure between the module's B+ and B− pads with the cell connected.
  3. Compare the LED state with the table in What the two LEDs mean.
  4. Feed the module from a 5 V adapter rated for at least 1 A, with a short cable, and recheck the input voltage while it charges.
  5. If both LEDs stay off, check that the TEMP pin (pin 1) is grounded on your board.

Check: the red LED is on and the cell voltage rises by a few tens of millivolts within 10 minutes.

Symptoms of a TP4056 not charging

A TP4056 that does not charge shows up in a few distinct ways, and each one points somewhere different:

  • The red LED stays on for hours and the cell voltage barely moves.
  • Both LEDs are off even though USB power is present.
  • The green LED lights immediately after you connect a cell that you know is flat.
  • The green LED is on and the red LED blinks every one to four seconds.
  • Charging starts, then the module gets hot and the current falls far below what you set.

Write down which of these you see before touching anything. The TP4056 has only two status outputs, so the LED pattern is the most useful clue you have.

What the two LEDs mean

The TP4056 drives two open-drain status pins. CHRG (pin 7) pulls low while the cell is charging. STDBY (pin 6) pulls low when charging has terminated. On the common blue modules, the red LED hangs on CHRG and the green LED on STDBY. Top Power's datasheet gives this table:

StateRed LED (CHRG)Green LED (STDBY)
ChargingOnOff
Charge terminatedOffOn
Input too low, battery temperature out of range, or no batteryOffOff
No battery, 10 µF capacitor on BATFlashing (1–4 s period)On

Some clone boards swap the colors or use blue instead of green. If yours does, trace which LED goes to pin 7 before reading the table.

Diagnosis table

SymptomLikely causeNext action
Green on, red flashingThe chip sees no battery: open wire, dead cell, or protection circuit holding the cell offMeasure the bare cell, then B+/B− (step 1 and 2)
Both LEDs off with USB connectedInput below 4.0 V, TEMP pin out of its window, or CE pin pulled lowMeasure VCC under load and the TEMP pin (step 3 and 4)
Green on with a flat cellBAT already reads about 4.2 V because the cell is disconnected, or the cell's internal resistance is very highMeasure the cell directly; replace a cell that will not take current
Red on for many hoursCharge current lower than expected: weak USB source, thermal regulation, or a large cellMeasure input voltage and the PROG resistor (step 4 and 5)
Module very hot, slow chargeLinear dissipation pushing the die into thermal regulationLower the charge current or improve cooling (step 6)

Step-by-step fix

Safety: work with a single lithium-ion cell in a holder, on a non-flammable surface. Do not charge a cell that is swollen, dented, leaking or hot at rest, and never short the cell terminals with the meter probes. If the cell gets warm to the touch while the module is cool, disconnect it.

1. Measure the bare cell

Disconnect the input. Set your multimeter to DC volts and measure directly on the cell's positive cap and negative base.

Old 18650 lithium-ion cell with a torn wrapper and corroded negative end
A torn wrapper or a corroded end is a reason to retire the cell before you blame the charger.

A healthy Li-ion cell that is merely empty reads roughly 3.0–3.7 V. Below 2.9 V the TP4056 starts in trickle mode at one tenth of the programmed current; Top Power specifies 130 mA trickle with the 1.2 kΩ PROG resistor. At 0 V, or well under 2 V, the cell has been over-discharged and may not be safe to revive.

Check: you have a stable reading on the cell itself. If it didn't work: a reading that drifts or reads 0 V with a fresh cell points to a bad holder contact or a broken wire; fix the connection first.

2. Measure the module's battery pads with the input connected

Reconnect the cell and the USB input. Measure across B+ and B− on the module, then across OUT+ and OUT− if your board has a protection section.

Angled view of a TP4056 module showing the 4056E charger chip, the protection chips and the B+, B−, OUT+ and OUT− pads
B+ and B− pads for the cell, OUT+ and OUT− for the load, next to the 4056E charger chip.

On the common modules that combine the TP4056 with a DW01A protection IC and an FS8205A dual MOSFET, the cell's negative passes through those MOSFETs. Fortune Semiconductor's DW01 family detects over-discharge around 2.4 V and over-charge around 4.3 V. When the DW01 has switched the MOSFETs off, the charger can see almost nothing on BAT and reports "no battery" with the green-on, red-flashing pattern.

Example: a cell left in a flashlight for months measures 2.6 V on its terminals, yet the module shows green on and red flashing. B+ to B− reads about 4.2 V because the BAT pin floats up with no load. The cell is not connected through the protection path, so the TP4056 never starts.

Check: the voltage across B+ and B− is within a few tens of millivolts of the bare cell voltage. If it didn't work: look for a cracked solder joint on B− or a desoldered wire, and reflow it. If the wiring is fine, the protection circuit is holding the cell off; see Troubleshooting if it still fails.

3. Measure the input under load

The TP4056 needs at least 4.0 V on VCC (pin 4), and its absolute maximum is 8 V. Measure the input at the module's IN+ and IN− pads while it is charging, not with the cell removed.

Inline USB power meter showing 5.26 V and 0.00 A on its display
An inline USB meter reading 5.26 V but 0.00 A: the supply is present, yet nothing is drawing current.

A long thin USB cable or a laptop port can drop below 4.5 V once 1 A flows. A standard USB 2.0 port is only specified for 500 mA, so a module set to 1 A can pull the port voltage down or trip its current limit.

Check: VCC stays above 4.5 V during charging. If it didn't work: swap to a 5 V wall adapter rated for 1 A or more and a short cable, then measure again. An inline USB power meter shows both the input voltage and the real current at once.

4. Check the TEMP and CE pins

TEMP (pin 1) is meant for the thermistor in a battery pack. If its voltage sits below 45% or above 80% of VIN for more than 0.15 s, the chip suspends charging, and both LEDs go dark. Grounding TEMP disables the function, which is how most modules ship.

CE (pin 8) enables the chip when high. Pulling it low puts the TP4056 into disable mode.

Check: with the module powered, TEMP reads 0 V and CE reads close to VCC. If it didn't work: a lifted TEMP pin or a cracked trace can leave TEMP floating at a random voltage. Reflow pin 1 and confirm continuity to ground with the power off.

5. Identify the PROG resistor and real charge current

The resistor from PROG (pin 2) to ground sets the constant-current level. On many boards it is marked "122", the 3-digit SMD code for 1.2 kΩ; our SMD resistor code guide explains how to read other markings. Top Power's table:

RPROGCharge current
10 kΩ130 mA
5 kΩ250 mA
4 kΩ300 mA
3 kΩ400 mA
2 kΩ580 mA
1.66 kΩ690 mA
1.5 kΩ780 mA
1.33 kΩ900 mA
1.2 kΩ1000 mA

Matching the current to the cell matters. A small 500 mAh LiPo charged at 1 A is being pushed at 2C, which many small-cell makers do not allow; check the cell's datasheet for its maximum charge current and choose the resistor accordingly. For that cell, a 3 kΩ resistor (400 mA) or 4 kΩ (300 mA) is a more conservative choice.

Check: the measured current in constant-current mode is close to the table value for your resistor. If it didn't work: if the current is far lower and the module is hot, go to step 6; if it is far lower and the module is cool, measure the input voltage again.

6. Rule out thermal regulation

The TP4056 is a linear charger: everything between the input and the cell voltage turns into heat in the chip. With 5.0 V in, a cell at 3.6 V and 1 A of charge current, the chip dissipates (5.0 − 3.6) × 1.0 = 1.4 W. That is a lot for an SOP-8 package on a small board, so the chip reduces its own current to keep the junction near 145 °C (293 °F), the limit in its datasheet.

The visible result is a red LED that stays on far longer than expected, and a module too hot to keep a finger on.

Check: after lowering the current (a 2 kΩ resistor gives 580 mA) the module runs cooler and the charge time becomes predictable. If it didn't work: give the board airflow, keep it off insulating foam, and avoid input voltages above 5 V, which only add heat.

7. Watch a full charge cycle

Once the basics check out, follow one cycle. In constant-current mode the voltage climbs slowly toward 4.2 V. In constant-voltage mode the current tapers, and the TP4056 terminates when it falls to one tenth of the programmed value: 100 mA with the 1.2 kΩ resistor.

A rough worked estimate for a 2,000 mAh cell at 1 A: the constant-current phase alone takes close to two hours, and the taper adds more on top. If a cell of that size shows green after ten minutes, the cell is not really being charged.

Check: the green LED comes on with the cell at about 4.2 V measured on its own terminals, within the datasheet's 4.137–4.263 V range. If it didn't work: a cell that reaches 4.2 V in minutes and drops quickly under load has lost most of its capacity; replace it.

Common mistakes

  • Connecting the load to B+ and B− instead of OUT+ and OUT−, which bypasses the protection circuit.
  • Reversing the cell. The TP4056 has no reverse-polarity protection on BAT, and a reversed cell can destroy the chip.
  • Leaving a 1.2 kΩ PROG resistor on a module that charges a small LiPo.
  • Judging the cell by the BAT pin voltage with the cell disconnected; that pin can read near 4.2 V with nothing attached.
  • Charging several cells in parallel from one module without accounting for the combined capacity and charge time.

Troubleshooting if it still fails

The protection circuit stays tripped. If the cell reads above roughly 2.5 V on its terminals but B− still shows no path, measure across the FS8205A's two drains. A MOSFET pair that stays open with a sane cell voltage suggests a damaged DW01A or FS8205A; replacing the whole module is usually simpler than replacing either chip.

The cell is the problem. Measure the cell's voltage after a few minutes of charging and again 30 minutes after removing it. A drop of several hundred millivolts at rest means the cell does not hold charge. Check internal resistance if you have a meter for it, and retire the cell.

The chip is counterfeit or damaged. If VCC is correct, TEMP is grounded, CE is high, PROG has its resistor, and the cell is good, yet CHRG never goes low, check whether BAT shows a short to ground with the power off. Our guide to finding a short circuit on a PCB shows how to locate it. A shorted or dead TP4056 is worth replacing with a new module rather than a new chip.

When to stop

Stop and discard the cell safely if it swells, hisses, smells sweet or solvent-like, gets hot while the module stays cool, or reads close to 0 V. Stop if the module's input connector or PCB shows burn marks. A recycled cell from a laptop or vape pack that sat for months below 2 V is not worth the risk of a forced recharge.

Next step

If the cell feeds a microcontroller, you can monitor it after charging with a resistor divider; the ESP32 battery voltage guide walks through the calculation, and the voltage divider calculator checks the loaded output.

  1. Measure the bare cell, then B+ and B−.
  2. Read the LED pattern against the datasheet table.
  3. Measure VCC under load and fix the source if it falls below 4.5 V.
  4. Confirm TEMP grounded, CE high and the PROG value.
  5. Lower the charge current if the module runs into thermal regulation.

Frequently asked questions

Can I power a project and charge the cell at the same time?

Yes, but the load current flows through the same path and the TP4056 cannot tell it apart from charge current. The chip may never see the current fall to its termination level, so the red LED stays on. A dedicated load-sharing circuit avoids this.

Does the TP4056 work with LiFePO4 cells?

No. The TP4056 regulates to 4.2 V, which is above the charge voltage of a LiFePO4 cell. Use a charger designed for that chemistry.

Can I feed the module from a 12 V supply?

No. The input's absolute maximum is 8 V. Use a 5 V source, or a buck converter set to 5 V ahead of the module.

Why does the charge stop at 4.2 V and restart later?

The TP4056 has automatic recharge. After termination it watches the cell, and when the voltage drops back below its recharge threshold it starts a new cycle. Brief red flashes on a full cell left connected are normal for that reason.

How do I set the charge current for a 1,000 mAh LiPo?

Read the maximum charge current from the cell's datasheet, often 0.5C to 1C. For 0.5C (500 mA), the nearest table value is 580 mA with a 2 kΩ resistor; a 3 kΩ resistor (400 mA) keeps you on the safe side.

Sources

Last updated: December 4, 2026.