RJ45 Wiring Color Code Guide
Pin-by-pin wire colors for T568A and T568B Ethernet standards. Includes straight-through vs crossover reference and the 10/100 Mbps pin function table.
Pin Function Reference
For 10BASE-T and 100BASE-TX Ethernet, only pins 1, 2, 3, and 6 are used. Pins 4, 5, 7, 8 are reserved (or used for PoE power pairs). 1000BASE-T (Gigabit) uses all four pairs in both directions.
| Pin | Function (10/100) | T568A Wire | T568B Wire | Pair |
|---|---|---|---|---|
| 1 | TX+ Transmit + | White / Green | White / Orange | 2 |
| 2 | TX− Transmit − | Green | Orange | 2 |
| 3 | RX+ Receive + | White / Orange | White / Green | 3 |
| 4 | — (unused / PoE +) | Blue | Blue | 1 |
| 5 | — (unused / PoE +) | White / Blue | White / Blue | 1 |
| 6 | RX− Receive − | Orange | Green | 3 |
| 7 | — (unused / PoE −) | White / Brown | White / Brown | 4 |
| 8 | — (unused / PoE −) | Brown | Brown | 4 |
Straight-Through vs Crossover
A cable's ends determine its type. Most modern Ethernet interfaces have Auto-MDIX, which makes crossover cables largely obsolete, but they remain essential for direct device-to-device links on legacy hardware.
Straight-Through Cable
Both ends use the same standard (T568B–T568B or T568A–T568A). Used to connect different device classes.
End B: identical mapping
Use: PC ↔ switch, router ↔ switch, PC ↔ wall jack
Crossover Cable
One end is T568A, the other is T568B. The TX and RX pairs are swapped so two devices of the same class can talk directly.
End B (T568B): TX on 3/6, RX on 1/2
Use: PC ↔ PC, switch ↔ switch, router ↔ router