Network Cable Color Code: T568A, T568B, and RJ45 Wiring Guide
Use the correct network cable color code for Ethernet patch cords, field terminations, and PoE links. Compare T568A vs T568B, straight-through vs crossover, and common assembly mistakes.
If your project includes RJ45 cable assembly, custom cable assembly, or a larger box build assembly, getting the Ethernet color code right is a production issue, not just an installer detail. The wrong pinout can waste hours in debug, and a split pair can slip through a continuity test while still failing a certification run.
For external reference, compare the background on TIA-568, 8P8C modular connectors, and Power over Ethernet.
Conductors terminate every standard RJ45 patch cord.
Balanced twisted pairs carry Ethernet and PoE traffic.
A common maximum untwist target at termination.
T568A and T568B are the accepted color-code standards.
"A network cable can look perfect to the eye and still fail at 1 Gbps because pair geometry was damaged in the last 10 millimeters. In production we treat RJ45 termination as a controlled assembly process, not as a hand-skill afterthought."
— Hommer Zhao, Technical Director
What the network cable color code actually controls
The phrase network cable color code usually refers to the conductor order used when terminating twisted-pair Ethernet cable to an RJ45-style 8P8C plug or jack. Those colors do more than help technicians remember where each wire goes. They preserve the correct pair assignment, which is what allows the link to maintain impedance balance, control crosstalk, and support data rates from 10BASE-T through Gigabit Ethernet and beyond.
That is why the color code must be discussed together with pair structure. Ethernet signaling does not operate as eight isolated conductors. It operates as four balanced twisted pairs. If an assembler keeps the colors in a visually plausible order but breaks the pair relationships, the result is a split pair. Split-pair cables are notorious because they often pass a pin-to-pin continuity check and still fail on real network performance.
For manufacturers, this matters in every environment where Ethernet cable becomes part of a shipped product: industrial controls, networked sensors, test equipment, in-rack patching, control boxes, kiosks, and connected medical or automation assemblies. As with connector selection and wire gauge planning, the termination standard should be frozen early so drawings, work instructions, test fixtures, and supplier expectations all match.
T568A vs T568B color code table
T568A and T568B use the same pins and the same four pairs. The practical difference is that the green and orange pairs swap places on pins 1, 2, 3, and 6. Electrically, either scheme works if both ends follow the intended pattern.
| Pin | Pair | T568A color | T568B color | Typical note |
|---|---|---|---|---|
| 1 | Pair 3 or 2 position | White/Green | White/Orange | One of the swapped conductors between A and B |
| 2 | Pair 3 or 2 position | Green | Orange | Must remain with pin 1 as a true pair |
| 3 | Pair 2 or 3 position | White/Orange | White/Green | Also swaps between A and B |
| 4 | Pair 1 | Blue | Blue | Same in both schemes |
| 5 | Pair 1 | White/Blue | White/Blue | Same in both schemes |
| 6 | Pair 2 or 3 position | Orange | Green | Must remain with pin 3 as a true pair |
| 7 | Pair 4 | White/Brown | White/Brown | Same in both schemes |
| 8 | Pair 4 | Brown | Brown | Same in both schemes |
In commercial practice, T568B is common in patch cords and office infrastructure, while T568A still appears in some government, residential, or legacy specifications. The correct choice is usually the one that matches the existing installation standard, the customer drawing, or the plant documentation set. Mixing schemes unintentionally is where problems start.
Straight-through vs crossover wiring
A straight-through cable uses the same pinout at both ends, either A-to-A or B-to-B. A crossover cable uses one end as T568A and the other as T568B so the relevant pair positions swap. Older network devices sometimes required crossover wiring when directly connecting similar equipment, but modern ports with auto MDI-X have made that need far less common.
From a manufacturing perspective, straight-through cable should be the default build assumption unless the engineering drawing or application note explicitly calls for crossover. That is especially important in mixed factories where RJ45 assemblies may ship beside PCB assemblies and other electromechanical subassemblies. Without a controlled default, operators can mirror what they built on the previous lot and create a low-volume but costly escape.
"About 80% of RJ45 failures we review are not exotic material problems. They come from basic process drift: the wrong pinout, too much untwist, inconsistent conductor trim length, or plugs matched to the wrong conductor style. Those are preventable with a locked work instruction and one decent tester."
— Hommer Zhao, Technical Director
Category selection and assembly implications
The color code standard is only one part of a compliant Ethernet link. The cable category, conductor construction, shielding scheme, and connector design also matter. A clean T568B termination on the wrong cable construction will not rescue the channel.
| Cable type | Typical bandwidth target | Common assembly use | Main advantage | Main caution |
|---|---|---|---|---|
| Cat5e | Up to 1 Gbps in common installations | Basic patch cords, control panels, legacy devices | Low cost and broad compatibility | Less margin for noisy or higher-speed environments |
| Cat6 | 1 Gbps common, 10 Gbps for shorter channels | Office patching, industrial cabinets, embedded devices | Better crosstalk control than Cat5e | Termination geometry must stay tight |
| Cat6A | 10 Gbps structured cabling | PoE-heavy links, data rooms, high-density racks | Higher performance and thermal headroom | Larger diameter can complicate plugs and bend radius |
| Shielded Cat6A or Cat7-class builds | High-noise industrial environments | Factory Ethernet, machine networks, test stations | Better EMI control when grounded correctly | Shield termination discipline is mandatory |
| Cat8 | 25 to 40 Gbps in short-reach channels | Data-center style short links | Very high bandwidth in short distances | Overkill for most equipment assemblies and pricier parts |
In other words, the network cable color code tells you how to place the conductors, but the cable category tells you how much performance margin the assembly has once it is built. That is why a proper article or work instruction should specify both. Saying "RJ45 cable, T568B" is incomplete if the application also requires shield continuity, 23 AWG solid conductor, PoE++, or a Category 6A certification target.
Common assembly mistakes that create Ethernet failures
The failure modes for network cables are predictable. They usually come from process shortcuts taken to save a few seconds at termination. Unfortunately, those seconds tend to reappear as much larger debug and service costs later.
- Split pairs. The colors may look neat, but the twisted-pair relationships are broken. This is the classic cause of cables that beep out correctly and still fail certification.
- Too much untwist. Opening the pairs too far as they enter the plug damages balance and raises crosstalk. Keeping the untwist under about 13 mm is a common quality target.
- Wrong plug for solid or stranded conductors. Insulation displacement and contact geometry differ. A mismatch can pass initial insertion and still create high resistance or intermittent faults after flexing.
- Jacket not captured by the plug. If the strain relief only grips individual conductors, a light pull can migrate the wires and degrade contact force over time.
- Shield treated as decorative. Foil or braid only works if the termination hardware, drain path, and grounding strategy are specified correctly.
- No certification step. Continuity alone does not prove a Category 6 or Category 6A cable is actually a compliant transmission channel.
Why PoE raises the stakes
Ethernet became more forgiving for topology because of auto MDI-X, but it became less forgiving thermally once PoE became common. When the same cable carries both data and power, conductor resistance, contact quality, and pair integrity matter even more. Poor terminations create localized heat at the plug and jack interface, and bundled cables can trap that heat.
For PoE, PoE+, and higher-power PoE++ systems, you should verify the cable category, conductor gauge, connector rating, insertion loss, and temperature rise expectations as one package. This is similar to the way engineers evaluate complete current paths in power cable assemblies. A nominal pinout match is not the same thing as a robust power and data path under real operating load.
"PoE changed the economics of bad terminations. A weak RJ45 joint used to cause packet errors; now it can also create heat, downtime, and connector replacement in the field. We prefer to reject questionable crimps at the bench rather than debug 30-watt failures on installed equipment."
— Hommer Zhao, Technical Director
Production checklist for a reliable RJ45 color-code process
Good Ethernet assembly is mostly about repeatability. If your team builds network cables in-house, the process should be documented as carefully as any other electromechanical assembly operation.
- Freeze the standard: T568A or T568B, and whether crossover is ever allowed.
- Match plugs, jacks, and tools to conductor type, cable OD, and target category.
- Limit untwist and conductor exposure at the plug entry.
- Capture the cable jacket for strain relief, not just the individual wires.
- Verify shield continuity when the build uses FTP, STP, or S/FTP constructions.
- Test beyond continuity whenever category performance is part of the requirement.
Teams that already control harness and cable work under formal workmanship systems such as IPC/WHMA-A-620 guidance usually adapt more quickly because they are already used to treating conductor preparation, inspection, and test as a defined process. The same mindset pays off in Ethernet assemblies.
FAQ
What is the standard network cable color code for RJ45 wiring?
The two standard Ethernet pinouts are T568A and T568B under TIA-568 structured-cabling guidance. Both use the same four twisted pairs and all 8 conductors, but the green and orange pairs swap positions. Pin 1 starts with white-green in T568A and white-orange in T568B.
Is T568A better than T568B?
Neither is electrically faster when the cable is terminated correctly. T568A and T568B both support the same 10/100/1000BASE-T and higher-category channel performance. The critical rule is consistency: both ends should usually match unless you intentionally need a crossover cable.
When do I use a straight-through cable instead of a crossover cable?
A straight-through cable uses the same pinout on both ends, such as T568B-to-T568B, and is still the default for patch cords and structured cabling. A crossover cable swaps transmit and receive pairs, historically for direct device-to-device links, but modern equipment with auto MDI-X has made crossover use much less common.
Does PoE depend on the network cable color code?
PoE still depends on correct pair integrity even though power can ride on the same cabling as data. A poor termination, split pair, or untwist longer than about 13 mm can raise insertion loss, increase return loss, and create heat at the connector under PoE or PoE+ loads up to 30 W, or PoE++ systems up to 90 W by standard class.
What is the most common RJ45 wiring mistake?
The most common mistake is creating a split pair: the colors may appear to be in order, but the conductor pairing no longer matches the twisted pairs. A cable like that may pass a simple continuity test on all 8 pins and still fail certification on NEXT, return loss, or 1 Gbps data stability.
How much untwist is acceptable when terminating Ethernet cable?
A practical assembly target is to keep pair untwist under 13 mm, or 0.5 inch, as the conductors enter the plug or jack. That helps preserve pair balance and is widely used as an installation-quality benchmark for Category 5e, Category 6, and Category 6A terminations.
Need help with Ethernet cable assemblies?
If you are sourcing Ethernet patch cords, industrial RJ45 assemblies, or mixed cable-and-electronics builds, the fastest way to avoid rework is to define the cable category, conductor style, shielding, color code, and test method before production starts. We support drawing review, prototype builds, and volume production for network cable programs as part of broader electronics assembly work.
Start with the RJ45 cable assembly service page or review broader cable assembly capabilities. If you are ready to discuss a build, use the contact page and send the target category, cable length, connector type, and whether the assembly needs continuity testing or full certification.