In direct current (DC) circuits, the positive wire is universally color-coded red to indicate the supply side, and the negative wire is black to indicate the return path. If you are asking this question while staring at a residential breaker panel or a smart thermostat, however, you are dealing with alternating current (AC), where the concepts of 'positive' and 'negative' do not exist. Swapping DC polarity will instantly fry a $15 ESP32 dev board or trip a $200 battery management system (BMS), while confusing AC neutral with DC negative can create a lethal shock hazard by defeating your home's grounding system.

The Core Standard: DC Polarity vs AC Phasing

To understand wire colors, you must first separate DC (batteries, solar panels, electronics) from AC (grid power, household outlets). In DC, current flows in one continuous direction. The positive terminal pushes current out, and the negative terminal pulls it back. In AC, current reverses direction 60 times a second (in North America) or 50 times a second (in Europe/Australasia). Therefore, AC uses 'Hot' (live) and 'Neutral' instead of positive and negative.

Safety Warning: Never assume wire colors are correct based on visual inspection alone. Previous DIYers often use whatever wire was left in their toolbox. Always de-energize the circuit, lock out the breaker, and verify dead with a tested multimeter or non-contact voltage tester before touching any conductors.

Here is how the color codes break down across the two major global standards:

System & Function US / Canada (NEC) UK / EU / AU (IEC 60446)
DC Positive (+) Red Red (or Brown in some legacy setups)
DC Negative (-) Black Black (or Blue in some legacy setups)
AC Hot / Live Black, Red, Blue Brown, Black, Grey
AC Neutral White, Grey Blue
Earth Ground Bare Copper, Green, Green/Yellow Green/Yellow Stripe

Worked Example: Sizing and Tracing a 48V Solar Inverter Feed

Let us look at what happens when you apply these color codes to a real-world, high-current DC installation. Suppose you are wiring a 48V nominal (which actually rests at 51.2V DC) LiFePO4 battery bank to a 3000W Victron MultiPlus inverter.

The Math:
Continuous current draw = 3000W / 48V = 62.5 Amps.
Applying the NEC 125% continuous load rule (Article 210.20), we need to size the overcurrent protection and wire for 62.5A × 1.25 = 78.125 Amps.

The Wire Selection:
For a short 2-foot run inside a battery box, 2 AWG copper THHN (rated 115A at 75°C) is sufficient. The voltage drop across 2 feet of 2 AWG at 80A is a negligible 0.05V. You will use a Red 2 AWG wire for the positive feed from the battery terminal to the inverter's positive busbar, and a Black 2 AWG wire for the negative return.

What Changes if You Swap Them:
If you accidentally route the black wire to the positive terminal and the red to the negative, you have reversed the polarity. When you close the DC disconnect, the inverter's internal reverse-polarity protection diodes will immediately forward-bias and create a dead short across the battery. The 150A Class T fuse on the positive line will violently blow to save the inverter, but if you forgot the fuse, the inverter's internal capacitors will explode, and the BMS will permanently trip its short-circuit protection. The colors themselves do not change the physics, but they are the only visual cue preventing a $1,500 mistake.

Where You Meet This in Practice

You will encounter the red/black positive/negative paradigm in three primary environments:

  • Automotive and Marine 12V Systems: The red wire always runs from the battery positive to the load (starter, winch, lights). The black wire returns to the battery negative. In many vehicles, the metal chassis acts as the negative return path (chassis ground), meaning you only run a red wire to the component and bolt the component's black wire directly to the frame.
  • Solar PV DC Disconnects: The wires coming down from your roof solar panels are DC. By NEC Article 690, the ungrounded (positive) conductor must be distinctly marked, typically with red tape or red insulation, while the grounded (negative) conductor is black or white depending on whether it is bonded to earth at the charge controller.
  • Low-Voltage Electronics and Embedded Systems: When wiring an Arduino, ESP32, or Raspberry Pi, breadboard jumper wires follow the same rule: Red for VCC (positive voltage, usually 3.3V or 5V) and Black for GND (ground/negative return).

The 'Neutral is Not Negative' Trap

The most dangerous confusion in residential wiring is treating an AC neutral wire (white in the US, blue in the EU) as if it were a DC negative wire.

In a DC circuit, the negative wire is simply the return path to the battery. It is often completely isolated from the earth. In an AC circuit, the neutral wire is a current-carrying return path, but it is also bonded to the earth ground at the main service panel. This concept is called equipotential bonding—tying all exposed metal and the neutral conductor to the physical earth so that a fault cannot raise the voltage of your appliances above zero relative to the ground you stand on.

If you are wiring a smart switch or a thermostat and you treat the white neutral wire like a DC negative, you might be tempted to use it as a ground reference for a DC sensor. Doing so will inject AC noise into your DC circuit, cause erratic sensor readings, and potentially create a shock hazard if the neutral connection upstream becomes loose. Always keep your DC negative (black) and your AC neutral (white/blue) on completely separate busbars and circuits.

Frequently Asked Questions

What colour is the positive wire on a standard car battery?

The positive wire on a standard 12V car battery is always red. It is typically covered by a red plastic boot to prevent accidental shorting against the metal chassis. The negative wire is black and is usually bolted directly to the vehicle's frame or engine block.

Is the white wire positive or negative in house wiring?

Neither. In North American AC house wiring (per the National Electrical Code enforced by OSHA), the white wire is the neutral. It is the AC return path to the transformer, not a DC negative. The 'hot' (live) wire is black or red. Never use a white wire for DC positive or negative unless it is re-identified with black or red tape at both ends, which is only permitted in specific cable assemblies like NM-B (Romex) used for 240V loads.

What happens if I wire positive to negative by mistake?

Connecting a DC positive wire directly to a DC negative wire creates a dead short circuit. Because there is no load (like a lightbulb or motor) to restrict the flow of electrons, current will spike to hundreds or thousands of amps instantly. This will melt wire insulation, cause severe arcing, and trip your breaker or blow your fuse. If connected to a sensitive electronic load backwards, it will bypass protection circuits and destroy silicon components like MOSFETs and microcontrollers.

Can I use green wire for DC negative if I run out of black?

Absolutely not. Under NEC Article 250.119 and IEC 60446, green (or green with a yellow stripe) is strictly reserved for equipment grounding conductors (earth ground). Using green for a DC negative return is a severe code violation. If a future technician assumes the green wire is a safety ground and touches it while it is carrying return current, or if a ground fault occurs elsewhere, it can energize metal enclosures and cause fatal electrocution. Always buy more black wire.