Development boards
Raspberry Pi Zero W pinout
J8 · 40-pin footprint (unpopulated) · BCM2835 alternate functions
Open in the interactive atlas →See the pin map, choose functions and save a wiring plan.Türkçe
Zero W ships with an unpopulated 40-pin GPIO header footprint (the WH model has the header fitted). Pin numbers follow the standard 40-pin layout. The mini HDMI and two micro USB ports are not header pins. Alternate functions come from the BCM2835 table.
At a glance
- Platform / manufacturer
- Raspberry Pi
- Type
- Development boards
- MCU
- BCM2835
- Physical contacts
- 40
- GPIO
- 28 (2 reserved)
- I/O voltage
- 3.3 V I/O
- Interfaces (pin count)
- I²C (4) · SPI (11) · UART (4) · PWM (4) · CLOCK (5) · JTAG (11) · PCM (4) · SDIO (6) · SMI (26) · SYSTEM (4)
- Initial sale / release date
- 2017-02-28 [c]
- Power and logic level
- Power input through one of the two micro USB ports [b]
- Pin sources checked
- 2026-11-16
- Technical details reviewed
- 2026-11-14
Cautions for this board
- GPIO pins operate at 3.3 V and are not 5 V tolerant. Never apply 5 V to a GPIO pin; it can permanently damage the SoC. Source: [1]
- A single GPIO pin can supply up to 16 mA; all GPIO pins combined can supply at most 50 mA. Source: [1]
- The 40-pin header is unpopulated on this model. Solder a 2 × 20, 2.54 mm pin header for GPIO access, or use the model with the header fitted. Source: [2] [3]
- Alternate functions come from the BCM2835 ARM Peripherals GPIO table (§6.2). Raspberry Pi documentation notes that this document contains known errors; selections shown as reserved in the table are omitted. Source: [4] [5] [6]
- BCM2835/BCM2836/BCM2837/RP3A0 GPIO levels: input low at most 0.9 V, input high at least 1.6 V (hysteresis enabled). Default drive strength 8 mA, maximum 16 mA; internal pull-up/pull-down 50–65 kΩ. Source: [7]
All pins (40)
| Physical | Pin name | Type | Functions | Notes and warnings | Source |
|---|---|---|---|---|---|
| 01 | 3V3 | Power | — | — | [8] [3] |
| 02 | 5V | Power | — | — | [8] [3] |
| 03 | GPIO2 | General-purpose I/O | I2C1 SDA ALT0SA3 ALT1 | This pin has a fixed 1.8 kΩ on-board pull-up resistor to 3.3 V; it is not software-configurable. Source: [1] | [8] [3] [1] |
| 04 | 5V | Power | — | — | [8] [3] |
| 05 | GPIO3 | General-purpose I/O | I2C1 SCL ALT0SA2 ALT1 | This pin has a fixed 1.8 kΩ on-board pull-up resistor to 3.3 V; it is not software-configurable. Source: [1] | [8] [3] [1] |
| 06 | GND | Ground | — | — | [8] [3] |
| 07 | GPIO4 | General-purpose I/O | GPCLK0 ALT0SA1 ALT1ARM_TDI ALT5 | — | [8] [3] |
| 08 | GPIO14 | General-purpose I/O | UART0 TX ALT0SD6 ALT1UART1 TX ALT5 | — | [8] [3] |
| 09 | GND | Ground | — | — | [8] [3] |
| 10 | GPIO15 | General-purpose I/O | UART0 RX ALT0SD7 ALT1UART1 RX ALT5 | — | [8] [3] |
| 11 | GPIO17 | General-purpose I/O | SD9 ALT1UART0 RTS ALT3SPI1_CE1_N ALT4UART1 RTS ALT5 | — | [8] [3] |
| 12 | GPIO18 | General-purpose I/O | PCM_CLK ALT0SD10 ALT1BSCSL SDA / MOSI ALT3SPI1_CE0_N ALT4PWM0 ALT5 | — | [8] [3] |
| 13 | GPIO27 | General-purpose I/O | SD1_DAT3 ALT3ARM_TMS ALT4 | — | [8] [3] |
| 14 | GND | Ground | — | — | [8] [3] |
| 15 | GPIO22 | General-purpose I/O | SD14 ALT1SD1_CLK ALT3ARM_TRST ALT4 | — | [8] [3] |
| 16 | GPIO23 | General-purpose I/O | SD15 ALT1SD1_CMD ALT3ARM_RTCK ALT4 | — | [8] [3] |
| 17 | 3V3 | Power | — | — | [8] [3] |
| 18 | GPIO24 | General-purpose I/O | SD16 ALT1SD1_DAT0 ALT3ARM_TDO ALT4 | — | [8] [3] |
| 19 | GPIO10 | General-purpose I/O | SPI0_MOSI ALT0SD2 ALT1 | — | [8] [3] |
| 20 | GND | Ground | — | — | [8] [3] |
| 21 | GPIO9 | General-purpose I/O | SPI0_MISO ALT0SD1 ALT1 | — | [8] [3] |
| 22 | GPIO25 | General-purpose I/O | SD17 ALT1SD1_DAT1 ALT3ARM_TCK ALT4 | — | [8] [3] |
| 23 | GPIO11 | General-purpose I/O | SPI0_SCLK ALT0SD3 ALT1 | — | [8] [3] |
| 24 | GPIO8 | General-purpose I/O | SPI0_CE0_N ALT0SD0 ALT1 | — | [8] [3] |
| 25 | GND | Ground | — | — | [8] [3] |
| 26 | GPIO7 | General-purpose I/O | SPI0_CE1_N ALT0SWE_N / SRW_N ALT1 | — | [8] [3] |
| 27 | GPIO0 | General-purpose I/O | I2C0 SDA ALT0SA5 ALT1 | Reserved for HAT EEPROM Reserved for the HAT identification EEPROM; do not plan it as a general project GPIO. | [8] [3] |
| 28 | GPIO1 | General-purpose I/O | I2C0 SCL ALT0SA4 ALT1 | Reserved for HAT EEPROM Reserved for the HAT identification EEPROM; do not plan it as a general project GPIO. | [8] [3] |
| 29 | GPIO5 | General-purpose I/O | GPCLK1 ALT0SA0 ALT1ARM_TDO ALT5 | — | [8] [3] |
| 30 | GND | Ground | — | — | [8] [3] |
| 31 | GPIO6 | General-purpose I/O | GPCLK2 ALT0SOE_N / SE ALT1ARM_RTCK ALT5 | — | [8] [3] |
| 32 | GPIO12 | General-purpose I/O | PWM0 ALT0SD4 ALT1ARM_TMS ALT5 | — | [8] [3] |
| 33 | GPIO13 | General-purpose I/O | PWM1 ALT0SD5 ALT1ARM_TCK ALT5 | — | [8] [3] |
| 34 | GND | Ground | — | — | [8] [3] |
| 35 | GPIO19 | General-purpose I/O | PCM_FS ALT0SD11 ALT1BSCSL SCL / SCLK ALT3SPI1_MISO ALT4PWM1 ALT5 | — | [8] [3] |
| 36 | GPIO16 | General-purpose I/O | SD8 ALT1UART0 CTS ALT3SPI1_CE2_N ALT4UART1 CTS ALT5 | — | [8] [3] |
| 37 | GPIO26 | General-purpose I/O | SD1_DAT2 ALT3ARM_TDI ALT4 | — | [8] [3] |
| 38 | GPIO20 | General-purpose I/O | PCM_DIN ALT0SD12 ALT1BSCSL / MISO ALT3SPI1_MOSI ALT4GPCLK0 ALT5 | — | [8] [3] |
| 39 | GND | Ground | — | — | [8] [3] |
| 40 | GPIO21 | General-purpose I/O | PCM_DOUT ALT0SD13 ALT1BSCSL / CE_N ALT3SPI1_SCLK ALT4GPCLK1 ALT5 | — | [8] [3] |
Model-specific features and connection notes
Sources
Pin and warning references
- Raspberry Pi GPIO documentationGPIO pads and voltage · 3.3 V only warning, fixed GP2/GP3 pull-ups, per-pin and total current
- Raspberry Pi Zero models documentation · introduction and model listZero models · common ports (mini HDMI, 2 × micro USB), unpopulated header on models without H / "with headers", model list table
- Raspberry Pi Zero W Reduced Schematics · PDF p. 1J8 · GPIO net labels matched to contacts · footprint marked DNF (not fitted); power and ground visually checked
- BCM2835 ARM Peripherals · PDF p. 102§6.2 · Alternative Function Assignments · GPIO0–27 ALT0–ALT5
- Raspberry Pi processors documentation · BCM2835BCM2835 · used in Raspberry Pi Zero W; peripheral specification and its known-errors note
- Raspberry Pi GPIO documentationPin functions · BCM2835 peripherals datasheet named for earlier families and Zero models
- Raspberry Pi GPIO documentationVoltage specifications · BCM2835, BCM2836, BCM2837 and RP3A0 table (V_IL, V_IH, pulls, drive strength)
- Raspberry Pi GPIO documentationPin names, types, and typical functions · all 40 header rows
Technical sources (6)
- Raspberry Pi processors documentation · BCM2835Raspberry Pi Ltd · BCM2835 · single-core ARM1176JZF-S; used in Zero W; locked in sources/manifest.json
- Raspberry Pi Zero models documentation · introduction and model listRaspberry Pi Ltd · Model list · Zero W (2017, BCM2835, 512 MB, 1 GHz ARM11) and Zero 2 W (2021, RP3A0, 512 MB); common ports; locked in sources/manifest.json
- Raspberry Pi Zero W joins the familyRaspberry Pi · Publication date (2017-02-28)
- Raspberry Pi GPIO documentationManufacturer · Locked pin-source document; see sources/manifest.json for revision and SHA-256
- Raspberry Pi Zero W Reduced SchematicsRaspberry Pi Ltd · Locked pin-source document; see sources/manifest.json for revision and SHA-256
- BCM2835 ARM PeripheralsRaspberry Pi Ltd · Locked pin-source document; see sources/manifest.json for revision and SHA-256
Locked source documents
- Raspberry Pi GPIO documentation0fb416315f8f6c1949c0614989075d3e5805104b
- BCM2835 ARM PeripheralsRaspberry Pi Ltd · RP-008249-DS-1
- Raspberry Pi Zero W Reduced SchematicsRaspberry Pi Ltd · RP-008368-DS-1
- Raspberry Pi processors documentation · BCM2835Raspberry Pi Ltd · 0fb416315f8f6c1949c0614989075d3e5805104b
- Raspberry Pi Zero models documentation · introduction and model listRaspberry Pi Ltd · 0fb416315f8f6c1949c0614989075d3e5805104b