The RJ21 Pinout and 25-Pair Colour Code, Explained

If you're terminating an RJ21 cable by hand — or just trying to work out which pair feeds which port — the 25-pair colour code is the thing you'll keep coming back to. It looks daunting the first time, but there's a simple logic underneath, and once it clicks you can read any Telco cable at a glance. Here's the full chart, and the bit of reasoning that makes it stick.

The logic behind the colours

Every pair is identified by two colours: a major (group) colour and a minor (pair) colour. There are five of each, and they cycle in a fixed order:

Major colours (in order): White, Red, Black, Yellow, Violet — one for each group of five pairs.
Minor colours (in order): Blue, Orange, Green, Brown, Slate — cycling within each group.

So pairs 1–5 are all White-something, pairs 6–10 are all Red-something, and so on. Within each group the minor colour steps through Blue, Orange, Green, Brown, Slate. That's the whole system — five groups of five, 25 pairs in total.

For each pair, the tip conductor carries the major colour with a minor stripe, and the ring carries the minor colour with a major stripe. So pair 1's tip is White/Blue and its ring is Blue/White.

The full 25-pair chart

Pin numbering below follows 258A: tip conductors on pins 1–25, ring conductors on pins 26–50. Pair N sits on pins N and N+25.

PairTip (major / minor)Ring (minor / major)Pins (tip · ring)
1White/BlueBlue/White1 · 26
2White/OrangeOrange/White2 · 27
3White/GreenGreen/White3 · 28
4White/BrownBrown/White4 · 29
5White/SlateSlate/White5 · 30
6Red/BlueBlue/Red6 · 31
7Red/OrangeOrange/Red7 · 32
8Red/GreenGreen/Red8 · 33
9Red/BrownBrown/Red9 · 34
10Red/SlateSlate/Red10 · 35
11Black/BlueBlue/Black11 · 36
12Black/OrangeOrange/Black12 · 37
13Black/GreenGreen/Black13 · 38
14Black/BrownBrown/Black14 · 39
15Black/SlateSlate/Black15 · 40
16Yellow/BlueBlue/Yellow16 · 41
17Yellow/OrangeOrange/Yellow17 · 42
18Yellow/GreenGreen/Yellow18 · 43
19Yellow/BrownBrown/Yellow19 · 44
20Yellow/SlateSlate/Yellow20 · 45
21Violet/BlueBlue/Violet21 · 46
22Violet/OrangeOrange/Violet22 · 47
23Violet/GreenGreen/Violet23 · 48
24Violet/BrownBrown/Violet24 · 49
25Violet/SlateSlate/Violet25 · 50

The one thing to always check

The colour code is universal, but how tip and ring map onto specific ports is not guaranteed to be identical on every piece of equipment. Some gateways flip the tip/ring orientation, or number their ports in a way that doesn't start where you'd expect. Cisco, for instance, documents its own RJ21 pinout for the VG224 — and notes that the final pair isn't connected at all.

So treat this chart as the reliable map of the cable, then confirm the equipment against its own pinout before you punch down a whole panel. Five minutes with the manufacturer's pinout sheet saves an afternoon of testing reversed lines.

Why this matters for ordering

If you'd rather skip the punch-down entirely, this is exactly what a pre-wired (leaded) patch panel does for you — the 25 pairs are already terminated to the colour code and tested, so you plug in and go. And if you're making up your own runs, ordering cable wired to 258A means the colours land where this chart says they should.

Frequently asked questions

Skip the punch-down. Our leaded patch panels arrive pre-wired to the colour code and 100% tested. Prefer to make your own runs? Order RJ21 Cat3 cable wired to 258A, any length.