Crossover vs Straight Through Cable: Which Cable or Connector Should You Use?

Run a Speed Test

A practical guide to Crossover vs Straight Through Cable for home and small-office networks: what to buy, how to install it cleanly, how to test it, and what causes slow links. Updated 2026-05-08.

The Problem Crossover Cables Solve

Ethernet ports have a transmit side (TX) and a receive side (RX). When two different device types connect — a computer to a switch, for example — the computer's TX pins connect to the switch's RX pins, and vice versa, because a straight-through cable maps pin 1 to pin 1, pin 2 to pin 2, and so on. This works correctly because a switch port's MDI-X (Medium Dependent Interface Crossover) wiring is the electrical mirror of a computer's MDI wiring.

When two devices of the same type connect directly — computer to computer, or switch to switch — both sides have TX on the same pins. A straight-through cable would connect TX to TX and RX to RX, and nothing would link. A crossover cable swaps the transmit and receive pairs between the two ends, so each side's TX reaches the other side's RX.

Straight-Through vs Crossover Wiring

isp-table”>
Cable TypeEnd A WiringEnd B WiringConnects
Straight-throughT568BT568BComputer ↔ Switch, Router ↔ Switch (unlike device types)
CrossoverT568AT568BComputer ↔ Computer, Switch ↔ Switch (same device types)
Rollover (console)Pin 1–8 on one end = Pin 8–1 on other endReversedPC serial port to router/switch console port (not Ethernet data)

A crossover cable is physically identified by holding both ends side by side with the clip facing the same direction: if the wire colors in the connector are in the same order on both ends, it is straight-through; if pairs 2 and 3 (orange and green) are swapped between the ends, it is crossover.

Auto-MDIX: Why Crossover Cables Are Rarely Needed Today

IEEE 802.3ab (1000BASE-T, 1999) introduced Auto-MDIX — automatic detection of which end is MDI and which is MDI-X, with automatic adjustment. Any switch or network card manufactured after approximately 2003 implements Auto-MDIX. When both ends support Auto-MDIX, the hardware detects the cable type and compensates regardless of whether the cable is straight-through or crossover. The link comes up either way.

The practical consequence: crossover cables are essentially obsolete for modern network equipment. You will still encounter them in older installations, and they are still used in specific contexts — connecting to the console port of older network equipment (using rollover cables), older 10BASE-T and 100BASE-TX equipment predating Auto-MDIX, and some industrial Ethernet devices. For any equipment manufactured in the last 15–20 years, use straight-through patch cords everywhere and do not stock crossover cables.

Frequently Asked Questions

My old switch-to-switch connection stopped working after I replaced a cable — could the new cable be a crossover?

If both switches support Auto-MDIX, a crossover cable would still work — Auto-MDIX adjusts for it. If one or both switches are old enough to lack Auto-MDIX (pre-2003 equipment, some older unmanaged switches), a crossover cable is required for switch-to-switch connections and a straight-through would fail. Test by verifying whether the link comes up at all (wrong cable type for old equipment) or whether it links but has performance problems (unrelated to cable type). A wire map tester will identify whether the cable is straight-through or crossover within seconds.

How do I connect two computers directly without a switch?

On modern computers, use any straight-through Ethernet patch cable — Auto-MDIX on both NICs will negotiate the connection automatically. Assign static IP addresses on the same subnet (e.g., 192.168.1.1/24 and 192.168.1.2/24) or let one machine run DHCP server software. On very old computers (pre-2004 NICs), you would need a crossover cable, but this scenario is uncommon enough that it is not worth maintaining a crossover cable inventory for it.

What is a rollover cable and how is it different from a crossover?

A rollover cable (also called a console cable) reverses all 8 pins: pin 1 on one end connects to pin 8 on the other, pin 2 to pin 7, and so on. It is not used for Ethernet data — it connects a computer's serial port (via a USB-to-serial adapter) to the RJ45 console port on a Cisco or similar router or switch for out-of-band management. Rollover cables are flat and often light blue. They will not carry Ethernet traffic and should not be confused with crossover cables, which carry normal Ethernet data with two pairs swapped.

Related Guides

More From This Section