“Undervoltage detected” means the 5 V rail on your Raspberry Pi sagged below the board’s low-voltage threshold. The official Raspberry Pi hardware documentation puts that threshold at 4.63 V (±5%) and says every model since the Model B+ of 2014, except the Zero range, has a circuit that watches for it. The message is about the power reaching the board. It is almost never a software bug.
The short version: run vcgencmd get_throttled. A result of throttled=0x0 means no power problem since boot. Anything with a 1 or 5 as the last digit means the voltage is low right now; a 1 or 5 in the fifth digit from the right (0x10000, 0x50000) means it dipped earlier. The fix is nearly always one of three things, in this order: a better power supply, a shorter and thicker cable, or fewer bus-powered USB devices. Raspberry Pi’s own advice when you see the warning is to move to a higher-quality supply and cable.

What the warning looks like
The documentation says a low-voltage event adds an entry to the kernel log. Depending on the kernel version, the line reads hwmon hwmon1: Undervoltage detected! (the hwmon number varies), or on older systems Under-voltage detected! followed by a hex value in brackets. When the supply recovers, a Voltage normalised line follows. Older firmware also drew a yellow lightning bolt in the corner of the screen, and the Raspberry Pi OS desktop can pop up a low voltage notification. A headless Pi shows none of that, so the log and the command below are what you can rely on.
To see the events, open a terminal or an SSH session and run:
- dmesg | grep -i voltage for events since boot
- journalctl -k | grep -i voltage for the kernel log kept by systemd
- vcgencmd get_throttled for the firmware’s own flags
How to read vcgencmd get_throttled
The command returns one hexadecimal number. Each bit is a flag, described in the vcgencmd section of the Raspberry Pi OS documentation. The low bits show what is happening now. The bits from 16 up show what has happened at any point since the last boot, and they stay set until you reboot.
| Bit | Hex value | Meaning |
|---|---|---|
| 0 | 0x1 | Undervoltage detected (now) |
| 1 | 0x2 | Arm frequency capped (now) |
| 2 | 0x4 | Currently throttled |
| 3 | 0x8 | Soft temperature limit active |
| 16 | 0x10000 | Undervoltage has occurred |
| 17 | 0x20000 | Arm frequency capping has occurred |
| 18 | 0x40000 | Throttling has occurred |
| 19 | 0x80000 | Soft temperature limit has occurred |
Add the hex values of the set bits to get the number you see. These are the results that come up most often, worked out from the table above:
| Output | Bits set | What it tells you |
|---|---|---|
| 0x0 | None | No undervoltage, throttling or heat limit since boot. Power is fine. |
| 0x10000 | 16 | Voltage dipped at least once since boot, but is normal now. |
| 0x50000 | 16, 18 | Voltage dipped and the CPU was throttled because of it; both have cleared. |
| 0x50005 | 0, 2, 16, 18 | Low voltage and throttling right now. The supply can’t hold up under the present load. |
| 0x80000 or 0x80008 | 19 (and 3) | A temperature limit, not a power fault. Look at cooling instead. |
Because the history bits survive until a reboot, the useful test is: reboot, run your normal workload for a while, then check again. If the value is still 0x0, the change you made worked.
Why it happens
The documentation lists three causes of the voltage drop: too many high-demand USB devices, an inadequate power supply, and a power cable whose wires are too thin. All three come down to the same physics. Current flowing through the resistance of a cable and its connectors loses voltage on the way, and the more current the Pi and its peripherals draw, the bigger the loss. A phone charger that measures 5.0 V with nothing attached can deliver well under that at the board once a Pi with a USB drive pulls real current through a thin one-meter lead.
Raspberry Pi specifies a 5.1 V supply for every model rather than a flat 5 V, which leaves a little margin for that loss. The warning often shows up only at moments of peak demand: at boot, when a drive spins up, or when all cores are busy.
How much current each model needs
These figures come from the power supply table in the official hardware documentation and from the Getting started guide.
| Model | Power connector | Recommended supply | USB peripheral budget |
|---|---|---|---|
| Raspberry Pi 3 Model B+ | Micro USB | 5.1 V, 2.5 A | 1.2 A total |
| Raspberry Pi 4 Model B | USB-C | 5.1 V, 3 A (15 W) | 1.2 A total |
| Raspberry Pi 5 | USB-C | 5.1 V, 5 A (27 W) | 1.6 A total; 600 mA on a 3 A supply |
The same table gives the typical bare-board active current of a Pi 3 B+ as 500 mA. The rest of the 2.5 A rating is headroom for USB devices, a camera, a display and anything hung off the GPIO header. A supply with a lower rating can run the board on its own and then fall over as soon as you add peripherals.

Step-by-step fix
- Record the starting point. Run vcgencmd get_throttled and dmesg | grep -i voltage. Note the value and how often the message repeats. A single line at boot is a different problem from one every few seconds.
- Unplug every USB device you can. Leave only what you need to see the result (or nothing, over SSH). Reboot and check again. If the warning is gone, the supply was fine for the board and short on headroom for the peripherals; go to step 5.
- Replace the supply with one that meets the table above. Check the label: it should state the voltage and at least the recommended current. A charger marked 5 V 1 A or 2 A is under the 2.5 A a Pi 3 B+ calls for. For a Pi 5, the official 27W USB-C Power Supply delivers 5.1 V at 5 A; many generic USB-C chargers top out at 3 A on their 5 V output and reach higher wattage only at 9 V or more, which the Pi does not use.
- Shorten and thicken the cable. If the supply has a detachable lead, swap it for a short one sold for power rather than data. Skip extension leads, inline switches of unknown quality and USB sockets on a TV, monitor or computer as the power source.
- Move heavy USB devices to a powered hub. The documentation’s own test for a suspected power shortage is to connect the USB devices through a powered hub, so they draw from the hub’s supply instead of the Pi. Bus-powered 2.5-inch hard drives and SSD enclosures are the usual offenders.
- Check add-on boards. A HAT, a display or a strip of LEDs fed from the 5 V pins draws from the same rail. Remove them one at a time to see which one tips it over.
- Reboot and confirm. After each change, reboot, load the Pi the way you normally do and run vcgencmd get_throttled again. You are done when it stays at 0x0.
Measuring the voltage yourself
On a Raspberry Pi 5, the power-management chip can report the input directly: vcgencmd pmic_read_adc EXT5V_V prints the 5 V input voltage. Earlier models have no equivalent. Note that vcgencmd measure_volts reports the processor core and memory rails, not the 5 V input, so a healthy reading there proves nothing about the supply.
With a multimeter set to DC volts you can measure at the 40-pin header: pins 2 and 4 are 5 V and pin 6 is ground, per the official pinout. Be careful. The GPIO pins beside them work at 3.3 V and are not 5 V tolerant, so a probe that slips and bridges a 5 V pin to a neighbor can destroy the board. Use hook clips or jumper wires fitted before you apply power, not bare probe tips on a live header. Keep in mind that a multimeter averages its reading and will miss dips lasting milliseconds; the Pi’s own detector catches those, which is why the board can complain while the meter shows 5.0 V.
Raspberry Pi 5: the 3 A special case
The Pi 5 negotiates with its supply over USB Power Delivery. Raspberry Pi’s USB power delivery white paper explains that if a 5 V 5 A supply is not detected, the board limits the USB ports to 600 mA in total, against 1.6 A with a 5 A supply. The hardware documentation adds that USB boot is disabled by default on a 3 A supply. The board still runs well on 3 A with light peripherals.
Two settings change that behavior. usb_max_current_enable=1 in /boot/firmware/config.txt lifts the USB limit, and the PSU_MAX_CURRENT bootloader property tells the board to assume a supply of a given rating instead of negotiating. Neither one adds power. If the supply cannot actually deliver the current, raising the limit moves you from a polite restriction to a genuine undervoltage. Use them only with a supply you know can provide 5 A at 5 V, such as a regulated source that simply lacks the Power Delivery handshake.
Don’t just hide the warning
Forum threads often suggest avoid_warnings=1 or avoid_warnings=2 in config.txt. Raspberry Pi lists that option on its legacy config.txt page, which states the options there don’t work with Raspberry Pi OS Bookworm and later and are no longer officially supported. On older systems, the value 2 allowed turbo mode even with low voltage present. Either way the supply is still sagging; you have only removed the indicator. A Pi that keeps running below its rated voltage is the one that freezes, drops USB drives mid-write or reboots under load.
Symptom, likely cause and fix
| What you see | Likely cause | What to do |
|---|---|---|
| Warning only during boot | Peak current at startup through a thin or long cable | Shorter, heavier cable or a supply with a captive lead |
| Warning when a USB drive is plugged in or spins up | Drive exceeds what the supply can spare | Powered USB hub, or a drive with its own power |
| Constant warnings, get_throttled ends in 5 | Supply rated below the model’s requirement | Replace with a supply matching the table |
| Pi 5 says power to peripherals is restricted | No 5 A Power Delivery profile detected | 27 W supply, or keep USB load under 600 mA |
| Warnings started after adding a HAT, screen or LEDs | Extra load on the 5 V rail | Power the add-on separately or raise supply capacity |
| Random reboots or freezes under load | Voltage collapsing when demand peaks | Fix power first, before suspecting the SD card or software |
| get_throttled shows 0x80000, no voltage lines in the log | Heat, not power | Improve airflow, add a heatsink or fan |
Electrical safety
The Pi itself runs at 5 V, but its power supply connects to mains. Never open a plug-in supply, and replace any adapter with a cracked case, bent pins or a lead that gets hot. If you build a custom supply from a DIN-rail or bench unit, the mains side is work for someone qualified, with the supply disconnected while you wire it. Don’t raise the voltage above the 5.1 V nominal to “compensate” for a poor cable: fix the cable.
Frequently asked questions
Is it safe to ignore the undervoltage warning?
No. The Pi may keep running, but the firmware throttles the processor while voltage is low, and a rail that sags further can cause freezes, USB dropouts and sudden reboots. Treat a single event at boot as a nudge and repeated events as a fault to fix.
Why does vcgencmd get_throttled still show 0x50000 after I changed the power supply?
Bits 16 to 19 record what has happened since the last boot and do not clear on their own. Reboot, then check again. If the value stays at 0x0 under your usual workload, the new supply solved it.
Can I power a Raspberry Pi from a phone charger?
Only if it meets the model’s requirement: 2.5 A for a Pi 3 B+, 3 A for a Pi 4, and 5 A at 5 V for full USB power on a Pi 5. Many phone chargers are rated lower at 5 V or come with thin cables, and those are exactly the combinations that trigger the warning.
Does the Raspberry Pi Zero show undervoltage warnings?
The documentation says the low-voltage detection circuit is fitted to all models since the Model B+ except the Zero range. A Zero can still suffer from a weak supply; it just has no detector to tell you.
What voltage triggers the warning?
Raspberry Pi documents the threshold as 4.63 V with a tolerance of ±5%. Because of that tolerance, two boards on the same marginal supply may not behave identically.
Quick checklist
- Run vcgencmd get_throttled; 0x0 is the goal
- Supply rated for the model: 2.5 A (Pi 3 B+), 3 A (Pi 4), 5 A (Pi 5)
- Short, heavy power cable; no extension leads or TV USB ports
- Bus-powered drives on a powered hub
- Reboot after each change so the history bits reset
- Leave avoid_warnings alone
Choosing hardware for a new build? Our Raspberry Pi 3 Model B+ overview covers the board in the photo above, and Raspberry Pi vs mini PC compares the two platforms, including how each is powered.