Unlike AC mains wiring, the dc voltage wire color code is not universally standardized across all regions and industries. In the US, the NEC (NFPA 70) recommends red for positive, black for negative, and white/grey for a grounded neutral, while IEC standards (used in the EU and UK) dictate brown for positive, blue for negative, and green/yellow for earth. Below is the definitive reference table to keep on your bench or in your truck.
| Function / Polarity | US NEC (NFPA 70) | IEC 60446 (EU/UK/AU) | Telecom (-48V DC) | Automotive / Marine (12V/24V) |
|---|---|---|---|---|
| Positive (+) Ungrounded | Red | Brown | Red (or Black) | Red |
| Negative (-) Ungrounded Return | Black | Blue | Blue (or White) | Black |
| Earth / Chassis Ground | Bare, Green, or Green/Yellow | Green/Yellow | Green/Yellow (or Bare) | White or Black (Chassis) |
| Grounded Conductor (Neutral/Center Tap) | White or Grey | Blue (with black tracer) or Light Blue | N/A (Usually system grounded) | White (in specific dual-voltage setups) |
| Positive (+) in a Grounded System | White (if positive is grounded) | Blue (if positive is grounded) | Blue or White (Ground is Positive) | N/A |
Decoding the Standards: Which DC Color Code Applies to You?
Choosing the correct standard depends entirely on your geographic location and the specific industry you are working in. Mixing these up is how you end up with a dead short or a fried charge controller.
US National Electrical Code (NEC / NFPA 70)
For standard DC branch circuits in the US, NFPA 70 (NEC) Article 200 and Article 210 provide the baseline. The NEC strictly mandates that a grounded DC conductor must be white or grey. For the ungrounded conductors, the NEC does not explicitly force red and black in the same rigid way it forces black/red/blue for AC phases, but red (positive) and black (negative) are the universally enforced trade practices. In solar applications (NEC Article 690), you will frequently see black and red THHN in conduit, with white used for the grounded current-carrying conductor.
IEC 60446 (Europe, UK, Australia)
The International Electrotechnical Commission harmonized DC colors to align closely with single-phase AC. According to IEC wiring color standards, brown is your positive line, blue is your negative/return line, and green/yellow is strictly reserved for protective earth. If you are building a control panel in the EU or wiring a DC microgrid in Australia, brown and blue are your mandatory choices.
Telecom and Data Centers (-48V DC)
This is where the standard flips upside down. In telecommunications racks, the system runs on -48V DC, and it uses a positive ground. The chassis is tied to the positive terminal. Therefore, the "hot" or negative supply wire is typically red (carrying -48V), and the ground/return wire is blue or white (carrying 0V). If you wire a standard telecom power supply assuming red is positive, you will instantly short the system.
The "Rows People Get Wrong" & Edge Cases
Even with the table above, experienced electricians and makers frequently trip over a few specific edge cases. Here are the rows and scenarios people get wrong most often:
- The Old UK vs. New UK Trap: Before 2006, the UK used Red (Positive), Black (Negative), and Green (Earth) for DC and single-phase AC. Post-2006, they harmonized with the IEC: Brown (Positive), Blue (Negative), and Green/Yellow (Earth). If you are retrofitting a legacy UK control panel and see a black wire, your instinct might be to treat it as negative. However, if someone partially updated the panel using new IEC cables, that black wire might be an AC Line conductor. Always verify.
- Confusing AC Neutral (White) with DC Negative (Black): In AC wiring, white is neutral. In DC, black is the standard negative. However, if a DC system has a grounded negative, the NEC allows the grounded conductor to be white. If you open a solar combiner box and see a white wire, it is likely the grounded negative return, not an AC neutral.
- 24VAC vs 24VDC in HVAC and Automation: Thermostat and control wire (typically Red, White, Green, Yellow, Blue) is almost always 24V AC in residential HVAC. In industrial PLCs, 24V DC is standard, often using Red (+) and Blue/Black (-). Never assume a red wire in a control cabinet is DC without putting a meter on it; feeding 24V AC into a 24V DC PLC input will cause erratic behavior or destroy the optocouplers.
- Bipolar / Split-Rail DC Systems: In ±12V or ±15V op-amp circuits, or bipolar solar arrays, you have a positive, a negative, and a center-tap ground. The center tap (0V reference) should always be white or grey (NEC) or light blue (IEC), while the extremes are red (+) and black (-).
Safe Interpretation When Markings Are Faded or Missing
On the jobsite or the bench, wire colors lie. Red THHN exposed to UV light in a solar array turns pink or orange over five years. Black wire in a hot engine bay turns grey. When you open a panel and the colors are faded, missing, or all identical (e.g., a spool of black wire used for everything), follow this strict verification protocol:
Step 1: The De-Energize and Isolate Rule
If the circuit is part of a larger system (like a 48V LiFePO4 battery bank), disconnect the main breaker or pull the battery fuse. DC systems store massive energy in capacitor banks; wait 5 minutes for bleed resistors to discharge before touching terminals.
Step 2: The Multimeter Verification Matrix
Set your multimeter (e.g., Fluke 87V or 117) to DC Volts. If the system must remain live for testing, use the following measurement sequence to identify the wires without relying on color:
| Measurement | Expected Reading (Standard Neg-Ground) | What It Means |
|---|---|---|
| Wire A to Chassis Ground | Positive Voltage (e.g., +12.4V) | Wire A is Positive (+) |
| Wire B to Chassis Ground | ~0.0V to 0.2V | Wire B is Negative/Return (-) |
| Wire A to Wire B | Total System Voltage (e.g., 12.4V) | Confirms A is Pos, B is Neg |
| Wire A to Chassis (reads negative) | Negative Voltage (e.g., -48V) | Telecom setup: Wire A is -48V, Chassis is Pos |
Step 3: Proper Re-Marking Protocol
Once identified, never leave a wire unmarked or rely on your memory. You must physically re-mark the conductor at both termination points.
Do not use cheap, generic vinyl tape that unwraps when ambient temperatures hit 85°F. Use 3M Super 33+ or 3M Temflex 1700 electrical tape, wrapped three times with a 50% overlap, extending past the stripped insulation.
For a permanent, professional finish—especially in marine, automotive, or outdoor solar environments—use 3:1 dual-wall adhesive heat shrink (like 3M EPS300). The inner adhesive layer melts and seals out moisture, preventing the green crust of copper oxidation that plagues poorly marked DC terminals. Cut the heat shrink to 2-inch lengths, slide it over the wire, and apply heat until the adhesive squeezes out the ends. This ensures your DC voltage wire color code remains legible and safe for the life of the installation.






