How to Solder Battery Wires Safely: 18650, AA, 9V and LiPo

Sel 18650 merah jambu di luar holder hitam, soldering iron menyentuh wayar merah pada papan TP4056 biru

Quick answer: Never solder directly onto a battery, whether it is an 18650, LiPo, AA or 9V. The cell makers themselves prohibit it or advise against it: heat from the iron gets into the cell and can damage its seal and separator with no visible sign on the outside. Solder the wire, never the cell.

  1. Use a holder that already has wires (or a 9V snap). Take the cell out before you solder.
  2. Dab rosin flux paste on the wire end and the pad, then tin the wire.
  3. Make the joint in about 2 seconds at 300–350 °C, away from the holder’s plastic.
  4. Cover wire-to-wire joints with heat shrink or tape. Check with a multimeter: red to positive, black to negative. Only then put the cell in.

Need high current or a pack that survives vibration? Buy a ready-made spot-welded pack.

Why you cannot solder a cell directly

The Samsung SDI INR18650-29E specification states “Soldering is PROHIBITED” because a soldered cell can leak or suffer “unpredictable defect due to thermal damage”. For AA and 9V, Energizer’s design guide advises against soldering to batteries because of the intense heat it takes.

It comes down to mass and time. A thin copper wire end has almost no mass, so solder wets it in 1–2 seconds. The end of a cell is nickel-plated steel joined to the whole cell, about 45 g according to that Samsung spec. Heat from the tip keeps flowing into that mass, so a tip at 300 °C or more has to stay on far longer before solder will stick. All that time, heat is going into the cell, and the same spec forbids exposing the cell to more than 100 °C.

Wrong and right compared: iron on the end of an 18650 cell versus iron on the holder wire with the cell removed
Left: heat from the iron soaks into the cell. Right: the cell is out of the holder and the iron touches only the wire and pad.

Under an 18650’s positive cap sit a vent disc, a current interrupt device and a plastic gasket that seals in the electrolyte (NASA cross-section). Heat that softens the gasket can make the cell leak. Inside the cell is a thin plastic separator that closes its pores at about 130 °C, so ions can no longer pass and that part of the cell stops working. Factories use spot welding instead: a very short pulse of current heats only the contact point between the nickel strip and the cell, and it ends before the heat can spread. That is why Energizer prefers welding to soldering.

This damage can stay hidden. A multimeter reads voltage, not the state of the seal. Do not use a cell that already has solder on it.

What to solder instead, by battery type

For every battery type, the iron only touches the part between the cell and your project.

Battery What you solder Keep the iron off
Single 18650 cell The red and black wire ends of the 1-slot 18650 holder, onto the pads of a TP4056 Type-C board. Choose the slot count in the battery holder guide The cell’s body and ends, the holder’s spring and button contact
AA The wire ends of the covered AA box with switch The ends of the AA cell
9V Nothing, if you use the 9V snap with DC plug that goes straight into an Arduino Uno’s jack. For the snap with bare wire ends, solder its wire ends The studs on the 9V battery
LiPo (pouch cell) The far end of the factory-fitted wires, for example on the LiPo 103450 The tabs and the small board under the yellow tape. That board is a protection board fitted straight onto the cell tabs, only a few millimetres from the pouch. Do not peel that tape
18650 with tabs (solder tags) The far end of the factory-welded tab, with a pre-tinned wire, 1–2 seconds The base of the tab and the cell body. Stop if the cell feels warm
2 to 4 18650 cells in series The series holder’s wires to the BAT and GND pads of the 18650 charging board version that matches the cell count: 2S for 2 cells, 3S for 3 cells, 4S for 4 cells. It is a charger only, with no protection. The wrong version charges to the wrong voltage: a 2S pack on a 3S version gets charged far past 4.2 V per cell. Follow the 18650 pack guide The cells. Do not use a TP4056 for a series holder
High current or heavy vibration Nothing. Buy a ready-made spot-welded pack with a BMS Do not build your own pack with an iron

Parts you need

This example is a single-cell 18650 pack where the cell itself is never soldered. The holder wires go to a TP4056 board that charges and protects the cell, and two output wires carry power to the project.

Parts list

ItemPriceQty
80W Electronics Soldering Iron with LCD Display Ajustable Temperature Microconstroller Electronic Project80W Electronics Soldering Iron with LCD Display Ajustable Temperature Microconstroller Electronic ProjectASOIRONRM39.95
50g Soldering Wire Lead with Flux Core 1mm Diameter50g Soldering Wire Lead with Flux Core 1mm Diameter50SOTINRM9.90
Sodering Clip Stand with Magnifying Glass Soldering Holder Electronics Project Assistance HolderSodering Clip Stand with Magnifying Glass Soldering Holder Electronics Project Assistance HolderSOLCLIPRM12.95
XL830L Digital Multimeter with backlight Portable Multimeter Electronics ProjectXL830L Digital Multimeter with backlight Portable Multimeter Electronics ProjectMULTIMERM25.95

Tools, if you do not have them yet. The clamp holds the wire and board while both hands are busy, and the multimeter confirms the connections before the cell goes in.

The output wires are an M-M Dupont jumper cut in half. The wire is thin, so it suits small loads like an ESP32, sensors and LEDs, not motors. The 20 g soldering paste is rosin flux paste with no solder metal in it. New to the iron? Read how to use a soldering iron and flux.

Step 1: Take the cell out and tin the wire ends

The 18650 holder must be empty before the iron heats up. With a cell in, the holder’s two wire ends are a live supply with no fuse. If those ends touch, the cell shorts and only that thin wire limits the current, so it heats up fast.

  1. Put the iron on its stand and set it to 300–350 °C. Its two-round-pin plug needs a three-pin adapter for a 230 V socket.
  2. Cut one red and one black Dupont jumper in the middle. Strip about 5 mm of insulation and twist the strands.
  3. Dab a little flux paste on every wire end, including the holder wires. Touch the wire with the tip and feed a little solder onto the wire, not onto the tip, until it shines silver. That is “tinning”.
  4. Dab flux on the board’s four pads, which come pre-tinned from the factory.

A tinned surface only needs to remelt to bond, so the joint is done in 2 seconds, before the heat spreads far.

Step 2: Solder the holder wires to B+ and B−

The TP4056 Type-C board has four through-hole pads opposite the USB-C socket, in the order OUT+, B+, B−, OUT−. Hold the board in the clamp.

  1. Push the holder’s red wire into the B+ hole. Press the side of the tip on the pad and the wire together, feed solder where they meet, then lift off.
  2. Repeat for the black wire on B−, then the Dupont pieces on OUT+ and OUT−.
  3. Wire end too fat for the hole? Lay it flat on the pad and solder it there.
TP4056 pad Connect to Why
B+ Holder red wire Cell positive
B− Holder black wire Cell negative, before the protection MOSFET (see the TP4056 guide)
OUT+ Project positive (red Dupont) Same node as B+
OUT− Project negative (black Dupont) After the protection MOSFET. A load soldered to the B pads bypasses that protection, so nothing cuts the supply when the cell is nearly flat or the circuit shorts
USB-C socket 5 V USB charger Charge input. Unplug the project while charging: the TP4056 has no power path, so load current on OUT confuses its charge termination
+ and − pads at the USB-C end Leave empty The same 5 V input as the USB-C socket. A cell soldered there gets 5 V directly when USB is plugged in, with no charge control

The TP4056 is for one cell only. Its datasheet sets the charge voltage at 4.2 V, the full voltage of one cell, while a 2-slot series holder reaches 8.4 V.

Empty black 18650 holder wired to a blue TP4056 board with red and black wires, pink cell beside it
The cell stays out while every joint is made. The exact pads are in the table above.

Step 3: Join wire to wire, then cover it

You need a wire-to-wire join when the holder wires are too short, or when an AA box needs pin ends for a breadboard (use the leftover Dupont pieces).

  1. If you use heat shrink, slide the tube onto the wire before soldering and push it well away from the joint. It cannot go on after soldering, and heat from the iron shrinks tube that sits too close.
  2. Lay the two tinned ends side by side, overlapping about 5 mm, and touch the tip until the solder on both flows together. Ends butted tip to tip join at a single point and snap easily.
  3. Shrink the tube over the joint, at least 10 mm past each end. If you use PVC tape, wrap with half overlaps, starting and finishing on the wire insulation two tape widths past each end of the joint (see the tape or heat shrink guide).
  4. Stagger the red and black joints by 20–30 mm so their bare metal cannot meet if the covering comes open.
Two wires joined by overlapping, one joint already wrapped in black tape and the other being soldered at a staggered position
The tinned ends lie side by side, and the two joints are staggered so they cannot touch.

Step 4: Measure first, then insert the cell

A multimeter confirms the connections before the 18650 cell goes in, because a cell connected backwards puts reverse voltage on the charger chip.

  1. Keep the cell out. Turn the dial to continuity (on the XL830L, the symbol of an arrow pointing at a vertical line). The holder’s brass button to the B+ pad must beep, the spring to B− must beep, and B+ to B− must not beep continuously. A beep there means a solder bridge that would short the cell.
  2. Tug each wire gently. A good joint is shiny and does not move.
  3. Insert the 18650 cell: the end marked + (with the white ring) goes to the brass button.
  4. Turn the dial to 20 V DC. Measure B+ to B−, then OUT+ to OUT−, with the red probe on the positive pad.
Reading What it means What to do
3.0 to 4.2 V on B and on OUT All joints are right Connect the project to OUT+ and OUT−. OUT is the cell’s own voltage with no regulator: a 5 V board like the Uno needs an MT3608 boost converter already set to 5 V, and do not connect it straight to an ESP32’s 3V3 pin, which only takes up to 3.6 V
A minus sign Probes swapped, or the cell or a wire is reversed Check the red probe is on the + pad. If the probes are right, take the cell out at once and redo the continuity test
B correct, OUT 0 V The joints are not necessarily wrong. A DW01-family protection chip can keep the output cut off when a cell is first connected (Fortune Semiconductor DW01 datasheet) Plug in a USB-C charger for a few seconds, then measure again
0 V on B The cell is not seated on the contacts, or a joint is open Press the cell against the spring. If it still reads 0 V, take the cell out and redo the continuity test

Wire came off a holder or 9V snap

The wires on our 18650 holder are attached to brass eyelets on the outside of the holder’s end walls. You can resolder these wires because you are heating the holder, not the cell. Stop if the plastic starts to soften: the eyelet carries heat into the plastic and the spring, and a loosened contact no longer presses firmly on the cell.

What broke Can you resolder it? How
Wire on the holder eyelet Yes Take the cell out. Dab flux on the eyelet, tin the wire end, then press the wire onto the eyelet with the tip for 2–3 seconds
9V snap wire Yes Remove the battery and join it as in Step 3. Follow the red and black colours, and confirm polarity with the meter
LiPo wire, broken in the middle Yes LiPo wires are always live. Work on one wire at a time and tape the other end first
LiPo wire, came off at the cell or its small board No That joint sits on the cell, with no wire to keep the heat away. Recycle that cell

When do you need a spot-welded pack?

A spot-welded pack is the answer once a spring holder hits its limits: its contacts only press on the cell and its wires are thin. The resistance in those contacts and wires turns into heat when high current (big motors, e-bikes, drones) flows through, and that heat rises with the square of the current: double the current, four times the heat. A knock, like an RBT robot car crashing, can lift a cell off the spring and cut the supply for a moment, enough to reset an Arduino. A welded nickel strip cannot lift off like that.

MakerHub does not sell nickel strip or spot welders. Buy a ready-made welded pack with a BMS. Prototype in a holder first, then pick a pack whose BMS continuous current rating is higher than your motor’s current.

FAQ

Can I solder directly to an 18650 battery?

No. Samsung SDI prohibits it in its cell specification because the heat can cause leaks. Put the cell in a wired holder and solder the wire ends.

How do I connect wires to an AA or 9V battery?

Use a wired AA box or a 9V snap, then solder the wire ends. Energizer states that pressure contacts are the most common way to connect batteries.

What flux should I use to solder battery wires?

Rosin flux only, either in the core of the solder wire or as flux paste. Acid flux meant for plumbing leaves a residue that keeps corroding copper after the joint cools.

Last updated November 2026. Stuck? Chat with us on WhatsApp.

Leave a Reply

Your email address will not be published. Required fields are marked *