What is M8 connector pinout ?
M8 connectors are waterproof circular connectors with 8 mm locking thread diameter, typically used in industrial automation and control systems. The pinout of an M8 connector refers to the arrangement and function of the individual pins within the connector.
The pinout of an M8 connector can vary depending on the specific type of M8 connector being used. For example, M8 connectors can have A code 3 pin, 4 pin, 5 pin, 6 pin, 8 pin, B code 5 pin, D code 4 pin, and the pinout may be different depending on the application.
M8 connectors are used to transmit electrical signals and/or power between devices. The specific pinout of an M8 connector will depend on pin quantity, coding type and the the specific signals and power connections being made. The following content will help you understand the M8 connector pinout.
Types of M8 connector
- Field wireable connectors: These connectors have screw terminals that allow you to attach wires directly to the connector without the need for soldering, are available for A code 3 pin and 4 pin only.
- Moulded connectors: These connectors are prewired, made from a single piece of plastic.
- Front mount connectors: These connectors are mounted to the front of a device.
- Back mount connectors: These connectors are mounted to the back of a device.
- PCB mount connectors: These connectors are designed to be mounted directly onto a printed circuit board (PCB).
- Splitters: These connectors allow you to split a single M8 connector into two or more separate connectors. This can be useful if you need to connect multiple devices to a single M8 connector.
M8 3 pin connector pinout

We can see the male and female pins are mirrored, the above picture also shows the position of the pins. Do you know why there is no pin 2 ?
M8 3 pin connector wire definition

- Pin 1 : BN, short of brown, brown color wire
- Pin 3 : BU, short of blue, blue color wire
- Pin 4 : BK, short of black, black color wire
M8 3 pin connector picture
The following 3 pole M8 field wireable connector is screw terminal, available for male and female, straight and angle.

A Code M8 4 pin connector pinout


- Pin 1 : BN, short of brown, brown color wire
- Pin 2 : WH, short of white, white color wire
- Pin 3 : BU, short of blue, blue color wire
- Pin 4 : BK, short of black, black color wire
All M8 connectors have 4 pin for option
M8 4-pin connector picture
This is Zinc alloy M8 field wireable connector, screw termination, available for 3 pole and 4 pole.

D Code M8 4 pin connector pinout


- Pin 1 : YE, short of yellow, yellow color wire
- Pin 2 : WH, short of white, white color wire
- Pin 3 : OG, short of orange, orange color wire
- Pin 4 : BU, short of blue, blue color wire
D code 4 pin M8 to RJ45 pinout
The D-coded M8 to RJ45 ethernet cable have 4 cores, the 8 pin RJ45 will have only 4 pin connected to the M8 connector, details as following

M8 D code 4 pin ethernet connector picture
D -coded M8 connector is mainly used for data tranmisssion, such as industrial ethernet.

B code M12 5 pin connector pinout


- Pin 1 : BN, short of brown, brown color wire
- Pin 2 : WH, short of white, white color wire
- Pin 3 : BU, short of blue, blue color wire
- Pin 4 : BK, short of black, black color wire
- Pin 5 : GY, short of grey, grey color wire
M8 B code 5 pin connector picture
It’s snap in design M8 connector, have A-coded 3-pin, 4-pin, B-coded 5 pin, suitable for test equipments.

M8 6 pin connector pinout



- Pin 1 : BN, short of brown, brown color wire
- Pin 2 : WH, short of white, white color wire
- Pin 3 : BU, short of blue, blue color wire
- Pin 4 : BK, short of black, black color wire
- Pin 5 : GY,short of grey, grey color wire
- Pin 6 : PK, short of pink, pin color wire
A-coded M8 6 pin connector picture
The moulded M8 A code connector is available for straight and angled, have PVC, PUR cable jacket.

D Code M8 6 pin connector picture
The D-coded M8 6 pin cable have same pin position as A coded M8 6 pin, but the Pin-1, and Pin-2 have bigger size, it is hybrid connector, which could supply data and power connection at one connector, and size is only M8 size.

M8 8 pin connector pinout


- Pin 1 : WH, short of white, white color wire
- Pin 2 : BN, short of brown, brown color wire
- Pin 3 : GN, short of green, green color wire
- Pin 4 : YE, short of yellow, yellow color wire
- Pin 5 : GY,short of grey, grey color wire
- Pin 6 : PK, short of pink, pink color wire
- Pin 7 : BU, short of blue, blue color wire
- Pin 8, RD, short of red, red color wire
M8 8 pin connector picture
The M8 8 pole cable have straigt and angled shape, shielded or unshielded.

Welcome to contact us if you have any questions for the M8 connector pinout.
Leave a Reply