Learn / Pinouts / Raspberry Pi

Raspberry Pi Pico Rev3 pinout

Explore all 40 Raspberry Pi Pico Rev3 pins, including RP2040 GPIO, ADC, PWM, SPI, I2C, UART, PIO, power and debug connections.

Raspberry PiDevelopment boardRP2040Rev33.3 V logic2 × 20 pins26 usable GPIO
Raspberry Pi Pico Rev3 board artworkKobee

Fast answers

Which GPIO should I use?

Start with what you are connecting. Click any GPIO to locate it in the interactive diagram and inspect the full reason.

Interactive shortlist
Pin colour keyKobee
RecommendedUse with careAvoidSpecial case
Recommendation and GPIOs
Easy choice

Input-capable, no declared boot warning, and suitable for the ESP32 internal pull resistor.

Add an external resistor
No matching pins declared

Excellent inputs, including ADC1, but these input-only pins have no internal pull-up or pull-down.

Works with care
No matching pins declared

These pins are sampled during boot or share the programming serial connection. Your button circuit must not force the wrong reset-time level.

Do not use
No matching pins declared

Connected to the module flash. Treat these header positions as reserved.

Reference by function

See only the pins relevant to your circuit.

Each view removes the unrelated labels, then keeps the exact channel, bus role, and assignment status beside the physical board position.

01 · GPIO

GPIO pins: safe, conditional and avoid

Green pins are the easiest general-purpose choices. Amber pins have a device or board caveat. Red pins are reserved by the board or module.

GP0GPIOGP1GPIOGP2GPIOGP3GPIOGP4GPIOGP5GPIOGP6GPIOGP7GPIOGP8GPIOGP9GPIOGP10GPIOGP11GPIOGP12GPIOGP13GPIOGP14GPIOGP15GPIOGP28GPIOGP27GPIOGP26GPIOGP22GPIOGP21GPIOGP20GPIOGP19GPIOGP18GPIOGP17GPIOGP16GPIO
Pin colour keyKobee
GPIOADCI2CSPIUARTPWM
02 · ADC

ADC analogue inputs

Only analogue-capable connections are shown, with the exact converter and channel role declared by the source data.

GP28ADC2GP27ADC1GP26ADC0
Pin colour keyKobee
GPIOADCI2CSPIUARTPWM
03 · I2C

I²C data and clock

Default data and clock roles are labelled separately from routes that software can remap.

GP0I2C0 · SDAGP1I2C0 · SCLGP2I2C1 · SDAGP3I2C1 · SCLGP4I2C0 · SDAGP5I2C0 · SCLGP6I2C1 · SDAGP7I2C1 · SCLGP8I2C0 · SDAGP9I2C0 · SCLGP10I2C1 · SDAGP11I2C1 · SCLGP12I2C0 · SDAGP13I2C0 · SCLGP14I2C1 · SDAGP15I2C1 · SCLGP28I2C0 · SDAGP27I2C1 · SCLGP26I2C1 · SDAGP22I2C1 · SDAGP21I2C0 · SCLGP20I2C0 · SDAGP19I2C1 · SCLGP18I2C1 · SDAGP17I2C0 · SCLGP16I2C0 · SDA
Pin colour keyKobee
GPIOADCI2CSPIUARTPWM
04 · SPI

SPI buses

Usable SPI routes are shown with their controller and signal roles. Pins marked avoid are excluded from this view.

A remappable peripheral still has electrical and boot restrictions. Remapping does not make a reserved pin safe.

GP0SPI0 · RXGP1SPI0 · CSnGP2SPI0 · SCKGP3SPI0 · TXGP4SPI0 · RXGP5SPI0 · CSnGP6SPI0 · SCKGP7SPI0 · TXGP8SPI1 · RXGP9SPI1 · CSnGP10SPI1 · SCKGP11SPI1 · TXGP12SPI1 · RXGP13SPI1 · CSnGP14SPI1 · SCKGP15SPI1 · TXGP28SPI0 · RXGP27SPI1 · TXGP26SPI1 · SCKGP22SPI0 · SCKGP21SPI0 · CSnGP20SPI0 · RXGP19SPI0 · TXGP18SPI0 · SCKGP17SPI0 · CSnGP16SPI0 · RX
Pin colour keyKobee
GPIOADCI2CSPIUARTPWM
05 · UART

UART serial ports

Transmit and receive pins are grouped by UART controller, with default and fixed assignments shown explicitly.

GP0UART0 · TXGP1UART0 · RXGP2UART0 · CTSGP3UART0 · RTSGP4UART1 · TXGP5UART1 · RXGP6UART1 · CTSGP7UART1 · RTSGP8UART1 · TXGP9UART1 · RXGP10UART1 · CTSGP11UART1 · RTSGP12UART0 · TXGP13UART0 · RXGP14UART0 · CTSGP15UART0 · RTSGP28UART0 · TXGP27UART1 · RTSGP26UART1 · CTSGP22UART1 · CTSGP21UART1 · RXGP20UART1 · TXGP19UART0 · RTSGP18UART0 · CTSGP17UART0 · RXGP16UART0 · TX
Pin colour keyKobee
GPIOADCI2CSPIUARTPWM
06 · PWM

PWM outputs

PWM can be routed to output-capable GPIOs. Input-only pins are not included because they cannot drive a PWM waveform.

GP0PWM0AGP1PWM0BGP2PWM1AGP3PWM1BGP4PWM2AGP5PWM2BGP6PWM3AGP7PWM3BGP8PWM4AGP9PWM4BGP10PWM5AGP11PWM5BGP12PWM6AGP13PWM6BGP14PWM7AGP15PWM7BGP28PWM6AGP27PWM5BGP26PWM5AGP22PWM3AGP21PWM2BGP20PWM2AGP19PWM1BGP18PWM1AGP17PWM0BGP16PWM0A
Pin colour keyKobee
GPIOADCI2CSPIUARTPWM

A flexible RP2040 board

This reference covers the original, non-wireless Raspberry Pi Pico Rev3. Its two castellated 20-pin edges expose 26 multi-function RP2040 GPIOs, three of which also reach the analogue-to-digital converter.

Peripheral choices

RP2040 uses a regular pin-multiplexer pattern. Each exposed GPIO supports digital input, output, PWM, interrupts and PIO, while specific groups can be switched to SPI, I2C or UART roles. Select a bus in the explorer to see the exact role and controller attached to each pin.

Analogue inputs

GP26, GP27 and GP28 expose ADC0, ADC1 and ADC2. ADC_VREF and AGND are provided to improve analogue wiring. The fourth RP2040 ADC channel is used internally to measure the on-chip temperature sensor and is not a header GPIO.

Power pins

VBUS is the USB 5 V rail, VSYS is the board's system supply input, and 3V3(OUT) is the regulated output. Pulling 3V3_EN low disables the regulator. RUN is the RP2040 reset input. Treat these as distinct power-control connections rather than general GPIO.

Quick explanations

RP2040 pinout FAQ

Which RP2040 GPIO pins are the easiest to use?

Start with the pins marked recommended: GP0, GP1, GP2, GP3, GP4, GP5, GP6, GP7, GP8, GP9, GP10, GP11, GP12, GP13, GP14, GP15, GP28, GP27, GP26, GP22, GP21, GP20, GP19, GP18, GP17, GP16. They are declared as general-purpose GPIO without a board-specific boot, programming, or reserved-function warning in this reference. Always check the exact function you need before wiring.

Which pins can I use for a push button?

Use a recommended, input-capable GPIO. Check whether the selected pin provides an internal pull resistor or requires an external resistor.

Which analogue pins should I use while Wi-Fi is active?

Prefer the ADC1 pins: GP27. On this processor, ADC2 has a wireless-use conflict recorded in the pin definition, so ADC1 is the dependable starting point when radio operation and analogue sampling must coexist.

Searchable without JavaScript

Complete pin table

Every physical connection and declared alternate function is included here for accessibility, printing and search discovery.

PhysicalPinInput / outputGeneral suitabilityFunctionsImportant notes
1GP0Input + Outputrecommended
  • GPIO · fixed
  • PWM · PWM0A · fixed
  • Pio · remappable
  • Interrupt · fixed
  • SPI · RX · fixed
  • I2C · SDA · fixed
  • UART · TX · fixed
    2GP1Input + Outputrecommended
    • GPIO · fixed
    • PWM · PWM0B · fixed
    • Pio · remappable
    • Interrupt · fixed
    • SPI · CSn · fixed
    • I2C · SCL · fixed
    • UART · RX · fixed
      3GNDunavailable
      • Ground · fixed
        4GP2Input + Outputrecommended
        • GPIO · fixed
        • PWM · PWM1A · fixed
        • Pio · remappable
        • Interrupt · fixed
        • SPI · SCK · fixed
        • I2C · SDA · fixed
        • UART · CTS · fixed
          5GP3Input + Outputrecommended
          • GPIO · fixed
          • PWM · PWM1B · fixed
          • Pio · remappable
          • Interrupt · fixed
          • SPI · TX · fixed
          • I2C · SCL · fixed
          • UART · RTS · fixed
            6GP4Input + Outputrecommended
            • GPIO · fixed
            • PWM · PWM2A · fixed
            • Pio · remappable
            • Interrupt · fixed
            • SPI · RX · fixed
            • I2C · SDA · fixed
            • UART · TX · fixed
              7GP5Input + Outputrecommended
              • GPIO · fixed
              • PWM · PWM2B · fixed
              • Pio · remappable
              • Interrupt · fixed
              • SPI · CSn · fixed
              • I2C · SCL · fixed
              • UART · RX · fixed
                8GNDunavailable
                • Ground · fixed
                  9GP6Input + Outputrecommended
                  • GPIO · fixed
                  • PWM · PWM3A · fixed
                  • Pio · remappable
                  • Interrupt · fixed
                  • SPI · SCK · fixed
                  • I2C · SDA · fixed
                  • UART · CTS · fixed
                    10GP7Input + Outputrecommended
                    • GPIO · fixed
                    • PWM · PWM3B · fixed
                    • Pio · remappable
                    • Interrupt · fixed
                    • SPI · TX · fixed
                    • I2C · SCL · fixed
                    • UART · RTS · fixed
                      11GP8Input + Outputrecommended
                      • GPIO · fixed
                      • PWM · PWM4A · fixed
                      • Pio · remappable
                      • Interrupt · fixed
                      • SPI · RX · fixed
                      • I2C · SDA · fixed
                      • UART · TX · fixed
                        12GP9Input + Outputrecommended
                        • GPIO · fixed
                        • PWM · PWM4B · fixed
                        • Pio · remappable
                        • Interrupt · fixed
                        • SPI · CSn · fixed
                        • I2C · SCL · fixed
                        • UART · RX · fixed
                          13GNDunavailable
                          • Ground · fixed
                            14GP10Input + Outputrecommended
                            • GPIO · fixed
                            • PWM · PWM5A · fixed
                            • Pio · remappable
                            • Interrupt · fixed
                            • SPI · SCK · fixed
                            • I2C · SDA · fixed
                            • UART · CTS · fixed
                              15GP11Input + Outputrecommended
                              • GPIO · fixed
                              • PWM · PWM5B · fixed
                              • Pio · remappable
                              • Interrupt · fixed
                              • SPI · TX · fixed
                              • I2C · SCL · fixed
                              • UART · RTS · fixed
                                16GP12Input + Outputrecommended
                                • GPIO · fixed
                                • PWM · PWM6A · fixed
                                • Pio · remappable
                                • Interrupt · fixed
                                • SPI · RX · fixed
                                • I2C · SDA · fixed
                                • UART · TX · fixed
                                  17GP13Input + Outputrecommended
                                  • GPIO · fixed
                                  • PWM · PWM6B · fixed
                                  • Pio · remappable
                                  • Interrupt · fixed
                                  • SPI · CSn · fixed
                                  • I2C · SCL · fixed
                                  • UART · RX · fixed
                                    18GNDunavailable
                                    • Ground · fixed
                                      19GP14Input + Outputrecommended
                                      • GPIO · fixed
                                      • PWM · PWM7A · fixed
                                      • Pio · remappable
                                      • Interrupt · fixed
                                      • SPI · SCK · fixed
                                      • I2C · SDA · fixed
                                      • UART · CTS · fixed
                                        20GP15Input + Outputrecommended
                                        • GPIO · fixed
                                        • PWM · PWM7B · fixed
                                        • Pio · remappable
                                        • Interrupt · fixed
                                        • SPI · TX · fixed
                                        • I2C · SCL · fixed
                                        • UART · RTS · fixed
                                          40VBUSOutputunavailable
                                          • Power · USB 5 V rail · fixed
                                            39VSYSInput + Outputunavailable
                                            • Power · system supply · fixed
                                            • absolute maximum: 5.5 V input — VSYS board supply input
                                            38GNDunavailable
                                            • Ground · fixed
                                              373V3_ENInputunavailable
                                              • Power · regulator enable · fixed
                                              • Pull low to disable the 3.3 V regulator and RP2040
                                              363V3(OUT)Outputunavailable
                                              • Power · regulated 3.3 V output · fixed
                                                35ADC_VREFInputunavailable
                                                • Power · ADC reference · fixed
                                                  34GP28Input + Outputrecommended
                                                  • GPIO · fixed
                                                  • ADC · ADC2 · 2 · fixed
                                                  • PWM · PWM6A · fixed
                                                  • Pio · remappable
                                                  • Interrupt · fixed
                                                  • SPI · RX · fixed
                                                  • I2C · SDA · fixed
                                                  • UART · TX · fixed
                                                    33AGNDGNDunavailable
                                                    • Ground · analogue ground · fixed
                                                      32GP27Input + Outputrecommended
                                                      • GPIO · fixed
                                                      • ADC · ADC1 · 1 · fixed
                                                      • PWM · PWM5B · fixed
                                                      • Pio · remappable
                                                      • Interrupt · fixed
                                                      • SPI · TX · fixed
                                                      • I2C · SCL · fixed
                                                      • UART · RTS · fixed
                                                        31GP26Input + Outputrecommended
                                                        • GPIO · fixed
                                                        • ADC · ADC0 · 0 · fixed
                                                        • PWM · PWM5A · fixed
                                                        • Pio · remappable
                                                        • Interrupt · fixed
                                                        • SPI · SCK · fixed
                                                        • I2C · SDA · fixed
                                                        • UART · CTS · fixed
                                                          30RUNInputunavailable
                                                          • Reset · active-low reset · fixed
                                                          • Pull low to reset RP2040
                                                          29GP22Input + Outputrecommended
                                                          • GPIO · fixed
                                                          • PWM · PWM3A · fixed
                                                          • Pio · remappable
                                                          • Interrupt · fixed
                                                          • SPI · SCK · fixed
                                                          • I2C · SDA · fixed
                                                          • UART · CTS · fixed
                                                            28GNDunavailable
                                                            • Ground · fixed
                                                              27GP21Input + Outputrecommended
                                                              • GPIO · fixed
                                                              • PWM · PWM2B · fixed
                                                              • Pio · remappable
                                                              • Interrupt · fixed
                                                              • SPI · CSn · fixed
                                                              • I2C · SCL · fixed
                                                              • UART · RX · fixed
                                                                26GP20Input + Outputrecommended
                                                                • GPIO · fixed
                                                                • PWM · PWM2A · fixed
                                                                • Pio · remappable
                                                                • Interrupt · fixed
                                                                • SPI · RX · fixed
                                                                • I2C · SDA · fixed
                                                                • UART · TX · fixed
                                                                  25GP19Input + Outputrecommended
                                                                  • GPIO · fixed
                                                                  • PWM · PWM1B · fixed
                                                                  • Pio · remappable
                                                                  • Interrupt · fixed
                                                                  • SPI · TX · fixed
                                                                  • I2C · SCL · fixed
                                                                  • UART · RTS · fixed
                                                                    24GP18Input + Outputrecommended
                                                                    • GPIO · fixed
                                                                    • PWM · PWM1A · fixed
                                                                    • Pio · remappable
                                                                    • Interrupt · fixed
                                                                    • SPI · SCK · fixed
                                                                    • I2C · SDA · fixed
                                                                    • UART · CTS · fixed
                                                                      23GNDunavailable
                                                                      • Ground · fixed
                                                                        22GP17Input + Outputrecommended
                                                                        • GPIO · fixed
                                                                        • PWM · PWM0B · fixed
                                                                        • Pio · remappable
                                                                        • Interrupt · fixed
                                                                        • SPI · CSn · fixed
                                                                        • I2C · SCL · fixed
                                                                        • UART · RX · fixed
                                                                          21GP16Input + Outputrecommended
                                                                          • GPIO · fixed
                                                                          • PWM · PWM0A · fixed
                                                                          • Pio · remappable
                                                                          • Interrupt · fixed
                                                                          • SPI · RX · fixed
                                                                          • I2C · SDA · fixed
                                                                          • UART · TX · fixed