Embedded hardware reference for engineers and makers

Raspberry Pi Pico Pinout & Pin Diagram

40-pin interactive pinout

This Pico explorer reproduces the official 40-pin allocation with the micro-USB connector at the top. It shows the default UART, I2C and SPI alternatives printed in the Raspberry Pi pinout figure, plus the three exposed ADC inputs and the complete power section.

  • Raspberry Pi Ltd
  • Verified source
  • Updated Sep 2026

Interactive pinout diagram

  • GPIO
  • Power
  • Ground
  • Analog
  • Control

Tap a row of pins to see it up close

Raspberry Pi Pico Pinout Vector DiagramInteractive vector pinout diagram of Raspberry Pi Pico (top view) showing pin headers, power rails, components, and hardware interfaces.2R2VA4EHJQ41DUUSBLEDBOOTSEL▼ DEBUGGP0GP1GNDGP2GP3GP4GP5GNDGP6GP7GP8GP9GNDGP10GP11GP12GP13GNDGP14GP15VBUSVSYSGND3V3_EN3V3ADC_VREFGP28AGNDGP27GP26RUNGP22GNDGP21GP20GP19GP18GNDGP17GP16

BOARD SUMMARY

RP2040

Raspberry Pi Pico

RP2040

Raspberry Pi Ltd
MCU
RP2040
CPU core
Dual Arm Cortex-M0+
Clock speed
133 MHz
SRAM
264 KB
Flash
2 MB
GPIO count
26
Logic voltage
3.3 V (not 5 V tolerant)
Form factor
40-pin

Before you wire

GPIO is not 5 V tolerant

  • All GPIO uses fixed 3.3 V logic; do not apply 5 V.
  • Respect the ADC input and unpowered-diode limits in the datasheet.
  • Do not drive VBUS or VSYS without understanding the Pico power path.

Pin table

Showing 40 of 40 pins
Raspberry Pi Pico pin table: physical pin, name, GPIO, functions, ADC, touch, default role, flags
PinNameGPIOFunctionsADCDefault roleFlags
1 leftGP0GPIO0
gpiouarti2cspipwm
—GPIO
2 leftGP1GPIO1
gpiouarti2cspipwm
—GPIO
3 leftGND—
gnd
—Ground
4 leftGP2GPIO2
gpioi2cspipwm
—GPIO
5 leftGP3GPIO3
gpioi2cspipwm
—GPIO
6 leftGP4GPIO4
gpiouarti2cspipwm
—GPIO
7 leftGP5GPIO5
gpiouarti2cspipwm
—GPIO
8 leftGND—
gnd
—Ground
9 leftGP6GPIO6
gpioi2cspipwm
—GPIO
10 leftGP7GPIO7
gpioi2cspipwm
—GPIO
11 leftGP8GPIO8
gpiouarti2cspipwm
—GPIO
12 leftGP9GPIO9
gpiouarti2cspipwm
—GPIO
13 leftGND—
gnd
—Ground
14 leftGP10GPIO10
gpioi2cspipwm
—GPIO
15 leftGP11GPIO11
gpioi2cspipwm
—GPIO
16 leftGP12GPIO12
gpiouarti2cspipwm
—GPIO
17 leftGP13GPIO13
gpiouarti2cspipwm
—GPIO
18 leftGND—
gnd
—Ground
19 leftGP14GPIO14
gpioi2cspipwm
—GPIO
20 leftGP15GPIO15
gpioi2cspipwm
—GPIO
1 rightVBUS—
power
—5.0 V PowerDirectly connected to Micro-USB 5V supply line via diode. Do not connect conflicting 5V sources while USB is plugged in.
2 rightVSYS—
power
—1.8–5.5 V PowerMain system input voltage range is 1.8V to 5.5V, feeding the RT6150B buck-boost converter. Monitored internally via GPIO29.
3 rightGND—
gnd
—Ground
4 right3V3_EN—
power
—Power SupplyPulling 3V3_EN low disables the onboard RT6150B buck-boost converter, turning off the 3.3V rail and RP2040.
5 right3V3—
power
—3.3 V Power
6 rightADC_VREF—
adcpower
—3.3 V PowerADC_VREF is tied to the filtered 3.3V supply via a 200Ω resistor. Any external reference must not exceed 3.3V.
7 rightGP28GPIO28
gpiopwmadc
ADC2GPIOADC input range is strictly 0V to 3.3V. Protection diode to 3.3V rail conducts even when Pico is unpowered; do not exceed 3.3V.
8 rightAGND—
gnd
—Ground
9 rightGP27GPIO27
gpioi2cpwmadc
ADC1GPIOADC input range is strictly 0V to 3.3V. Protection diode to 3.3V rail conducts even when Pico is unpowered; do not exceed 3.3V.
10 rightGP26GPIO26
gpioi2cpwmadc
ADC0GPIOADC input range is strictly 0V to 3.3V. Protection diode to 3.3V rail conducts even when Pico is unpowered; do not exceed 3.3V.
11 rightRUN—
reset
—Reset / EnableActive-low reset line. Pulling RUN to GND resets the RP2040 microcontroller and restarts firmware execution.
12 rightGP22GPIO22
gpiopwm
—GPIO
13 rightGND—
gnd
—Ground
14 rightGP21GPIO21
gpioi2cpwm
—GPIO
15 rightGP20GPIO20
gpioi2cpwm
—GPIO
16 rightGP19GPIO19
gpioi2cspipwm
—GPIO
17 rightGP18GPIO18
gpioi2cspipwm
—GPIO
18 rightGND—
gnd
—Ground
19 rightGP17GPIO17
gpiouarti2cspipwm
—GPIO
20 rightGP16GPIO16
gpiouarti2cspipwm
—GPIO

Grounded reference

Board overview

Raspberry Pi Pico is a compact RP2040 board with dual Arm Cortex-M0+ processors at 133 MHz, 2 MB flash, 264 KB SRAM, USB 1.1 and 26 exposed multifunction GPIO.

Power inputs

  • Micro-USB B for power, data and UF2 programming
  • VSYS input from 1.8 V to 5.5 V
  • VBUS exposes the nominal 5 V USB supply

Common use cases

  • Embedded control and sensor acquisition
  • Custom digital interfaces using PIO state machines
  • C/C++, MicroPython and embedded programming education

Notes

  • RP2040 features dual Arm Cortex-M0+ cores running at 133 MHz with 264 KB on-chip SRAM.
  • Only GP26–GP28 are exposed as ADC inputs; GPIO29 measures VSYS internally.

Before you wire

  • All GPIO uses fixed 3.3 V logic; do not apply 5 V.
  • Respect the ADC input and unpowered-diode limits in the datasheet.
  • Do not drive VBUS or VSYS without understanding the Pico power path.

Specifications

MCU
RP2040
CPU core
Dual Arm Cortex-M0+
Clock
133 MHz
SRAM
264 KB
Flash
2 MB
GPIO count
26
Logic voltage
3.3 V

Safe GPIO pins

Pico exposes 26 multifunction GPIO pins at fixed 3.3 V logic. Every exposed GPIO can participate in PIO and PWM according to the official pinout; select the peripheral mapping that matches your program and avoid applying 5 V to any GPIO.

ADC and analog pins

GP26, GP27 and GP28 provide ADC0, ADC1 and ADC2. ADC_VREF is the filtered ADC supply/reference and AGND is the analog ground. The datasheet warns that ADC-capable GPIO have a diode to the 3.3 V I/O rail, including when the RP2040 is unpowered.

I2C, SPI and UART pins

The pinout diagram lists several default placements for UART0/1, I2C0/1 and SPI0/1. The explorer copies those labels per pin rather than presenting one pair as universally preferred. PIO can implement additional protocols in software.

Strapping and boot pins

The 40-pin header has no ESP-style strapping GPIO. BOOTSEL is a board button rather than a main header position, while RUN is the enable/reset input and is reset by pulling it low.

Input-only pins

None of the 26 exposed GPIO is documented as input-only. RUN, 3V3_EN, ADC_VREF and the power contacts are special-purpose header pins and must not be treated as ordinary GPIO.

Raspberry Pi 40-Pin GPIO Header pinoutArduino Mega 2560 Rev3 pinoutArduino Pro Mini pinoutNodeMCU v2 Amica (ESP8266) pinout

Help keep this page accurate

Checked this pinout against your board or connector? Confirm it, or report a pin, voltage or orientation that does not match.

Opens a public form on GitHub with this page already filled in; a free GitHub account is needed. How reports and confirmations work