|
USB Pinout and Color Code Reference: Complete Type-A/B/C Analysis (2026)

USB Pinout and Color Code Reference: Complete Type-A/B/C Analysis (2026)

USB Introduction and Pinout

USB, short for Universal Serial Bus, has become the standard interface for connecting computers and peripherals since its introduction in 1996. Over time, USB has undergone multiple iterations, bringing higher data transfer speeds and greater power delivery capabilities.

USB Versions and Speeds

The following are the main USB versions and their data transfer speeds:

  • USB 1.0/1.1: 1.5 Mbps or 12 Mbps

  • USB 2.0: 480 Mbps

  • USB 3.0 (USB 3.1 Gen 1): 5 Gbps

  • USB 3.1 (USB 3.1 Gen 2): 10 Gbps

  • USB 3.2: Up to 20 Gbps

  • USB4: Up to 40 Gbps (v1.0) / 80 Gbps (v2.0)

USB Connector Types

To meet the needs of different devices, USB has developed various connector types:**

  • Type-A**: The most common type, used to connect to host ports on computers

  • Type-B: Usually used to connect to peripherals such as printers and scanners

  • Mini-A, Mini-B and Micro-B: Smaller connectors designed for mobile devices

  • Type-C: A newer reversible connector used for data transfer and power delivery, mainly used for USB 3.1, USB 3.2 and USB4

USB Pinout

USB 1.x/2.0

PinNameCable ColorDescription
1VBUSRed+5V Power
2D−WhiteData Line –
3D+GreenData Line +
4GNDBlackGround

USB 3.0

PinType-A ConnectorType-B ConnectorCable ColorDescription
1VBUSRedRedPower
2D-D-White2.0 Data Differential Pair –
3D+D+Green2.0 Data Differential Pair +
4GNDGNDBlackPower Ground
5StdA_SSRX−StdB_SSTX−BlueHigh-Speed Data Differential Pair – Receive
6StdA_SSRX+StdB_SSTX+YellowHigh-Speed Data Differential Pair + Receive
7GND_DRAINN/AN/ASignal Ground
8StdA_SSTX−StdB_SSRX−PurpleHigh-Speed Data Differential Pair – Transmit
9StdA_SSTX+StdB_SSRX+OrangeHigh-Speed Data Differential Pair + Transmit

Type-A/Type-B Interface

PinNameCable ColorDescription
1VBUSRed or Orange+5V Power
2D-White or GoldDifferential Data –
3D+GreenDifferential Data +
4GNDBlack or BlueGround

Mini/Micro-A/B Interface

  • Mini USB Pin 4 is ID, other pin functions are the same as standard USB.

  • ID Pin: Connected to Pin 5 (GND) on Mini-A, can be left floating or connected to Pin 5 on Mini-B.

PinNameCable ColorDescription
1VBUSRed+5V Power
2D-WhiteDifferential Data –
3D+GreenDifferential Data +
4IDN/ADistinguishes other end interface type**A Interface (Host): Grounded
B Interface (Device): Not Connected
5GNDBlackGround

Type-C Interface Pinout and Colors

PinNameWire ColorDescriptionUSB 2.0USB 3.x
A1GNDBlackGround
A2TX1+YellowSuperSpeed Differential Pair 1 Transmit+
A3TX1-BlueSuperSpeed Differential Pair 1 Transmit-
A4VBUSRed+5V Power
A5CC1Configuration Channel 1
A6D+GreenUSB 2.0 Differential Data+
A7D-WhiteUSB 2.0 Differential Data-
A8SBU1Sideband Use
A9VCONNActive Cable Power
A10RX1-PurpleSuperSpeed Differential Pair 1 Receive-
A11RX1+OrangeSuperSpeed Differential Pair 1 Receive+
A12GNDBlackGround
B1GNDBlackGround
B2TX2+SuperSpeed Differential Pair 2 Transmit+
B3TX2-SuperSpeed Differential Pair 2 Transmit-
B4VBUSRed+5V Power
B5CC2Configuration Channel 2
B6D+GreenUSB 2.0 Differential Data+
B7D-WhiteUSB 2.0 Differential Data-
B8SBU2Sideband Use
B9VBUSRed+5V Power
B10RX2-SuperSpeed Differential Pair 2 Receive-
B11RX2+SuperSpeed Differential Pair 2 Receive+
B12GNDBlackGround

Notes:**

  • The table lists the 24 pins of the Type-C interface, classified by function and module.

  • For the USB 2.0 module, the table lists the 4 pins it uses and their corresponding colors.

  • For the USB 3.x module, the table lists the 8 pins it uses and their corresponding colors. Note that not all Type-C interfaces support USB 3.x modules.

  • The table also lists some other pins, such as CC1, CC2, VCONN, etc., which are used for configuration and power functions.

  • Some pins do not have specific color assignments.

Additional Notes:

  • Type-C interface supports reversible plug, so the USB 2.0 module uses two sets of identical D+/D- pins.

  • Some Type-C cables contain chips internally to enhance signals or implement special functions, these cables are called active cables, and the VCONN pin is used to power them.

  • SBU1 and SBU2 pins can be used for sideband purposes, such as audio transmission, etc.

{ “@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [ { “@type”: “Question”, “name”: “What are the USB 3.0 wire color codes and definitions?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “USB 3.0 standard interface contains 9 pins: VCC (red/power), D- (white), D+ (green), GND (black) are USB 2.0 compatible pins, newly added StdA_SSRX-/+(blue), StdA_SSTX-/+(purple) and GND_DRAIN for SuperSpeed data transmission. The interface color is usually blue to distinguish from USB 2.0’s black interface.” } }, { “@type”: “Question”, “name”: “What is the difference between USB Type-A and Type-C pins?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “USB Type-A is the traditional USB interface (4-pin USB 2.0 / 9-pin USB 3.0), Type-C is the new generation reversible plug interface (24-pin), supporting higher power (100W+), USB 3.1/3.2/4 high-speed transmission and Alt Mode video output. Type-C pin definition is more complex, containing multiple sets of TX/RX differential pairs and configuration channels.” } }, { “@type”: “Question”, “name”: “What do USB interface colors represent?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “USB interface colors are used to identify versions: white/black = USB 1.x/2.0, blue = USB 3.0 (3.1 Gen 1), teal = USB 3.1 Gen 2, red/yellow = shutdown charging port (Always On). Type-C interfaces themselves have no color differentiation standard.” } }, { “@type”: “Question”, “name”: “How to determine if a USB cable supports fast charging?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “Fast charging USB cables need to support larger currents (3A or above), Type-C to Type-C cables have built-in E-Marker chips that can support 5A/100W (USB PD protocol). Regular USB-A cables only support up to 2.4A maximum. Can be identified by cable markings (such as 5A, 60W, 100W) or tested using a USB tester.” } } ] }