Raspberry Pi 3 B+ pinout

Raspberry Pi 3 Model B+, BCM2837B0, 3.3 V logic, 85×56 mm, 40 pins

verified17.10.2026

PWM on every GPIO, no GPIO tolerates 5 V, outlined: default in Raspberry Pi OS.

Top view, GPIO header at the top edge, pin 1 on the left, rotated 90° on the diagram.

CompareDownload PNG
Chip
BCM2837B0
Logic
3.3 V
Power
Micro-USB 4.75-5.25 V5V on GPIO 4.75-5.25 V
Defaults in Raspberry Pi OS (default in config.txt / dtoverlay)
I2C: SDA 2, SCL 3SPI: MOSI 10, MISO 9, SCK 11, SS 8UART: TX 14, RX 15

Which Raspberry Pi 3 B+ pins are safe to use

Free to use

GPIO0, GPIO1, GPIO4-13, GPIO15-27

Use with care

  • GPIO2, GPIO3: onboard pull-up or divider.
  • GPIO14: signal at boot.

Important

  • 3.3 V logic. Do not apply 5 V to a GPIO: the pins do not tolerate 5 V and the whole board can burn out. For 5 V sensors use a divider or a level shifter.
  • In programs, numbering is by BCM (GPIO17), not by pin number (11). The board has no pin labels, only the number 1 at the first pin.
  • Current: the pins are rated for 16 mA, while the whole 3.3 V rail on the GPIO is good for about 3 mA per pin on average (Raspberry Pi documentation). Relays, motors and strips only through a transistor and from a separate supply.
  • Default buses: I2C1 on GPIO2/3 (pins 3/5, with 1.8 kΩ pull-ups), SPI0 on GPIO10/9/11, CE0 8, CE1 7, UART on GPIO14/15. Enable them in raspi-config or config.txt.
  • No analog inputs: for an ADC you need an external module (ADS1115, MCP3008).
  • Hardware PWM: GPIO12, 13, 18, 19 (two channels). I2S (PCM) audio: GPIO18–21.
  • Bluetooth takes the main UART: GPIO14/15 uses the mini UART by default. dtoverlay=disable-bt restores the full one.
  • Power supply: 5 V 2.5 A, up to 1.2 A in total for USB devices.

All pins

LabelNumberFunctionsLimitsCheck
5Vpin 25 Vpower inputpower outputverified
5Vpin 45 Vpower inputpower outputverified
GNDpin 6Groundverified
GPIO14GPIO14, pin 8interrupt (edge, via gpiod)software PWMUART TXD (console, if enabled)not 5 V tolerantoutputs a signal at bootverified
GPIO15GPIO15, pin 10interrupt (edge, via gpiod)software PWMUART RXD (console, if enabled)not 5 V tolerantverified
GPIO18GPIO18, pin 12interrupt (edge, via gpiod)PWM0PCM CLK (I2S)SPI1 CE0not 5 V tolerantverified
GNDpin 14Groundverified
GPIO23GPIO23, pin 16interrupt (edge, via gpiod)software PWMnot 5 V tolerantverified
GPIO24GPIO24, pin 18interrupt (edge, via gpiod)software PWMnot 5 V tolerantverified
GNDpin 20Groundverified
GPIO25GPIO25, pin 22interrupt (edge, via gpiod)software PWMnot 5 V tolerantverified
GPIO8GPIO8, pin 24interrupt (edge, via gpiod)software PWMSPI0 CE0not 5 V tolerantverified
GPIO7GPIO7, pin 26interrupt (edge, via gpiod)software PWMSPI0 CE1not 5 V tolerantverified
GPIO1GPIO1, pin 28interrupt (edge, via gpiod)software PWMID_SC (I2C0 SCL) — EEPROM HATnot 5 V tolerantverified
GNDpin 30Groundverified
GPIO12GPIO12, pin 32interrupt (edge, via gpiod)PWM0not 5 V tolerantverified
GNDpin 34Groundverified
GPIO16GPIO16, pin 36interrupt (edge, via gpiod)software PWMSPI1 CE2not 5 V tolerantverified
GPIO20GPIO20, pin 38interrupt (edge, via gpiod)software PWMPCM DIN (I2S)SPI1 MOSInot 5 V tolerantverified
GPIO21GPIO21, pin 40interrupt (edge, via gpiod)software PWMPCM DOUT (I2S)SPI1 SCLKnot 5 V tolerantverified
3V3pin 13.3 Vpower outputverified
GPIO2GPIO2, pin 3interrupt (edge, via gpiod)software PWMI2C1 SDAnot 5 V tolerantonboard pull-upverified
GPIO3GPIO3, pin 5interrupt (edge, via gpiod)software PWMI2C1 SCLnot 5 V tolerantonboard pull-upverified
GPIO4GPIO4, pin 7interrupt (edge, via gpiod)software PWMGPCLK01-Wire (dtoverlay=w1-gpio by default)not 5 V tolerantverified
GNDpin 9Groundverified
GPIO17GPIO17, pin 11interrupt (edge, via gpiod)software PWMSPI1 CE1not 5 V tolerantverified
GPIO27GPIO27, pin 13interrupt (edge, via gpiod)software PWMnot 5 V tolerantverified
GPIO22GPIO22, pin 15interrupt (edge, via gpiod)software PWMnot 5 V tolerantverified
3V3pin 173.3 Vpower outputverified
GPIO10GPIO10, pin 19interrupt (edge, via gpiod)software PWMSPI0 MOSInot 5 V tolerantverified
GPIO9GPIO9, pin 21interrupt (edge, via gpiod)software PWMSPI0 MISOnot 5 V tolerantverified
GPIO11GPIO11, pin 23interrupt (edge, via gpiod)software PWMSPI0 SCLKnot 5 V tolerantverified
GNDpin 25Groundverified
GPIO0GPIO0, pin 27interrupt (edge, via gpiod)software PWMID_SD (I2C0 SDA) — EEPROM HATnot 5 V tolerantverified
GPIO5GPIO5, pin 29interrupt (edge, via gpiod)software PWMGPCLK1not 5 V tolerantverified
GPIO6GPIO6, pin 31interrupt (edge, via gpiod)software PWMGPCLK2not 5 V tolerantverified
GPIO13GPIO13, pin 33interrupt (edge, via gpiod)PWM1not 5 V tolerantverified
GPIO19GPIO19, pin 35interrupt (edge, via gpiod)PWM1PCM FS (I2S)SPI1 MISOnot 5 V tolerantverified
GPIO26GPIO26, pin 37interrupt (edge, via gpiod)software PWMnot 5 V tolerantverified
GNDpin 39Groundverified

Sources

Every pin is verified against the manufacturer's documents.

Size: per the Raspberry Pi mechanical drawing.

FAQ

Which Raspberry Pi 3 B+ pins are I2C, SPI and UART?
By default in Raspberry Pi OS (default in config.txt / dtoverlay): I2C: SDA GPIO2, SCL GPIO3; SPI: MOSI GPIO10, MISO GPIO9, SCK GPIO11, SS GPIO8; UART: TX GPIO14, RX GPIO15.
Are the Raspberry Pi 3 B+ pins 5 V tolerant?
No. The logic is 3.3 V and the pins are not 5 V tolerant: use a divider or a level shifter for 5 V signals.

You might also need

Similar boards

Next

Need firmware or a device built on BCM2837B0? I'll build it to order