ElectroDesignForgeElectroDesignForge

Ethernet RJ45 — T568A and T568B

Definition

Ethernet BASE-T links use an 8P8C modular connector, commonly called RJ45, and four twisted pairs. T568A and T568B define the conductor colour order at the connector; they do not define the Ethernet speed, cable category, or PoE polarity.


Orientation and numbering

Pinout of an 8P8C Ethernet plug wired to T568A, pins 1 through 8 from left to right
T568A — pin 1 on the left, cable pointing down.
Pinout of an 8P8C Ethernet plug wired to T568B, pins 1 through 8 from left to right
T568B — pin 1 on the left, cable pointing down.

The illustrations show the contacts visible, the cable pointing down, and pins 1 through 8 from left to right. Turning the plug over reverses the apparent order; a receptacle viewed from the front may also appear mirrored. Always follow the manufacturer’s view and numbering when checking a PCB footprint.


Pinout, colours, and signals

PinT568AT568BTwisted pair10/100BASE-T signal on an MDI port1000BASE-T and faster signal
1White/greenWhite/orange1–2TX+BI_DA+
2GreenOrange1–2TX−BI_DA−
3White/orangeWhite/green3–6RX+BI_DB+
4BlueBlue4–5Not usedBI_DC+
5White/blueWhite/blue4–5Not usedBI_DC−
6OrangeGreen3–6RX−BI_DB−
7White/brownWhite/brown7–8Not usedBI_DD+
8BrownBrown7–8Not usedBI_DD−

T568A and T568B swap only the orange and green pairs. Conductors 3 and 6 are one twisted pair, even though contacts 4 and 5 lie between them. Keeping the correct pairs together and limiting untwist at the termination are essential to preserve impedance and noise rejection.


Pins used by each Ethernet type

TechnologyNominal rateData pairsConnector use
10BASE-T10 Mbit/s21–2 and 3–6, separate transmit and receive on a legacy MDI port
100BASE-TX100 Mbit/s21–2 and 3–6, separate transmit and receive on a legacy MDI port
1000BASE-T1 Gbit/s41–2, 3–6, 4–5, and 7–8, bidirectional signalling on every pair
2.5GBASE-T2.5 Gbit/s4All four pairs, bidirectional signalling
5GBASE-T5 Gbit/s4All four pairs, bidirectional signalling
10GBASE-T10 Gbit/s4All four pairs, bidirectional signalling
25GBASE-T25 Gbit/s4All four pairs, Cat 8 / Class I or II application up to 30 m
40GBASE-T40 Gbit/s4All four pairs, Cat 8 / Class I or II application up to 30 m

The T568A/B pinout does not change as the rate increases. The PHY, channel quality, and cabling category determine which mode can be negotiated. With 1000BASE-T and faster links, no pair is spare for data, even when PoE power simultaneously travels in common mode.

25GBASE-T and 40GBASE-T target a 30 m four-pair Class I or Class II channel. The 8P8C interface illustrated here corresponds to the Class I / Category 8.1 family; a Class II / Category 8.2 channel may use another connector interface whose mechanical pinout must be checked separately.

The table gives TX/RX names from the viewpoint of a legacy 10/100BASE-T MDI port. An MDI-X port reverses those roles. They must therefore not be assigned universally to the orange or green colour pair.


Straight-through and crossover cables

Straight-through cable

A straight-through cable uses the same scheme at both ends: T568A–T568A or T568B–T568B. Every pin connects to the same pin number, from 1→1 through 8→8. This is the default patch-cable arrangement.

Legacy 10/100BASE-T crossover

A cable terminated as T568A at one end and T568B at the other swaps the two data pairs used by 10BASE-T and 100BASE-TX:

End 1 pin10/100 MDI signalEnd 2 pinResult
1TX+3Crossed to RX+
2TX−6Crossed to RX−
3RX+1Crossed to TX+
4Not used4Straight through
5Not used5Straight through
6RX−2Crossed to TX−
7Not used7Straight through
8Not used8Straight through

This crossover was used, among other cases, to connect two like devices that did not support Auto MDI-X.

True four-pair crossover

To cross all four pairs explicitly for legacy 1000BASE-T equipment, the two additional pairs must also be exchanged:

End 1End 2
13
26
31
62
47
58
74
85

A simple T568A–T568B cable is therefore only a two-pair crossover, not a complete four-pair crossover. Most modern ports detect and correct pair swapping with Auto MDI-X; check the documentation for old or specialised equipment before making a crossover cable.


Practical checks

  • Use one termination scheme consistently throughout structured cabling unless a documented crossover is required.
  • Test continuity, all eight conductor positions, and correct pair grouping; a simple pin-to-pin tester does not certify high-frequency performance.
  • Select cable category, shielding where needed, and length for the intended rate, EMC environment, and PoE load.
  • Do not confuse T568A/T568B with PoE Alternatives A/B: the former specify colours, while the latter identify powered pairsets.

Related documentation


Official and technical sources

IEEE 802.3, the applicable cabling standard, and the equipment datasheets take precedence over this summary. “RJ45” is used here in its common meaning for the 8P8C modular connector used by Ethernet.