Raspberry Pi 5 Pinout

The Raspberry Pi 5 is a high-performance single-board computer based on the Broadcom BCM2712 quad-core Cortex-A76 processor and the RP1 I/O controller. It keeps the familiar 40-pin Raspberry Pi GPIO header while adding faster CPU performance, dual 4K display support, USB 3.0 bandwidth improvements, PCIe expansion, dual-band Wi-Fi, Bluetooth, and modern USB-C power input. For electronics projects, its GPIO pins use 3.3 V logic, so 5 V sensors or modules should use proper level shifting where needed.

Manufacturer
Raspberry Pi Ltd
Package
SBC
Raspberry Pi 5 pinout diagram

Pin reference

PinNameFunctionsDescription
13V33.3V Output<p>Power output rail</p>
25V5V Output<p>Power rail; not GPIO</p>
3GPIO2I2C SDA<p>Fixed pull-up; commonly I2C SDA</p>
45V5V Output<p>Power rail; not GPIO</p>
5GPIO3I2C SCL<p>SCL1 I2C</p>
6GNDGround<p>Ground</p>
7GPIO4GPIO<p>General GPIO output clock</p>
8GPIO14UART TX<p>Default serial TX</p>
9GNDGround<p>Ground</p>
10GPIO15UART RX<p>Default serial RX</p>
11GPIO17GPIO<p>General-purpose GPIO</p>
12GPIO18PWM<p>Common hardware PWM pin</p>
13GPIO27GPIO<p>General-purpose GPIO</p>
14GNDGround<p>Ground</p>
15GPIO22GPIO<p>General-purpose GPIO</p>
16GPIO23GPIO<p>General-purpose GPIO</p>
173V33.3V Output<p>Power output rail</p>
18GPIO24GPIO<p>General-purpose GPIO</p>
19GPIO10SPI MOSI<p>SPI0 MOSI</p>
20GNDGround<p>Ground</p>
21GPIO9SPI MISO<p>SPI0 MISO</p>
22GPIO25GPIO<p>General-purpose GPIO</p>
23GPIO11SPI SCK<p>SPI0 SCLK</p>
24GPIO8SPI CS<p>SPI0 chip select 0</p>
25GNDGround<p>Ground</p>
26GPIO7SPI CS<p>SPI0 chip select 1</p>
27ID_SDOther<p>Reserved/advanced use</p>
28ID_SCOther<p>Reserved/advanced use</p>
29GPIO5GPIO<p>General-purpose GPIO</p>
30GNDGround<p>Ground</p>
31GPIO6GPIO<p>General-purpose GPIO</p>
32GPIO12PWM<p>Common hardware PWM pin</p>
33GPIO13PWM<p>Common hardware PWM pin</p>
34GNDGround<p>Ground</p>
35GPIO19PWM<p>Common PWM/I2S-capable pin</p>
36GPIO16GPIO<p>General GPIO; SPI1 CS option</p>
37GPIO26GPIO<p>General-purpose GPIO</p>
38GPIO20GPIO<p>Common I2S/PCM-capable pin</p>
39GNDGround<p>Ground</p>
40GPIO21GPIO<p>Common I2S/PCM-capable pin</p>
41PWR-1Power Input<p>PWR-1</p>
42PWR-2Power Input<p>PWR-2</p>
43BAT+Power Input<p>BAT+</p>
44GND<p>GND</p>
45UART_TXUART TX<p>UART_TX</p>
46GND<p>GND</p>
47UART_RXUART RX<p>UART_RX</p>
48VIO-1Other<p>VIO-1</p>
49TR01_TAPOther<p>TR01_TAP</p>
50TR01_TAP<p>TR01_TAP</p>
51TR00_TAPOther<p>TR00_TAP</p>
52TR03_TAPOther<p>TR03_TAP</p>
53TR02_TAPOther<p>TR02_TAP</p>
54Fan-5VPower Input<p>Fan-5V</p>
55Fan-PWMPWM<p>Fan-PWM</p>
56Fan-GNDGround<p>Fan-GND</p>
57Fan-TachOther<p>Fan-Tach</p>

Report an error on this page