This article was translated from the original Traditional Chinese version. 中文版
A reed switch is a mechanical contact; taking one pneumatic component maker's cylinder switch catalog as an example, the reed type has an operating time of 1.2 ms and no leakage current (Reference 4). Proximity sensors (inductive and capacitive) are proximity switches covered by IEC 60947-5-2:2019 (Reference 1).
A reed switch closes its contacts when a magnet comes near; with no magnet there is no signal. A proximity sensor does not need to touch the target: the inductive type senses metal, the capacitive type can also sense non-metals, and neither needs a magnet. The difference lies in what makes each one operate, and in how it is wired, how long its contacts last, and where it is mounted. Compare them on four points: sensing method and target, wiring and output, speed/life and load, and mounting and distance; then choose for your application. In this article, "reed switch" means the reed type with contacts sealed in a glass tube, commonly used to detect the magnet on a pneumatic cylinder piston; "proximity sensor" means the inductive and capacitive types; photoelectric sensors are out of scope.
This article starts from the point where you already know you need to detect a position or the presence of an object; each source and its basis are listed in the references at the end. If you want to see how to select each one first, read "How to Choose a Reed Switch" and "How to Choose a Proximity Sensor". This is general guidance; each case still needs to be judged on its own.
Key Takeaways (TL;DR)
When you detect object position on an automated production line or SMT equipment, the core dividing line between a reed switch and a proximity sensor (inductive and capacitive types in this article) is whether it depends on a magnet and how its contacts are built:
- Different targets: A reed switch needs a piston magnet ring or an external magnet to close the ferromagnetic reeds inside its glass tube; an inductive proximity sensor detects metal without a magnet, and a capacitive one detects both metal and non-metals such as plastic, liquid, and cardboard boxes.
- Wiring and voltage drop differences: Reed switches are mostly 2-wire, accept AC or DC supply, and have no standby leakage current, but they have an internal voltage drop of about 2.4–3 V when connected in series; proximity sensors are commonly 3-wire (NPN or PNP must match the PLC input polarity), and with 2-wire solid-state products you need to watch for leakage current of up to 0.8 mA that can cause the load to operate falsely.
- Life, load, and distance estimation: A reed switch is a mechanical contact, so a contact protection device is required with inductive loads (solenoid valves, relays) or wiring of 5 m or longer; an inductive proximity sensor is solid-state with no contacts, and when designing the mounting gap you should apply the IEC 60947-5-2:2019 0.81 rule (assured operating distance Sa ≤ 0.81 × Sn) and multiply by the reduction factor for the target metal.
Contents
- Sensing Principles and Where They Sit in International Standards
- 2-Wire vs. 3-Wire (NPN/PNP) Wiring, Voltage Drop, and Leakage Current in Practice
- Operating Distance Calculation (0.81 Rule and Material Reduction) and Load Protection
- Related Products on the JIAHON Website
- Further Reading
- Shop-Floor FAQ
- References
Sensing Principles and Where They Sit in International Standards
Within the International Electrotechnical Commission (IEC) standards system, the two product types fall under different standards:
- Reed switch: Covered by IEC 62246-1:2015 (generic specification and test and measurement procedures, excluding mercury-wetted contacts) and IEC 62246-4:2023 (application assessment with magnetic actuators). Its core is two ferromagnetic reeds sealed in a glass tube filled with inert gas; when the external magnetic field reaches the switch's pull-in ampere-turn value (Ampere-Turns, AT), the reeds are magnetized, attract each other, and close the circuit (see Bright Toward explanation of ampere-turns). Because it can sense the piston magnet ring through an aluminum cylinder wall, it is common in pneumatic component positioning.
- Proximity sensors (Inductive & Capacitive Proximity Switches): Covered by IEC 60947-5-2:2019 (Edition 4.0) Low-voltage switchgear and controlgear Part 5-2 (covering inductive, capacitive, ultrasonic, photoelectric, and non-mechanical magnetic proximity switches). Of these:
- Inductive: A coil at the front generates a high-frequency alternating electromagnetic field; when a metal target enters the field, eddy currents form on the metal surface and consume oscillation energy, so the oscillation amplitude decays, which triggers the solid-state output to switch.
- Capacitive: The electrode on the sensing face forms a capacitance with ground and is connected to an oscillator circuit; when a metal or non-metal (liquid, wood, plastic) enters the electrostatic field, the change in dielectric constant increases the capacitance and the oscillation amplitude grows, which switches the output (see Omron: operating principle of capacitive proximity sensors). With no target, the capacitance is small and so is the oscillation amplitude (References 26, 11).
"Proximity switch" and "proximity sensor" are different names for the same type of product; because it outputs an on or off signal, people on the shop floor often call it a proximity switch. Some catalogs group reed switches and magnetic switches under "magnetic proximity switches," but a reed switch needs a magnet to operate, and its principle differs from the inductive and capacitive types. For the "non-mechanical" magnetic proximity switches covered by IEC 60947-5-2:2019 (Edition 4), the standard's official page only says non-mechanical magnetic and does not mention reed switches (Reference 1).

Table 1 | Key specification comparison of reed switches, inductive proximity switches, and capacitive proximity switches

How to read it: First write down what you need to detect (the magnet on a piston, a metal workpiece, wood or paper, or liquid), and whether you need presence or position. If the target is a magnet, such as the magnet ring on a pneumatic cylinder piston, go with a reed switch; if the target is a metal part, go with an inductive proximity sensor; if the target includes non-metals or liquid, go with a capacitive sensor. What each public source says about sensing method is summarized in Table 2.

On SMT equipment, the two often appear together, each with a different job:
- Reed switch: detects cylinder end-of-stroke. Cylinders for stoppers, clamping, and lifting use a reed switch on the cylinder body to sense the piston magnet ring and tell the controller whether the stroke has been reached (see the SMT section of "How to Choose a Reed Switch").
- Proximity sensor: detects metal mechanisms or home position. For conveyor width adjustment and the home and limit positions of lift mechanisms, an inductive proximity sensor is commonly used to detect a metal flag; it needs no magnet and is not affected by contact wear.
- Do not mix them up when replacing parts. If a position that originally used a reed switch is changed to a proximity sensor (or the other way around), the target is different, and the 2-wire/3-wire and NPN/PNP wiring may also differ (see the next section); during maintenance, replacing with the original model is the safest choice.
2-Wire vs. 3-Wire (NPN/PNP) Wiring, Voltage Drop, and Leakage Current in Practice
In control circuit design, wiring errors with reed switches and proximity sensors are the main cause of PLC input misreads or burned-out components:
- 2-wire characteristics: Reed switches are mostly 2-wire, accept AC or DC supply, and when not actuated have no standby leakage current. However, taking a common 2-wire reed switch with an LED indicator (such as SMC D-A93) as an example, at a 24 VDC supply it produces an internal voltage drop of about 2.4 V (≤20 mA) to 3 V (40 mA), meaning the PLC actually receives only 21–21.6 V; if several switches are connected in series (for example, two in series drop 4.8–6 V), the voltage may fall below the minimum operating threshold of the PLC input (see SMC auto switch technical specifications manual). By contrast, a 2-wire solid-state switch needs a small current to keep its internal circuit running even in the OFF state, producing leakage current of up to 0.8 mA; if several are connected in parallel or used with a high-impedance PLC input, the accumulated leakage current can leave a residual voltage on the load and cause false triggering.
- 3-wire NPN and PNP outputs: 3-wire solid-state proximity sensors (or electronic magnetic switches) separate the positive supply (brown wire, +24V), negative supply (blue wire, 0V), and signal line (black wire, OUT); their standby leakage current is extremely low (typically ≤ 100 µA), and their noise immunity is better than 2-wire types. When selecting, match the controller's input module: NPN output (current sinking) connects the black wire to 0V when ON and must be paired with a PLC sourcing input; PNP output (current sourcing) outputs +24V on the black wire when ON and must be paired with a PLC sinking input (see Control.com 3-Wire NPN/PNP technical guide).


Table 2 | Comparison of electrical wiring, voltage drop, and leakage current for 2-wire (reed/solid-state) and 3-wire (NPN/PNP) types

How to read it: First write down whether the controller input is DC or AC, what voltage it uses, and whether the input is sinking or sourcing. A reed switch is usually 2-wire; a proximity sensor is commonly 3-wire, where you must choose NPN or PNP to match the controller input. For a proximity sensor's leakage current, check the specifications of that model.
The cylinder switch maker's catalog gives a few more figures for comparison: the D-A93 has a load voltage of 24 VDC and a load current of 5–40 mA; a current below this range may prevent correct operation, and one above it may cause damage (References 25, 4). Internal voltage drop means the PLC input only gets "supply voltage minus voltage drop"; if that is below the input's minimum operating voltage, it may misread. For 2-wire solid-state switches in series, the catalog example is 24 V − 4 V × 2 = 16 V; in parallel, leakage currents add up, and 1 mA × 2 × 3 kΩ = 6 V remains on the load, so calculate these connections first (Reference 4). What each source says about wiring and output is summarized in Table 4.

Operating Distance Calculation (0.81 Rule and Material Reduction) and Load Protection
When selecting an inductive proximity sensor, the rated operating distance (Sn) shown in the catalog is measured at 23 °C, rated voltage, and with a standard target of "1 mm thick square mild steel (Fe 360)." According to IEC 60947-5-2:2019, taking into account the manufacturing tolerance of an individual sensor (effective distance Sr = 0.9–1.1 Sn) and drift from operating temperature and voltage fluctuation (usable distance Su = 0.9–1.1 Sr), the range that engineering design can truly rely on for reliable operation is called the assured operating distance (Sa), that is, 0 ≤ Sa ≤ 0.81 × Sn (see Stateside Industrial explanation of the 0.81 rule).
In addition, if your target is not mild steel, you must also multiply by the material reduction factor (Reduction Factor), and confirm whether the mounting is flush (shielded; can be mounted level with a metal surface, shorter distance) or non-flush (unshielded; longer distance, but a metal-free zone of ≥ 2 Sn to ≥ 3 d must be kept around the sensing face) (see Balluff inductive sensor mounting manual).
The Sn in a catalog is a nominal value that does not include manufacturing tolerance or changes in external conditions such as voltage and temperature; the side length of the standard target is the larger of the diameter of the circle inscribed in the sensing face and 3 times Sn (References 27, 28, 29). When the actual target is smaller than the standard target, the operating distance becomes shorter; for a model with an Sn of 5 mm, the upper limit of the assured operating distance is 0.81 × 5 = 4.05 mm (a calculation example in this article).
Table 3 | IEC 60947-5-2 material reduction factors and safe distance estimates for inductive proximity sensors (example: Sn = 10 mm)

Note: Reduction factor values are based on Pepperl+Fuchs operating distance technical document and Carlo Gavazzi technical guide; values differ slightly between brands and models, so in practice follow the datasheet for the specific model.
How to read it: First write down whether it will be mounted in the slot of a pneumatic cylinder or on a fixture, or on a machine bracket; how far in front of the sensing face the target will be, and whether there is metal around it. A reed switch must be aligned with the magnet's position and orientation; for an inductive proximity sensor, check flush or non-flush type, since surrounding metal has an effect; if the target is not steel, the sensing distance may be shorter.
Reed-type distance also has catalog figures: one pneumatic component maker defines "hysteresis" as the difference between the switch's ON and OFF positions, 2 mm or less for the reed type and 1 mm or less for the solid-state type, and notes that it varies with the operating environment (Reference 4). When the magnet center is aligned with the switch's "most sensitive position," it is roughly in the middle of the operating range and operation is stable; both ends of the operating range (the boundary between ON and OFF) are easily affected by external interference and stroke variation, so when adjusting position, move toward the center rather than sitting at the boundary. The design should also account for mechanical tolerances and variations in magnet strength and sensitivity (Source 4). What each source says about mounting and distance is summarized in Table 6.

Regarding load protection for reed switches, because the reeds are tiny mechanical contacts, they can achieve long life with no load or low-level signal loads (see Standex Detect reed life test data), but with the following high-stress loads, contact welding or early failure occurs very easily:
Table 4 | Effect of load type on reed switch contact life and protection recommendations

How to read it: First write down how many times it operates per day, what load it drives (coil, solenoid valve, lamp, long wiring, or only a PLC input), and whether there is vibration or shock on site. A reed switch is a mechanical contact with a limited number of operations, and both load and vibration affect it. Reed contact life depends on the load: one reed switch maker states that with no load or signal-level loads it can reach reliable operation on the order of a billion operations, but its life data were obtained under pure DC load conditions and cannot be applied directly to different load conditions; test with the actual load (Reference 5). For the speed and life of inductive and capacitive proximity sensors, these sources give no figures. What each source says about speed/life and load is summarized in Table 8.

The cylinder switch maker is very specific about contact protection: for reed switches without built-in contact protection, a contact protection box must be added in any of three cases: an inductive load, wiring of 5 m or more to the load, or a load voltage of 100/200 VAC. The maker also notes that contact life may be shortened (under continuously energized conditions). With very long wiring (30 m or more) and/or a PLC with high inrush current, even types with built-in protection circuits need one. Solid-state types have a different construction and do not need a contact protection box (Reference 4).
Based on the public sources, how to choose between the two is summarized in Table 9, and can be read like this:

- When to use a reed switch: The target is the magnet inside a pneumatic cylinder piston, and you want low cost, no standby power consumption, and the ability to connect to both AC and DC (Sources 1, 2; Source 1 overall leans toward recommending magnetoresistive sensors).
- When to use inductive and capacitive types: Source 3 says inductive senses only metal, while capacitive can also detect wood, paper, and liquid; which one to choose when the target is a metal part and no magnet is available is not stated by the sources; this is this article's own summary.
- When the load is a coil, a lamp, or very long wiring: The reed contacts need protection, and Source 5 lists several methods; Sources 1 and 2 also list solid-state magnetic sensors such as Hall-effect sensors as a faster, more vibration-resistant option (Source 1 also notes that Hall sensors have lower sensitivity, and its conclusion recommends magnetoresistive sensors), which is a different thing from an inductive proximity sensor.
- Near the boundary: The sources give no threshold for how fast it operates or how many times a day before you should switch; the claim that it "often exceeds 10 million" comes with no unit or conditions, so go by your own load, frequency, and vibration (Source 2).
These points are what the public sources say, not a conclusion for your machine; which one to use still depends on your target, controller input, and mounting location.
Related Products on the JIAHON Website
If you are selecting sensors for a machine, replacing spare parts, or modifying a production line, JIAHON offers industrial sensing components from multiple brands for you to compare specifications (for the applicable models and specifications, please ask the JIAHON technical team; this article makes no commitments on price or delivery):
- Inductive/capacitive proximity sensors:
- Proximity Switch (Proximity Sensor) | Inductive / Capacitive (OMRON / BALLUFF / EFECTOR): Covers both inductive and capacitive types, suitable for evaluating metal and non-metal/liquid level detection.
- PEPPERL+FUCHS Proximity Sensors: Available in M8 to M30 cylindrical, rectangular, and flat types, with NPN/PNP/NAMUR outputs and IP67 protection.
- Proximity Sensor Series: A page for another brand, with both inductive and capacitive types on the same page; please ask about each model's sensing distance and output.
- M12 Inductive Proximity Sensor: M12 inductive models; please ask for specifications.
- Proximity Sensor (another page): please ask about the sensing type and specifications of the products on this page.
- Proximity Sensor (another page): proximity sensors from a different brand; please ask about sensing type and specifications.
- Cylindrical NPN Proximity Sensor: Cylindrical NPN output model; please ask about sensing distance and specifications.
- Pneumatic cylinder reed switches/electronic magnetic switches:
- SICK Reed Switch RZT7-03ZRS-KP0 | Fits Five Cylinder Slot Types / IP67: A single part number supports T-slot, square profile, tie-rod, round, and dovetail slot cylinders, with a PUR cable and LED status indicator, making it easier to standardize maintenance spare parts inventory.
- FESTO Reed Switch Series (SME-1-LED-24-B / SME-8M-ZS): Offers IP65/IP68 protection and low-temperature-resistant and drag-chain-flex-resistant specifications.
- D-M9B SMC Reed Switch (Cylinder Auto Switch) D-A93 / D-B73L: Covers both contact-type reed and contactless electronic types, compatible with various pneumatic cylinder slots.
- AirTAC DMS Electronic Magnetic Switch (DMSG / DMSH NPN 3-wire): Solid-state contactless design, suitable for cylinder positioning with high-frequency reciprocating motion; it is an electronic type, not a reed contact type.
- Reed Switch Series (another brand): the page content is magnetic switches for level gauges, not for pneumatic cylinders; please ask.
- Reed Switch (another page): the product name is also reed switch; please ask for specifications.
- Long-distance or non-metal alternative (photoelectric):
- SICK Photoelectric Sensor Series (WL / GTB / GL / GSE PinPoint): Can be evaluated as an option when a capacitive proximity sensor's distance is insufficient or when irregular workpieces need to be detected at a long distance.
When you need to match a type, please prepare six pieces of information first: what you need to detect (magnet, metal, non-metal, or liquid); whether you detect presence or position, how fast it operates, and how many times per day; the controller input type (DC or AC, NPN or PNP) and voltage; what load is connected (coil, lamp, long wiring); the mounting location (cylinder type, bracket, whether there is metal around it); and the model you use now and the problem you are having. You are welcome to contact JIAHON.
Further Reading
- How to Choose a Reed Switch: Reed Relay Specifications, Contacts, and Wiring
- How to Choose a Proximity Sensor: Target and Material, Distance and Mounting, Output and Electrical
- Reed vs. Electronic Magnetic Switches: 4 Differences in Life, Wiring, Speed, and Price
- Photoelectric Sensor vs. Proximity Sensor: Target, Distance, and Environment
Shop-Floor FAQ
Q1: My pneumatic cylinder originally has a 2-wire reed switch. Can I swap it directly for a 3-wire electronic magnetic switch or a proximity sensor?
You cannot swap the wiring directly. First, a reed switch senses the magnet on the cylinder piston; an inductive proximity sensor cannot detect the internal movement through an aluminum cylinder wall, so the only replacement is an "electronic magnetic switch," which also senses magnetically. Second, when changing from 2-wire to 3-wire, you must add the power wires (brown wire +24V, blue wire 0V) and confirm that the black wire output polarity (NPN or PNP) is compatible with your PLC input module. An electronic magnetic switch senses the piston magnet ring just like a reed switch, but it is a solid-state device with no reed contacts inside; public sources say solid-state types respond faster and are more vibration resistant, and are usually 3-wire, while reed types are usually 2-wire (Sources 1, 2). Whichever way you swap, first confirm that the number of wires, the power supply, and the controller input match before installing it on the machine.
Q2: Why does an inductive proximity sensor rated Sn = 10 mm fail to detect an aluminum fixture beyond 4 mm on site?
This is normal physics. Under IEC 60947-5-2:2019, Sn is measured with a mild steel (Fe 360) standard target; aluminum is a non-ferrous metal, and its reduction factor for standard inductive sensors is about 0.3–0.4; after multiplying by the 0.81 assured operating factor, the safe operating distance is only about 2.4–3.2 mm. Consider switching to a model with a larger diameter, or choosing an "all-metal equal-distance (Factor 1)" sensor that gives the same distance for all metals. Inductive sensors can detect aluminum, copper, and stainless steel, but standard types have a shorter distance; check the model's datasheet for how much shorter. If the target is plastic, wood, or liquid, an inductive sensor cannot detect it, and you should look at a capacitive type (Sources 3, 6).
Q3: A 2-wire reed switch works fine on a PLC, so why does it stick closed after driving a solenoid valve coil directly for a while?
A solenoid valve coil is an inductive load, and at the instant the reed switch opens it generates a very high back EMF spike, which can easily cause arcing between the fine reeds inside the glass tube and weld the contacts shut. Connect a flyback diode (DC only) or an RC contact protection box in parallel across the solenoid valve coil; if the wiring is longer than 5 m, a protection device is also required to suppress inrush current caused by cable capacitance.
Q4: I need to detect clear plastic boxes or the liquid level in a tank. Should I choose a reed switch or a proximity sensor?
If the tank has a magnetic float, you can use a magnetic level switch based on a reed switch to detect through a non-ferrous tank wall; if the target itself has no magnet (for example, plastic boxes or cardboard boxes on a conveyor, or non-contact level sensing), neither a reed switch nor a metal-only inductive sensor can be triggered, and you should use a capacitive proximity sensor (adjusting the sensitivity knob to avoid interference from the tank wall), or evaluate a background suppression photoelectric sensor. If you must use a reed switch to detect a moving part with no magnet, a magnet must be added to the moving part; the magnet's orientation and position change the operating distance, and the design must also account for mechanical tolerances and variations in magnet strength and switch sensitivity (Source 4).
References
- IEC 60947-5-2:2019 (Edition 4.0) – Low-voltage switchgear and controlgear – Part 5-2: Control circuit devices and switching elements – Proximity switches
- IEC 62246-1:2015 – Reed switches – Part 1: Generic specification
- IEC 62246-4:2023 – Reed switches – Part 4: Application in conjunction with magnetic actuator used for position sensing
- SMC Corporation – Auto Switches Common Specifications & Contact Protection Box (p.931–936)
- Standex Detect – Reed Switch Life Test Data
- Coto Technology – Reed Switch Technical & Applications Information
- Pepperl+Fuchs – Operating Distance as Central Characteristic for Inductive Sensors
- Stateside Industrial – Inductive Sensor Sensing Distance: Sn, Sr, Su, Sa and the 0.81 Rule
- Balluff – Inductive Sensors Basics and Installation Manual
- Control.com – Understanding NPN vs. PNP for 3-Wire Sensors
- Omron Automation Knowledge Base – Principle of Operation for Capacitive Proximity Sensor
- Bright Toward – What is Ampere Turns (AT) for Reed Relays
- Carlo Gavazzi – Inductive Proximity Sensors Derating Factors
- Power & Motion – Sensor Choices for Pneumatic Cylinder Positioning (Source 1, June 30, 2016, author works for a sensor manufacturer)
- Tameson – Pneumatic Cylinder Sensors – How They Work (Source 2, published September 18, 2024)
- AutomationDirect – Sensors FAQ (Source 3)
- AutomationDirect – Inductive vs. capacitive FAQ (updated December 2007) (Source 3)
- AutomationDirect – 2-wire, 3-wire, 4-wire FAQ (updated February 2021) (Source 3)
- AutomationDirect – Determining NPN or PNP FAQ (updated November 2007) (Source 3)
- AutomationDirect – Inductive principle FAQ (updated February 2021) (Source 3)
- AutomationDirect – Leakage current FAQ (updated February 2021) (Source 3)
- Littelfuse – Reed Switch and Reed Sensor Activation (application note, 2016) (Source 4)
- Cynergy3 – How to Protect Reed Switch Contacts from Specific Loads (November 2013) (Source 5)
- Assembly Magazine – Flush, Non-Flush or Factor 1: Which Inductive Is Best for Your Application? (Source 6, content provided by a sensor manufacturer)
- SMC Corporation – Best Pneumatics: Reed Auto Switch D-A90 / D-A93 / D-A96 and Solid State Auto Switch D-M9N / D-M9P / D-M9B (p.1199–1200)
- Machine Design – Sensor Sense: Capacitive sensors (August 10, 2006)
- Pepperl+Fuchs – Sensors and Systems catalog, page 31
- Pepperl+Fuchs – Sensors and Systems catalog, page 32
- Turck – Operating Distance (Sensing Range) Considerations
Data limitations: This article draws on 6 public sources, 4 of which come from manufacturers or their staff and 2 are distributor pages; none includes test conditions, and none is the standard itself or a third-party test report. The date and nature of each source are shown in Table 10. The full text of IEC 60947-5-2 was not read; only the scope on the official page is cited. No figures were found for the response speed, life, or load limits of inductive and capacitive proximity sensors, and no test results were read for any JIAHON product. The sources do not fully agree: Source 1 leans toward recommending magnetoresistive sensors; Source 2 says reed switches often exceed 10 million, with no unit or conditions; Source 5 gives no life figure. Catalog and specification page figures in this article are the manufacturers' own data, not the specifications on JIAHON product pages, and do not represent those products. Sensors are often used for detection and interlocks on machines; this article only relays what public sources say and a way of thinking about selection, and does not claim "regulatory compliance" or that "this makes it safe." Design safety circuits according to the equipment manufacturer and on-site rules; where your equipment specifications, the sensor manufacturer's written documentation, or site conditions differ from this article, they take precedence. The original sources are in English; the Chinese version of this article is a translation.

Further Selection Guides: Proximity Sensor and Reed Switch Model Cross-Reference: P+F, IFM, OMRON, SMC, AirTAC Cross-Brand Selection Guide