AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store

Power over Ethernet for Raspberry Pi

Run a Raspberry Pi from its network cable. Which HAT suits which board, what your switch or injector needs to supply, how to fit the PoE+ HAT, how its fan behaves and how to check it's all working.

How it works

Power over Ethernet (PoE) sends power down the same cable as your network, so a Pi on a ceiling, a wall or a pole needs one cable and no power point. Two things make it work:

  • Something to send the power. A PoE switch, or a PoE injector placed between an ordinary switch and the Pi.
  • Something on the Pi to receive it. No Raspberry Pi can run from PoE on its own. The Ethernet jack on the boards that support it brings the power out to four small pins, and a PoE HAT on those pins turns it into the 5 V the Pi runs on.

Which boards, which HAT

Board PoE pins What to fit
Raspberry Pi 3B+ Yes Raspberry Pi PoE+ HAT
Raspberry Pi 4 Model B Yes Raspberry Pi PoE+ HAT
Raspberry Pi 5 Yes, but in a new position A PoE HAT made for the Pi 5
Other models (3B, Zero, Model A boards) No Not supported

The PoE+ HAT is Raspberry Pi's own board for the Pi 3B+ and Pi 4. It doesn't fit the Pi 5: the Pi 5's Ethernet jack supports PoE+, but its four PoE pins are in a different place, so you need a HAT designed for the Pi 5. The Pi 5 HATs we carry are rated for 5 V at up to 5 A, the same current as the official Pi 5 power supply. Some versions also add an M.2 slot for an NVMe SSD.

What your switch or injector must provide

PoE is defined by IEEE standards, and the switch port has to match what the HAT asks for:

Standard Also called Power at the switch port
802.3af PoE up to 15.4 W
802.3at PoE+ up to 30 W

The PoE+ HAT is an 802.3at Class 4 device, so give it a PoE+ (802.3at) port. It accepts 37–57 V from the cable and puts out 5 V at up to 4 A. The Pi 5 HATs we stock accept either 802.3af or 802.3at, but a PoE+ port gives a Pi 5 more headroom for USB drives and other add-ons.

A few things to check:

  • Switch power budget. A PoE switch has a total budget shared across its ports. Add up what every device on it can draw, not just the Pi.
  • Injector. If your switch doesn't do PoE, the Raspberry Pi PoE+ Injector supplies one port with up to 30 W (802.3af and 802.3at), passes gigabit data through, and runs from 100–240 V mains via an IEC C13 lead (not included).
  • Avoid "passive PoE". Cheap passive injectors don't follow the standard and often run at a lower voltage than the HAT's input range. Use an 802.3af/at switch or injector.
  • Cable. Ordinary Cat5e or better is fine.

Fitting the PoE+ HAT

  1. Shut the Pi down and unplug everything.
  2. Fit the supplied spacers to the four corner mounting holes.
  3. Line the HAT up with both sets of pins on the Pi: the 40-pin GPIO header and the 4-pin PoE header beside it. Make sure no pins are offset.
  4. Press it down evenly until it's fully seated on both headers.
  5. Plug in the Ethernet cable from your PoE switch or injector. The Pi starts up; no USB-C supply is needed.

No changes to the Pi itself are needed. Keep Raspberry Pi OS up to date so all of the HAT's features work.

To take the HAT off, ease it up evenly so it leaves all the pins at once. Lifting one end first can bend the pins.

Don't handle the HAT while it's powered. It has higher voltages on board than the Pi does. Hold boards by their edges to avoid static damage.

The fan

The PoE+ HAT has a small 25 mm fan over the processor. The Pi controls it automatically over I2C, with no software to install. It works in steps: the fan comes on at 40°C and speeds up at 45°C, 50°C and 55°C. Each step has a little hysteresis so the fan doesn't chatter on and off.

If you'd rather it stayed quiet a bit longer, raise the first step in /boot/firmware/config.txt, for example to 50°C:

dtparam=poe_fan_temp0=50000

The other steps are poe_fan_temp1 to poe_fan_temp3, also in thousandths of a degree. Reboot after editing.

The HAT is rated for 0°C to 50°C surroundings, so think about airflow if it's going in a sealed box in the sun.

Checking it works

With only the Ethernet cable connected:

  • The Pi should boot and get a network address as usual. Many managed PoE switches also show which ports are supplying power and how much.
  • Check for power problems since boot (anything other than throttled=0x0 points to low voltage or heat):
vcgencmd get_throttled
  • Watch the processor temperature to see the fan doing its job:
vcgencmd measure_temp

If the Pi doesn't power up at all, check that the switch port has PoE turned on, that the port and its budget can supply PoE+ (for the PoE+ HAT), and that the HAT is seated on both sets of pins.

Parts in this guide

Maddy from the Pi Australia team

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.