PinoutSearch

PS/2 Pinout

The 6-pin Mini-DIN keyboard/mouse port - clock, data, +5 V, and ground.

Overview

PS/2 is the 6-pin Mini-DIN connector used for legacy keyboards and mice. Only four pins are active: bidirectional DATA and CLK (both open-collector with pull-ups), +5 V, and ground.

Keyboard and mouse pinouts are electrically identical; ports are color-coded purple (keyboard) and green (mouse). It is not hot-pluggable by design.

Pinout

PinNameFunctionDescription
1DATADATABidirectional data (open-collector with pull-up)
2Reserved / NCSIGNALNot connected (second device on combined ports)
3GNDGNDGround
4VCC (+5V)POWER+5 V (5.0 +/-0.5 V, ~275 mA max)
5CLKCLKClock (open-collector with pull-up)
6Reserved / NCSIGNALNot connected (second device on combined ports)

Notes

  • Keyboard and mouse are electrically identical but ports expect the matching color.
  • Not hot-pluggable by design; pins 2/6 carry a second device on Y-splitter cables.

Reference: Wikipedia - PS/2 port· verified 2026-06-27