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

  • Do not connect the white or green wires to either the red or the blue wire.
  • Red ↔ Red = VBUS (+5 V supply)
  • Blue ↔ Blue = Ground/return (GND)
  • White and Green are the USB-2.0 data pair (D-, D+) and, in a two-wire “charger-only” tail, they have no counterpart; trim/insulate them separately.

Detailed problem analysis

  1. Standard USB-C and legacy USB color codes
    • Red → VBUS (+5 V, or higher if PD negotiates)
    • Black / Blue → GND
    • White → D- (USB 2.0)
    • Green → D+ (USB 2.0)

  2. What you physically have
    Side A (2-wire): Blue + Red → clearly a power-only pigtail.
    Side B (4-wire, on the Type-C plug): Red, Blue, White, Green → a full USB 2.0 set.

    The absence of a ground or shield braid on Side A confirms that it was originally designed purely for charging; the manufacturer simply omitted the data pair.

  3. Electrical consequences
    • Tying data lines (White/Green) to either supply rail (Red) or ground (Blue) places ±5 V onto the USB 2.0 inputs of the target device. Best-case it just won’t enumerate; worst-case it blows the SoC’s USB transceiver.
    • Leaving them floating is harmless; a device detecting only VBUS and GND will treat the cable as “power-only”.

  4. Verification (mandatory)
    • Before soldering, confirm with a multimeter:
    – Plug the charger in, measure Red→Blue. You should see +5 V (or +9 V/+12 V on fast chargers).
    – With the charger unplugged, use continuity between the C-plug pins and each wire to confirm the color legend; cheap cables occasionally swap Blue ↔ Black.
    • If polarity is reversed in measurement, wire accordingly; always follow the function rather than the color.


Current information and trends

  • Commodity “charge-only” cables are common because they pass EMC compliance more easily and are cheaper to manufacture (two conductors, no shield, easier mould tooling).
  • USB-C Power Delivery (PD) chargers negotiate voltage via CC1/CC2 pins; those are not present in a 2-wire stub. Such chargers fall back to 5 V when no CC handshake occurs, so your repaired lead will still charge but only at the 5 V / USB-BCS rate (~2 A max).
  • E-marked cables capable of 240 W (USB-PD EPR, 48 V @ 5 A) must carry VBUS and GND on multiple conductors plus CC/Sideband wires—repairing them with a 2-wire tail would defeat safety features and violate the spec.

Supporting explanations and details

  • USB 2.0 uses a differential pair (D+ / D−) that must be twisted together and impedance-controlled (~90 Ω). Even if you spliced them correctly, joining them to a 2-wire tail would break that impedance and data would fail.
  • Heat-shrink sequence: tin → splice → individual 2 mm shrink → overall ∅6 mm strain-relief.
  • Analogy: Treat Red/Blue like a two-conductor lamp cord; White/Green are like telephone pair—different service, don’t mix them.

Ethical and legal aspects

  • Selling or distributing a modified cable that no longer complies with USB-IF requirements can expose you to liability if it damages equipment or causes a fire.
  • Many regions (EU Low-Voltage Directive, UL/CSA in North America) require that repair maintains insulation class and strain relief equal to original. Use appropriately rated heat-shrink and avoid “tape-only” repairs.
  • Privacy: data lines left floating cannot leak data—a plus when issuing “charge-only” cables in public kiosks.

Practical guidelines

  1. Strip 10 mm of jacket, 3 mm of conductor.
  2. Twist and solder Red↔Red, Blue↔Blue.
  3. Cut White and Green flush, cover each with 1 mm heat-shrink, or fold back and seal with epoxy.
  4. Slide a larger dual-wall adhesive heat-shrink over the whole joint for mechanical strength.
  5. Perform a 5 A current-limited bench-supply test before plugging into expensive hardware.

Potential challenges

  • Some fast-chargers disconnect VBUS until CC negotiation. If yours does, the 2-wire cable will appear dead—use a simple 5 V wall brick instead or acquire a full USB-C cable.
  • Cable flex after repair: add an external silicone strain-relief boot if the original over-mould is destroyed.

Possible disclaimers or additional notes

  • The repaired cable will be charge-only at 5 V, no data, no USB-PD voltage step-up, no fast-charge protocols that rely on data pins (e.g., Qualcomm QC2.0).
  • Long-term reliability is lower than a moulded cable; repeated bending at the splice may break again.

Suggestions for further research

  • USB-IF Spec Rev 2.2 Chapter 4 (Type-C cable assembly spec).
  • IEC 62368-1 for safety requirements of ICT equipment.
  • Look up “E-marker repair” if you eventually need full PD capability.
  • Investigate magnetic detachable USB-C tips if you frequently damage cables; they sacrificially disconnect.

Brief summary

Only two conductors on your charger side mean the cable was designed for power only. Match Red to Red for +5 V and Blue to Blue for ground, leave the Green and White data wires isolated. This restores charging functionality but sacrifices data and any fast-charging modes that use additional pins. Verify polarity with a multimeter, insulate meticulously, and understand that a replacement certified cable is the safer long-term solution.

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.