Micro-Ray Electronics Inc. MICRO-RAY ELECTRONICS INC.
Over 40 years in businessYour quantities, your schedule — we manufacture to your requirement and release as you need it.
For Manufacturers Want Micro-Ray to sell your products? We partner with manufacturers to bring new lines to market. Contact Our Sales Team →
Home/Products/Connectors/Industrial Connectors/M12 Connectors

M12 Connectors

M12 connectors are circular industrial connectors with a 12 mm threaded coupling, used in automation, sensors and control systems where the connection has to survive vibration, water and dust. Micro-Ray supplies 59 male and female M12 connectors: panel mount (front and rear fastened), field-wireable, PCB mount, overmolded and X-coded Ethernet, plus M12 to RJ45 adapters and panel shells.

M12 connector styles on this page

  • M12 panel mount connectors — male and female receptacles, front or rear fastened, with PG9, M16×1.5 or M12×1 threads and solder cup, wire lead or PCB terminations.
  • M12 field-wireable connectors — straight and right-angle plugs and sockets you terminate on site, 3 to 17 pins.
  • X-coded M12 — 8-pin shielded connectors, overmolded, crimp, solder and PCB versions, plus X-coded to RJ45 adapters for 10 Gbit Ethernet.

For assembled cordsets and patch leads, see M12 Cables.

M12 coding: A, B, C, D, X, S and T

The coding is a key in the insert that stops connectors for different jobs from mating by mistake.

Code Typically used for
A Sensors, actuators and DC power
B PROFIBUS and fieldbus
C AC power
D 100 Mbit Ethernet, 4 pins
X 10 Gbit Ethernet, 8 pins, shielded
S AC power, replacing C-coded power components
T DC power

How to choose an M12 connector

  • Coding — match the coding of the device you are mating to.
  • Pin count — the number of contacts the circuit needs.
  • Male or female — male connectors carry pins, female carry sockets; the device side is usually one and the cable the other.
  • Mounting — panel mount through a housing wall, PCB mount on a board, or a field-wireable plug on the cable.
  • Thread and fastening — front or rear fastened, and the panel thread (PG9, M16×1.5 or M12×1).
  • Termination — solder cup, wire leads, crimp, PCB pins or screw terminals.

Questions we are asked

Are M12 connectors waterproof?

Most connectors on this page are rated IP67 or IP68 when mated and tightened; each part page gives that part’s own rating.

What is the difference between A-coded and D-coded M12?

A-coded is the general sensor and power coding, with the widest choice of pin counts. D-coded has 4 pins and is used for 100 Mbit Ethernet. They are keyed differently and do not mate with each other.

Can you build M12 cable assemblies?

Yes. Micro-Ray builds M12 cordsets and connector-to-connector assemblies to your length and pinout. Send a drawing or description through the quote form.

Ordering

Every connector is sold by the piece with quantity pricing on request. Please call (732) 892-8799 or email sales@micro-ray.com for pricing and availability.

Showing 1–12 of 59 results

Specifications
ImagePart NumberDescriptionPinsDrawingPriceAvailabilityQty
MR-M12-FW-04 - IP67/IP68 Waterproof M12 3 4 5 6 8 12 17Pin Female Straight Assembly Connector MR-M12-FW-04 IP67/IP68 Waterproof M12 3 4 5 6 8 12 17Pin Female Straight Assembly Connector MR-M12-FW-04 IP67/IP68 Waterproof M12 3 4 5 6 8 12 17Pin Female Straight Assembly Connector. 3, 4, 5, 6, 8, 12, 17 Drawing Call for Pricing Please call for stock check or lead-time Quote
MR-M12-OC-12 - Waterproof M12 Male Straight Plastic Plug Cable Assembly Connector for Industrial Automation MR-M12-FW-05 M12 3 4 5 6 8 12 17Pin Male Straight Field Wireable Electrical Waterproof Connectors MR-M12-FW-05 M12 3 4 5 6 8 12 17Pin Male Straight Field Wireable Electrical Waterproof Connectors. 3, 4, 5, 6, 8, 12, 17 Drawing Call for Pricing Please call for stock check or lead-time Quote
MR-M12-GN-03 - M12 3 4 5pin Waterproof Metal Female Plug Assembly Screw Threaded Sensor Connectors MR-M12-GN-03 M12 3 4 5pin Waterproof Metal Female Plug Assembly Screw Threaded Sensor Connectors MR-M12-GN-03 M12 3 4 5pin Waterproof Metal Female Plug Assembly Screw Threaded Sensor Connectors. 3, 4, 5 Drawing Call for Pricing Please call for stock check or lead-time Quote
MR-M12-FW-06 - M12 3pin 4pin 5pin 8pin12pin Male Assembly Right Angled Shielded Waterproof Connector MR-M12-FW-06 M12 3pin 4pin 5pin 8pin12pin Male Assembly Right Angled Shielded Waterproof Connector MR-M12-FW-06 M12 3pin 4pin 5pin 8pin12pin Male Assembly Right Angled Shielded Waterproof Connector. 3, 6 Drawing Call for Pricing Please call for stock check or lead-time Quote
M12 8-Pin X-Coded Angle Female Socket, PCB Termination, Screw M12x1 MR-M12-X8-15AP M12 8-Pin X-Coded Angle Female Socket, PCB Termination, Screw M12x1 M12 8-Pin, X-Coding, Right-Angle Female Socket — a compact right-angle PCB socket with an M12x1 panel coupling thread, for low-profile board-edge mounting.Coding: X (high-speed... 8 Drawing Call for Pricing Please call for stock check or lead-time Quote
M12 8-Pin X-Coded Angled Female Connector, Overmolded, Shielded MR-M12-X8-08OM M12 8-Pin X-Coded Angled Female Connector, Overmolded, Shielded M12 Angled Female Overmolded Connector — an 8-pin X-coded field-attachable cable connector for shielded Gigabit/Cat6A Ethernet runs, with a 90° angled overmolded body for... 8 Drawing Call for Pricing Please call for stock check or lead-time Quote
M12 8-Pin X-Coded Angled Female Connector, Solder Termination, Metal Shielded, PG9 Cable Gland MR-M12-X8-04FA M12 8-Pin X-Coded Angled Female Connector, Solder Termination, Metal Shielded, PG9 Cable Gland M12 8-Pin, X-Coding, Angled Female Connector — right-angle body with solder termination, a PG9 cable gland, and a metal shielded shell. X-coding is the... 8 Drawing Call for Pricing Please call for stock check or lead-time Quote
M12 8-Pin X-Coded Angled Male Connector, Overmolded, Shielded MR-M12-X8-07OM M12 8-Pin X-Coded Angled Male Connector, Overmolded, Shielded M12 8-Pin, X-Coding, Angled Male Connector — a one-piece overmolded right-angle body with an integral shielded cable exit. X-coding is the high-speed data variant... 8 Drawing Call for Pricing Please call for stock check or lead-time Quote
M12 8-Pin X-Coded Angled Male Connector, Solder Termination, Metal Shielded, PG9 Cable Gland MR-M12-X8-03MA M12 8-Pin X-Coded Angled Male Connector, Solder Termination, Metal Shielded, PG9 Cable Gland M12 8-Pin, X-Coding, Angled Male Connector — right-angle body with solder termination, a PG9 cable gland, and a metal shielded shell. X-coding is the... 8 Drawing Call for Pricing Please call for stock check or lead-time Quote
M12 8-Pin X-Coded Female Back Mount Socket, PCB Termination, Screw M16x1.5 MR-M12-X8-14PS M12 8-Pin X-Coded Female Back Mount Socket, PCB Termination, Screw M16x1.5 M12 8-Pin, X-Coding, Back Mount Female Socket — a panel-mount receptacle with pcb termination, secured by an M16x1.5 panel nut. Body mounts from behind... 8 Drawing Call for Pricing Please call for stock check or lead-time Quote
M12 8-Pin X-Coded Female Back Mount Socket, Solder Termination, Screw M16x1.5 MR-M12-X8-12PS M12 8-Pin X-Coded Female Back Mount Socket, Solder Termination, Screw M16x1.5 M12 8-Pin, X-Coding, Back Mount Female Socket — a panel-mount receptacle with solder termination, secured by an M16x1.5 panel nut. Body mounts from behind... 8 Drawing Call for Pricing Please call for stock check or lead-time Quote
M12 8-Pin X-Coded Female Back Mount Socket, Solder Termination, Screw M16x1.5, Shielded MR-M12-X8-13PS M12 8-Pin X-Coded Female Back Mount Socket, Solder Termination, Screw M16x1.5, Shielded M12 8-Pin, X-Coding, Back Mount Female Socket — a panel-mount receptacle with solder termination, secured by an M16x1.5 panel nut. Body mounts from behind... 8 Drawing Call for Pricing Please call for stock check or lead-time Quote
Trademark noticeAll manufacturer names, brand names, trade names, logos, model numbers and part numbers appearing on this site — including but not limited to AMP, TE Connectivity, Molex, JST, Phoenix Contact and Hirose — are the property of their respective owners. Micro-Ray Electronics, Inc. is not affiliated with, authorized by, sponsored by or endorsed by any of these companies, except where Micro-Ray Electronics is expressly identified on this site as an authorized distributor or brand partner. Manufacturer part numbers are used solely to identify the original part for which a Micro-Ray part is offered as an equivalent, and no claim is made to any third-party trademark. Micro-Ray parts are our own products, cross-referenced to the original part numbers; they are not the original manufacturer’s parts and carry no original manufacturer warranty.
Full Terms & Conditions of Sale, including our second-source equivalency, technical-data, warranty and liability statements.

Need a Custom Cable Assembly or a Hard-to-Find Connector?

Send us your part number, drawing, or a description of what you need. A real person on our team will get back to you.

Call Us Request a Quote

Value-Added DistributorMicro-Ray is a value-added distributor — most products can be customized to your requirement: modified terminations and lengths, custom cable assemblies, control panels and light PC board assembly. Call (732) 892-8799 and tell us what you need.

Like this website? RVJR Website Design can build you a website like this.Get a free website quote