PS/2 is a type of port used by older computers for connecting input devices such as keyboards and mice. The port was introduced with IBM's Personal System/2 computer in 1987 (which was abbreviated "PS/2"). In the following years, the PS/2 port became the standard connection for keyboards and mice in all IBM compatible computers.

The PS/2 port has six pins and is roughly circular in shape. Since each PS/2 port is designed to accept a specific input, the keyboard and mouse connections are typically color-coded. For example, the keyboard port on the back of the computer is often purple, while the mouse port is usually green. Similarly, the connector on the end of the keyboard cord is purple and the mouse cord connector is green. This makes it easy for all users to know where to plug the cables into the computer. The concept is similar to the color-coded composite audio/video connections on the back of a TV, which use red, white, and yellow connectors.

While the PS/2 port enjoyed a good run for almost two decades, now most keyboards and mice use USB connectors. Unlike PS/2 ports, USB devices can be plugged into any USB port or even a USB hub and the computer will automatically determine what the device is. USB is also "hot swappable," meaning the connections can be removed while the computer is running. If you remove a PS/2 device while the computer is on, it may potentially cause damage to the hardware. Therefore, if you are using a PS/2 device, it is best to turn off the computer before connecting or unplugging a keyboard or mouse.

NOTE: The term "PS2" is also a common abbreviation for Sony's PlayStation 2 game console.

Updated June 24, 2008 by Per C.

quizTest Your Knowledge

Where does a GPU store 3D meshes and textures?

Correct! Incorrect!     View the VRAM definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of PS/2 on this page is an original definition written by the team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.