logo elektroda
logo elektroda
X
logo elektroda

USB Connector Pin Configurations: Type-A, Type-B, Micro-USB, USB-C Pinout Guide

User question

What are the pin configurations for different USB connector types?

Artificial Intelligence Response

Direct answer to the question

The pin configuration depends on the USB connector family:

  • USB 2.0 Type-A / Type-B: 4 pins
  • Mini-USB / Micro-USB: 5 pins
  • USB 3.x Type-A / Type-B: 9 pins
  • USB 3.x Micro-B: 10 pins
  • USB Type-C: 24 pins

The core USB 2.0 signals are usually:

Pin Signal Function
1 VBUS +5 V power
2 D− USB 2.0 differential data −
3 D+ USB 2.0 differential data +
4 GND Ground

For Mini/Micro USB, a fifth ID pin is added.
For USB 3.x, extra SuperSpeed TX/RX differential pairs are added.
For USB-C, there are additional CC, SBU, multiple VBUS/GND, and high-speed lane pins.


Detailed problem analysis

1. USB 2.0 standard connectors: Type-A and Type-B

These are the classic 4-pin USB connectors.

USB Type-A pinout
Pin Signal Description
1 VBUS +5 V
2 D− Data −
3 D+ Data +
4 GND Ground
USB Type-B pinout
Pin Signal Description
1 VBUS +5 V
2 D− Data −
3 D+ Data +
4 GND Ground

Engineering note:
Electrically, USB 2.0 Type-A and Type-B carry the same four basic signals. The difference is mainly mechanical form factor and intended role:

  • Type-A: host/hub side
  • Type-B: peripheral/device side

Typical legacy wire colors in many USB 2.0 cables are:

  • Red = VBUS
  • White = D−
  • Green = D+
  • Black = GND

These colors are common but should not be treated as a guaranteed rule in all cables.


2. Mini-USB and Micro-USB pinouts

A common point of confusion is that Mini-USB and Micro-USB are 5-pin connectors, not 4-pin.

Mini-USB / Mini-B / Mini-AB
Pin Signal Description
1 VBUS +5 V
2 D− Data −
3 D+ Data +
4 ID OTG identification
5 GND Ground
Micro-USB / Micro-B / Micro-AB
Pin Signal Description
1 VBUS +5 V
2 D− Data −
3 D+ Data +
4 ID OTG identification
5 GND Ground

Role of the ID pin

The ID pin is mainly used in USB On-The-Go (OTG) applications:

  • Floating ID: device/peripheral role
  • ID tied to GND: host role request

This allowed small devices such as phones or cameras to act either as a USB device or as a limited host.


3. USB 3.x Type-A pinout

USB 3.0/3.1 Gen 1/USB 3.2 Gen 1 keeps the original USB 2.0 pins and adds five SuperSpeed pins, making 9 total.

USB 3.x Type-A
Pin Signal Description
1 VBUS +5 V
2 D− USB 2.0 Data −
3 D+ USB 2.0 Data +
4 GND Ground
5 SSRX− SuperSpeed Receive −
6 SSRX+ SuperSpeed Receive +
7 GND_DRAIN Signal return / drain
8 SSTX− SuperSpeed Transmit −
9 SSTX+ SuperSpeed Transmit +

Why extra pins were added

USB 2.0 uses one half-duplex differential pair: D+ / D−.
USB 3.x adds separate TX and RX pairs for full-duplex high-speed communication.


4. USB 3.x Type-B pinout

USB 3.x Type-B also has 9 pins, but the SuperSpeed transmit/receive naming is swapped relative to the host/device perspective.

USB 3.x Type-B
Pin Signal Description
1 VBUS +5 V
2 D− USB 2.0 Data −
3 D+ USB 2.0 Data +
4 GND Ground
5 SSTX− SuperSpeed Transmit −
6 SSTX+ SuperSpeed Transmit +
7 GND_DRAIN Signal return / drain
8 SSRX− SuperSpeed Receive −
9 SSRX+ SuperSpeed Receive +

Practical note:
This is why USB 3.x Type-B connectors have that distinctive “tall” shape.


5. USB 3.x Micro-B pinout

This connector was commonly used on external hard drives. It combines the normal 5-pin Micro-B section with an added SuperSpeed section.

USB 3.x Micro-B
Pin Signal Description
1 VBUS +5 V
2 D− USB 2.0 Data −
3 D+ USB 2.0 Data +
4 ID OTG / identification
5 GND Ground
6 SSRX− SuperSpeed Receive −
7 SSRX+ SuperSpeed Receive +
8 GND_DRAIN Signal return / drain
9 SSTX− SuperSpeed Transmit −
10 SSTX+ SuperSpeed Transmit +

6. USB Type-C pinout

USB-C is the most complex and flexible connector. It has 24 pins, arranged in two mirrored rows so the plug is reversible.

USB Type-C receptacle pinout
Pin Signal Description
A1 GND Ground
A2 SSTXp1 SuperSpeed TX+ lane 1
A3 SSTXn1 SuperSpeed TX− lane 1
A4 VBUS Power
A5 CC1 Configuration Channel 1
A6 D+ USB 2.0 D+
A7 D− USB 2.0 D−
A8 SBU1 Sideband Use 1
A9 VBUS Power
A10 SSRXn2 SuperSpeed RX− lane 2
A11 SSRXp2 SuperSpeed RX+ lane 2
A12 GND Ground
B1 GND Ground
B2 SSTXp2 SuperSpeed TX+ lane 2
B3 SSTXn2 SuperSpeed TX− lane 2
B4 VBUS Power
B5 CC2 Configuration Channel 2
B6 D+ USB 2.0 D+
B7 D− USB 2.0 D−
B8 SBU2 Sideband Use 2
B9 VBUS Power
B10 SSRXn1 SuperSpeed RX− lane 1
B11 SSRXp1 SuperSpeed RX+ lane 1
B12 GND Ground

Important functional groups in USB-C

VBUS and GND

Multiple VBUS and GND pins are used to:

  • lower contact resistance
  • distribute current
  • support higher power transfer
CC1 and CC2

The Configuration Channel pins are essential for:

  • plug orientation detection
  • source/sink role detection
  • current advertisement
  • USB Power Delivery communication
  • alternate mode negotiation
D+ and D−

Even USB-C still supports the legacy USB 2.0 pair:

  • A6/B6 = D+
  • A7/B7 = D−

In many receptacles, corresponding D+ pins are internally connected together, and same for D−.

SBU1 and SBU2

Used for alternate modes, such as:

  • DisplayPort auxiliary signaling
  • other sideband functions
SuperSpeed lanes

USB-C supports one or more high-speed lanes depending on cable, host, and protocol:

  • USB 3.x
  • USB4
  • Thunderbolt
  • DisplayPort Alt Mode

Current information and trends

In modern products, USB-C is the dominant connector because it integrates:

  • USB 2.0 compatibility
  • USB 3.x SuperSpeed operation
  • USB4 / Thunderbolt capability
  • Alternate modes such as DisplayPort
  • much higher power capability through USB Power Delivery

From an engineering standpoint, the trend is away from older:

  • Type-A
  • Type-B
  • Mini-USB
  • Micro-USB

and toward:

  • USB-C for both power and data
  • USB PD negotiation instead of fixed 5 V assumptions
  • higher-speed differential routing requirements on PCBs and cables

A practical consequence is that for USB-C, a “pinout table” alone is no longer enough; proper design also requires understanding:

  • CC termination
  • orientation switching
  • PD controllers
  • cable capability detection
  • lane muxing for alternate modes

Supporting explanations and details

Why USB 2.0 is simple and USB-C is complex

You can think of USB evolution as:

  • USB 2.0: one power pair + one data pair
  • USB 3.x: adds separate high-speed TX/RX lanes
  • USB-C: adds reversibility, negotiation, alternate modes, and power management

So the connector went from a simple peripheral interface to a general-purpose power/data/video interconnect.

Plug vs receptacle caution

Pin tables can vary depending on whether the drawing refers to:

  • plug
  • receptacle
  • front view
  • rear/solder side view

This is a very common source of wiring mistakes.
When designing or repairing hardware, always verify:

  1. connector type
  2. gender
  3. viewing orientation
  4. datasheet pin numbering

Shield connection

In real hardware, the metal shell/shield is also important:

  • EMI containment
  • ESD discharge path
  • chassis grounding strategy

This is not usually counted in the “pin count,” but it matters in PCB layout and compliance.


Practical guidelines

For wiring or debugging

  • Use the 4-pin model for classic USB 2.0 Type-A/Type-B only.
  • Use the 5-pin model for Mini-USB and Micro-USB.
  • Use the 9-pin model for USB 3.x Type-A/Type-B.
  • Use the 10-pin model for USB 3.x Micro-B.
  • Use the 24-pin model for USB-C.

For PCB design

  • Route D+ / D− as a controlled differential pair.
  • Route SuperSpeed pairs with tighter impedance and skew control.
  • Provide proper ESD protection at the connector.
  • For USB-C, implement correct CC pull-up/pull-down resistors and use a proper controller when PD or Alt Modes are required.

For cable testing

With a multimeter, you can usually verify:

  • continuity of VBUS
  • continuity of GND
  • continuity of D+ and D−
  • absence of shorts between power and ground

For USB-C, breakout boards are strongly recommended because the connector is dense and easy to probe incorrectly.


Possible disclaimers or additional notes

  • The exact mechanical numbering may differ between plug and receptacle views.
  • Wire colors are conventional, not guaranteed.
  • USB-C capabilities depend not only on the connector pinout, but also on:
    • cable type
    • e-marker presence
    • controller ICs
    • negotiated protocol
  • Some very cheap cables do not implement all conductors.

Brief summary

  • Type-A / Type-B USB 2.0: 4 pins — VBUS, D−, D+, GND
  • Mini-USB / Micro-USB: 5 pins — adds ID
  • USB 3.x Type-A / Type-B: 9 pins — adds SuperSpeed TX/RX + drain
  • USB 3.x Micro-B: 10 pins
  • USB-C: 24 pins — adds CC, SBU, multiple VBUS/GND, and high-speed lanes

If you want, I can also provide:

  1. a single comparison table of all USB connector pinouts, or
  2. pinout diagrams by connector orientation for easier practical use.

Ask additional question

Wait...(2min)
Disclaimer: The responses provided by artificial intelligence (language model) may be inaccurate and misleading. Elektroda is not responsible for the accuracy, reliability, or completeness of the presented information. All responses should be verified by the user.