ATX Power Supply Wire Colors: Complete Guide to PC Wiring Pinouts

Diana Jun 18, 2026

Understanding ATX power supply wire colors is fundamental for anyone building or repairing a PC. The array of colored cables emerging from the box can look like a tangle of spaghetti, but each hue is a deliberate coding system. This color architecture dictates the voltage each wire carries and its role within the entire power delivery network. Mastering this code allows for a safer, more efficient assembly process and is the first step toward diagnosing power-related issues.

Know Your Computer Power Supply Pins
Know Your Computer Power Supply Pins

The 24-Pin Main Connector: The Power Highway

ATX Desktop Computer Power Supply
ATX Desktop Computer Power Supply

The most significant bundle of wires is the 24-pin main connector, which supplies power to the motherboard. In a standard ATX power supply, the color coding here is consistent and predictable. The vast majority of the wires are black; these serve as the ground return for the circuit. You will then encounter a single orange wire, which is the constant 3.3V source. The most prominent colors are the yellow and red wires. Yellow wires carry 12V, which is the primary voltage required by the CPU and GPU, while red wires provide 5V for legacy peripherals. Finally, a single green wire acts as the power-on trigger, completing the circuit when connected to a ground pin.

Decoding the 12V Rail

ATX Dell PSU to Offical ATX 2.0 spec pinout
ATX Dell PSU to Offical ATX 2.0 spec pinout

Because modern components like GPUs and CPUs demand massive amounts of power, the 12V rail is often split into multiple wires. This design is not arbitrary; it is a safety feature. The wires are thin individually because they adhere to amperage limits, but when combined, they provide the necessary current. You will typically see yellow wires grouped together. Attempting to draw more current than these wires are rated for can cause overheating, making it vital to understand that these are not interchangeable with lower-gauge wires from other voltages.

The Peripheral Power Connectors: SATA and Molex

Computer Power Supply Connector Pinout (20-Pin & 24-Pin)
Computer Power Supply Connector Pinout (20-Pin & 24-Pin)

Beyond the motherboard, the power supply feeds storage drives and cooling fans through peripheral connectors. The standard Molex connector, which features four pins, uses a strict color code. The red wire here provides 5V, the yellow wire carries 12V, and the black wires are ground. The orange wire, when present, supplies 3.3V. For Serial ATA (SATA) drives, the connector is smaller and more compact. It retains the color logic of the Molex but miniaturizes it, with orange for 3.3V, red for 5V, and yellow for 12V, all paired with shielded grounds.

Additional Power Connectors and Specialized Wires

Modern power supplies include various supplementary connectors to handle high-end hardware. You will find 4-pin or 8-pin CPU connectors adjacent to the main board connector. These follow the same color logic as the main 24-pin block, focusing on 12V, 5V, and grounds. Furthermore, you might encounter wires with unique colors serving specific functions. For example, purple wires are designated for +5VSB (Standby), providing power to the network card or wake-on-LAN functionality even when the system is "off." Blue wires represent -12V, a rarely used voltage for legacy serial port logic, and gray wires are often power-good indicators that signal when the supply is functioning correctly.

A Maker's Guide to ATX Power Supplies
A Maker's Guide to ATX Power Supplies

The Dangers of Incorrect Identification

Mistaking one color for another can have catastrophic consequences for your PC. Plugging a 12V device into a 5V port, or vice versa, will almost certainly fry the component. Similarly, connecting two different voltage wires to the same device creates a short circuit. While the color coding is standardized, it is always wise to verify using a multimeter or by consulting the specific wiring diagram printed on the power supply's label. Never assume a wire is safe to test by touch if the PSU is plugged in, as high-voltage AC lines are also present in the unit.

Standard ATX Color Reference Table

PC Güç Kaynağı Konnektör Kablo Voltaj Bilgileri - Elektronik Devreler Projeler
PC Güç Kaynağı Konnektör Kablo Voltaj Bilgileri - Elektronik Devreler Projeler

To act as a quick reference, the table below summarizes the universal color coding for ATX power supplies. This standard ensures that components from different manufacturers receive the correct voltage. Always cross-reference this with the labeling on your specific power supply unit, as high-quality manufacturers adhere strictly to these conventions.

Color Voltage Common Use
Red +5V Motherboard, Legacy Peripherals, SATA Power
Yellow +12V CPU, GPU, High-Power Fans
Orange +3.3V SATA Devices, Modern Motherboard Peripherals
Black Ground (0V) Return Path for all Current
Green PS-ON Power On Signal (Motherboard)
Purple +5VSB Standby Power (USB, Wake-on-LAN)
Blue -12V Legacy Serial Port Logic
Gray P.G. (Power Good) Status Signal (Power OK)
YOUTUBE ATX Power Supply
YOUTUBE ATX Power Supply
Placas solares para casa eficientes con gran rendimiento
Placas solares para casa eficientes con gran rendimiento
ATX Power Supply Connector Pinout
ATX Power Supply Connector Pinout
the wiring diagram for an atx 20 pin power connector with orange, red and green lights
the wiring diagram for an atx 20 pin power connector with orange, red and green lights
ATX Desktop Computer Power Supply
ATX Desktop Computer Power Supply
an image of different colors for the atx wire color code system on a blue background
an image of different colors for the atx wire color code system on a blue background
an image of computer power supply diagram
an image of computer power supply diagram
Coin Op Personal Vending Machine
Coin Op Personal Vending Machine
the color code for different types of electrical wire and wiring wires are shown in this diagram
the color code for different types of electrical wire and wiring wires are shown in this diagram
Upcycled ATX: Build Your Own Lab Bench Power Supply
Upcycled ATX: Build Your Own Lab Bench Power Supply
an electronic device with many wires attached to the board and other parts labeled in red
an electronic device with many wires attached to the board and other parts labeled in red
1K views · 408 reactions | Computer Power Supply | AN Electric Circuit
1K views · 408 reactions | Computer Power Supply | AN Electric Circuit
Блоки питания: распиновка 24 pin и 20+4pin и другие разъемы
Блоки питания: распиновка 24 pin и 20+4pin и другие разъемы
Converted ATX Power Supply Voltage Combinations
Converted ATX Power Supply Voltage Combinations
Easily Convert an ATX Power Supply to a Lab Power Supply
Easily Convert an ATX Power Supply to a Lab Power Supply
Lab ATX Powersupply
Lab ATX Powersupply
the wiring diagram for an electronic device with two different color lights and one red light
the wiring diagram for an electronic device with two different color lights and one red light
Convert an ATX PSU to a Bench Supply to Power Circuits
Convert an ATX PSU to a Bench Supply to Power Circuits