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.
RJ45 connector — physical orientation:
Hold connector with:
- Locking clip (tab) facing DOWN
- Gold contacts (pins) facing TOWARD you
Front view (contacts visible):
+----------------------------------+
| 1 2 3 4 5 6 7 8 |
| # # # # # # # # | <- gold contact pins
+----------------------------------+
^ ^
Pin 1 Pin 8
(left) (right)
CRITICAL: Pin orientation determines the entire wiring standard.
Always confirm orientation before crimping -- reversing it
produces a non-functional cable with no visible difference.
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.
Four twisted pairs inside a Cat5e/Cat6 cable:
Pair 1: Blue / White-Blue (pins 4 and 5)
Pair 2: Orange / White-Orange (pins 1 and 2 in T568B; pins 3 and 6 in T568A)
Pair 3: Green / White-Green (pins 3 and 6 in T568B; pins 1 and 2 in T568A)
Pair 4: Brown / White-Brown (pins 7 and 8)
Differential signalling (how each pair works):
Wire A (+) ──────────────────────────────────
\ signal (+ noise) / signal + noise
Wire B (-) ──────────────────────────────────
(inverted complement)
Receiver subtracts B from A:
(signal + noise) - (-signal + noise) = 2 x signal
Noise on both wires cancels out completely.
Why pairs must NOT be split:
Pins 1+2 must be the same physical pair.
Pins 3+6 must be the same physical pair.
Mixing wires from different pairs (split pair) passes
basic continuity testing but fails Gigabit due to crosstalk.
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 comparison: STRAIGHT-THROUGH: CROSSOVER: ROLLOVER (Console): End A: T568B End A: T568B End A: any End B: T568B End B: T568A End B: complete reversal Pin 1 --- Pin 1 Pin 1 --- Pin 3 Pin 1 --- Pin 8 Pin 2 --- Pin 2 Pin 2 --- Pin 6 Pin 2 --- Pin 7 Pin 3 --- Pin 3 Pin 3 --- Pin 1 Pin 3 --- Pin 6 Pin 4 --- Pin 4 Pin 4 --- Pin 4 Pin 4 --- Pin 5 Pin 5 --- Pin 5 Pin 5 --- Pin 5 Pin 5 --- Pin 4 Pin 6 --- Pin 6 Pin 6 --- Pin 2 Pin 6 --- Pin 3 Pin 7 --- Pin 7 Pin 7 --- Pin 7 Pin 7 --- Pin 2 Pin 8 --- Pin 8 Pin 8 --- Pin 8 Pin 8 --- Pin 1
| 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.
100BASE-TX (Fast Ethernet) -- 2 pairs used: Pins 1,2 = Transmit pair (TX+/TX-) Pins 3,6 = Receive pair (RX+/RX-) Pins 4,5 and 7,8 = NOT used for data (but used for PoE) 1000BASE-T (Gigabit Ethernet) -- all 4 pairs used: Pins 1,2 = Bidirectional pair A (simultaneous TX/RX using DSP) Pins 3,6 = Bidirectional pair B Pins 4,5 = Bidirectional pair C Pins 7,8 = Bidirectional pair D ALL FOUR pairs carry data simultaneously in both directions Practical impact: A cable with split pairs or damaged blue/brown pairs: - Works fine at 100 Mbps (only two pairs needed) - FAILS to negotiate Gigabit (all four pairs required) This is a common field issue -- link auto-negotiates down to 100 Mbps with no obvious explanation.
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.
Step-by-step RJ45 termination (T568B): Step 1 -- Strip jacket: Remove ~25-30 mm (1 inch) of outer jacket using a cable stripper. Rotate firmly; do not cut through wire insulation. Too shallow = jacket won't release. Too deep = cuts insulation = intermittent fault. Step 2 -- Untwist and fan out pairs: Separate all four twisted pairs. Untwist each pair. Fan out all eight wires. Keep untwisted length MINIMAL -- less than 13 mm (0.5 inch) to preserve crosstalk performance. Step 3 -- Order wires per T568B: Left to right: WO | O | WG | B | WB | G | WBr | Br (Pin 1 through Pin 8) Flatten all 8 wires side by side, maintaining colour order. Step 4 -- Trim to length: Trim squarely at ~13 mm from jacket edge. All wires must be equal length -- uneven wires cause poor contact. Square cut ensures all pins seat simultaneously. Step 5 -- Insert into connector: Orient connector: clip DOWN, contacts FACING you. Insert wires fully -- each wire must reach the front wall. Verify colour order through the clear plastic. The jacket should enter the connector ~6 mm for strain relief. Step 6 -- Crimp: Place in crimping tool; squeeze firmly until ratchet releases. This drives IDC contacts through insulation and clamps strain relief onto jacket. A half-crimp will not seat contacts. Step 7 -- Other end: Straight-through: same T568B order. Crossover: T568A order (WG-G-WO-B-WB-O-WBr-Br). Step 8 -- Test: Connect both ends to cable tester. Verify all 8 pins, no opens, no shorts, no miswires.
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.
Without Auto-MDIX (older equipment): PC ---straight-through---> Switch Works SW ---crossover----------> Switch Works SW ---straight-through---> Switch FAILS (TX-to-TX, no crossing) PC ---crossover----------> Switch FAILS (double crossing) With Auto-MDIX (modern equipment -- default on Cisco IOS): Any cable type ---> Any port Works (MDIX auto-detects)
! 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