T568A vs T568B RJ45 wiring diagram with the orange and green pairs swapped

T568A vs T568B: Wiring Color Code and Which to Use

T568A and T568B are the two standard ways to wire an RJ45 jack or plug on twisted-pair cable. The only difference is that the orange and green pairs swap places on pins 1, 2, 3 and 6. The blue and brown pairs stay where they are. Neither scheme is faster or better. What matters is that you use the same scheme at both ends of every link, and the one your project spec asks for.

Key points

  • Only two pairs move: orange and green trade places. Blue (pins 4–5) and brown (pins 7–8) never change.
  • Both schemes give the same speed, distance and PoE performance.
  • Wiring A at one end and B at the other turns the link into a crossover, and it fails a wiremap test.
  • Pins 3 and 6 are one pair. Landing them side by side creates a split pair that a basic tester can miss.

The RJ45 color code, pin by pin

Hold the plug with the gold contacts facing you and the clip at the back. Pin 1 is on the left. The table shows which wire lands on each pin. The rows that change between the two schemes are marked in bold.

PinT568AT568BChanges?
1White/greenWhite/orangeYes
2GreenOrangeYes
3White/orangeWhite/greenYes
4BlueBlueNo
5White/blueWhite/blueNo
6OrangeGreenYes
7White/brownWhite/brownNo
8BrownBrownNo

An easy way to remember it: in T568B the orange pair comes first, and in T568A the green pair comes first. Everything else is identical.

Why pins 3 and 6 are one pair

Each pair is two wires twisted together. The twist is what cancels noise and crosstalk, so the two wires of a pair must land on the pins the standard pairs together:

PairPinsColor in T568AColor in T568B
Pair 14 and 5BlueBlue
Pair 21–2 (B) or 3–6 (A)Orange on 3–6Orange on 1–2
Pair 31–2 (A) or 3–6 (B)Green on 1–2Green on 3–6
Pair 47 and 8BrownBrown

The pair on pins 3 and 6 straddles the blue pair. That layout keeps the RJ45 compatible with older telephone wiring, and it’s also where most wiring mistakes happen.

Which one should you use?

Follow the project specification. If there isn’t one, follow what the building already uses. If it’s a new building with no spec, pick one scheme, write it into your labeling and test records, and stick to it everywhere.

SituationUsual choice
The project spec names a schemeUse it. The spec always wins.
Adding to an existing buildingMatch what’s already installed.
US government and many institutional projectsOften T568A.
Many US commercial installsOften T568B.
New site, no specEither one, used the same way everywhere and documented.

The TIA-568 cabling standard lists both schemes. Speed, maximum length (90 m permanent link, 100 m channel) and PoE work the same with either one.

Straight-through vs crossover

  • Straight-through: the same scheme at both ends (A–A or B–B). Every installed link and almost every patch cord is wired this way.
  • Crossover: T568A at one end and T568B at the other. It used to connect two similar devices, such as switch to switch. Today most network ports detect and fix this automatically (auto MDI-X), so dedicated crossover cords are rarely needed.

You’ll often hear “a T568B patch cord plugged into a T568A jack”. That’s fine. A straight-through patch cord passes every pin straight through, so it doesn’t matter which scheme its plugs use. Mixing schemes only causes trouble inside one installed link, for example a jack wired A and its patch panel port wired B.

What happens if you mix them in one link

The link becomes a crossover. The device may still connect because auto MDI-X hides the fault, but the link fails certification: the wiremap test shows crossed pairs. Fixing it means re-terminating one end. That’s why your labeling and test records should note which scheme you used.

Split pairs: the mistake a cheap tester misses

A split pair happens when someone wires pins in color order (1–2, 3–4, 5–6, 7–8) instead of following the standard pairing. Every pin still connects end to end, so a simple continuity tester shows a pass. But the wires on pins 3 and 6 now come from two different pairs, the noise canceling is lost, and the link fails on crosstalk or drops at higher speeds. A certification tester catches a split pair. A basic continuity tester usually won’t.

Termination checklist

  1. Confirm the scheme (A or B) from the spec before you start, and use it on every jack and panel port.
  2. Strip only as much jacket as you need. Keep the pair twists right up to the termination: untwist as little as possible.
  3. Follow the color label printed on the jack for the scheme you chose. Many jacks show both A and B.
  4. Keep pin 3 and pin 6 on the same pair. Don’t wire in plain color order.
  5. Don’t kink the cable or pull it tight around corners near the jack.
  6. Seat the jacket inside the jack or plug strain relief.
  7. Test every link with a certifier and save the results with the label.

Free tools for this topic

Planning the route for new horizontal cabling? Size the pathway with the Conduit & Cable Tray Fill Calculator and check bends with the Conduit Run Planner. Choosing the cable itself? Read Cat6 vs Cat6A. For how horizontal links fit into the wider system, see backbone distribution systems and telecom codes, standards and regulations.

Sources

ANSI/TIA-568.2 Balanced Twisted-Pair Telecommunications Cabling and Components Standard (cited by reference only). Wikipedia, ANSI/TIA-568. IEEE 802.3 Ethernet (auto MDI-X, by reference). Written in our own words.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *