The PIN mapping of the Raspberry 2B says:

Raspberry PINs

The red ones are 5V pins. Are these just used as 5V out pins when power is connected through Micro USB? Or is it also possible to power the Raspberry Pi via those pins, so that I can get rid of the Micro USB cable?

Please note: I don't want to power peripherals from these pins, I want to power the Raspberry itself, i.e. I want to get rid of the micro USB power supply.

  • 6
    if you did you would bypass the polyfuse which would be risky. What do you plan on powering it with? because if you just dont like the usb connector de-solder it and either put another plug on or solder 5v straight to the board where the usb pads are
    – Dr.Rabbit
    Commented Sep 29, 2017 at 14:10

3 Answers 3


This pin is directly connected to the 5V net, meaning indeed it is possible to power through that pin.

When under USB power, this net is supplied by USB power, but there is no reason you couldn't power it yourself, however, replicating some of the protection scheme is worthwhile to protect power supplies and prevent fires.

In my opinion, modifying the board (replacing usb header) is riskier and more error-prone than using an external supply with adequate protection.

However, the simplest solution is to make a cable from your power supply or connector of choice to micro-usb, because you may as well re-use the circuit they have there.

Taking a look at the schematics we can see the GPIO pins are attached directly to 5V net

GPIO 5V Pins

What @Dr.Rabbit is referring to is a ressetable fuse that is used to protect from short circuit. This can be seen here as component F1. The 5V net shows ups at the right of the schematic

USB Power Supply Input

Note that the USB input is additionally protected from reverse power, it is a good idea to replicate both of these protection schemes in your set up.

Keep in mind that these largely protect the operator and the power supply. If the polyfuse trips due to accidental short, the board is probably dead anyway, however if you are simply running too many loads then the polyfuse will protect the on board power supply and the wall-wart from continuous over-current.

It is legitimate to use Diodes to OR power supplies and prevent reverse current. You just have to be sure to take into account the diode voltage drop or compensate for it in your schematic like what is done on the raspberry pi.

  • 3
    The short story, Q3 protects against reverse voltage, D5 against over voltage and F1 against high current. The Raspberry Pi is well protected :-)
    – MatsK
    Commented Sep 29, 2017 at 15:16
  • 2
    @MatsK Pretty much as good as it gets in commercial products for protection. In industrial world we design for input voltage range from 10-60V and a requirement that any input pins can be accidentally reversed with any other and not get damaged...
    – crasic
    Commented Sep 29, 2017 at 15:53
  • I know, I'm partly in there to ;-)
    – MatsK
    Commented Sep 29, 2017 at 16:36
  • 2
    The same protection can be had cheaply with a polarity protecting IRLZ44N MOSFET. Push 5V to drain and gate, and pull 5V to Pi from source. Polyfuses are cheap as well. It’s less than 3USD in parts. maximintegrated.com/en/app-notes/index.mvp/id/636 is a good read.
    – user2497
    Commented Sep 29, 2017 at 17:33

Yes, you can use the 5v pins. These pins are on a 5v rail. This will however bypass any protection circuits on the Pi. If you don't want to use the micro usb, the better thing to do is to solder your power supply to the PP1 port on the bottom of your Pi. Check the link for a complete overview of the PP connections.



On a Raspberry Pi Zero W I use one of these pins to power the Raspberry. My Raspberry is a controller for an APA 102 LED strip.

The strip itself uses a lot of current, so I can't power it from the 5V pin of the Raspberry (it would most likely destroy it).

But I can easily use the 5V / 10A power supply for the LEDs to also power the Raspberry Pi through the 5V pin, hence using the pin as an input.

As mentioned in a comment, there is no reverse polarity protection, or over-voltage protection on these pins, so be careful! You could add a capacitor between the 5V and ground pin for some protection. However, a good 5V power supply should not produce a power spike when it is plugged in. So far, I did not destroy a Raspberry Pi with this setup.

  • I do hope I am wrong ;) I am using a Raspberry Pi Zero v1.3 (Schematics github.com/raspberrypi/documentation/blob/master/hardware/…), and not a Pi 3. I was under the impression that there is a difference in the level of protection against over voltage or reverse polarity between the Pi 3 and the Pi Zero. If there is not, that would be great news.
    – user24709
    Commented Sep 29, 2017 at 15:43
  • 4
    In summary: On the Pi Zero, it doesn't matter if one uses the Micro USB input or the 5V PIN: Both are equally unprotected. I am not sure about the Pi 3: From the schematics, I would think that the 5V pin is "behind" the protection circuitry that guards the Micro USB power input, do there it would make a difference.
    – user24709
    Commented Sep 29, 2017 at 15:51
  • 1
    it is "behind" the reverse current (Q3) and the fuse (F1). 5V pin still see's the overvoltage protection D5
    – crasic
    Commented Sep 29, 2017 at 15:57
  • Ah yes, you are right.
    – user24709
    Commented Sep 29, 2017 at 15:58
  • 2
    Thanks for your answer, Martin. I appreciate that you want to help. Since I explicitly asked for Raspberry Pi 2B, this Pi Zero answer is not helpful for me. I'm sorry, according the rules of this site I will neither accept your answer nor upvote it. I'll also not downvote, since the answer is probably correct. Commented Sep 29, 2017 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.