Analog Devices Inc.
DGTL ISO 5KV RS422/RS485 16SOIC
In Ethernet networking, choosing the correct cable is essential for ensuring reliable communication between devices.
Straight-through and crossover Ethernet cables look similar, but they are designed for different connection scenarios and wiring standards.
Understanding how each cable works, its wiring method and color coding, as well as modern technologies like Auto-MDI/MDI-X help prevent connection issues and troubleshooting.
This article explains the differences between straight-through and crossover Ethernet cables, and when to use each type.
We also provide some practical tips to help you identify them, avoid common mistakes, and choose the right cables for your network setup.
A straight-through cable is a type of Ethernet cable. Its wiring order of the individual conductors is the same on both ends of the cable.
This means pin 1 on one connector is connected to pin 1 on the other connector, pin 2 to pin 2, etc. Straight-through cables use TIA/EIA-568A or TIA/EIA-568B standards for cabling at both ends.
![]()
Straight-through cables often connect different types of network devices, such as a computer to a network switch, a router to a switch, or a modem to a router.
Because the transmit (TX) and receive (RX) pins remain in the same position, the connected devices rely on their internal circuitry to handle communication correctly.
Today, straight-through cables are the most widely used Ethernet cables, especially in modern networks that support Auto-MDI/MDI-X.
![]()
The eight colored wires inside the cable are arranged in the same order at both connectors. Pin 1 connects to Pin 1, Pin 2 to Pin 2, etc. It creates a direct, one-to-one path for the electrical signals.
Its main function is to link different categories of network equipment. It connects an "end device" (like a computer, printer, or smart TV) to a "network device" (like a router, switch, or hub).
To achieve the same wiring terminals, the cable uses one of the two standard wiring patterns: T568A or T568B.
Both ends must follow the same pattern. In most modern installations, especially in the U.S., straight-through cables more commonly use the T568B standard.
It is the standard equipment, most pre-installed "network cables" you buy at an electronics store or online are straight-through cables. They are the default choice for home and office networks.
Almost all modern networking equipment (made in the last 15-20 years) supports an Auto-MDI/MDI-X.
This allows devices to automatically configure their ports. Therefore, almost any connection use a straight-through cable, even when connecting two similar devices.
Because the internal electronics of the devices automatically handle the necessary signal crossings.
![]()
Hold the two plastic connectors side-by-side with the clip facing away from you. If the colored wires are arranged in the exact same order from left to right, you have a straight-through cable.
Traditionally, a straight-through cable is not suitable for direct connection between two identical devices like two computers or two switches.
Because the transmit signals from one device would collide with the transmit signals from the other. In this case, a crossover cable is required, unless the device has an automatic MDI/X.
The internal wires have solid colors and striped colors (like green and green-white). These colors follow T568A or T568B.
This ensures the cable performs correctly, minimizes internal interference (crosstalk), and works at its rated speed (like 1 Gigabit per second).
In office buildings, the permanent cables inside the walls (called "horizontal cabling") use straight-through.
The patch cables from the wall socket to your computer and from the patch panel to the switch in the wiring closet are straight-through. This creates a seamless, end-to-end straight connection.
Due to their universal use, they are the most cost-effective and standardized type of Ethernet cable.
You can replace or extend your network with these cables without worrying about special configurations in most situations.
A crossover cable is a type of Ethernet cable. It directly connects similar network devices by crossing the transmit (TX) and receive (RX) signal pairs between the two ends of the cable.
Unlike a straight-through cable, the wiring order is different on each end. One end typically follows the TIA/EIA-568A standard.
![]()
The other follows TIA/EIA-568B. This crossing allows the sending pins on one device to align with the receiving pins on the other.
Traditionally, when the devices did not support automatic signal detection, crossover cables were used for connections such as computer-to-computer, switch-to-switch, or router-to-router.
While modern networking with Auto-MDI/MDI-X automatically adjust pin assignments, crossover cables are useful in legacy networks and troubleshooting or direct-link scenarios.
![]()
The internal wires are crossed over at one end. Specifically, the transmit (TX) and receive (RX) signal pairs are swapped.
This means Pin 1 at one end connects to Pin 3 at the other, and Pin 2 connects to Pin 6. This crossing allows two similar devices to communicate directly.
It connects two devices of the same type without a switch or hub. It lets the transmit signals from one device to directly receive pins of the other device, enabling communication.
To create the crossover, one end of the cable uses the T568A standard, and the other end uses the T568B. The specific combination of the two standards performs the swap of the signal pairs.
Straight-through cable creates problem for two same devices (e.g. two computers), both transmit signals on the same pins. The crossover cable fixes this and allow for proper conversation.
Before the widespread adoption of Auto-MDI/X, a crossover cable was used for direct connections like: computer to computer; switch to switch; router to router.
It remains crucial for configuring older gear or certain enterprise-level equipment that may have the auto-detection disabled.
![]()
While many modern devices with Auto-MDI/X can use a straight-through cable for any connection, a physical crossover cable is still a vital tool for network technicians.
If a direct connection between devices isn't working, swapping a straight-through cable for a crossover cable (or vice-versa) is a fundamental troubleshooting step.
You can identify it by looking the two connectors. Hold them side-by-side with the clips facing down.
Compared to the other connectors, if the order of the colored wires is different in a different order, it is a crossover cable. Specifically, you will see the green and orange wire pairs swapped.
You will not typically find crossover cables in standard consumer packs. They are a specialty item. They are often labeled with a printed "XOVER".
Additionally, they have a different colored jacket (like yellow or red) to distinguish them from standard straight-through (often blue or gray) patch cables.
It is designed for a single, direct connection between two devices. You cannot use it to connect more than two devices together. Therefore, you need a switch and straight-through cables.
If at least one device has automatic MDI/X capability, crossover cables will still work even if a straight-through cable is required.
The auto-detection will correct the signal path. This makes crossover cables versatile for technicians' toolkits.
Ethernet cable wiring defines the arrangement of the eight internal wires on each RJ45 connector, which determines whether the cable is straight-through or crossover.
Straight-Through Cable Wiring
For a straight-through cable, the wiring sequence is identical on both ends. Both connectors follow the same standard, either TIA/EIA-568A or TIA/EIA-568B.
This means pin 1 connects to pin 1, pin 2 to pin 2, and so on. It creats a direct, one-to-one connection across the cable.
Crossover Cable Wiring
In contrast, a crossover cable uses different wiring standards on each end, typically 568A on one end and 568B on the other.
This arrangement crosses the transmit and receive pairs (pins 1↔3 and 2↔6 in 10/100 Mbps Ethernet), allowing similar devices to send and receive data without additional hardware.
Understanding wiring differences is essential when crimping Ethernet cables or troubleshooting network connectivity issues, especially in legacy equipment that lacks Auto-MDI/MDI-X.
Ethernet cable color coding follows the TIA/EIA-568A and TIA/EIA-568B standards, which define the order of the colored wire pairs inside an RJ45 connector.
Understanding these color codes makes it easy to distinguish between straight-through and crossover cables.
![]()
| Pin | Wire Color | Signal | Description |
|---|---|---|---|
| 1 | White/Green | TX1+ | Transmit + |
| 2 | Green | TX1- | Transmit - |
| 3 | White/Orange | RX+ | Receive + |
| 4 | Blue | TX2+ | Bi-Directional Transmit + |
| 5 | White/Blue | TX2- | Bi-Directional Transmit - |
| 6 | Orange | RX- | Receive - |
| 7 | White/Brown | TX3+ | Bi-Directional Transmit + |
| 8 | Brown | TX3- | Bi-Directional Transmit - |
![]()
| Pin | Wire color | Signal | Description |
|---|---|---|---|
| 1 | White/Orange | TX1+ | Transmit + |
| 2 | Orange | TX1- | Transmit - |
| 3 | White/Green | RX+ | Receive + |
| 4 | Blue | TX2+ | Bi-Directional Transmit + |
| 5 | White/Blue | TX2- | Bi-Directional Transmit - |
| 6 | Green | RX- | Receive - |
| 7 | White/Brown | TX3+ | Bi-Directional Transmit + |
| 8 | Brown | TX3- | Bi-Directional Transmit - |
For a straight-through cable, the color sequence is the same on both ends. This means both connectors use 568A-to-568A or 568B-to-568B wiring.
When you place the two connectors side by side with the clips facing down, the wire colors is in the exact same order on each end.
A crossover cable uses different color standards on each end—typically 568A on one end and 568B on the other.
This results in the green and orange wire pairs being swapped, which crosses the transmit and receive signals. Visually, the wires at both ends of a network cable are in different colors.
Auto-MDI/MDI-X is a networking function that allows Ethernet ports to automatically detect and adjust the transmit (TX) and receive (RX) signal pairs.
![]()
With this technology, a device can determine whether it is connected to a similar or different device and internally switch the wiring as needed.
This eliminates the requirement to manually choose between straight-through and crossover cables.
![]()
In traditional networks without Auto-MDI/MDI-X, straight-through cables were used for connecting different devices. Crossover cables were required for connecting similar devices.
Auto-MDI/MDI-X simplifies this process by making most modern switches, and network interface cards to compatible with both cables. This reduces wiring errors and makes network setup faster and more flexible.
![]()
A straight-through cable connects different types of network devices, where the transmit (TX) and receive (RX) pairs do not need to be crossed manually. Typical situations include:
A straight-through cable connects a computer to a network switch. This allows seamless communication for data transfer, internet access, and network services. It is commonly used in office and home networks.
When linking a router to a network switch, a straight-through cable ensures proper communication between the devices.
This setup allows multiple devices connected to the switch to access the router and the internet. It is a standard practice in LAN setups.
Connecting a modem to a router using a straight-through cable allows the router to receive the internet signal from the modem.
![]()
This setup is crucial for sharing the internet across multiple devices. Most ISPs recommend using a straight-through cable for this connection.
When connecting a PC directly to a network-enabled printer (via a switch or hub), a straight-through network cable is required.
The cable allows efficient print job communication without interference. It is commonly used in office environments where multiple devices share a network printer.
Using a straight-through Ethernet cable is the ideal choice to connect your computer directly to the router's LAN port.
The cable maintains the correct signal direction so that the computer can communicate with other devices on the network.
This setup is often used when configuring the router or establishing wired internet access. It avoids the need for additional crossover wiring.
![]()
A crossover cable is used to connect similar devices directly. It is needed to swap transmit and receive lines to enable communication. Typical situations include:
When connecting two PCs directly without using a switch, a crossover cable is required. The transmit pin of one computer is cross-connected with the receive pin of the other computer.
This allows file sharing, gaming, or data transfer between the two computers. It is useful for temporary or small-scale network setups.
When linking two switches in network without uplink port or Auto-MDI/MDI-X, a crossover cable is required. The cable swaps the transmit and receive pairs, the data flow between switches.
This connection helps expand the network to additional devices. It is often used in older networking equipment.
Connecting two network hubs directly requires a crossover cable. The cable ensures that the output signals from one hub match the input signals on the other.
![]()
This allows multiple devices on both hubs to communicate as if they were on the same network. Hubs are mostly legacy devices, but crossover cables remain useful for them.
If you need to connect two routers directly and they do not support Auto-MDI/MDI-X, a crossover cable is necessary. It connect the the transmit and receive lines between the routers.
This setup allows proper routing of data between the two networks. It is less common today but still applicable in certain special settings.
Older network devices such as unmanaged switches, hubs, or early network interface cards may require crossover cables for direct connections.
The cable compensates for lack of automatic transmit/receive detection. Crossover cables remain important for maintaining or troubleshooting legacy networks.
![]()
If you carefully inspect the wiring through the transparent RJ45 connectors, identifying whether an Ethernet cable is straight-through or crossover is relatively simple. The method is as follows:
-End A: White-orange, Orange, White-green, Blue, …
-End B: Same order: White-orange, Orange, White-green, Blue… → it’s a straight-through cable.
If the color sequence differ, with the green and orange pairs swapped (usually 568A on one end and 568B on the other), it is a crossover cable.
| Feature | Straight-Through | Crossover |
|---|---|---|
| Wiring Pattern | Same wiring order on both sides | Different wiring order on each end |
| Typical Connection | Dissimilar devices (PC→Switch) | Similar devices (PC→PC) |
| Pin/Pair Behaviour | 1→1, 2→2, 3→3, etc. | 1→3, 2→6, etc. |
| Modern Relevance | Standard for most setups | Less common due to Auto-MDI-X |
| Important When | Safe default for most installs | Needed for direct-connect of like device |
| Feature | Straight-Through Cable | Crossover Cable |
|---|---|---|
| Wiring Configuration | Same wiring standard on both ends (568A–568A or 568B–568B) | Different wiring standards on each end (568A–568B) |
| Wire Color Order | Identical color sequence on both RJ45 connectors | Color sequence differs between connectors |
| Transmit/Receive Pairs | TX and RX pairs remain unchanged | TX and RX pairs are crossed |
| Main Function | Connects different types of network devices | Connects similar network devices directly |
| Device Examples | PC to switch, router to switch, modem to router | PC to PC, switch to switch, router to router |
| Ease of Identification | Easy—same wire order on both ends | Easy—different wire order on each end |
| Compatibility with Auto-MDI/MDI-X | Fully compatible | Often unnecessary when Auto-MDI/MDI-X is supported |
| Installation Difficulty | Simple to crimp and test | Slightly more complex wiring |
| Typical Cable Categories | Cat5e, Cat6, Cat6a | Cat5e, Cat6 |
| Color Coding | Usually TIA/EIA-568B on both ends | One end TIA/EIA-568A, other TIA/EIA-568B |
| Availability | Widely available | Less common, used for specific networking needs |
| Application | Home, office, and enterprise networks | Testing, diagnostics, legacy systems |
![]()
Using a crossover cable instead of a straight-through cable (or vice versa) can prevent devices from communicating, especially with older hardware that lacks Auto-MDI/MDI-X.
Selecting a cable with a lower category rating than needed (e.g., Cat5 instead of Cat6) can limit network speed and reduce overall performance.
Poorly crimped connectors or mixed wiring standards can cause intermittent connections and difficult to diagnose network issues.
Relying on Auto-MDI/MDI-X without confirming device support may lead to unexpected connectivity problems in legacy networks.
Cables exceeding the recommended lengths can suffer from signal degradation, leading to slow or unstable connections.
Low-quality or unshielded cables in high-interference environments can introduce noise and packet loss.
Understanding the differences between straight-through and crossover Ethernet cables is essential for building reliable and efficient networks.
While straight-through cables are the standard choice for connecting different devices, crossover cables is useful for direct connections between similar devices, especially in legacy environments.
Knowing how to identify each cable, recognize proper wiring and color coding, and avoid common selection mistakes can save time and prevent connectivity issues.
Crossover cables are not needed for most modern devices. Modern network devices with Auto-MDI/MDIX technology, which automatically adjusts connections.
RJ45 cables are typically straight-through (TIA/EIA-568A or 568B on both ends) for connecting different devices like computers to switches.
Straight-through cables are generally preferred today. They universally with modern devices that auto-detect connections. Crossover cables are needed for connecting similar devices directly without auto-sensing capability.
A straight-through cable is used to connect devices like computers to switches or routers. They are the standard for most home and office networks for everyday internet and data sharing.
Typically, you do not need a crossover cable to connect two routers if one router supports auto-MDIX. However, almost all routers produced in the last decade feature Auto-MDIX technology.
If straight ethernet cables are properly manufactured and within standard lengths (under 100 meters or ~328 feet), they do not affect internet speed and provide more stable, faster connections than Wi-Fi.
For the fastest speeds, Cat8 is the best choice. It supports up to 40Gbps over short distances and is ideal for data centers.
In most modern networking, not using a crossover cable will cause no issues. If you don’t use a crossover cable when connecting two older devices without auto-MDIX directly, the connection will fail.
Straight-through cables connect different device types using the same wiring standard and is for standard networking; Crossover cables connect similar devices by swapping transmit/receive pairs and is for direct peer-to-peer links.
Yes. You can use a crossover cable as a regular Ethernet cable with most modern devices. Because Auto-MDIX detects automatically and adjusts the connection, making them interchangeable.
Yes. You can split an Ethernet cable for two devices. However, using a small, powered Ethernet Switch is better option, giving full speeds.
Extended More:
A23 Alkaline Battery Specs, Equivalent, Uses and Replacement
What Size Wire For A 60 Amp Circuit Breaker?
A23 vs 23A, A27, N-cell (E90), AAA, 2/3AAA, CR2 Battery
How Many Amps Can 16 Gauge Wire Handle? All You Need to Know
Are CR2016 and CR2025 Batteries Interchangeable?