logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

USB Wire Colors Meaning - Red Black White Green Pinout Guide

User question

What do USB wire colors mean?

Artificial Intelligence Response

Direct answer to the question

In a typical USB 2.0 cable, the internal wire colors usually mean:

Wire color USB signal Meaning
Red VBUS +5 V power
Black GND Ground / return
White D− USB data negative
Green D+ USB data positive
Bare / foil / braid Shield / drain Cable shield, usually connected to connector shell/ground

The most important caution: do not trust wire color blindly. Most cables follow this convention, but cheap, proprietary, damaged, or USB-C cables may not. Verify with a multimeter before connecting power or splicing wires.


Detailed problem analysis

Standard USB 1.x / USB 2.0 four-wire cable

Most older USB-A, USB-B, mini-USB, and micro-USB cables use four main conductors:

  • Red: VBUS

    • Nominally +5 V DC.
    • Supplies power from host/charger to device.
    • In classic USB 2.0, current may be limited depending on negotiation and port type.
  • Black: GND

    • Electrical ground and return path for power.
    • Reference point for the data signals.
  • White: D−

    • One side of the USB 2.0 differential data pair.
  • Green: D+

    • Other side of the USB 2.0 differential data pair.

The white and green wires should ideally remain twisted together as much as possible because USB data is transmitted as a differential signal. Untwisting them excessively, extending them poorly, or splicing them with long separated leads can cause unreliable communication.


USB 3.x cable colors

A USB 3.0 / USB 3.1 / USB 3.2 cable usually retains the original USB 2.0 wires and adds extra high-speed differential pairs.

A common USB 3.x internal color convention is:

Wire color Signal Function
Red VBUS +5 V power
Black GND Power ground
White D− USB 2.0 data negative
Green D+ USB 2.0 data positive
Blue SSRX− SuperSpeed receive negative
Yellow SSRX+ SuperSpeed receive positive
Purple SSTX− SuperSpeed transmit negative
Orange SSTX+ SuperSpeed transmit positive
Bare / drain GND_DRAIN / shield Shield or SuperSpeed pair drain

In USB 3.x cables, the high-speed pairs are more sensitive to impedance, length matching, shielding, and routing. Splicing USB 3.x cables is much less forgiving than splicing simple USB 2.0 power leads.


USB-C warning

For USB-C, internal wire colors are much less reliable.

USB-C cables may contain:

  • VBUS power conductors
  • Ground conductors
  • USB 2.0 D+ and D− lines
  • Configuration Channel wires, called CC
  • Sideband Use wires, called SBU
  • SuperSpeed differential pairs
  • Shielding, drain wires, or micro-coaxial conductors
  • In some cables, an e-marker chip for high-current or high-speed capability

A USB-C cable can also carry much more than 5 V when USB Power Delivery is negotiated. Modern USB PD Extended Power Range can go up to 48 V and 5 A, or 240 W, in properly rated cables and devices. Therefore, with USB-C, color identification alone is especially unsafe.


Practical guidelines

If you are repairing or modifying a USB cable:

  1. Use a multimeter in continuity mode

    • Do not assume red is always +5 V or black is always ground.
    • Check which wire connects to which connector pin.
  2. Identify VBUS and GND first

    • A short between VBUS and GND can damage a USB port, charger, hub, or connected device.
  3. Keep D+ and D− together

    • The green and white data wires should remain close and preferably twisted.
    • Avoid long untwisted splices.
  4. Reconnect shielding if possible

    • The bare drain wire, foil, or braid helps reduce EMI and improve signal reliability.
  5. Do not use unknown thin wires for high current

    • Even if a wire is red and black, it may not be thick enough for high-current charging.
    • Wire gauge matters.
  6. Be careful with charge-only cables

    • Some USB cables contain only red and black wires.
    • These can provide power but cannot transfer data.

Common mistake: wire colors vs port colors

USB wire colors are not the same thing as USB port colors.

For example, a blue USB-A port often indicates USB 3.x capability, while the internal blue wire in a USB 3.x cable may be part of a SuperSpeed data pair. These are related only loosely and should not be confused.


Brief summary

For a normal USB 2.0 cable:

  • Red = +5 V
  • Black = Ground
  • White = Data−
  • Green = Data+
  • Bare/foil/braid = shield

For USB 3.x and USB-C, there are additional conductors, and the color coding becomes less dependable. If you are cutting, splicing, or reusing a USB cable, verify every wire with a multimeter before applying power.

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.