DEV Community

Hedy
Hedy

Posted on

Which Raspberry Pi can take 24v?

Most Raspberry Pi “computer boards” do not accept 24 V directly. They are 5 V devices (powered via USB-C / micro-USB, or the 5 V pins on the GPIO header), so feeding 24 V into a normal Pi will damage it.

The one common “Pi” setup that can take 24 V (with a big caveat)

Raspberry Pi Compute Module 4 + official CM4 IO Board
The CM4 IO Board can be powered via its DC barrel jack and Raspberry Pi’s docs note it supports up to 26 V if PCIe is unused—so 24 V is OK in that specific configuration.

If you plan to use PCIe devices, Raspberry Pi emphasizes 12 V input for that use case.

Not 24 V

  • Compute Module 5 IO Board: requires an external +5 V USB-C PSU, not 24 V.
  • Raspberry Pi 5 / 4 / 3 / Zero / 400 / 500: powered from 5 V (Pi 5 typically via the official 5.1 V supply).

If you have 24 V available, the normal solution

Use a 24 V → 5.1 V (or 5.0 V) DC-DC buck converter sized for your Pi:

  • Pi 4 class: typically 5 V / 3 A supply guidance
  • Pi 5 class: official supply is 5.1 V / 5 A

Then feed the Pi via USB-C/micro-USB (preferred) or via the 5 V GPIO pins (only if you understand you’re bypassing some protection).

Related note: PoE is ~48 V, not 24 V

If your “24 V” is coming from PoE-like wiring, avoid 24 V passive PoE—it’s not standards-compliant and can cause damage.
Standards-based PoE/PoE+ is typically ~48 V and uses proper negotiation (e.g., PoE+ HAT).

Top comments (0)