What are Straight and Crossover cable?

Follow Us:

Ethernet cables can be wired as straight-through or crossover. The straight-through is the most common type and is used to connect computers to hubs or switches. Crossover cables are less common and mainly used to connect similar devices directly, such as one computer to another.

What Is Straight-Through Cable?

A straight-through cable is a type of twisted pair Ethernet cable used in local area networks (LANs) to connect different types of devices, such as a computer to a switch or router. On a straight-through cable, both ends follow the same wiring standard — either T568A or T568B. That means the wire colors on both ends match exactly.

Typical Uses of Straight-Through Cable:

  • Connect a computer to a switch or hub's normal port.
  • Connect a computer to a cable/DSL modem's LAN port.
  • Connect a router's WAN port to a modem's LAN port.
  • Connect a router's LAN port to a switch/hub's uplink port (for expanding network).
  • Connect two switches/hubs with one uplink port and one normal port.

Straight-Through Cable T568B wiring diagram

How to Identify a Straight-Through Cable

Check the wire colors at both connectors (RJ45 ends). If they have the same color order (both T568A or both T568B), it’s a straight-through cable.


What Is Crossover Cable?

An Ethernet crossover cable is used to connect two similar devices directly, such as two computers or two switches. It uses two different wiring standards — one end T568A and the other end T568B — which reverses the transmit and receive pairs inside the cable.

Crossover Cable wiring diagram showing T568A and T568B

Typical Uses of Crossover Cable

  • Connect one computer directly to another computer.
  • Connect two switches or hubs without an uplink port.
  • Connect two routers for direct communication in testing environments.

Straight-Through vs Crossover Cable Comparison

Feature Straight-Through Cable Crossover Cable
Wiring Standard Both ends same (T568A–T568A or T568B–T568B) Different ends (T568A–T568B)
Device Connection Type Different devices (PC → Switch/Router) Similar devices (PC → PC, Switch → Switch)
Signal Direction Transmit/Receive straight Transmit/Receive crossed
Common Use Daily network connections Direct testing or peer-to-peer link

FAQ: Common Questions About Ethernet Cables

Q1: What is a straight through cable?

A straight through cable is an Ethernet cable where both ends use the same wiring standard (T568A or T568B). It is used to connect different types of devices, such as a computer to a switch or router.

Q2: Which is better, straight through or crossover?

It depends on your use case. Straight through cables are ideal for connecting different types of devices, while crossover cables are used for connecting similar devices directly, like two computers or two switches.

Q3: What is another name for a straight through cable?

Straight through cables are also called patch cables or Ethernet patch cords, commonly used in LAN environments for everyday network connections.

Q4: Are straight-through cables still used today?

Yes, straight through cables are still widely used today. Even with devices supporting Auto MDI-X, straight through cables remain standard for structured cabling.

Q5: Can I use a crossover cable instead of a straight-through cable?

Most modern devices with auto MDI-X ports automatically adjust, so crossover and straight-through cables can often be used interchangeably. Older devices may still require the correct cable type.

Q6: What is the color order for straight-through cable?

For T568B: Orange-white, Orange, Green-white, Blue, Blue-white, Green, Brown-white, Brown.

Network Expert

Need Help Choosing the Right Cable?

Our Cisco-certified experts can help you pick, test, and deploy network cables for any scenario.
Free consultation available.