22 September 2023
ELECBEE
6111

OBD2 Pinout: How to Read the 16-Pin Port and Choose a Diagnostic Cable

Identify OBD2 pins on the vehicle socket and cable plug, trace a real CAN adapter pinout, and choose a diagnostic socket, extension or splitter.

Hold the connector with its wide edge up and look at the mating face. Pin 1 is at the upper left on the vehicle’s female socket and the upper right on the cable’s male plug.

The 16 positions in an SAE J1962 socket tell you where to look. To choose a diagnostic cable, match the tool’s required signals to the wires that actually reach its connector.

OBD2 mating faces with the wide edge up. Pin 1 is at the upper left on the vehicle socket and at the upper right on the cable plug.

Which face are you looking at?

An under-dash socket may be mounted upside down. Use the wide edge of the opening as your reference, even if that means turning the diagram to match the port.

Vehicle socket (female)

Mating face · wide edge up

Vehicle socket, wide edge up: top row 1 to 8, bottom row 9 to 16, left to right.

Cable plug (male)

Mating face · wide edge up

Cable plug, wide edge up: top row 8 to 1, bottom row 16 to 9, left to right.

Numbering references: Opens in a new tab: OBDLink SX, step 3 (vehicle socket) and Opens in a new tab: Kvaser Leaf Light v2, figure 10 (tool plug).

Count every cavity, including empty ones. These two contacts are useful landmarks:

  • Pin 16, the supply contact. Find the yellow 16 at the lower right of the vehicle socket. On the plug facing you, it sits at the lower left. Those two corners meet when the plug is inserted.
  • Pin 6, CAN high on a CAN diagnostic link. On the socket, count along the top row from the right: 8, 7, 6. On the plug, start at the left and count the same three positions.
Two rows of bent solder tails on the back of the right-angle female EB-020-0047 socket.
EB-020-0047 viewed from the solder side.

Turning either connector around to work from the wire side (rear crimp, wire-entry, or solder-tail face) reverses left and right compared with its mating face. Keeping the wide edge up and flipping the connector horizontally puts cavity 1 at the upper right on the back of a female socket and at the upper left on the back of a male plug.

On a right-angle socket, the tails bend away from the face. Viewed at an angle, a solder tail can appear to line up with the wrong cavity. Use the part’s molded numbers and its own termination drawing. If the connector is loose on the bench, an end-to-end continuity check can identify which tail belongs to a known contact.

Which OBD2 pins does your tool need?

Use this table to identify the usual diagnostic signals. For a specific vehicle, its wiring diagram tells you which positions are in use.

OBD2 pin Typical diagnostic use
4 Chassis ground
5 Signal ground
6 / 14 CAN high / CAN low on an ISO 15765-4 link
16 Battery supply. Check the tool’s input voltage range.
2 / 10 J1850: PWM uses both; VPW uses pin 2 only.
7 / 15 K-line on pin 7; some legacy interfaces also use the L-line on pin 15.
1, 3, 8, 9, 11–13 Look up these positions in the vehicle and interface documentation.

For a passenger-car diagnostic interface, work from the tool back to the vehicle:

  1. Start with the tool documentation: Check which exact pins the device needs for power, ground return, and data. Include pin 16 if the tool draws vehicle power. On an older vehicle, check which legacy line the selected protocol needs.
  2. Check the cable's documented wiring: Verify that the passive lead actually carries conductors on every pin your tool needs. A molded 16-position plug may carry only a subset of those signals.
  3. Check the vehicle. Look into the socket with a light. An empty legacy position can be normal on a CAN-equipped car. A metal contact shows that a terminal is present. Consult the vehicle diagram for its function, especially in manufacturer-specific positions. Check the supply voltage against the tool’s rated input range.
  • Chassis ground and signal ground. Write down the return specified in the tool manual. If it calls for pin 5, a cable drawing that shows only pin 4 does not establish that the required return reaches the tool.
  • Legacy K-line or CAN. Suppose the vehicle uses ISO 9141-2 on pin 7. A lead wired for just CAN high, CAN low, power and ground omits that data path. A compatible scanner could still light up. For a CAN diagnostic link, check for the pair on pins 6 and 14. In either case the scanner itself must support the vehicle protocol.

How to read an OBD2-to-DB9 cable map

The Opens in a new tab: CSS Electronics OBD2-to-DB9 cable has a nine-position female socket at the logger end. Read the two columns independently. The number on the vehicle side need not match the number at the logger.

OBD2 pin   DB9 pin
6 CAN high 7
14 CAN low 2
4 Ground 3
16 Supply 9
CSS Electronics adapter only. DB9 pins 1, 4, 5, 6 and 8 are unconnected.

For example, a logger that takes supply on DB9 pin 9 would receive it through OBD2 pin 16 on this lead. A logger that expects a different supply contact calls for a different wiring check, even if its connector looks identical.

The Opens in a new tab: Kvaser Leaf Light HS v2 OBDII illustrates another arrangement. This is a USB-powered CAN interface. Its tool plug leaves OBD2 pin 16 unconnected (table 5). An open pin 16 is expected on that interface, whereas it would break the documented supply path on the CSS cable.

If your computer has an RS-232 port, a matching DB9 shell does not give it a CAN interface. A passive cable routes the wires. Reading diagnostic trouble codes requires an active interface and software that support the vehicle. For any other adapter, compare its wiring with the input diagram of the device you intend to connect.

Choosing a socket, extension or Y-splitter

Choose by what needs to change at the port: a fixture needs a mountable socket, a recessed port may only need an extension, and a permanent installation may need a second accessible outlet.

A socket for a bench fixture

Right-angle 16-position female receptacle with a keyed opening and exposed solder tails.
Opens in a new tab: EB-020-0047 · Right-angle female socket

Use a right-angle female socket when you are building a fixture and can support the socket and terminate the tails yourself. For a replacement under the dash, also compare the retaining clips and mounting dimensions with the vehicle’s bracket.

What to verify before ordering: Confirm the mounting method (bracket or PCB support), shell keying, clearance behind the 90-degree solder tails, and request the dimensional drawing so you can map each bent tail accurately during assembly.

An extension for one tool

For one scan tool, a male-to-female Opens in a new tab: OBD extension lets you reach a recessed port or take repeated plug cycles at a replaceable outlet. Check where the cable will exit once the connector is fully seated. A plug that fits on the bench can still hit a trim panel, and a loose loop must stay clear of the pedals.

Before ordering: Measure the routed distance, including the bend behind the plug. Request the end-to-end pin map and check the conductors your tool needs for this vehicle.

A splitter that leaves a service outlet accessible

OBD2 Y harness with a sleeved common lead and two separate female outlets.
Opens in a new tab: EB-021-0015 · 25 cm Y-splitter

The pictured 25 cm lead has one male plug and two female outlets. One use is to route a branch to a logger while keeping the other outlet reachable for service. Establish how the installed device will be disconnected for service if the two devices cannot share the connection.

Before ordering. Ask for the wiring of each branch. A product photo can show two outlets but cannot tell you whether, for instance, pin 7 reaches both of them. If you need continuous logging during a scan, the tool and logger manufacturers must also support that combination.

When the lead arrives. Label the two outlets A and B and check the required contacts on each against the supplier’s map. Keep that record with the harness so the next technician knows which outlet supports the service tool.

Why does the tool fail with this cable?

Use one tool at a time and keep the vehicle state and software settings the same. If the tool also fails when plugged directly into the vehicle, start with the tool’s setup guide and vehicle compatibility. A failed direct test gives you no basis to blame an added cable.

The tool works directly but fails with the extension

A plug’s molded shoulder can hit dashboard trim before the contacts seat. Look for that interference first, then inspect the loose extension for a bent blade, debris or a terminal pushed back into its shell.

If the plugs seat fully, disconnect the extension at both ends. Compare each required conductor with its specified destination. An open pin 7 rules this lead out for a session that uses K-line. If the required paths pass, try a known-working extension with the same pin map. A meter can show continuity on the bench even when a terminal loses contact after the plug is seated.

The tool lights up but cannot communicate

Find out what powers the indicator. A USB-powered interface can light up even when the vehicle supplies no power. On a port-powered scanner, the screen may light while a required data conductor is missing.

If direct connection works, compare the vehicle protocol with the wiring of the added lead. For a CAN diagnostic link, trace both 6 and 14 to the interface’s specified inputs. For a K-line session, start with 7. Do this on the fully disconnected lead. With a DB9 adapter, a conductor can reach the wrong DB9 pin and still give a continuity beep. If the map matches, try a known-working compatible lead in the same setup.

The splitter fails on one or both outlets

Try the same tool on A alone, then B alone, leaving the other outlet empty each time.

  • Only one outlet fails. Inspect that socket for a recessed contact or a plug that cannot fully seat. On the disconnected splitter, compare the failing outlet with the supplier’s branch map. A difference between A and B may be intentional.
  • Neither outlet works alone, but direct connection works. Check the seating of the common male plug. With the splitter disconnected, trace each required contact from that plug to A and B before singling out either outlet.
  • Both outlets work individually, but the two devices fail together. First confirm that each device works alone in its intended outlet. If both pass, check whether both manufacturers support that combination and its power requirements. Use one device at a time until confirmed.

How to check a disconnected harness

Disconnect the entire lead before using continuity mode. Unplug it from the vehicle and all tools. For a Y-splitter, leave both outlets empty. The vehicle socket may still have power with the ignition off.

  1. Identify each connector’s mating face. For an OBD2 extension, keep both wide edges up. For a DB9 adapter, use the numbered view supplied for the DB9 end.
  2. Touch the contacts gently with a multimeter in continuity mode—avoid forcing thick test leads into female cavities, which can spread the spring contacts and cause intermittent connections later.
  3. Use the wiring map to choose the far-end contact for each required pin. On a straight-through extension the two numbers should match. Test each outlet of a splitter separately.
  4. Compare unexpected continuity with the supplier’s map. Check for unintended connections, including between supply and returns. Testing only adjacent contacts does not rule out every cross-connection.

How to interpret the result

  • A useful record: Name the input contact, expected output and observed result. For example, record OBD2 6 to DB9 7 for the CSS lead. For a Y lead, record A and B independently. A missing path matters when the drawing or the intended tool requires it.
  • What a beep leaves open: A low-current continuity test cannot establish supply voltage under load, signal quality, vehicle protocol or compatibility between two active tools. If a harness matches its map but still fails in use, compare it with a known-working connection and check the equipment requirements before ordering a replacement.