Buying guide · Beginner · 3 min read
Raspberry Pi Power Supplies and Cables
Choosing Amps, USB-C PD and Battery Options
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Use the official ratings: Raspberry Pi 5 wants a 5 V 5 A USB-C power supply (27 W PD); Raspberry Pi 4 needs 5 V 3 A; older Pis use 5 V 2.5 A over micro USB. A weak adapter or thin cable causes undervoltage warnings, crashes and SD card corruption. Choose a good cable, avoid cheap multi-port chargers and consider a battery holder or UPS for portable use.
Key specs at a glance
- Pi 5
- 5 V 5 A (27 W PD) USB-C
- Pi 4
- 5 V 3 A USB-C
- Pi 3 / Zero
- 5 V 2.5 A micro USB
- Cables
- USB-C and micro USB, with optional on/off switch
- Battery
- 18650 holders and UPS HATs
- PD chargers
- Check they offer 5 V at the current needed
A shorted, over-charged or damaged lithium cell can get very hot and catch fire. Use a protection board or BMS, never short the terminals, charge on a non-flammable surface and do not leave a charging pack alone. Throw away cells that are swollen or dented.
Match the supply to the board
Check the amps, not just the connector.
| Board | Supply | Notes |
|---|---|---|
| Raspberry Pi 5 | 5 V 5 A USB-C PD | A 3 A adapter works but limits USB devices |
| Raspberry Pi 4 | 5 V 3 A USB-C | Add more for power-hungry USB drives |
| Raspberry Pi 3 / 3B+ | 5 V 2.5 A micro USB | Use a short, thick cable |
| Raspberry Pi Zero 2 W | 5 V 2.5 A micro USB | Lower draw but still use a good adapter |
- Raspberry Pi 5
- Supply:
- 5 V 5 A USB-C PD
- Notes:
- A 3 A adapter works but limits USB devices
- Raspberry Pi 4
- Supply:
- 5 V 3 A USB-C
- Notes:
- Add more for power-hungry USB drives
- Raspberry Pi 3 / 3B+
- Supply:
- 5 V 2.5 A micro USB
- Notes:
- Use a short, thick cable
- Raspberry Pi Zero 2 W
- Supply:
- 5 V 2.5 A micro USB
- Notes:
- Lower draw but still use a good adapter
Cables matter
Thin or long cables drop voltage. Use a short cable with proper conductors, and check the actual voltage at the board with a multimeter if you see the warning icon. Cables with a built-in on/off switch are handy for shutdown and restart. See wire gauge and voltage drop to understand why.
USB-C PD adapters
Many phone chargers offer 9 V, 12 V or 20 V and only 5 V at 3 A, which is fine for a Pi 4 but not for the Pi 5's 5 A mode. If the Pi 5 does not get 5 A at 5 V it limits power to USB devices. Use an adapter that lists 5 V 5 A. A 20 W PD travel charger works well for lighter loads and other 5 V projects.
Battery and UPS options
An 18650 battery holder gives portable power for small boards like the Pi 3, while a UPS HAT keeps the Pi running through a power cut and shuts it down cleanly. Use quality cells and a protection circuit; see lithium batteries and building Li-ion packs. For other power sources see power supply sizing.
Undervoltage warnings
A lightning-bolt icon or a "low voltage" message means the supply fell below about 4.63 V. Fix it by changing to a stronger adapter, a shorter cable and removing heavy USB loads. Do not ignore it: repeated brown-outs corrupt SD cards. For storage reliability see NVMe and PCIe.
Try it: Power supply sizing calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Using a 2 A phone charger for a Pi 5.
- Using a long thin USB cable.
- Powering from a PC USB port.
- Ignoring the undervoltage icon.
- Using unprotected cells in a battery holder.
Frequently asked questions
What power supply for Raspberry Pi 5?
A 5 V 5 A USB-C PD adapter.
Can I power a Pi from a power bank?
Yes, if it can supply the required current continuously.
Why does my Pi show a lightning bolt?
Undervoltage. Change the adapter or cable.
Do I need a switch cable?
Not required, but it is handy for restarts.
Can I use a car charger?
Only if it is a quality unit with the right rating.
Parts for this guide
Calculators
Terms in this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.





