USB Type-B Wiring Guide

USB 2.0 Standard-B pinout and wire colors: VBUS, D-, D+, GND, plug and receptacle in 3D

🔒 Your data stays in your browser: nothing you type or upload is sent to a server.

How it works

This guide wires a USB 2.0 Standard-B plug, the near-square one used on printers, audio interfaces and hubs: VBUS on pin 1, D− on pin 2, D+ on pin 3 and GND on pin 4, with the shield on the metal shell. The model shows how the bevelled plug shell goes inside the slightly larger receptacle.

Common questions

What is the USB Type-B pinout?

Pin 1 is VBUS (+5 V, usually red), pin 2 is D− (white), pin 3 is D+ (green) and pin 4 is GND (black). The cable shield goes to the connector shell.

Does a USB 2.0 Type-B plug fit a USB 3.0 Type-B port?

Yes. The 3.0 receptacle has an extra section for more contacts, but it also takes the 2.0 plug. The reverse is not true: a 3.0 plug does not fit a 2.0 port.

Related tools