USB Cable Wiring Diagram: How Each Conductor Connects Between Connectors
This is a free printable usb cable wiring diagram: download the diagram as SVG or open it and print to paper or PDF.
The USB cable wiring diagram maps each conductor from its source connector pin to its destination pin, defining colour coding, signal assignments, and shielding arrangements required for reliable USB power delivery and data communication.
Diagram checks and scope
- Components
- 5
- Wired connections
- 9
- Automated check
- Automated pin, route, source, and topology checks passed; this is not a safety certification.
Standard USB cable wiring follows the USB-IF specification with consistent conductor colour coding that simplifies fabrication and troubleshooting. The VBUS conductor is always red, connecting Pin 1 at the A connector to Pin 1 at the B or device-side connector. GND is always black, running from Pin 4 to Pin 4. The D− data conductor is white, assigned to Pin 2 at both ends. D+ is green, occupying Pin 3. Inside the cable jacket these four conductors are arranged so that the two data conductors form a tightly twisted pair — the twist rate typically one twist per 25 mm — to maximise common-mode noise rejection. VBUS and GND conductors run alongside but are not twisted, though some manufacturers run VBUS adjacent to GND to provide a degree of current loop cancellation. The entire conductor bundle is surrounded by a foil or braid shield that connects to the connector shell at both ends through a bare drain wire running inside the shield layer. This grounded shell provides a Faraday cage that attenuates external electric field interference and prevents the cable from acting as a transmission antenna for the switching noise generated by VBUS DC-DC converters in the connected devices. Colour coding deviates slightly for USB 3.0 and USB-C cables. USB 3.0 adds blue insulation for SuperSpeed conductors: SSTX+ blue, SSTX− yellow, SSRX+ purple, SSRX− orange, plus a second drain wire. USB-C cables add CC1 and CC2 wires for Power Delivery and alternate mode negotiation, using a separate configuration channel ASIC in both cable plugs for electronically marked cables (eMark) that report cable capabilities. The USB-C to USB-C 5 A cable contains an eMark chip at each end that responds to the PD controller's VCONN-powered data request confirming the cable is rated for 5 A at 20 V. Using an unmarked USB-C cable limits PD negotiation to 3 A maximum regardless of the charger's capability, as a safety measure to prevent overloading undersized cable conductors.
How to wire usb cable wiring diagram
- Identify connector type Determine connector types at both ends: USB-A, USB-B, Mini-B, Micro-B, or USB-C. This determines which pinout diagram applies and what conductor count to expect.
- Verify wire count inside jacket Carefully open a spare or damaged cable to examine conductor count. A USB 2.0 cable should contain four insulated conductors plus shield. USB 3.0 should contain nine. Fewer conductors than expected confirms a charging-only cable.
- Map conductors to pins Using the colour code standard, map red to VBUS (Pin 1), white to D− (Pin 2), green to D+ (Pin 3), black to GND (Pin 4). Confirm with a continuity tester from each conductor at one end to the matching pin at the other end.
- Measure conductor resistance Zero the multimeter leads together, then measure resistance of each conductor end to end. VBUS and GND should measure below 0.3 ohm per metre. D+ and D− may be slightly higher due to finer gauge.
- Confirm shield continuity Measure resistance between the metal shells of both connectors. Value below 0.5 ohm confirms shield integrity. A higher reading indicates a broken drain wire or poor shell contact requiring cable replacement.
Specifications
| VBUS conductor AWG | 24 AWG for data cables; 20 AWG for 5 A PD cables |
|---|---|
| Data pair AWG | 28 AWG twisted, 90 Ω differential impedance |
| GND conductor AWG | 24 AWG minimum for power delivery applications |
| Shield drain wire resistance | <0.5 Ω shell to shell for compliant cable |
Safety warnings
- Do not repurpose USB cables for non-USB circuits — the thin gauge conductors and low-voltage insulation are not suitable for mains or automotive voltages.
- Replace cables with kinked or damaged outer jackets immediately — internal conductor insulation may be compromised, creating short-circuit risk between conductors.
- For USB Power Delivery above 60 W, use only USB-IF certified cables with eMark chips confirming 5 A current rating.
Tools needed
- USB pin-out tester or breakout board for conductor mapping
- Digital multimeter in continuity and resistance modes
- Oscilloscope with 200 MHz bandwidth for USB 2.0 signal quality analysis
- USB Power Delivery analyser for verifying eMark cable negotiation
Common mistakes
- Confusing D+ (green, Pin 3) with D− (white, Pin 2), swapping data pair polarity and preventing USB enumeration.
- Using non-USB-IF cables for USB Power Delivery above 60 W without confirming eMark chip presence and 5 A rating.
- Measuring USB cable resistance with a basic multimeter and accepting high readings — data cables should show under 1 ohm per conductor.
Troubleshooting
- USB device not recognised
- Cause: D+ and D− swapped during cable fabrication or internal break Fix: Continuity test each data conductor end to end. Swap D+ and D− at one connector if colours were incorrectly assigned during manufacture. Replace cable if conductors are broken.
- Slow or no charging
- Cause: High-resistance VBUS conductor or incorrectly rated cable for PD current Fix: Measure VBUS conductor resistance. Replace with properly rated cable for the required current. For PD above 60 W, confirm eMark chip presence with a PD analyser.
- Intermittent data errors
- Cause: Shield drain wire broken or D+/D− pair not twisted, allowing noise pickup Fix: Replace cable. Verify replacement cable has a properly twisted data pair and intact shield by measuring shell-to-shell resistance below 0.5 ohm.
Frequently asked questions
What are the standard USB wire colours?
The USB-IF defines: red for VBUS (Pin 1), white for D− (Pin 2), green for D+ (Pin 3), and black for GND (Pin 4). USB 3.0 adds blue and yellow for SuperSpeed TX pair and purple and orange for SuperSpeed RX pair. These colours are consistent across manufacturers following the specification, though some aftermarket cables deviate — always verify with a continuity test.
Why does my USB cable feel warm during charging?
Warmth indicates resistive losses in VBUS and GND conductors carrying charging current. A cable with 28 AWG power conductors carrying 2 A dissipates approximately 0.2 W per metre, producing noticeable warmth in longer cables. Switch to a cable with 24 AWG or larger power conductors for charging applications above 1 A. Excessive heat indicates dangerously undersized conductors that should be replaced.
Can I splice a broken USB cable?
Technically yes, but it requires correctly matching each colour-coded conductor and maintaining the D+/D− twist after splicing. Any splice increases resistance and disturbs the twisted pair geometry, potentially degrading Hi-Speed data signals. For clean repair, replacing the cable entirely is the preferred approach. If splicing is unavoidable, use properly insulated crimp connectors for each individual conductor.
What is the difference between USB 2.0 and USB 3.0 cable wiring?
USB 2.0 cables contain four conductors: VBUS, D−, D+, GND, plus a shield. USB 3.0 cables contain nine conductors: the original four plus SSTX+, SSTX−, SSRX+, SSRX−, and a second shield drain wire for the SuperSpeed section. The additional conductors enable 5 Gbps SuperSpeed communication while maintaining USB 2.0 backward compatibility on the original four wires.
How do I check if my USB cable is causing slow charging?
Measure DC resistance from VBUS Pin 1 at one end to VBUS Pin 1 at the other using a four-wire (Kelvin) measurement or a quality multimeter with zeroed leads. Repeat for GND. Values above 0.3 ohm per conductor in a 1 m cable indicate excessive resistance. A 1-ohm total loop resistance drops 1 V at 1 A, reducing a 5 V charger output to 4 V at the device input, triggering reduced charging current.
Sources and verification
Review status: Not independently reviewed. Automated topology checks confirm stored terminals and routes, not the correctness of manufacturer pin assignments, ratings, regional codes, or installation decisions. Verify those claims against the current primary documentation before use.
- IEC 61082-1:2014 — Rules for electrotechnical documents — International Electrotechnical Commission. Supports: General diagram, drawing, table, and reference-designation presentation conventions. Checked 2026-07-15.
- USB 2.0 Specification — USB Implementers Forum. Supports: USB 2.0 interface, cable, electrical, signal, protocol, and connector requirements. Checked 2026-07-15.
Related diagrams
- micro usb cable wiring diagram
- 3 wire aux cable wiring diagram
- aux cable diagram
- aux cable pinout
- cable diagram
- female usb pinout