logo elektroda
logo elektroda
X
logo elektroda

USB-C Charger Wire Color Guide: Red, Blue, White, Green Connections for Charging and Data

User question

I have a c type charger im trying to repair in one side it has one blue and one red wire, and the other side have green, white red and blue, what do the white and green connect to out of the red and blue wire ?

Artificial Intelligence Response

Direct answer to the question

• White and green are data lines (USB 2.0 D- and D+).
• Red and blue in your two-wire half are power lines (red ≈ VBUS +5 V, blue ≈ GND or return).
▶ Therefore the white and green wires must NOT be tied to either the red or the blue wire.
• If you only need charging, join red ↔ red and blue ↔ blue (ground), insulate the unused white and green.
• If you need data as well, white must continue to white (D-) and green to green (D+) through the splice—not to the power pair.

Detailed problem analysis

  1. Typical USB-C / USB-2.0 colour mapping
    • Red → VBUS (+5 V, up to 20 V with PD)
    • Black / Blue / Bare braid → GND (return) – inexpensive cables often use blue when black is omitted
    • White → D-
    • Green → D+
    • Grey / Yellow / Blue (in some cables) → CC1 / CC2 or SBU lines (needed for Power-Delivery negotiation, mode switching, etc.)

  2. What you have
    • Side-A: Red + Blue only → clearly a power-only tail.
    • Side-B: Red, Blue, White, Green → a full USB-2.0 set (power + data). The extra pair (white/green) is for data; the charger brick apparently doesn’t need them.

  3. Consequences
    • Connecting white/green to VBUS (red) will short data lines to 5 V and can kill the phone or charger.
    • Connecting them to ground (blue) will short the differential pair and stop enumeration.
    • Leaving them floating is electrically safe for a power-only cable, but you lose data and some fast-charge protocols that signal on D+/D-.

  4. When data (or PD) is required
    • Splice colour-to-colour (white↔white, green↔green) so the differential pair remains twisted and of equal length.
    • Keep the pair tightly coupled (twist/zip) to preserve impedance (~90 Ω).
    • Verify continuity end-to-end with a multimeter on the 200 Ω range before powering up.

  5. Extra USB-C considerations
    • True USB-C PD cables also have CC1/CC2 conductors; if those are missing or damaged, the phone may charge only at 500 mA–1 A.
    • In some low-cost “USB-C chargers” the CC logic is built into the wall block, so the cable really is just two wires (VBUS/GND). That matches what you see on Side-A.

Current information and trends

• Cheap USB-C wall chargers increasingly ship with power-only (2-wire) captive leads to save copper and avoid e-marker ICs.
• Quality detachable cables use color-striped twisted pairs and an e-marker for 3 A/5 A PD—those almost never reduce ground to “blue only”.
• The USB-IF continues to warn against “chargers with missing CC or data wires” because they prevent PD negotiation and may lock devices to 5 V 500 mA.

Supporting explanations and details

Power path
 \[ V_{BUS} \;(\text{Red}) = +5\;\mathrm{V} \quad;\quad GND \;(\text{Blue}) = 0\;\mathrm{V} \]
Data path
 Differential voltage swings ≈ ±400 mV on white/green pair. Injecting >5 V here overstresses the PHY.

Example splice (charging-only):

Side-B Splice Side-A
-------- ------ ------
Red ----------┐ Red
Blue ----------┴── GND ──────── Blue
White – insulated / no connect
Green – insulated / no connect

Ethical and legal aspects

• Selling or gifting a home-repaired USB cable that later fails can expose you to product-liability claims.
• UL/CE compliance of the charger is void once the cable is modified.
• Dispose of defective cables responsibly; damaged shielding can increase EMI emissions.

Practical guidelines

  1. Strip no more than 10 mm of insulation; stagger joints to avoid bulges.
  2. Solder, then cover each joint with heat-shrink; finish with an outer sleeve for strain relief.
  3. Measure: VBUS to GND = 5 V (or 9/12/15/20 V if PD) before connecting a phone.
  4. If unsure, buy a new certified USB-IF cable—the cost is often lower than the time and risk of repair.

Possible disclaimers or additional notes

• Colour coding is not legally enforced; some factories swap blue/black or even use red for ground. Always validate with a multimeter before trusting colours.
• The advice above assumes a commodity USB-2.0-grade Type-C lead. Thunderbolt 3/4 or USB4 cables have extra high-speed twin-ax pairs and must not be repaired by splicing.

Suggestions for further research

• USB-IF “Type-C Cable and Connector Specification Rev 2.x” (free download).
• IEC 62680-1-3 (USB PD).
• White-paper “Cable-induced PD failures” by Texas Instruments, 2023.
• Teardown videos of PD chargers (EEVblog, ChargerLAB) for cable construction insight.

Brief summary

Only red and blue belong in the power loop. White and green are data; do not tie them to red or blue. Connect red-to-red, blue-to-blue for charging-only repairs, insulate the data pair, or match them colour-to-colour if you require data continuity. Verify with a meter; when in doubt, replace the cable—USB-C mistakes are expensive.

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.