Updated
The pin order for an RJ45 (8P8C) plug or jack under both TIA-568 wiring schemes, with the pair each wire belongs to and what it carries at 10/100 and gigabit. The card below prints on one page.
Ethernet cable color code (TIA-568) · networksketch.com/ethernet-cable-color-code
Both schemes carry data the same way; T568A is T568B with the orange and green pairs swapped.
| Pin | Wire color | Pair | 10/100 | Gigabit |
|---|---|---|---|---|
| 1 | White/orange | 2 (orange) | TX+ | BI_DA+ |
| 2 | Orange | 2 (orange) | TX− | BI_DA− |
| 3 | White/green | 3 (green) | RX+ | BI_DB+ |
| 4 | Blue | 1 (blue) | unused | BI_DC+ |
| 5 | White/blue | 1 (blue) | unused | BI_DC− |
| 6 | Green | 3 (green) | RX− | BI_DB− |
| 7 | White/brown | 4 (brown) | unused | BI_DD+ |
| 8 | Brown | 4 (brown) | unused | BI_DD− |
| Pin | Wire color | Pair | 10/100 | Gigabit |
|---|---|---|---|---|
| 1 | White/green | 3 (green) | TX+ | BI_DA+ |
| 2 | Green | 3 (green) | TX− | BI_DA− |
| 3 | White/orange | 2 (orange) | RX+ | BI_DB+ |
| 4 | Blue | 1 (blue) | unused | BI_DC+ |
| 5 | White/blue | 1 (blue) | unused | BI_DC− |
| 6 | Orange | 2 (orange) | RX− | BI_DB− |
| 7 | White/brown | 4 (brown) | unused | BI_DD+ |
| 8 | Brown | 4 (brown) | unused | BI_DD− |
A straight-through cable has the same scheme on both ends (T568B to T568B, or A to A). It's the cable for nearly everything.
| Cable | End 1 | End 2 | When you need it |
|---|---|---|---|
| Straight-through (patch) | T568B | T568B (or A to A) | Almost always: computer to switch, switch to switch, patch panel to switch, and any two ports with Auto-MDI-X. |
| Crossover (10/100) | T568B | T568A | Two like devices (PC to PC, switch to switch) where neither port has Auto-MDI-X. Swaps pins 1↔3 and 2↔6: the orange and green pairs. |
| Gigabit crossover | T568B | T568A, plus blue and brown swapped | Hardly ever. Also swaps 4↔7 and 5↔8. Gigabit ports sort out the pair order themselves. |
Auto-MDI-X lets a port detect which pairs the other end transmits on and swap its own transmit and receive to match. Practically every gigabit port has it, as do many newer 10/100 ports, so a straight-through cable works between any two of them. Keep crossover cables out of the cabling plant: they're easy to mistake for patch cords.
Not to be confused with a rollover (console) cable, which reverses all eight pins (1↔8, 2↔7 and so on) for a router or switch serial console. It isn't an Ethernet cable.
TIA-568 allows both, and they perform the same. What matters is being consistent.
Power over Ethernet rides on the same pairs as the data, so gigabit and PoE work together. The power sourcing equipment (PSE, usually the switch) uses one of two pair sets, or both.
| Mode | Pins | Pairs (T568B colors) | Notes |
|---|---|---|---|
| Mode A (Alternative A) | 1-2 and 3-6 | Orange and green | The pairs that carry 10/100 data. |
| Mode B (Alternative B) | 4-5 and 7-8 | Blue and brown | The pairs 10/100 leaves unused. |
| 4-pair | All eight | All four | 802.3bt: Mode A and Mode B at the same time. |
| Standard | PSE output | At the device | Pairs used |
|---|---|---|---|
| 802.3af (Type 1, "PoE") | 15.4 W | 12.95 W | 2 (Mode A or B) |
| 802.3at (Type 2, "PoE+") | 30 W | 25.5 W | 2 (Mode A or B) |
| 802.3bt Type 3 | 60 W | 51 W | 2 or 4 |
| 802.3bt Type 4 | 90 W | 71.3 W | 4 |
A standards-based powered device accepts power on either pair set and in either polarity, so the wiring scheme (A or B) doesn't matter for PoE. Some older "passive PoE" injectors put fixed voltage on the spare pairs without any detection: check before plugging them into anything else.
Pins 1 to 8: white/orange, orange, white/green, blue, white/blue, green, white/brown, brown. Pin 1 is on the left when you look at the plug's gold contacts with the clip on the far side and the cable hanging down.
Pins 1 to 8: white/green, green, white/orange, blue, white/blue, orange, white/brown, brown. It is T568B with the orange and green pairs swapped.
Neither. They perform the same; only the orange and green pairs trade places. T568B is the most common in US commercial buildings, T568A is the one called for in homes by TIA-570 and is common on US government work. Use the same one on both ends and across the site, and follow the project spec when there is one.
Rarely. Almost every gigabit port and most newer 10/100 ports have Auto-MDI-X: they detect the pair order and swap transmit and receive themselves, so a straight-through cable works between any two devices. A crossover cable (T568A on one end, T568B on the other) only matters with old 10/100 equipment that lacks Auto-MDI-X.
No. The color code and pin order are the same for every category. What changes is the cable and connectors, and how carefully you terminate: keep the twist to within 13 mm (0.5 in) of the contacts.
Mode A puts power on pins 1-2 and 3-6, Mode B on pins 4-5 and 7-8. 802.3af and 802.3at use one of the two; 802.3bt Type 3 can use two or four pairs and Type 4 always uses all four. Power rides on the same pairs as the data, so gigabit and PoE work together.
In NetworkSketch, every link is a cable with an interface at each end, a media type and a speed, and the PDF export includes a cabling schedule. Running fiber too? See the fiber optic color code chart.