M8 connectors are widely used in industrial automation systems where compact dimensions, reliable connections, and efficient signal transmission are essential. With an 8 mm threaded locking interface, these circular connectors provide a practical connection solution for sensors, actuators, control devices, and other industrial equipment.
Choosing the right M8 connector involves more than matching the thread size. Pin configuration, coding, mounting style, cable construction, and environmental protection all affect compatibility and performance. This guide explains M8 connector types, pinouts, coding, technical specifications, cable options, and common applications to help you understand the available solutions.
What Is an M8 Connector?
An M8 connector is a subminiature circular industrial interconnect defined by an 8 mm metric threaded coupling mechanism (M8×1), standardized under IEC 61076-2-104. Unlike larger circular interfaces or unsealed rectangular headers, this M8 circular connector is engineered specifically to deliver vibration-resistant power and signal transmission in space-constrained field devices.

In automated production lines, proximity switches, photoelectric sensors, compact actuators, and distributed I/O blocks rarely have room for 12 mm or larger receptacles. Replacing bulky housings with an M8 electrical connector allows engineers to increase sensor density on robotic end-of-arm tooling (EOAT), miniature pneumatic cylinders, and slim junction boxes without sacrificing ingress protection.
- Threaded Locking Integrity: The M8×1 screw-coupling nut prevents accidental disconnection caused by continuous machine vibration, mechanical shock, or cable drag—a critical reliability advantage over snap-in or friction-fit plugs.
- Compact Footprint: With an outer coupling diameter roughly 30–35% smaller than M12 equivalents, M8 receptacles allow tighter pitch spacing on multi-port sensor distribution boxes.
- Modular Form Factors: Available in overmolded cordsets (straight and 90° right-angle), field-wireable plugs, and front- or rear-mounted PCB/panel receptacles [Insert Link to Product Page], enabling consistent interface standards from the sensor head back to the control cabinet.
- Environmental Sealing: Integrated O-rings and precision-molded housings routinely achieve IP67 (and up to IP68 when properly mated and torqued), protecting low-voltage sensor signals from coolant spray, washdown cycles, and conductive dust.
M8 Connector Types and Configurations
M8 connectors are available in different configurations to meet electrical and mechanical requirements. They can be classified by contact count, mounting type, gender, and connector orientation.
M8 Connectors by Pin Configuration
The number of contacts determines how many electrical circuits can be connected through an M8 interface. Common configurations include:
- 3-pin M8 connectors: often used for basic sensor connections, such as power supply and one signal output.
- 4-pin M8 connectors: provide an additional contact and are widely used in industrial sensor and actuator connections.
- 5-pin M8 connectors: provide additional contacts for applications that require more signal connections.
- 6-pin and 8-pin M8 connectors: support equipment with multiple signal or control circuits.
The exact contact arrangement and electrical function depend on the coding and the device wiring diagram. A higher pin count does not automatically mean a higher current rating or better performance.

M8 Connectors by Mounting and Termination Type
Field-wireable M8 connectors allow cables to be terminated on-site. Depending on the design, they may use screw terminals or solder-cup contacts. They are useful for installation, maintenance, and custom cable preparation.
Panel-mount M8 connectors are installed through an equipment enclosure or mounting panel. They provide a fixed connection point between internal wiring or a PCB and external devices. Common options include front mounting, rear mounting, solder-cup termination, and through-hole PCB soldering.
Overmolded M8 cable assemblies have the connector integrated with the cable through molding. This ready-to-install construction protects the cable termination and simplifies equipment wiring.
M8 Connector Pinout and Wire Color Code
Understanding the M8 connector pinout is essential for correct installation. The pin assignment identifies the electrical function of each contact, while wire colors help installers identify individual conductors. The following are common sensor-wiring examples; always confirm the actual device and cable wiring diagram before connecting power.
M8 3-Pin A-Code Connector Pinout


A common 3-pin sensor connection uses Pin 1 for the positive supply, Pin 3 for 0 V, and Pin 4 for the signal output.
| Pin | Typical wire color | Typical function |
|---|---|---|
| Pin 1 | Brown | Positive supply (L+) |
| Pin 3 | Blue | 0 V / return |
| Pin 4 | Black | Signal output |
M8 4-Pin A-Code Connector Pinout


A common 4-pin A-coded sensor cable adds a second signal conductor. A typical color assignment is shown below.
| Pin | Typical wire color | Typical function |
|---|---|---|
| Pin 1 | Brown | Positive supply (L+) |
| Pin 2 | White | Additional signal |
| Pin 3 | Blue | 0 V / return |
| Pin 4 | Black | Signal output |
M8 connectors with five, six, or eight contacts support additional electrical circuits. Their pin assignments and conductor colors are not universal across all devices and cable assemblies. Confirm the coding, contact numbering, mating-face view, and equipment wiring diagram before termination. Male and female mating-face views may appear mirrored, so the viewing direction should be clearly identified on any wiring drawing.
M8 5-Pin B-Code Connector Pinout


M8 6-Pin A-Code Connector Pinout


M8 8-Pin A-Code Connector Pinout


M8 Connector Specifications and Technical Parameters
Before selecting an M8 connector, review its mechanical, electrical, and environmental specifications. Ratings can vary by coding, contact count, termination method, cable construction, and product series.
| Parameter | What to verify |
|---|---|
| Thread / locking interface | M8 threaded interface or specified alternative locking style |
| Number of contacts | Confirm the exact pin count and contact numbering |
| Coding | A-coded, B-coded, C-coded, or a specified D-coded product |
| Rated voltage and current | Use the rating of the exact connector or cable assembly |
| Protection rating | Confirm the IP rating and whether it applies when mated or capped |
| Contact and housing materials | Check contact base material, plating, and housing construction |
| Cable jacket | PVC, PUR, or another specified material |
| Temperature range | Confirm the product-specific operating temperature |
| Shielding | Check whether the assembly is shielded and how the shield is terminated |
| Mounting dimensions | Verify panel thread, cutout, panel thickness, and space behind the panel |
Is an M8 Connector Waterproof?
Some M8 connectors are designed with sealing features and carry an IP67 or other stated protection rating. The actual protection depends on the complete assembly, including the mating condition, seals, cable entry, panel mounting, and installation method. An IP rating should not be assumed to apply to an unmated connector unless the manufacturer specifies protection with a suitable cap. Check the product datasheet and stated test conditions before using a connector in a wet or outdoor environment.
M8 Cable Types and Connection Solutions
M8 connectors are available as individual components and as complete cable assemblies. The appropriate option depends on whether the installation requires field termination, equipment integration, or a ready-to-install connection.
M8 Overmolded Cables
M8 overmolded cables have the connector permanently integrated with the cable through molding. This construction protects the cable termination and provides a ready-to-install connection for sensors, actuators, and industrial equipment. Options may include straight or right-angle connectors, single-ended or double-ended assemblies, and shielded or unshielded versions.
M8 Field-Wireable Connectors
Field-wireable M8 connectors allow cables to be terminated on-site. They are useful when the cable length must be adjusted during installation or when maintenance and replacement are important. Depending on the model, termination may use screw terminals or solder cups.
M8 Panel-Mount Cable Assemblies and Receptacles
Panel-mount receptacles and cable assemblies provide a fixed connection through an equipment enclosure. They can connect external sensors or cables to internal wiring or a PCB. Confirm the front- or rear-mount design, mounting thread, panel thickness, and termination style.
Straight vs. Right-Angle M8 Cables
Straight connectors are suitable where the cable can exit directly from the connection point. Right-angle connectors can help reduce the space needed for cable routing, but the outlet direction should be checked against the equipment layout to avoid cable twisting or interference.
PVC vs. PUR Cable Jackets
PVC and PUR are common cable jacket materials. PVC is often selected for general industrial applications where cost and standard flexibility are important. PUR is commonly considered where greater abrasion, oil, or repeated-flexing resistance is required, depending on the material formulation. Select the jacket according to the actual environment, movement, chemical exposure, and service-life requirements.

For a deeper comparison, read Renhotec’s guide: PVC vs. PUR Cable: How to Choose the Right Jacket for M8 and M12 Cable Assemblies
Common Applications of M8 Connectors
Industrial Automation and Sensors
M8 connectors are commonly used to connect proximity sensors, photoelectric sensors, position sensors, and other detection devices to control systems. Their compact interface is useful when sensors are installed close together on machinery.

Robotics and Motion-Control Equipment
In robotic equipment and automated machinery, M8 connectors can provide compact connections for sensors and control components. Right-angle cable designs may help route cables where installation space is restricted.
Packaging and Assembly Machinery
Packaging and assembly machines use sensors to monitor product position, machine movement, and operating conditions. M8 cable assemblies provide a practical connection between these devices and machine control systems.
Machine-Vision and Inspection Equipment
M8 connectors may be used for sensor signals, status monitoring, and auxiliary control connections in inspection equipment. The connector must match the device interface. A standard sensor M8 connector should not be assumed to carry high-speed camera data.

Outdoor and Demanding Industrial Environments
For applications exposed to dust, moisture, vibration, or temperature changes, evaluate the sealing design, housing material, cable jacket, and IP rating as a complete system. Select the product according to the actual operating conditions and the manufacturer’s specifications.
Recommended M8 Connectors and Cable Assemblies from Renhotec
Renhotec offers a range of M8 connectors and cable assemblies for industrial automation, sensor systems, and equipment integration. From field-wireable plugs to panel-mount receptacles and overmolded cable assemblies, different configurations are available for various installation and connection requirements.
M8 4-Pin A-Coded Connectors
Four-pin A-coded M8 connectors are a widely used option for industrial sensor and actuator connections. They provide an additional contact compared with three-pin configurations and are suitable for many general I/O applications. Renhotec offers male and female options, with straight or right-angle designs and different housing and termination choices. Confirm the exact pin assignment and product rating before ordering.
- Male and female configurations
- Straight and right-angle orientations
- Field-wireable and molded-cable versions
- Metal-shell and plastic-shell options, depending on the model
M8 Field-Wireable Connectors
Field-wireable M8 connectors are suitable for on-site cable termination, installation adjustments, and maintenance. Renhotec’s M8 field-wireable range includes male and female connectors, straight and right-angle versions, and different termination and shell options. Select screw-terminal or solder-cup designs according to the cable and assembly process.

M8 Overmolded Cable Assemblies
M8 overmolded cable assemblies provide ready-to-install connections for industrial sensors and equipment. The molded interface helps protect the cable termination and reduces the need for field termination. Depending on the available model, options may include straight or right-angle connectors, single-ended or double-ended assemblies, shielded or unshielded construction, and PVC or PUR cable jackets.
M8 Panel-Mount Connectors
M8 panel-mount connectors provide a fixed external connection interface on equipment housings, control modules, and electronic devices. Renhotec’s range includes front- and rear-fastened designs, solder-cup and PCB-solder terminations, and straight or right-angle configurations. Before selecting a model, check the mounting thread, panel thickness, cutout dimensions, and clearance behind the panel.

M8 Assembly Cables and Adapters
For installations that require a complete cable set or a change in connector interface, M8 assembly cables and adapters can provide a convenient solution. Confirm the connector gender at both ends, pin-to-pin wiring, coding, cable length, and electrical ratings before selecting an assembly.
Need a Customized M8 Connector or Cable Assembly?
For project-specific requirements, Renhotec can discuss customized M8 connection solutions based on the required connector gender, pin configuration, coding, cable length, jacket material, shielding, and termination method. Share a drawing, an existing sample, or the equipment connector part number to help confirm compatibility and prepare a suitable quotation.
M8 vs. M12 Connector: What’s the Difference?
M8 and M12 connectors are both widely used in industrial automation, but they serve different installation requirements. M8 is more compact, while M12 provides a larger interface and is available in a broad range of signal, data, and power configurations.

| Feature | M8 Connector | M12 Connector |
|---|---|---|
| Thread size | M8 | M12 |
| Physical size | More compact | Larger interface |
| Typical applications | Compact sensors and actuators | Sensors, actuators, and a wider range of industrial connections |
| Contact configurations | Multiple configurations | Multiple configurations |
| Installation space | Useful in space-limited installations | Requires more mounting space |
| Cable options | Field-wireable and cable-assembly versions | Field-wireable and cable-assembly versions |
M8 connectors are often selected when compact dimensions are important. M12 connectors may be more suitable when the equipment requires a larger interface or a different electrical or mechanical configuration. The best choice depends on device compatibility, electrical requirements, and installation conditions.
For a more detailed comparison, read our guide: How to Choose the Right Industrial Sensor Connector: M8 vs. M12 Explained. For contact numbering and wire colors, see our M12 Connector Pinout and Wiring Guide.
Frequently Asked Questions About M8 Connectors
Are all 4-pin M8 connectors interchangeable?
No. Having the same number of contacts does not necessarily mean that two M8 connectors are compatible. Coding, gender, keying, contact layout, and wiring assignment must match. Before ordering a replacement, check the original connector’s coding, pin configuration, mating interface, and wiring diagram.
Can I connect an M8 connector directly to an M12 port?
No. M8 and M12 connectors have different threaded mating interfaces and cannot be connected directly. An adapter or a custom cable assembly with M8 at one end and M12 at the other may be used when the application requires it. Verify pin-to-pin wiring, electrical ratings, and both device interfaces before connection.
Why does my M8 connector keep coming loose or losing its signal?
Possible causes include insufficient tightening, cross-threading, damaged or contaminated contacts, excessive cable movement, poor strain relief, or incorrect wiring. Check connector alignment and mating condition, inspect the contacts, and confirm the cable is not under constant tension. Follow the manufacturer’s tightening instructions and do not overtighten the coupling nut.
Is an IP67-rated M8 connector waterproof when it is disconnected?
Not necessarily. The stated IP rating generally applies under specified test conditions and may require the connector to be properly mated. When disconnected, the exposed interface may not retain the same protection. Use a compatible protective cap where required and check whether the product rating applies to a capped or unmated condition.
Can I use a standard 4-pin M8 connector for Industrial Ethernet?
Not every four-pin M8 connector is suitable for Ethernet. Standard A-coded sensor connectors are commonly used for sensor and actuator signals, while Renhotec lists selected D-coded M8 cable assemblies for compatible industrial data or Ethernet connections. Confirm coding, cable construction, shielding, and network requirements. Do not substitute an A-coded sensor cable for a D-coded assembly without verifying the interface.
What information should I provide when ordering a customized M8 cable assembly?
Provide the connector type and gender at both ends, pin count and coding, pin-to-pin wiring diagram, cable length and outside diameter, jacket material such as PVC or PUR, shielding requirement, straight or right-angle orientation, operating environment, protection requirements, and order quantity. A drawing, existing sample, or equipment part number can help confirm compatibility and reduce specification errors.
Conclusion
M8 connectors provide compact connection solutions for industrial sensors, actuators, and automation equipment. Understanding contact configurations, coding, mounting structures, cable options, and environmental requirements helps ensure compatibility and reliable installation.
Renhotec Industrial · M Series
Find the Right M8 Connector for Your Application
Whether you need a field-wireable connector, a panel-mount receptacle, or a complete overmolded cable assembly, the right M8 configuration depends on the equipment interface and operating conditions.

