Raspberry Pi Zero 2 W Pinout

Raspberry Pi Zero 2 W pinout for the 40 physical J8 positions and underside test pads.

Jump to pin index ↓

Main pinout

J8 on the Raspberry Pi Zero 2 W with an unpopulated 40-pin header. Each number is a physical J8 position. GPIO labels use Broadcom numbering. The underside test points have their own photographic view.

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 supply rail.
PowerJ8 physical pin 2. 5 V supply rail.
GPIOI2CJ8 physical pin 3. Broadcom GPIO2, 3.3 V digital I/O.
PowerJ8 physical pin 4. 5 V supply rail.
GPIOI2CJ8 physical pin 5. Broadcom GPIO3, 3.3 V digital I/O.
GNDJ8 physical pin 6. Board ground return.
GPIOJ8 physical pin 7. Broadcom GPIO4, 3.3 V digital I/O.
GPIOUARTJ8 physical pin 8. Broadcom GPIO14, 3.3 V digital I/O.
GNDJ8 physical pin 9. Board ground return.
GPIOUARTJ8 physical pin 10. Broadcom GPIO15, 3.3 V digital I/O.
GPIOUARTSPIJ8 physical pin 11. Broadcom GPIO17, 3.3 V digital I/O.
GPIOI2SI2CSPIPWMJ8 physical pin 12. Broadcom GPIO18, 3.3 V digital I/O.
GPIOJ8 physical pin 13. Broadcom GPIO27, 3.3 V digital I/O.
GNDJ8 physical pin 14. Board ground return.
GPIOJ8 physical pin 15. Broadcom GPIO22, 3.3 V digital I/O.
GPIOJ8 physical pin 16. Broadcom GPIO23, 3.3 V digital I/O.
PowerJ8 physical pin 17. Regulated 3.3 V supply rail.
GPIOJ8 physical pin 18. Broadcom GPIO24, 3.3 V digital I/O.
GPIOSPIJ8 physical pin 19. Broadcom GPIO10, 3.3 V digital I/O.
GNDJ8 physical pin 20. Board ground return.
GPIOSPIJ8 physical pin 21. Broadcom GPIO9, 3.3 V digital I/O.
GPIOJ8 physical pin 22. Broadcom GPIO25, 3.3 V digital I/O.
GPIOSPIJ8 physical pin 23. Broadcom GPIO11, 3.3 V digital I/O.
GPIOSPIJ8 physical pin 24. Broadcom GPIO8, 3.3 V digital I/O.
GNDJ8 physical pin 25. Board ground return.
GPIOSPIJ8 physical pin 26. Broadcom GPIO7, 3.3 V digital I/O.
I2CJ8 physical pin 27. Broadcom GPIO0, 3.3 V digital I/O.
I2CJ8 physical pin 28. Broadcom GPIO1, 3.3 V digital I/O.
GPIOJ8 physical pin 29. Broadcom GPIO5, 3.3 V digital I/O.
GNDJ8 physical pin 30. Board ground return.
GPIOJ8 physical pin 31. Broadcom GPIO6, 3.3 V digital I/O.
GPIOPWMJ8 physical pin 32. Broadcom GPIO12, 3.3 V digital I/O.
GPIOPWMJ8 physical pin 33. Broadcom GPIO13, 3.3 V digital I/O.
GNDJ8 physical pin 34. Board ground return.
GPIOI2SI2CSPIPWMJ8 physical pin 35. Broadcom GPIO19, 3.3 V digital I/O.
GPIOUARTSPIJ8 physical pin 36. Broadcom GPIO16, 3.3 V digital I/O.
GPIOJ8 physical pin 37. Broadcom GPIO26, 3.3 V digital I/O.
GPIOI2SI2CSPIJ8 physical pin 38. Broadcom GPIO20, 3.3 V digital I/O.
GNDJ8 physical pin 39. Board ground return.
GPIOI2SI2CSPIJ8 physical pin 40. Broadcom GPIO21, 3.3 V digital I/O.

Specifications

Board
Zero 2 W · revision 1.0 · 65 × 30 mm
Processor and memory
RP3A0 SiP · BCM2710A1 · four Arm Cortex-A53 cores at 1 GHz · 512 MB LPDDR2
Expansion
J8 · 2 × 20 contacts on a 2.54 mm pitch · 3.3 V GPIO
Wireless
2.4 GHz 802.11 b/g/n · Bluetooth 4.2 and BLE

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Raspberry Pi Zero 2 WReduced schematic R1Raspberry PiJ8 numbering, power, reset, ACT LED and connector signals.Datasheet
Raspberry Pi Zero 2 WTest-pad drawingRaspberry PiBottom view, origin and millimetre coordinates for all 23 published pads.Datasheet
Raspberry Pi Zero 2 WMechanical drawingRaspberry PiBoard outline and mounting-hole locations.Datasheet
Raspberry Pi Zero 2 WProduct briefRaspberry PiSpecifications and component-side photograph on page 2.Datasheet
Raspberry Pi Zero 2 WGPIO function selectorRaspberry PiRaspberry Pi pinctrl table for the pre-BCM2711 peripheral block.Datasheet

Board notes

Orientation
Component side facing you with the two micro-USB sockets on the left. The square pad at the top of the inner J8 row is pin 1. Odd numbers run down the inner row. Even numbers run down the board-edge row.
Power and USB
PWR IN (J1) accepts 5 V over micro-USB. The separate USB socket carries USB 2.0 OTG data.
Display, camera and storage
J6 is the mini-HDMI display output. J12 is the 22-contact, 0.5 mm camera connector with two CSI-2 lanes. The microSD socket holds the boot medium.
Processor and radio
The black RP3A0 package contains the processor and memory. The shield next to it covers the 2.4 GHz wireless circuitry.
HAT identification
J8 pins 27 and 28 are reserved for the HAT identification EEPROM. Leave them open when no ID EEPROM is fitted.
Other face
Use the underside view for RUN, USB, composite video, supply, microSD and wireless test pads.