The DB9 connector is a 9-pin D-sub connector often used for serial communication, especially RS-232. Its D-shaped metal shell helps prevent wrong insertion, keeps the plug secure, and reduces electrical noise. DB9 is also called DE-9 in formal naming. This article provides information on its parts, pinouts, cable types, mounting options, ratings, and applications.

DB9 Connector Overview
A DB9 connector is a small, 9-pin D-sub connector mainly used for serial communication, especially RS-232. It has a D-shaped metal shell and two rows of pins or sockets, with five on the top row and four on the bottom.
Its shape helps it fit the right way and keeps it firmly in place during use. The metal shell adds strength and helps block electrical noise that can interfere with data signals. DB9 connectors are often used on older computer ports, control systems, testing devices, and panel-mounted connections where a secure, locking serial link is needed.
DB9 Connector Parts and Correct Naming

• D-sub family: The DB9 connector is part of the D-subminiature connector family, which also includes other sizes like DB25 and DB37.
• DE-9 vs DB9 name: The 9-pin version uses the “E” shell size, so its formal name is DE-9, but DB9 is still the most common name used in product catalogs.
• Shell and shielding: A metal shell surrounds the pins and can connect to the cable shield or chassis ground to help reduce electrical noise (EMI).
• Insulator: The pins sit in a molded plastic insert, often blue or black. This keeps the pin spacing steady and helps keep contacts safely separated.
• Contacts: The pins are usually made from brass or phosphor-bronze and are coated with tin or gold to support stable conductivity and reduce corrosion.
• Fixing hardware: Many DB9 connectors include threaded parts for thumbscrews, helping keep the connection tight so it does not loosen easily from movement or vibration.
Standard DB9 RS-232 Pinout

| Pin | Signal | Name | Direction (DTE PC) |
|---|---|---|---|
| 1 | DCD | Data Carrier Detect | In |
| 2 | RXD | Receive Data | In |
| 3 | TXD | Transmit Data | Out |
| 4 | DTR | Data Terminal Ready | Out |
| 5 | GND | Signal Ground | - |
| 6 | DSR | Data Set Ready | In |
| 7 | RTS | Request To Send | Out |
| 8 | CTS | Clear To Send | In |
| 9 | RI | Ring Indicator | In |
DB9 Connector Roles in DTE and DCE Connections

In traditional RS-232 serial communication, devices are grouped as DTE (Data Terminal Equipment) or DCE (Data Communication Equipment). This matters because the DB9 connector pin signals are arranged differently depending on which role the device follows.
A DTE port commonly uses a male DB9 connector, with transmit (TX) and receive (RX) signals set in the standard DTE direction. A DCE port often uses a female DB9 connector, and its signal directions are the opposite, meaning TX and RX are swapped compared to a DTE port.
When connecting a DTE device to a DCE device, a straight-through cable is usually used, where the pins connect directly in order, such as pin 2 to pin 2 and pin 3 to pin 3. When connecting two DTE devices, a null-modem cable is needed so the TX signal from one side connects to the RX signal on the other, and the control lines are crossed to keep communication working properly.
DB9 Connector Pinouts for Other Communication Standards
| Protocol / Bus | Typical DB9 Connector Use | Common Pin Notes* |
|---|---|---|
| CAN / CANopen | Used for CAN networks and CAN interface connections | CiA DS-102 mapping: Pin 7 = CAN-H, Pin 2 = CAN-L, Pins 3/6 = GND, Pin 9 = V+ |
| DeviceNet (CAN-based) | Used for CAN-based industrial communication links | Often follows a similar DB9 pin layout to CANopen, depending on the device |
| PROFIBUS-DP (RS-485) | Used for PROFIBUS communication over RS-485 wiring | Uses a differential A/B pair, but the exact DB9 pins can be vendor-specific |
| RS-422 / RS-485 | Used for long-distance or noise-resistant serial communication | TX± and RX± signal pairs may use pins like 2, 3, 6, 9, but layouts vary by device |
| Custom / Proprietary | Used when a device uses its own serial wiring layout | Pin assignments can be anything, so it is required to check the device documentation |
DB9 Connector Cable Types and What They Do
Straight-Through DB9–DB9 Cable
A straight-through DB9 cable connects matching pins directly (pin 1 to pin 1, pin 2 to pin 2). It is used when one device is DTE and the other is DCE.
DB9–DB25 Serial Cable
This cable connects a DB9 connector to a DB25 connector by mapping the 9-pin layout to older 25-pin RS-232 systems.
Null-Modem DB9–DB9 Cable
A null-modem DB9 cable crosses key signal lines so communication can work between two devices wired the same way. This swaps TX and RX, and may cross control lines.
DB9–RJ45 Console Cable
A DB9–RJ45 console cable converts DB9 serial signals into an RJ45-style pin format. It is used for console access ports that use an Ethernet-shaped jack but carry serial communication.
USB-to-DB9 Adapter
A USB-to-DB9 adapter converts USB to DB9 serial communication, allowing modern computers to connect to DB9 devices that still rely on serial ports.
DB9 Connector Form Factors and Mounting Options
Panel-Mount DB9 Jacks
Panel-mount DB9 connectors attach to enclosures or front panels using screws, creating a stable and aligned port for repeated plug/unplug cycles.
PCB Through-Hole DB9 Connectors
PCB through-hole DB9 connectors are soldered onto circuit boards and are available in vertical or right-angle designs for different layouts.
IDC and Field-Wireable DB9 Types
IDC and field-wireable DB9 connectors allow wiring without soldering using insulation-displacement or screw-terminal methods, making installation and repairs faster.
Sealed and IP-Rated DB9 Versions
Sealed DB9 connectors use gaskets and sealed backshells to block dust and moisture, improving reliability in harsh environments.
DB9 Connector Electrical and Environmental Ratings
| Parameter | Typical Range / Note |
|---|---|
| Contact current rating | Around 3–5 A per contact for low-voltage connections |
| Working voltage | Often up to about 250 V AC or DC, depending on the model |
| Contact resistance | Usually in the tens of milliohms (mΩ) per contact |
| Insulation resistance | Commonly hundreds of megohms (MΩ) or higher |
| Mating cycles | About 200 to 5,000+ insertions, depending on the connector grade |
| Operating temperature | Often around −20 °C to +80 °C, with some types rated higher |
| Shielding effectiveness | Metal shells help reduce electrical noise (EMI) |
| Protection class (rugged types) | Ranges from IP20 (open styles) up to IP67+ (sealed styles) |
DB9 Connector Applications
Industrial Automation
DB9 connectors are used in automation systems for serial communication protocols such as RS-232 and RS-485. They support diagnostics, firmware updates, and equipment communication links that require stable wiring.
Networking and Telecom
Many networking and telecom devices include DB9 ports as console connections for setup, monitoring, and troubleshooting through serial communication.
Embedded and Single-Board Systems
DB9 connectors are still used in some embedded hardware for serial links, including boot messages, debugging, and communication with older serial-based equipment.
Test and Measurement
Test equipment may use DB9 connectors to send data through serial connections and link instruments in environments where reliable communication is needed.
Security and Building Systems
DB9 connectors are common in security and building control systems that use serial communication for service access and system integration.
DB9 Connector Setup Tips for New Builds
• Pick the DB9 connector style early: Decide if the DB9 port should be panel-mount, PCB-mount, or cable-mount based on access and installation needs.
• Reduce stress on the connector: Use a backshell with strain relief and mounting screws so the DB9 connection stays secure and does not pull on solder joints.
• Ground the metal shell when needed: Connecting the DB9 metal shell to chassis ground can reduce electrical noise and improve ESD protection.
• Document the exact DB9 pinout: Clearly list DB9 pin connections in the manual for CAN or RS-485, where layouts may not match RS-232.
• Use easier wiring options for field connections: Screw-terminal or IDC DB9 versions can speed up wiring and reduce mistakes during installation.
Conclusion
The DB9 connector is still used in many systems that need stable serial links. Key points include its correct naming, main parts, and the standard RS-232 pinout. DTE and DCE roles affect signal direction and cable choice, such as straight-through or null-modem. DB9 pinouts can also differ for CAN, RS-485, and other protocols.
Frequently Asked Questions [FAQ]
Can a DB9 connector carry power?
Yes, but only for low power and only if the pinout supports it.
What is the difference between a DB9 male and a DB9 female?
Male has pins. A female has sockets (holes).
What does “2-40” mean on DB9 screw locks?
It is the standard thread size used for DB9 jack screws and thumbscrews.
How do you test a DB9 cable with a multimeter?
Use continuity mode and check if each pin connects to the correct pin on the other end.
Why does DB9 communication fail over long distances?
Noise, signal loss, weak grounding, and high baud rate can cause errors.
What usually damages a DB9 port?
Bent pins, loose screws, cable pulling, and static discharge.