LAN Cable Wiring

What color wires for internet?

Ethernet cables use eight wires in four colored pairs, wired to either the T568A or T568B standard. Here is what each color is and which order to use.

On this page
  1. The short answer
  2. The four colored pairs
  3. T568B and T568A wire order
  4. Which one to use
  5. Cables that don’t use this color code
  6. Checking your wire order

The short answer

Ethernet cables used for internet don’t have one set color for the wires inside. The wires follow one of two standard color codes, T568A or T568B. Both codes use the same eight colors in a different order. Pick one code, and keep it the same at both ends of a standard cable.

The four colored pairs

Each Ethernet cable has eight wires in four twisted pairs. Each pair has a solid color wire and a wire that’s white with a stripe of that same color:

  • Green, and white with a green stripe
  • Orange, and white with an orange stripe
  • Blue, and white with a blue stripe
  • Brown, and white with a brown stripe

T568B and T568A wire order

Pins are numbered 1 to 8 with the plug’s gold contacts facing you and the latch pointing down. Pin 1 is on the left.

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 two codes differ only in the orange and green pairs. The blue and brown pairs are the same in both.

Which one to use

T568B is the more common choice in homes and offices in the United States. T568A is equally valid. The main rule is consistency. If your home or office already uses one code, use it for new cables too. For a standard straight-through cable, both ends must use the same code.

Cables that don’t use this color code

Coaxial cable for cable TV and internet has a center wire and a metal shield, not colored wire pairs. Phone lines for DSL use their own connectors and wire arrangement. Fiber uses glass or plastic strands that carry light, not copper wires. For how these connection types differ, see “Types of network connections used to access the internet.”

Checking your wire order

After you crimp a plug, look at the order of the wires before you trim and insert them. The cable tester is the more reliable check, since it confirms each wire reaches the correct pin. The full walkthrough, including how to crimp a plug, is in “LAN Cable Color Coding for an Internet Connection.”

The complete guide to lan cable wiring

LAN Cable Color Coding for an Internet Connection
Read the guide

Keep exploring

Guides from other topics

All topics →