PCB TOOLS / PINOUT & INTERFACE REFERENCE

RS-232 Pinout: DE-9, DB-25 and EIA-561

Find computer-side DTE RS-232 directions, DE-9/DB-25 equivalents and null-modem wiring, with a separate 8P8C serial reference.

Quick answer

A common DE-9 DTE uses contact 2 for RXD input, contact 3 for TXD output and contact 5 for signal ground. Connecting two DTEs requires the appropriate data and handshake crossover; DTE-to-DCE wiring differs.

Scope

Input/output directions are relative to DTE. DE-9 is the nine-contact D-sub shell commonly called DB9; DB-25 is a different size. The 8P8C table shows EIA-561 assignments, not a universal RJ45 console pinout.

Reading example

For two DE-9 DTEs documented for three-wire communication, connect 3 (TXD) to the opposite 2 (RXD), cross the reverse path and join 5 (GND). Hardware flow control additionally requires the relevant handshake wiring.

Interfaces, pinouts and technical reference

RS232

Original RS232 · DE-9 / computer DTE signal-numbering diagram
Original RS232 · DE-9 / computer DTE functional numbering map; verify actual pin 1 and view. Not a mechanical view.
Original RS232 · DB-25 / DTE signals signal-numbering diagram
Original RS232 · DB-25 / DTE signals functional numbering map; verify actual pin 1 and view. Not a mechanical view.
Table 1 · RS232
Pin DE9Pin DB25SignalIn/OutDescription
18DCDInData Carrier Detect
23RXDInReceive Data
32TXDOutTransmit Data
420DTROutData Terminal Ready
57GND-Ground
66DSRInData Set Ready
74RTSOutRequest To Send
85CTSInClear To Send
922RILegacy record: “-RI”. ADI names DE-9 contact 9 / DB-25 contact 22 RI. The source’s hidden formatting dash in “-RI” is not a universal polarity definition.InRing Indicator
ShellProtective Ground

Null modem pin mapping:

Table 2 · Null modem pin mapping:
Connector 1Connector 2
TxDRxD
RxDTxD
RTSCTS
CTSRTS
GNDGND
DSRDTR
DCD
DTRDSR
DCD

RS232 on RJ45 (EIA-561)

Original EIA-561 · RS232 on 8P8C signal-numbering diagram
Original EIA-561 · RS232 on 8P8C functional numbering map; verify actual pin 1 and view. Not a mechanical view.
Table 3 · RS232 on RJ45 (EIA-561)
RJ45 Pin N.NameDB9 Cross ConnectDescription
1DSR/RI6,9Data Set Ready/Ring Indicator
2DCD1Data Carrier Detect
3DTR4Data Terminal Ready
4GND5Ground
5RD2Receive Data
6TD3Transmit Data
7CTS8Clear to Send
8RTS7Request to Send
Legacy source notes and applicability

These notes retain the legacy record. For corrected facts and applicability, use this page’s quick answer, scope and visible table corrections.

RS232
(*) Pinout is at DTE (Computer) side
Null modem pin mapping:
RS232 on RJ45 (EIA-561)
8 pin RJ45 male connector (Plug)

Frequently asked questions

Does TXD have the same number on DE-9 and DB-25?

No. DTE TXD is DE-9 contact 3 and DB-25 contact 2; RXD is DE-9 contact 2 and DB-25 contact 3.

Why is EIA-561 contact 1 labeled DSR/RI?

The position can carry the DSR or RI function used by the equipment. “6,9” identifies corresponding DE-9 functions; it is not an instruction to short contacts 6 and 9 on arbitrary hardware.

Related tools and references

Sources and verification

Legacy baseline: the Electrodoc Pro 5.2 data package. Raw records are retained and checked factual corrections are shown explicitly.