Understanding the ATX power supply wire color code is fundamental for any PC builder, electronics enthusiast, or IT professional troubleshooting a system. The colored wires inside the cables act as a visual language, communicating specific voltage levels and purposes to the various components on the motherboard and chassis. Misinterpreting this language can lead to incorrect connections, system instability, or even hardware damage, making it essential to decode the rainbow of wires correctly.
Why Wire Color Coding Exists
The primary reason for standardized wire colors is safety and functionality. Within the ATX power supply unit (PSU), multiple circuits generate different voltages required for various components. Without a universal color convention, connecting the wrong wire to a component could supply incorrect power, potentially frying a delicate CPU or motherboard. The system ensures that the 24-pin main connector provides the correct 3.3V, 5V, and 12V rails to the processor and graphics card, while peripheral connectors deliver stable power to drives and accessories.
The Primary Connectors Explained
When you unravel an ATX power supply, you will notice several distinct bundles of wires, each terminating in a specific connector. The most prominent is the 24-pin main motherboard connector, responsible for the core power delivery. Flanking this are the peripheral connectors, often called Molex connectors, which feature older 4-pin layouts for devices like optical drives and legacy fans. Modern systems also rely heavily on the 8-pin CPU connector, which is usually a subset of the main connector or a separate dedicated plug.

Decoding The Color Spectrum
The industry standard, defined by the ATX specification, assigns specific roles to specific colors. While minor variations might exist in premium or specialized units, the following chart represents the vast majority of consumer and commercial power supplies. Always double-check with the specific model’s documentation if you encounter an unusual configuration.
| Wire Color | Standard Voltage | Primary Function |
|---|---|---|
| Red | +5V | Provides power for digital logic and 5V peripherals. |
| Orange | +3.3V | Delivers power to RAM and modern CPU circuits. |
| Yellow | +12V | The primary voltage for motors, pumps, and GPUs. |
| White | -5V | A legacy voltage rarely used in modern components. |
| Blue | -12V | Used primarily by serial port circuits in the past. |
| Brown | Sensing (3.3V) | Monitors voltage stability in the 3.3V rail. |
| Grey | P.G. Signal | Indicates Power Good status; power is stable. |
| Green | PS-ON | The power switch wire; connects to the case button. |
| Black | Ground | The return path for all electrical current. |
Focus On The Critical 12V Rail
The yellow wires are the workhorses of the system, carrying the +12V essential for graphics cards, hard drives, SSDs, and cooling fans. These wires are often grouped together and capable of delivering significant current. It is crucial to ensure that the total load across the yellow wires does not exceed the amperage rating specified on the PSU label. The presence of multiple yellow wires allows the current to be split safely across different components, preventing any single wire from overheating.
Spotting The Grounds And Safety Nets
Black wires are as vital as the colored ones; they serve as the ground reference for every other circuit. Every voltage wire requires a corresponding ground wire to complete the electrical loop safely. The thin grey wire, labeled P.G. (Power Good), is a diagnostic signal wire that tells the motherboard when the PSU has successfully passed self-tests. The system will not boot or will immediately shut down if the P.G. signal is not active, preventing erratic operation.

Practical Application And Safety
When installing a new PSU, resist the urge to force connections. The 24-pin connector is keyed, meaning it can only plug in one way, but vigilance is still required. Before connecting the 8-pin CPU cable, ensure it is seated firmly at the top of the motherboard. When managing cables, note that the connectors are designed to be polarized, ensuring that the color coding aligns perfectly with the socket pins. Never modify the wires or use incorrect adapters, as doing so bypasses the critical safety design of the power supply.























