The difference between a crossover cable and a straight-through cable comes down to one thing: how the eight wires inside the cable are arranged at each end. Worth adding: a straight-through cable keeps the same pin order on both ends, while a crossover cable swaps the transmit and receive pairs. Understanding this single detail tells you which cable to grab when connecting two computers, a switch to a router, or any pair of network devices — and it explains why modern auto-MDIX hardware has made the choice far less stressful than it used to be Small thing, real impact. That's the whole idea..
What Is a Straight-Through Cable?
A straight-through cable is the standard Ethernet patch cable you have almost certainly used. In real terms, both ends follow the same wiring standard, either T568A on both sides or T568B on both sides. Pin 1 connects to pin 1, pin 2 to pin 2, all the way to pin 8.
Because the pinout is identical, a straight-through cable is often described as a "1-to-1" cable. It is the default for:
- Connecting a computer to a switch or hub
- Connecting a switch to a router
- Connecting a router to a modem or ONT
- Patch panels to wall jacks
- Any run between unlike devices
The two recognised colour codes are:
- T568A — white/green, green, white/orange, blue, white/blue, orange, white/brown, brown
- T568B — white/orange, orange, white/green, blue, white/blue, green, white/brown, brown
T568B is more common in commercial installations; T568A is often preferred in residential and government work. What matters is consistency, not which one you pick.
What Is a Crossover Cable?
A crossover cable uses T568A on one end and T568B on the other. That mismatch deliberately crosses the transmit pair with the receive pair, so the two devices can talk without an intermediary.
In practice, the swap affects four pins:
- Pin 1 ↔ Pin 3
- Pin 2 ↔ Pin 6
- Pins 4, 5, 7, 8 stay straight through
Crossover cables are used to connect like devices directly:
- Computer to computer
- Switch to switch
- Hub to hub
- Router to router
- Computer to router (both behave as the same interface type)
The Core Difference: Pin-to-Pin Wiring
| Pin | Straight-Through (both ends) | Crossover (A end → B end) |
|---|---|---|
| 1 | Pin 1 → Pin 1 | Pin 1 → Pin 3 |
| 2 | Pin 2 → Pin 2 | Pin 2 → Pin 6 |
| 3 | Pin 3 → Pin 3 | Pin 3 → Pin 1 |
| 4 | Pin 4 → Pin 4 | Pin 4 → Pin 4 |
| 5 | Pin 5 → Pin 5 | Pin 5 → Pin 5 |
| 6 | Pin 6 → Pin 6 | Pin 6 → Pin 2 |
| 7 | Pin 7 → Pin 7 | Pin 7 → Pin 7 |
| 8 | Pin 8 → Pin 8 | Pin 8 → Pin 8 |
It sounds simple, but the gap is usually here The details matter here..
Everything else — the twisted-pair copper, the RJ45 connectors, the category rating, the maximum length — is identical. A crossover cable is not faster, stronger, or "better." It is simply wired for a different job.
Why the Wiring Matters: MDI and MDI-X Explained
Ethernet over twisted pair separates sending from listening. On 10BASE-T and 100BASE-TX, pins 1 and 2 transmit while pins 3 and 6 receive. If you connect two devices that both transmit on pins 1 and 2, their signals collide and nothing is heard That's the whole idea..
This is where MDI and MDI-X come in:
- MDI (Medium Dependent Interface) is used by end devices such as PCs, servers, and printers. They transmit on 1–2