T568A and T568B are the two standard color codes for terminating Ethernet cable in RJ45 (8P8C) connectors. The only difference is that the orange and green pairs are swapped: T568B runs white/orange, orange, white/green, blue, white/blue, green, white/brown, brown on pins 1–8, while T568A starts with white/green, green and swaps the orange pair onto pins 3 and 6. Both perform identically. A cable with the same standard on both ends is a straight-through cable; T568A on one end and T568B on the other makes a crossover cable for 10/100 Mb/s Ethernet.
T568A vs T568B Pinout Table
| Pin | T568A color | T568A pair | T568B color | T568B pair | 10/100 Mb/s use |
|---|---|---|---|---|---|
| 1 | white/green | 3 | white/orange | 2 | used |
| 2 | green | 3 | orange | 2 | used |
| 3 | white/orange | 2 | white/green | 3 | used |
| 4 | blue | 1 | blue | 1 | not used |
| 5 | white/blue | 1 | white/blue | 1 | not used |
| 6 | orange | 2 | green | 3 | used |
| 7 | white/brown | 4 | white/brown | 4 | not used |
| 8 | brown | 4 | brown | 4 | not used |
Wikipedia explains that ANSI/TIA-568 defines how to connect eight-conductor 100-ohm balanced twisted-pair cable, such as Category 5, to 8P8C modular connectors, and that “the difference between the T568A and T568B pinouts is that pairs 2 and 3 (orange and green) are exchanged.” Each pair has one solid-color wire and one white wire with a stripe of that color.
Which Standard Should You Use?
Wikipedia notes that TIA-568 recommends T568A for horizontal cables, that it is compatible with one- and two-pair USOC telephone pinouts, and that the US government requires it in federal contracts. T568B is allowed where needed to match existing 8-pin cabling, because it matches the older AT&T 258A (Systimax) pattern that was the most widely installed in the 1990s. Wikipedia adds that many organizations still use T568B out of inertia.
- Match the existing site. If the building or machine is wired T568B, keep using T568B.
- Follow the spec. Federal and some institutional jobs call for T568A.
- Be consistent at both ends. Wikipedia notes cables of either type work in the same installation if each cable has the same pinout on both ends.
Straight-Through vs Crossover Cables
Both standards are “straight through”: pin 1 connects to pin 1 and so on. Wikipedia explains that a cable with T568A on one end and T568B on the other is a crossover cable for 10BASE-T and 100BASE-TX, because those standards use only pairs 2 and 3, exactly the pairs that differ. Crossovers were needed to connect two computers or two switches directly. Today, Auto-MDI-X ports detect whether a crossover is needed and switch internally, so a straight cable works almost everywhere.
How to Terminate an RJ45 Plug
- Strip about 1 in of the outer jacket without nicking the conductors.
- Untwist the pairs only as far as needed and arrange the wires in T568A or T568B order.
- Trim the wires straight so about ½ in protrudes from the jacket.
- Insert into the plug with the clip facing away; check every wire reaches the end and the colors are in order.
- Crimp firmly, then test with a cable tester for continuity, shorts, split pairs and miswires.
Ethernet Cabling in Industrial Settings
PLCs, HMIs, drives and remote I/O on EtherNet/IP, Modbus TCP and PROFINET use the same 8P8C pinouts. Industrial installations add concerns of their own: separation from power cable, shielded cable where noise is high, and connectors rated for vibration and washdown. For serial alternatives that still connect many field devices, see RS-232 vs RS-485; for configuring HMI communications, HMI communication drivers.
The wiring standard does not change the speed: see 1000BASE-T vs 100BASE-TX for which pairs each Ethernet speed actually uses.
Frequently Asked Questions
What is the difference between T568A and T568B?
The orange and green pairs are swapped. T568A puts white/green and green on pins 1 and 2 and white/orange and orange on pins 3 and 6; T568B does the opposite. Pins 4, 5, 7 and 8 (blue and brown) are the same in both.
Is T568A or T568B better?
Electrically they perform the same. Wikipedia notes TIA-568 recommends T568A for horizontal cabling and it is required in US federal contracts, while T568B (inherited from AT&T 258A) remains widely used. Pick one and use it consistently.
What is the T568B color code?
Pins 1–8: white/orange, orange, white/green, blue, white/blue, green, white/brown, brown.
What is the T568A color code?
Pins 1–8: white/green, green, white/orange, blue, white/blue, orange, white/brown, brown.
Can I mix T568A and T568B?
Not within one cable unless you want a crossover. Wikipedia notes cables of either type can be used in the same installation if each cable has the same pinout on both ends.
What is a crossover cable?
A cable with T568A on one end and T568B on the other. For 10BASE-T and 100BASE-TX, which use pairs 2 and 3, this connects transmit to receive between two like devices.
Do I still need crossover cables?
Rarely. Auto-MDI-X ports detect whether a crossover is needed and switch internally, so straight cables work between most modern devices.
Which pins does Ethernet use?
10BASE-T and 100BASE-TX use pins 1, 2, 3 and 6 (two pairs). 1000BASE-T and faster use all four pairs.
Is RJ45 the right name?
Wikipedia notes that the 8P8C modular connector is often incorrectly called RJ45; RJ45 originally referred to a specific telephone wiring arrangement. In everyday use, “RJ45” means the Ethernet 8P8C plug.
Which way is pin 1 on an RJ45 plug?
With the contacts facing you and the latch (clip) facing away, pin 1 is on the left.
Sources and Further Reading
- Wikipedia: ANSI/TIA-568: T568A and T568B pinouts, recommendations and history.
- Wikipedia: Ethernet crossover cable: crossover wiring for 10BASE-T and 100BASE-TX.
- Wikipedia: Medium-dependent interface: MDI, MDI-X and Auto-MDI-X.
