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]
MCU / processor core
1 × ARM1176JZF-S (32-bit) [a] [b]
Clock speed / maximum
1 GHz [a] [b]
Internal RAM / system RAM
512 MB (Zero W) [a] [b]
Program Flash / storage
microSD card slot [a] [b]
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

All pins (40)

Raspberry Pi Zero W: every pin in physical order with its type, functions and warnings
PhysicalPin nameTypeFunctionsNotes and warningsSource
013V3Power——[8] [3]
025VPower——[8] [3]
03GPIO2General-purpose I/OI2C1 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]
045VPower——[8] [3]
05GPIO3General-purpose I/OI2C1 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]
06GNDGround——[8] [3]
07GPIO4General-purpose I/OGPCLK0 ALT0SA1 ALT1ARM_TDI ALT5—[8] [3]
08GPIO14General-purpose I/OUART0 TX ALT0SD6 ALT1UART1 TX ALT5—[8] [3]
09GNDGround——[8] [3]
10GPIO15General-purpose I/OUART0 RX ALT0SD7 ALT1UART1 RX ALT5—[8] [3]
11GPIO17General-purpose I/OSD9 ALT1UART0 RTS ALT3SPI1_CE1_N ALT4UART1 RTS ALT5—[8] [3]
12GPIO18General-purpose I/OPCM_CLK ALT0SD10 ALT1BSCSL SDA / MOSI ALT3SPI1_CE0_N ALT4PWM0 ALT5—[8] [3]
13GPIO27General-purpose I/OSD1_DAT3 ALT3ARM_TMS ALT4—[8] [3]
14GNDGround——[8] [3]
15GPIO22General-purpose I/OSD14 ALT1SD1_CLK ALT3ARM_TRST ALT4—[8] [3]
16GPIO23General-purpose I/OSD15 ALT1SD1_CMD ALT3ARM_RTCK ALT4—[8] [3]
173V3Power——[8] [3]
18GPIO24General-purpose I/OSD16 ALT1SD1_DAT0 ALT3ARM_TDO ALT4—[8] [3]
19GPIO10General-purpose I/OSPI0_MOSI ALT0SD2 ALT1—[8] [3]
20GNDGround——[8] [3]
21GPIO9General-purpose I/OSPI0_MISO ALT0SD1 ALT1—[8] [3]
22GPIO25General-purpose I/OSD17 ALT1SD1_DAT1 ALT3ARM_TCK ALT4—[8] [3]
23GPIO11General-purpose I/OSPI0_SCLK ALT0SD3 ALT1—[8] [3]
24GPIO8General-purpose I/OSPI0_CE0_N ALT0SD0 ALT1—[8] [3]
25GNDGround——[8] [3]
26GPIO7General-purpose I/OSPI0_CE1_N ALT0SWE_N / SRW_N ALT1—[8] [3]
27GPIO0General-purpose I/OI2C0 SDA ALT0SA5 ALT1

Reserved for HAT EEPROM

Reserved for the HAT identification EEPROM; do not plan it as a general project GPIO.

[8] [3]
28GPIO1General-purpose I/OI2C0 SCL ALT0SA4 ALT1

Reserved for HAT EEPROM

Reserved for the HAT identification EEPROM; do not plan it as a general project GPIO.

[8] [3]
29GPIO5General-purpose I/OGPCLK1 ALT0SA0 ALT1ARM_TDO ALT5—[8] [3]
30GNDGround——[8] [3]
31GPIO6General-purpose I/OGPCLK2 ALT0SOE_N / SE ALT1ARM_RTCK ALT5—[8] [3]
32GPIO12General-purpose I/OPWM0 ALT0SD4 ALT1ARM_TMS ALT5—[8] [3]
33GPIO13General-purpose I/OPWM1 ALT0SD5 ALT1ARM_TCK ALT5—[8] [3]
34GNDGround——[8] [3]
35GPIO19General-purpose I/OPCM_FS ALT0SD11 ALT1BSCSL SCL / SCLK ALT3SPI1_MISO ALT4PWM1 ALT5—[8] [3]
36GPIO16General-purpose I/OSD8 ALT1UART0 CTS ALT3SPI1_CE2_N ALT4UART1 CTS ALT5—[8] [3]
37GPIO26General-purpose I/OSD1_DAT2 ALT3ARM_TDI ALT4—[8] [3]
38GPIO20General-purpose I/OPCM_DIN ALT0SD12 ALT1BSCSL / MISO ALT3SPI1_MOSI ALT4GPCLK0 ALT5—[8] [3]
39GNDGround——[8] [3]
40GPIO21General-purpose I/OPCM_DOUT ALT0SD13 ALT1BSCSL / CE_N ALT3SPI1_SCLK ALT4GPCLK1 ALT5—[8] [3]

Model-specific features and connection notes

Sources

Pin and warning references

  1. Raspberry Pi GPIO documentationGPIO pads and voltage · 3.3 V only warning, fixed GP2/GP3 pull-ups, per-pin and total current
  2. 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
  3. 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
  4. BCM2835 ARM Peripherals · PDF p. 102§6.2 · Alternative Function Assignments · GPIO0–27 ALT0–ALT5
  5. Raspberry Pi processors documentation · BCM2835BCM2835 · used in Raspberry Pi Zero W; peripheral specification and its known-errors note
  6. Raspberry Pi GPIO documentationPin functions · BCM2835 peripherals datasheet named for earlier families and Zero models
  7. Raspberry Pi GPIO documentationVoltage specifications · BCM2835, BCM2836, BCM2837 and RP3A0 table (V_IL, V_IH, pulls, drive strength)
  8. Raspberry Pi GPIO documentationPin names, types, and typical functions · all 40 header rows

Technical sources (6)

  1. Raspberry Pi processors documentation · BCM2835Raspberry Pi Ltd · BCM2835 · single-core ARM1176JZF-S; used in Zero W; locked in sources/manifest.json
  2. 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
  3. Raspberry Pi Zero W joins the familyRaspberry Pi · Publication date (2017-02-28)
  4. Raspberry Pi GPIO documentationManufacturer · Locked pin-source document; see sources/manifest.json for revision and SHA-256
  5. Raspberry Pi Zero W Reduced SchematicsRaspberry Pi Ltd · Locked pin-source document; see sources/manifest.json for revision and SHA-256
  6. BCM2835 ARM PeripheralsRaspberry Pi Ltd · Locked pin-source document; see sources/manifest.json for revision and SHA-256

Locked source documents

Pin reference · Datasheet