WireChartUSA logo WireChartUSA

[← Back to WireChartUSA Master Cable Cheat Sheet]

RS-485 Pinout (Modbus RJ45)

Quick Answer: On Modbus RJ45 connectors, RS-485 D1 (B) is on pin 4, D0 (A) is on pin 5 and signal common is on pin 8. Terminate both ends of the bus with 120 ohm resistors.


Overview

RS-485 is a differential serial standard used for Modbus RTU, BACnet MS/TP, building automation, solar inverters, VFDs and access control. It defines electrical levels, not a connector, so terminal blocks, DB9 and RJ45 layouts all exist. The Modbus over Serial Line specification places the data pair on RJ45 pins 4 and 5 and common on pin 8, which conveniently lands on one twisted pair in standard Ethernet cable. The biggest source of trouble is naming: the standard calls the inverting line A and the non-inverting line B, but many manufacturers label them the other way. If a two-wire link refuses to talk, swap A and B first. RS-485 runs up to 1,200 m (4,000 ft) at 100 kbps with 32 unit loads. Use daisy-chain wiring rather than stars, terminate only the two end devices with 120 ohm resistors and always connect the signal common.

RS-485 Pinout Table

PinWire Color (US)SignalVoltage / CurrentWiring Notes
4Blue (T568B)D1 / B / B' (non-inverting, +)Differential >= 1.5 V into 54 ohm; common mode -7 to +12 VPositive when line idle (mark)
5White/BlueD0 / A / A' (inverting, -)Differential >= 1.5 V into 54 ohm; common mode -7 to +12 VMany vendors label A/B the opposite way
7White/BrownVP (optional power)5-24 V DCOptional per Modbus spec
8BrownCommon (signal ground)0 VRequired for reliable links
1,2,3,6Orange/Green pairsReserved / unused-Do not connect

Key Specs

SpecValue
StandardTIA/EIA-485-A; Modbus over Serial Line V1.02
Termination120 ohm at each end of bus
Max length1,200 m (4,000 ft) at 100 kbps
Max nodes32 unit loads

Frequently Asked Questions

Which RJ45 pins are used for RS485 Modbus?

Pin 4 is D1 (B, positive), pin 5 is D0 (A, negative) and pin 8 is signal common, per the Modbus serial line specification.

Do I need a 120 ohm resistor on RS485?

Yes, on long or fast networks. Place one 120 ohm terminator at each physical end of the bus, not on every device.

How far can RS485 run?

About 1,200 m (4,000 ft) at data rates up to roughly 100 kbps. Higher speeds shorten the maximum distance.

Master wire tables: Solid/Stranded + Cu/Al Ampacity | Metric ↔ AWG/MCM

Related Cable & Wire Specs


© 2026 WireChartUSA · US reference based on NEC (NFPA 70), TIA/EIA and UL standards. For information only; verify with the current code adopted by your local AHJ and a licensed electrician. Updated 2026-12-04. Home