PinoutSearch

Raspberry Pi GPIO 26-pin (P1, Rev2) Pinout

The original 26-pin P1 header on Raspberry Pi 1 Model A/B (Revision 2 layout).

Overview

The 26-pin P1 header is the original Raspberry Pi GPIO connector (Pi 1 Model A/B), two rows of 13 on 2.54 mm pitch. The first 26 pins of the modern 40-pin header are identical to this.

This is the Revision 2 layout: pin 3 = GPIO2, pin 5 = GPIO3, pin 13 = GPIO27 (Rev1 used GPIO0/GPIO1/GPIO21). All GPIO is 3.3 V, not 5 V tolerant.

Pinout

PinNameFunctionDescription
13V3POWER3.3 V power
25VPOWER5 V power
3GPIO2 (SDA1)DATAI2C1 data
45VPOWER5 V power
5GPIO3 (SCL1)CLKI2C1 clock
6GNDGNDGround
7GPIO4 (GPCLK0)CLKGeneral-purpose / clock
8GPIO14 (TXD)UARTUART transmit
9GNDGNDGround
10GPIO15 (RXD)UARTUART receive
11GPIO17SIGNALGeneral-purpose GPIO
12GPIO18 (PCM_CLK)SIGNALGeneral-purpose / hardware PWM
13GPIO27SIGNALGeneral-purpose GPIO (Rev2)
14GNDGNDGround
15GPIO22SIGNALGeneral-purpose GPIO
16GPIO23SIGNALGeneral-purpose GPIO
173V3POWER3.3 V power
18GPIO24SIGNALGeneral-purpose GPIO
19GPIO10 (MOSI)SPISPI0 MOSI
20GNDGNDGround
21GPIO9 (MISO)SPISPI0 MISO
22GPIO25SIGNALGeneral-purpose GPIO
23GPIO11 (SCLK)SPI / CLKSPI0 clock
24GPIO8 (CE0)SIGNALSPI0 chip enable 0
25GNDGNDGround
26GPIO7 (CE1)SIGNALSPI0 chip enable 1

Notes

  • Revision 2 layout (pin 3=GPIO2, 5=GPIO3, 13=GPIO27); Rev1 differed on these three.
  • Identical to pins 1-26 of the modern 40-pin header.
  • 3.3 V logic, not 5 V tolerant.

Reference: Raspberry Pi GPIO documentation (P1 Rev2)· verified 2026-06-27