RJ45 Pinouts – T568A vs T568B, Straight-Through, Crossover & PoE Wiring
1. The RJ45 Connector
The RJ45 connector (Registered Jack 45) is the 8-position, 8-contact (8P8C) modular plug used to terminate twisted-pair Ethernet cables. It is the physical connector for all copper Ethernet standards from 10BASE-T through 10GBASE-T, and is used on network interface cards, switches, routers, patch panels, wall jacks, and IP phones.
Related pages: Ethernet Standards | Cable Types | Fiber vs Copper | Cable Testing Tools | LAN Fundamentals | OSI Model (Layer 1 & 2) | show interfaces (fault diagnosis) | RJ45 Cable Termination Lab | Cable Testing & Verification Lab
2. Twisted Pair Structure — Why Pairs Matter
A Cat5e/Cat6 cable contains four twisted pairs (8 wires total). The twisting of each pair cancels electromagnetic interference (EMI) through differential signalling and reduces crosstalk between adjacent pairs. Each pair carries one differential signal: one wire carries the positive (+) signal and the other carries the negative (−) complement.
3. T568A Wiring Standard — Full Pinout
T568A is defined in ANSI/TIA-568 and is the preferred standard for new U.S. government and federal installations, and is also the international preference per ISO/IEC 11801.
| Pin | T568A Colour | Pair | Signal (100BASE-TX) | Signal (1000BASE-T) |
|---|---|---|---|---|
| 1 | White/Green | Pair 3 (+) | TX+ (Transmit positive) | BI_DA+ (Bidirectional A+) |
| 2 | Green | Pair 3 (−) | TX− (Transmit negative) | BI_DA− (Bidirectional A−) |
| 3 | White/Orange | Pair 2 (+) | RX+ (Receive positive) | BI_DB+ (Bidirectional B+) |
| 4 | Blue | Pair 1 (+) | Unused (100BASE-TX) | BI_DC+ (Bidirectional C+) |
| 5 | White/Blue | Pair 1 (−) | Unused (100BASE-TX) | BI_DC− (Bidirectional C−) |
| 6 | Orange | Pair 2 (−) | RX− (Receive negative) | BI_DB− (Bidirectional B−) |
| 7 | White/Brown | Pair 4 (+) | Unused (100BASE-TX) | BI_DD+ (Bidirectional D+) |
| 8 | Brown | Pair 4 (−) | Unused (100BASE-TX) | BI_DD− (Bidirectional D−) |
(White/Green, Green, White/Orange, Blue, White/Blue, Orange, White/Brown, Brown)
4. T568B Wiring Standard — Full Pinout
T568B is more common in commercial and legacy North American installations. Both T568A and T568B are electrically equivalent — the only difference is the position of the orange and green pairs (pins 1,2 and 3,6).
| Pin | T568B Colour | Pair | Signal (100BASE-TX) | Signal (1000BASE-T) |
|---|---|---|---|---|
| 1 | White/Orange | Pair 2 (+) | TX+ (Transmit positive) | BI_DA+ |
| 2 | Orange | Pair 2 (−) | TX− (Transmit negative) | BI_DA− |
| 3 | White/Green | Pair 3 (+) | RX+ (Receive positive) | BI_DB+ |
| 4 | Blue | Pair 1 (+) | Unused (100BASE-TX) | BI_DC+ |
| 5 | White/Blue | Pair 1 (−) | Unused (100BASE-TX) | BI_DC− |
| 6 | Green | Pair 3 (−) | RX− (Receive negative) | BI_DB− |
| 7 | White/Brown | Pair 4 (+) | Unused (100BASE-TX) | BI_DD+ |
| 8 | Brown | Pair 4 (−) | Unused (100BASE-TX) | BI_DD− |
(White/Orange, Orange, White/Green, Blue, White/Blue, Green, White/Brown, Brown)
5. T568A vs T568B — Side-by-Side Comparison
| Pin | T568A Colour | T568B Colour | Same? |
|---|---|---|---|
| 1 | White/Green | White/Orange | Different |
| 2 | Green | Orange | Different |
| 3 | White/Orange | White/Green | Different |
| 4 | Blue | Blue | Same |
| 5 | White/Blue | White/Blue | Same |
| 6 | Orange | Green | Different |
| 7 | White/Brown | White/Brown | Same |
| 8 | Brown | Brown | Same |
Only four pins differ — 1, 2, 3, and 6. The green and orange pairs simply swap positions. Pins 4, 5, 7, and 8 (blue and brown pairs) are identical in both standards. Both are electrically equivalent — neither is faster or better. Consistency throughout an installation is what matters.
| Criteria | T568A | T568B |
|---|---|---|
| Global preference | International standard (ISO/IEC 11801) | North American commercial preference |
| U.S. Government | Required for federal installations (per TIA-568) | Not specified for federal use |
| Legacy compatibility | Compatible with older USOC voice wiring | Most existing N. American installations use T568B |
| New deployments | Preferred for greenfield installations | Acceptable; widely used in commercial environments |
| Crossover cable | One end of a crossover cable is T568A | Other end of a crossover cable is T568B |
6. Straight-Through, Crossover, and Rollover Cables
| Cable Type | Wiring | Use Cases | Why It Works |
|---|---|---|---|
| Straight-Through | Both ends identical (T568B–T568B or T568A–T568A) | PC/server to switch, PC/server to router, switch to router, IP phone to switch, AP to switch | TX pins (1,2) of the DTE connect to RX pins (1,2) of the switch; the switch internally crosses pairs — the switch handles the signal crossing internally |
| Crossover | One end T568A, other end T568B | PC to PC (direct), switch to switch (no uplink port), router to router, hub to hub — connecting two like devices | TX pins (1,2) of Device A connect directly to RX pins (3,6) of Device B — the cable itself performs the crossing since neither device crosses internally |
| Rollover (Console) | Complete pin reversal (pin 1 connects to pin 8, etc.) | PC/laptop to Cisco router/switch console port via RJ45 (with USB-to-serial or DB-9 adapter) | Not an Ethernet cable — carries RS-232 serial signals for out-of-band management; connects to console port only, not Ethernet ports |
| Loopback | TX pins (1,2) wired to RX pins (3,6) within the same plug | Testing NIC transmit/receive circuitry, port diagnostics | Loops transmitted signal back into receiver — used by diagnostic software to test the interface hardware |
7. 100BASE-TX vs 1000BASE-T Pin Usage
The number of active pairs differs significantly between Fast Ethernet and Gigabit Ethernet — this has important implications for cabling faults and PoE deployment.
8. PoE — Power over Ethernet and Pin Pairs
PoE delivers DC power to connected devices through the same RJ45 cable as data. Understanding which pin pairs carry power matters for troubleshooting and ensuring cabling supports PoE. See also: Voice VLAN for IP phone port configuration.
| PoE Standard | IEEE Standard | Max Power | Power Pairs Used | Notes |
|---|---|---|---|---|
| PoE | 802.3af | 15.4 W | Mode A: pins 1,2 and 3,6 Mode B: pins 4,5 and 7,8 |
DC voltage superimposed on data or spare pairs; Cat5e minimum |
| PoE+ | 802.3at | 30 W | Same as 802.3af | Higher current on same pairs; Cat5e minimum |
| PoE++ Type 3 | 802.3bt | 60 W | All four pairs (Mode A + Mode B simultaneously) | Requires all four pairs intact; Cat6 recommended |
| PoE++ Type 4 | 802.3bt | 100 W | All four pairs | Cat6A required for long runs; powers thin clients, displays, high-load APs |
9. Cable Categories — Choosing the Right Cable
| Category | Max Bandwidth | Max Speed / Distance | Typical Use |
|---|---|---|---|
| Cat5e | 100 MHz | 1 Gbps / 100 m | Minimum for new installations; supports 802.3af/at PoE |
| Cat6 | 250 MHz | 1 Gbps / 100 m; 10 Gbps / 55 m | Recommended for new deployments; better crosstalk rejection; supports PoE++ |
| Cat6A | 500 MHz | 10 Gbps / 100 m | 10GBASE-T at full 100 m; high-density PoE++ (100W); data centres |
| Cat7 | 600 MHz | 10 Gbps / 100 m | Industrial / high-EMI environments; uses GG45/TERA connectors (not standard RJ45) |
| Cat8 | 2000 MHz | 25–40 Gbps / 30 m | Data centre top-of-rack switch connections; short-run server links |
See Ethernet Standards and Fiber vs Copper for speed/distance comparisons across all cable types and fibre options.
10. Step-by-Step Cable Termination
Tools required: Cable stripper, RJ45 crimping tool, RJ45 connectors (8P8C), cable tester.
11. Cable Faults — Types and Diagnosis
| Fault Type | Definition | Cause | Tester Indication | Fix |
|---|---|---|---|---|
| Miswire | Wires connected to wrong pins at one or both ends | Incorrect colour order; mixed T568A/B on straight-through cable | Pins show out-of-sequence (e.g., pin 1 maps to pin 3) | Re-terminate faulty end in correct colour order |
| Open circuit | A wire has no continuity | Wire not fully inserted; broken wire; damaged pin | Pin absent from tester readout on remote end | Re-strip and re-terminate; replace cable if mid-run break |
| Short circuit | Two or more wires electrically connected | Damaged insulation; excessive strip damage; bent pin | Two pins show connected to same remote pin | Re-terminate; inspect insulation; replace if mid-cable |
| Split pair | Wires from different pairs used together on same position | Wiring pins 1 and 3 together instead of 1 and 2 | Basic continuity PASSES; elevated NEXT on advanced tester; link works at 100 Mbps but fails Gigabit | Re-terminate keeping same-pair wires together; verify with NEXT-capable certifier |
| Reversed pair | Both wires of a pair connected but polarity swapped | White/colour wire and colour wire swapped within a pair | Tester shows pair reversed (e.g., pin 1 maps to pin 2 on remote) | Re-terminate; keep stripe wire before solid within each pair |
See Cable Testing Tools for a full guide
to cable testers, toners, and certifiers. Use
show interfaces on Cisco IOS
to check for input errors caused by physical cable faults.
12. Auto-MDIX — Modern Cable Flexibility
Auto-MDIX automatically detects whether a straight-through or crossover cable is connected and adjusts the port's internal circuitry. This eliminates cable-type confusion on modern equipment.
! Verify Auto-MDIX on Cisco IOS: Switch# show interfaces GigabitEthernet0/1 | include MDIX Medium is copper, Auto-MDIX enabled ! Disable Auto-MDIX: Switch(config-if)# no mdix auto ! Re-enable Auto-MDIX: Switch(config-if)# mdix auto
13. Standards Compliance, Labelling, and Best Practices
- Choose one standard per site: Never mix T568A and T568B randomly in the same installation — mixing creates accidental crossover cables.
- Label every cable: Mark both ends with a unique identifier (e.g., "Rm101-PC1-SW-Gi1/0/5"). Labels prevent hours of troubleshooting.
- Test after termination: Test every cable before installing in wall plates or raceways. Fixing in a bundle takes seconds; after installation takes hours.
- Document the installation: Record port-to-device mappings, cable lengths, and test results. Required for enterprise installations.
- Minimum bend radius: Do not kink Cat5e/Cat6 cables — minimum bend radius is 4× cable diameter. Kinks change twist geometry and degrade crosstalk performance.
- Maximum cable run: 100 m total (90 m permanent link + 10 m patch cords). Exceeding this causes signal degradation and Gigabit negotiation failure.
- Untwist minimally: Keep untwisted length under 13 mm inside the connector. Excessive untwisting is the leading cause of split pairs and NEXT failures on certified cabling.
14. Key Points & Exam Tips
- RJ45 pin 1 is on the left when holding the connector with the clip down and contacts facing you.
- T568A (pins 1-8): WG, G, WO, B, WB, O, WBr, Br. — T568B (pins 1-8): WO, O, WG, B, WB, G, WBr, Br. Only pins 1, 2, 3, 6 differ — green and orange pairs swap.
- Straight-through: Both ends same standard → connects unlike devices (PC to switch, PC to router). Crossover: T568A one end, T568B the other → connects like devices (switch to switch, PC to PC).
- Rollover (console) cable: Complete pin reversal (1↔8) → PC to Cisco console port; carries RS-232 serial, not Ethernet.
- 100BASE-TX uses only 2 pairs (pins 1,2 and 3,6). 1000BASE-T uses all 4 pairs — a cable with blue/brown pair faults works at 100 Mbps but fails Gigabit.
- PoE 802.3af/at uses Mode A (data pairs) or Mode B (spare pairs). PoE++ 802.3bt (60W/100W) requires all four pairs; Cat6A for long runs.
- Split pair passes basic continuity testing but causes crosstalk and Gigabit failure. Only a cable certifier with NEXT measurement will detect it.
- Auto-MDIX allows modern devices to auto-detect cable type — know the manual rules for the CCNA exam.
- Maximum run: 100 m. Minimum bend radius: 4× cable diameter. Cat6A for 10 Gbps at full 100 m runs.
Related pages: Ethernet Standards | Fiber vs Copper | Cable Testing Tools | LAN Fundamentals | RJ45 Cable Termination Lab | Cable Testing & Verification Lab
15. RJ45 Pinouts and Wiring Standards Quiz
Related Topics & Step-by-Step Tutorials
Continue your cabling and physical layer studies:
- Ethernet Cable Standards — IEEE 802.3 — 10/100/1G/10G Ethernet standards
- Network Cable Types – UTP, STP, Coax & Fibre — Cat5e, Cat6, fibre — specifications and use cases
- Fiber Optic vs Copper Cable – Complete Comparison Guide — single-mode, multi-mode fibre vs UTP comparison
- RJ45 Pinouts — T568A/B pinout, straight-through vs crossover
- Structured Cabling — TIA-568 — horizontal, backbone, patch panels
- Cable Testing Tools – Complete Guide — continuity testers, TDR, certification testers
- OSI Model – All 7 Layers Explained — physical and data link layers in context