USB Type-B (USB 2.0) Pinout

Connector Pinouts · USB and phone connectors

The USB Type-B (USB 2.0) has 4 contacts. Specification: USB 2.0 Specification (USB-IF). The drawing shows the connector face with every pin colour-coded by function; the table below lists each pin's signal and description.

Pins
4
WWidth
8.45 mm0.333 in0.333 in8.45 mm
HHeight
7.78 mm0.306 in0.306 in7.78 mm

Drawing

2 · D−2 D−1 · VBUS1 VBUS3 · D+3 D+4 · GND4 GNDPowerGroundSignal
Looking into the receptacle (port); the plug face is the mirror image. Pin spacing schematic.Proportions shown, not to scale

USB Type-B (USB 2.0) specifications

Pins4
StandardUSB 2.0 Specification (USB-IF)
WWidth8.45 mm0.333 in
HHeight7.78 mm0.306 in
Size refers toPlug (nominal)
Max. data rate480 Mbit/s (High-Speed)
Power5 V
Drawing viewLooking into the receptacle (port)

USB Type-B (USB 2.0) pin assignment

PinSignalFunctionWire
1VBUS+5 V supplyred
2D−USB 2.0 data, negativewhite
3D+USB 2.0 data, positivegreen
4GNDGround (power return)black

The square Type-B connector is used on printers, scanners and audio interfaces. The two upper contacts are pins 2 and 1, the lower ones 3 and 4. USB 3.x Type-B has an extra block on top and does not fit a USB 2.0 Type-B receptacle, though a USB 2.0 plug fits a USB 3.x receptacle.

Also known as

USB-B

All connector pinouts

All 26 connectors in the Connector Pinouts chart →

Sources

  1. USB-IF: USB Type-C Cable and Connector Specification, Release 2.x
  2. USB-IF: Universal Serial Bus 2.0 / 3.2 Specifications
  3. HDMI Licensing Administrator: HDMI Specification 2.1 (connector and pin assignment)
  4. VESA: DisplayPort Standard
  5. ANSI/TIA-568: Commercial Building Telecommunications Cabling Standard (T568A/T568B)
  6. Intel: ATX Version 3.1 Multi Rail Desktop Platform Power Supply Design Guide
  7. PCI-SIG: PCI Express Card Electromechanical Specification 5.1
  8. NVIDIA: Power guidelines for professional GPUs (PCIe 6/8-pin pinout, DA-07261)
  9. SATA-IO: Serial ATA Revision 3.x
  10. Apple Lightning pin assignment (reverse engineered): nyansatan.github.io/lightning

Values last checked against these sources on November 15, 2026. · How we check data

Reference values for planning and identification. Confirm critical dimensions with the manufacturer's drawing or the current edition of the standard before production.