Raspberry Pi Pico W pinout

Raspberry Pi Pico W, RP2040, 3.3 V logic, 21×51 mm, 43 pins

verified15.10.2026

Which Raspberry Pi Pico W pins are safe to use

Free to use

GP0-22, GP26-28

Important

  • 3.3 V logic, do not apply 5 V to a GPIO.
  • The GP0…GP28 labels are printed on the back of the board; the top has only pin numbers 1, 2, 39, 40.
  • GP23 is radio power enable (WL_ON), GP24 is radio data/IRQ, GP25 is radio CS, GP29 is radio clock and VSYS/3 measurement (ADC3). The LED is on WL_GPIO0 of the CYW43439 chip, in Arduino and MicroPython it is LED_BUILTIN / "LED".
  • ADC: GP26–GP28 (ADC0–ADC2), 12-bit, 0–3.3 V (ADC_VREF).
  • The placement of small components in the drawing is approximate (from the datasheet drawing and render); pins and holes follow the drawing dimensions.
  • Any GPIO can be PWM, while UART, I2C and SPI are assigned to pins from their own group (function table in the chip datasheet).
  • 3V3(OUT) is the output of the built-in DC-DC, not an input.

All pins

LabelNumberFunctionsLimitsCheck
GP0GPIO0, pin 1interruptSPI0 RX (MISO)UART0 TXI2C0 SDAPWM 0APIO0, PIO1Serial1 TXnot 5 V tolerantverified
GP1GPIO1, pin 2interruptSPI0 CSnUART0 RXI2C0 SCLPWM 0BPIO0, PIO1Serial1 RXnot 5 V tolerantverified
GNDpin 3Groundverified
GP2GPIO2, pin 4interruptSPI0 SCKUART0 CTSI2C1 SDAPWM 1APIO0, PIO1not 5 V tolerantverified
GP3GPIO3, pin 5interruptSPI0 TX (MOSI)UART0 RTSI2C1 SCLPWM 1BPIO0, PIO1not 5 V tolerantverified
GP4GPIO4, pin 6interruptSPI0 RX (MISO)UART1 TXI2C0 SDAPWM 2APIO0, PIO1Wire SDAnot 5 V tolerantverified
GP5GPIO5, pin 7interruptSPI0 CSnUART1 RXI2C0 SCLPWM 2BPIO0, PIO1Wire SCLnot 5 V tolerantverified
GNDpin 8Groundverified
GP6GPIO6, pin 9interruptSPI0 SCKUART1 CTSI2C1 SDAPWM 3APIO0, PIO1not 5 V tolerantverified
GP7GPIO7, pin 10interruptSPI0 TX (MOSI)UART1 RTSI2C1 SCLPWM 3BPIO0, PIO1not 5 V tolerantverified
GP8GPIO8, pin 11interruptSPI1 RX (MISO)UART1 TXI2C0 SDAPWM 4APIO0, PIO1not 5 V tolerantverified
GP9GPIO9, pin 12interruptSPI1 CSnUART1 RXI2C0 SCLPWM 4BPIO0, PIO1not 5 V tolerantverified
GNDpin 13Groundverified
GP10GPIO10, pin 14interruptSPI1 SCKUART1 CTSI2C1 SDAPWM 5APIO0, PIO1not 5 V tolerantverified
GP11GPIO11, pin 15interruptSPI1 TX (MOSI)UART1 RTSI2C1 SCLPWM 5BPIO0, PIO1not 5 V tolerantverified
GP12GPIO12, pin 16interruptSPI1 RX (MISO)UART0 TXI2C0 SDAPWM 6APIO0, PIO1not 5 V tolerantverified
GP13GPIO13, pin 17interruptSPI1 CSnUART0 RXI2C0 SCLPWM 6BPIO0, PIO1not 5 V tolerantverified
GNDpin 18Groundverified
GP14GPIO14, pin 19interruptSPI1 SCKUART0 CTSI2C1 SDAPWM 7APIO0, PIO1not 5 V tolerantverified
GP15GPIO15, pin 20interruptSPI1 TX (MOSI)UART0 RTSI2C1 SCLPWM 7BPIO0, PIO1not 5 V tolerantverified
VBUSpin 405 Vpower inputpower outputverified
VSYSpin 395 Vpower inputpower outputverified
GNDpin 38Groundverified
3V3_ENpin 37DC-DC 3.3 V enable (low = off)onboard pull-upverified
3V3(OUT)pin 363.3 Vpower outputverified
ADC_VREFpin 353.3 Vpower inputpower outputverified
GP28GPIO28, pin 34interruptSPI1 RX (MISO)UART0 TXI2C0 SDAPWM 6APIO0, PIO1ADC2not 5 V tolerantverified
AGNDpin 33Groundverified
GP27GPIO27, pin 32interruptSPI1 TX (MOSI)UART1 RTSI2C1 SCLPWM 5BPIO0, PIO1ADC1not 5 V tolerantverified
GP26GPIO26, pin 31interruptSPI1 SCKUART1 CTSI2C1 SDAPWM 5APIO0, PIO1ADC0not 5 V tolerantverified
RUNpin 30RP2040 reset (low = reset)verified
GP22GPIO22, pin 29interruptSPI0 SCKUART1 CTSI2C1 SDAPWM 3APIO0, PIO1not 5 V tolerantverified
GNDpin 28Groundverified
GP21GPIO21, pin 27interruptSPI0 CSnUART1 RXI2C0 SCLPWM 2BPIO0, PIO1not 5 V tolerantverified
GP20GPIO20, pin 26interruptSPI0 RX (MISO)UART1 TXI2C0 SDAPWM 2APIO0, PIO1not 5 V tolerantverified
GP19GPIO19, pin 25interruptSPI0 TX (MOSI)UART0 RTSI2C1 SCLPWM 1BPIO0, PIO1SPI MOSInot 5 V tolerantverified
GP18GPIO18, pin 24interruptSPI0 SCKUART0 CTSI2C1 SDAPWM 1APIO0, PIO1SPI SCKnot 5 V tolerantverified
GNDpin 23Groundverified
GP17GPIO17, pin 22interruptSPI0 CSnUART0 RXI2C0 SCLPWM 0BPIO0, PIO1SPI CSnot 5 V tolerantverified
GP16GPIO16, pin 21interruptSPI0 RX (MISO)UART0 TXI2C0 SDAPWM 0APIO0, PIO1SPI MISOnot 5 V tolerantverified
SWCLKpin 41SWD SWCLKverified
GNDpin 42Groundverified
SWDIOpin 43SWD SWDIOverified

Sources

Every pin is verified against the manufacturer's documents.

Size: per the datasheet mechanical drawing.

FAQ

Which Raspberry Pi Pico W pins are I2C, SPI and UART?
By default in arduino-pico: I2C: SDA GP4, SCL GP5; SPI: MOSI GP19, MISO GP16, SCK GP18, SS GP17; UART: TX GP0, RX GP1.
Are the Raspberry Pi Pico W 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 RP2040? I'll build it to order