> ## Content Index
> Fetch the complete content index at: https://routerhaven.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Ethernet color code: what the wire colors mean
- URL: https://routerhaven.com/ethernet-color-code/
- Published: 2026-11-10T05:19:00.000Z
- Updated: 2026-11-10T05:19:00.000Z
- Author: Caleb Renwick
- Tags: Networking

The [Ethernet color code is](https://routerhaven.com/ethernet-cable-how-it-works/) the wire order you use when you terminate twisted-pair cable on an RJ45 plug, jack, or patch panel. It tells you which conductor goes to which pin; it does not tell you cable speed or quality. The two common wiring standards are T568A and T568B, and the cable works correctly only if the pairs stay in the right positions and the ends are wired the way the job calls for.

## What the Ethernet color code actually refers to

The color code is a pin map. Each colored conductor in the cable has to land on a specific pin position in the connector, and the pair twist has to stay intact as close to the termination as possible. [That is what keeps](https://routerhaven.com/ethernet-port-home-network/) the signal clean.

The colors themselves do not mean the cable is faster or better. A Cat 5e, Cat 6, or Cat 6A cable can all use the same T568A or T568B wiring order. The difference is only how the four pairs are assigned to pins 1 through 8.

For example, if you strip a cable and see orange, green, blue, and brown pairs, that does not mean “orange goes first” in every setup. It depends on the standard you choose. [What matters is putting](https://routerhaven.com/ethernet-switch/) each conductor on the right pin position, not just lining up the colors in a neat row.

This also has boundaries. The color code is about the termination, not about whether the cable will fix a bad port, a broken device, or a mismatched switch setting. If the hardware is wrong, the right color order will not save it.

## The two wiring standards: T568A and T568B

T568A and T568B use the same four twisted pairs, but they place the green and orange pairs in different spots. The blue pair and brown pair stay in the same general positions in both standards.

Here is the pin order for an RJ45 connector, viewed with the contacts facing you and the clip away from you:

| Pin | T568A        | T568B        |
| --- | ------------ | ------------ |
| 1   | White/green  | White/orange |
| 2   | Green        | Orange       |
| 3   | White/orange | White/green  |
| 4   | Blue         | Blue         |
| 5   | White/blue   | White/blue   |
| 6   | Orange       | Green        |
| 7   | White/brown  | White/brown  |
| 8   | Brown        | Brown        |

The same order applies to wall jacks and patch panels that are labeled with either standard. You are still wiring the same eight conductors to the same eight pins; the termination hardware just gives you punch-down positions instead of plug contacts.

Both standards exist because each became common in different places and at different times. Today, the key thing is consistency. Pick one standard and use it correctly, or match what is already installed.

Misconception to avoid: T568A is not “better” than T568B, and T568B is not automatically the right choice everywhere. They are both valid when the cable is punched down the way the hardware expects.

![Several stripped Ethernet cable conductors are spread out on a table beside a connector.](https://tse1.mm.bing.net/th?q=RJ45%20Ethernet%20cable%20conductors%20on%20table&w=624&h=352&c=7)

## Which one should you use?

The best choice is usually the one that matches the cabling already in the building. If the existing jacks, patch panel, or patch cords are already wired one way, use that same standard so you do not create unnecessary mismatch in the plant.

If you are starting from scratch, either standard is fine as long as you use it consistently. In many office installs, T568B is still common. In some buildings and regions, T568A is the local norm, especially where the installation standard or customer policy calls for it.

If you are terminating one cable that will plug into another device through a patch panel or wall jack, keep both ends on the same standard unless you specifically need a crossover cable. If you are unsure, look at a known-good cable in the same network and mirror that pattern.

If the cable is going into a patch panel or keystone jack, check the label on the back. Most punch-down blocks mark both T568A and T568B color positions, so you do not need to guess.

For example, if the old jack is punched down as T568B and you are replacing only that jack, wire the new one the same way. Matching the existing cabling avoids creating an unnecessary crossover in the middle of a network run.

## How to wire an RJ45 plug without mixing up the pairs

Start by deciding on one standard and sticking to it for that cable. Say you choose T568B. Hold the RJ45 plug so the contacts face you and the clip points away from you. Left to right, the pins are:

1. White/orange
2. Orange
3. White/green
4. Blue
5. White/blue
6. Green
7. White/brown
8. Brown

Strip only enough jacket to reach the contacts, then keep each twisted pair twisted as far toward the plug as you can. Untwisting too much is one of the easiest ways to hurt performance.

If you are wiring a wall jack or patch panel instead of a plug, use the same color order shown on the label for that same standard. The punch-down block usually shows the positions in a vertical row or in paired slots. Follow the printed legend rather than trying to remember the colors from memory.

If both ends of the cable need the same standard, repeat the exact same pin order on the far end. If the job calls for a crossover cable, use the alternate pattern on one end only, not a random mix of colors.

A common mistake is reversing a pair. If white/orange and orange land where white/green and green should go, the cable may still look tidy, but the link can fail or behave badly. Another mistake is splitting pairs, where the two conductors of a twisted pair are separated and placed in different parts of the connector order. That can create noise and errors even if a tester shows all eight pins connected.

![A person lines up the colored conductors of an Ethernet cable inside an RJ45 plug.](https://tse1.mm.bing.net/th?q=RJ45%20Ethernet%20cable%20wiring%20in%20plug&w=624&h=352&c=7)

## Straight-through vs crossover: when the pattern matters

A straight-through cable has the same standard on both ends. In practice, that means pin 1 on one end lands on pin 1 on the other end, pin 2 on pin 2, and so on. Most patch cords between a switch and a computer, or a switch and a router, are straight-through cables.

A crossover cable uses one standard on one end and the other standard on the other end. That swaps the transmit and receive pairs. In older networks, this was used when connecting like devices directly, such as switch to switch or computer to computer, without an intermediate device that handled the pair swap.

Most modern Ethernet gear can auto-correct this with auto MDI-X, so crossover cables are much less common than they used to be. That said, old equipment still exists, and some special-purpose gear may not auto-negotiate the way newer devices do.

The main point is that mixing standards by accident is not the same as intentionally making a crossover cable. A random mismatch can break the link or make troubleshooting confusing. A deliberate crossover has one standard on each end and a clear reason for it.

Where this does not apply: if you are making a normal patch cord for modern gear that supports auto MDI-X, you usually do not need a crossover at all. Use the same standard on both ends unless the equipment or the installation calls for something different.

## How to check your cable before you plug it in

The quickest check is a cable tester. Plug each end into the tester and verify that pins 1 through 8 light in order, with no opens, shorts, or miswires. If the tester supports wire-map results, it will usually tell you exactly which pin is wrong.

If you do not have a tester, inspect the terminations closely. Look for these signs:

- The same standard is used on both ends when you wanted a straight-through cable.
- The colored conductors land on the correct labeled positions.
- No conductor is punched into the wrong slot.
- The pair twists stay close to the termination.

A visual check will not catch every problem, but it will catch many obvious mistakes before you plug the cable into active equipment. That can save you from guessing whether a bad link is caused by the cable, the port, or the device.

![An Ethernet cable is connected to a cable tester sitting on a desk.](https://tse1.mm.bing.net/th?q=RJ45%20Ethernet%20cable%20tester%20on%20desk&w=624&h=352&c=7)

## Common wiring mistakes that cause no link or slow performance

The most common mistake is reversing a pair. If white/orange and orange land where white/green and green should go, the cable may still look tidy, but the link can fail or behave badly.

Another problem is splitting pairs, where one conductor from a twisted pair is separated from its mate and placed far away in the connector order. That can create noise and errors even if the cable continuity tester shows all eight pins connected. The cable may negotiate a link, then act unstable or run at a lower speed than expected.

A third mistake is mixing standards on both ends without meaning to. If one end is wired T568A and the other is T568B, you have made a crossover cable. That used to be useful in some cases, but if you expected a normal patch cord, the result can be no link at all on older gear or confusing behavior during setup.

If you see a port on the switch staying dark, or the link light flickering but traffic being unreliable, check the pinout before you blame the switch. Bad terminations are a very common cause of “it should work” problems.

## Conclusion

If you match the wire colors to the correct pin order and keep the same standard on both ends when you want a straight-through cable, most Ethernet terminations go right the first time. Use T568A or T568B consistently, follow the label on the jack or patch panel, and verify the finished cable before you connect it to equipment. If a link fails, check for reversed pairs, split pairs, or an accidental mix of standards before you chase anything else.

## Frequently Asked Questions

### Is T568A better than T568B?

No. They use the same pairs and both work the same when wired correctly. The best choice is usually the one already used in the building or the one required by local practice.

### Do wall jacks and RJ45 plugs use the same color code?

Yes. The same T568A or T568B pin order applies to both. The hardware looks different, but the wire map is the same.

### Can I mix T568A on one end and T568B on the other?

Yes, but that makes a crossover cable. That is only useful in specific cases, and most modern gear does not need it.