Raspberry Pi Zero WH Pinout

The original Zero WH has a factory-soldered 40-pin male HAT header on the Zero W V1.1 PCB. The component-side photo places microSD at the top and the camera connector at the bottom.

Jump to pin index ↓

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show alternate functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

40 visible
PinMCU pinTypesNotes
PowerJ8 physical pin 1. Regulated 3.3 V output from U3.
PowerJ8 physical pin 2. 5 V rail shared with the PWR IN micro-USB input.
GPIOI2CJ8 physical pin 3. BCM2835 GPIO2, 3.3 V digital input or output.
PowerJ8 physical pin 4. 5 V rail shared with the PWR IN micro-USB input.
GPIOI2CJ8 physical pin 5. BCM2835 GPIO3, 3.3 V digital input or output.
GNDJ8 physical pin 6. Common ground return.
GPIOJ8 physical pin 7. BCM2835 GPIO4, 3.3 V digital input or output.
GPIOUARTJ8 physical pin 8. BCM2835 GPIO14, 3.3 V digital input or output.
GNDJ8 physical pin 9. Common ground return.
GPIOUARTJ8 physical pin 10. BCM2835 GPIO15, 3.3 V digital input or output.
GPIOSPIUARTJ8 physical pin 11. BCM2835 GPIO17, 3.3 V digital input or output.
GPIOSPIPWMPCMJ8 physical pin 12. BCM2835 GPIO18, 3.3 V digital input or output.
GPIOSDJ8 physical pin 13. BCM2835 GPIO27, 3.3 V digital input or output.
GNDJ8 physical pin 14. Common ground return.
GPIOSDJ8 physical pin 15. BCM2835 GPIO22, 3.3 V digital input or output.
GPIOSDJ8 physical pin 16. BCM2835 GPIO23, 3.3 V digital input or output.
PowerJ8 physical pin 17. Regulated 3.3 V output from U3.
GPIOSDJ8 physical pin 18. BCM2835 GPIO24, 3.3 V digital input or output.
GPIOSPIJ8 physical pin 19. BCM2835 GPIO10, 3.3 V digital input or output.
GNDJ8 physical pin 20. Common ground return.
GPIOSPIJ8 physical pin 21. BCM2835 GPIO9, 3.3 V digital input or output.
GPIOSDJ8 physical pin 22. BCM2835 GPIO25, 3.3 V digital input or output.
GPIOSPIJ8 physical pin 23. BCM2835 GPIO11, 3.3 V digital input or output.
GPIOSPIJ8 physical pin 24. BCM2835 GPIO8, 3.3 V digital input or output.
GNDJ8 physical pin 25. Common ground return.
GPIOSPIJ8 physical pin 26. BCM2835 GPIO7, 3.3 V digital input or output.
GPIOI2CJ8 physical pin 27. ID_SD, the HAT identification EEPROM data line.
GPIOI2CJ8 physical pin 28. ID_SC, the HAT identification EEPROM clock line.
GPIOJ8 physical pin 29. BCM2835 GPIO5, 3.3 V digital input or output.
GNDJ8 physical pin 30. Common ground return.
GPIOJ8 physical pin 31. BCM2835 GPIO6, 3.3 V digital input or output.
GPIOPWMJ8 physical pin 32. BCM2835 GPIO12, 3.3 V digital input or output.
GPIOPWMJ8 physical pin 33. BCM2835 GPIO13, 3.3 V digital input or output.
GNDJ8 physical pin 34. Common ground return.
GPIOSPIPWMPCMJ8 physical pin 35. BCM2835 GPIO19, 3.3 V digital input or output.
GPIOSPIUARTJ8 physical pin 36. BCM2835 GPIO16, 3.3 V digital input or output.
GPIOSDJ8 physical pin 37. BCM2835 GPIO26, 3.3 V digital input or output.
GPIOSPIPCMJ8 physical pin 38. BCM2835 GPIO20, 3.3 V digital input or output.
GNDJ8 physical pin 39. Common ground return.
GPIOSPIPCMJ8 physical pin 40. BCM2835 GPIO21, 3.3 V digital input or output.

Specifications

Model
Raspberry Pi Zero WH · SC0065 · Zero W PCB V1.1
Logic
3.3 V GPIO · never connect a GPIO to 5 V
Power input
5 V via the PWR IN micro-USB port
Expansion
J8 · factory-soldered male header · 2 × 20 · 2.54 mm pitch
PCB
65 × 30 mm · four M2.5 mounting positions on a 58 × 23 mm grid
Processor and memory
Broadcom BCM2835 · 1 GHz ARM1176JZF-S · 512 MB LPDDR2
Wireless
2.4 GHz 802.11 b/g/n Wi-Fi · Bluetooth and BLE

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Raspberry Pi Zero WHBoard documentationRaspberry PiZero WH model, connectors and factory-fitted header.Datasheet
RPI-ZERO-W V1.1Reduced schematicRaspberry PiShared PCB. J8 is fitted on SKU SC0065.Datasheet
Zero W / WHMechanical drawingRaspberry PiRP-008367 board outline, mounting centres and connector locations.Datasheet
Raspberry Pi Zero WHFront and solder-side photographsAdafruitProduct 3708. Photographs cropped, isolated and rotated for this pinout.Datasheet
BCM2835ARM peripheralsBroadcom / Raspberry PiGPIO alternate function table, section 6.2.Datasheet
BCM2835ALT0–ALT5 namesRaspberry PiThe BCM2835 table in raspi-gpio.Datasheet
J8Physical numbering and GPIO limitsRaspberry Pi40-pin layout, 3.3 V logic and HAT ID reservation.Datasheet
Raspberry Pi Zero WHRear PCB revision markingteranisiPhotographic comparison of the Zero W and factory-header Zero WH.Datasheet

Board notes

Read J8
The left-hand callouts follow physical pins 1–39 (odd), starting with 3V3. The right-hand callouts follow 2–40 (even), starting with 5V. GPIO labels use BCM numbers.
HAT identification
Physical pins 27 and 28 are BCM0/ID_SD and BCM1/ID_SC. They are reserved for the HAT identification EEPROM.
Alternate functions
An ALT selector connects one peripheral function to a GPIO at a time. UART direction is from the Pi. SPI MOSI and MISO use the Pi as controller.
Connectors
J1 PWR IN is the lower micro-USB socket in this view. The other micro-USB is USB OTG. J6 is mini-HDMI, and J12 is the 22-contact, 0.5 mm-pitch CSI camera socket.
Auxiliary contacts
See the rear views for USB and power test pads, the microSD test-pad group, RUN, TV and the unpopulated VideoCore J5 footprint.
Revision and photography
The bottom PCB marking reads Raspberry Pi Zero W V1.1. Photographed Zero WH boards have a populated J8 on that PCB.