USB-A Connector Wiring Guide

USB-A pinout and cable colors for USB 2.0 and 3.0, plug and socket in 3D

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

How it works

Choose USB 2.0 (4 contacts) or USB 3.x (9 contacts) and follow the steps to wire a Type-A plug. Pin 1 is VBUS, 2 is D−, 3 is D+ and 4 is GND; the red, white, green and black colours are a convention, so verify by continuity. USB 3.x adds the SuperSpeed pairs on pins 5 to 9.

Common questions

What is the USB-A pinout?

USB 2.0: pin 1 VBUS (+5 V), pin 2 D−, pin 3 D+, pin 4 GND. USB 3.x adds pin 5 SSRX−, pin 6 SSRX+, pin 7 GND_DRAIN, pin 8 SSTX−, pin 9 SSTX+.

What are the USB cable wire colours?

Most USB 2.0 cables use red for VBUS, white for D−, green for D+ and black for GND, but the standard does not require it. Always confirm each wire by continuity to the other plug before connecting power.

How do I know if a USB cable is power-only?

A power-only cable has only VBUS and GND wired. With the plug open you see two wires, or with a meter you find no continuity on pins 2 and 3 end to end. Such a cable charges but never carries data.

Related tools