A micro switch relies on an object pressing its plunger down; an internal spring flips the contacts at the operating point, and what it outputs is a contact. A proximity sensor needs no contact: when the target comes within a certain distance of the sensing face, the output changes, and it must be connected to a power supply. The difference lies in “whether it can be touched,” and in how the output is wired, how to read the operating point and the life, and where it is mounted. Compare them on four points — actuation, output and wiring, life and operating point, and mounting and environment — then choose according to your machine. In this article, “micro switch” means a snap-action switch (Source 3 says snap-action switches are also called micro switches; Source 4 divides them by size into subminiature, miniature, and standard); “proximity sensor” means the inductive type; photoelectric sensors, reed switches, and displacement sensors are outside the scope. The 4 points of comparison:
Point ①|Actuation: pressed down, or sensed on approach.
Point ②|Output and wiring: contact terminals, or NPN / PNP output.
Point ③|Life and operating point: two life figures, and the tolerance of the operating point.
Point ④|Mounting and environment: actuator and overtravel, or flush type and surrounding metal.
This article starts from the point where you already know you need to detect that a machine part is in position; the data from each source and the basis are in the notes at the end. To read the selection guide for proximity sensors first, see “How to Choose a Proximity Sensor“. This is the general case; individual cases still have to be judged on their own.
Figure 1: The four points of comparison between a micro switch and a proximity sensor. ① Actuation — micro switch: plunger pressed, spring flips the contacts; proximity sensor: target approaches, output at the sensing face changes. ② Output and wiring — micro switch: contact output, COM, NO, NC; proximity sensor: needs power, NPN or PNP. ③ Life and operating point — micro switch: mechanical and electrical life, look at travel and differential travel; proximity sensor: look at distance tolerance and hysteresis. ④ Mounting and environment — micro switch: actuator type, travel and overtravel; proximity sensor: flush or non-flush, surrounding metal. (Illustration, not to scale.)
Point ①: Actuation — pressing the plunger, or sensing on approach
How to look at it:
First write down: will the target touch the switch, will touching it wear or damage the target, and is the target metal.
If the target is a machine part, cam, or stop that will push the plunger, the micro switch is the route.
If you need to sense a metal part from the side, the proximity sensor is the route.
Ask about the material and size of the target.
What the public sources say: A switch manufacturer’s technical guide (no date in the document; the manufacturer’s statement; the source term is “basic switch,” which this article treats as a micro switch) says: the contact gap of a basic switch is very small, and it contains one tension spring and one compression spring; once past the operating point, the movable contact flips between the two fixed contacts, and the flip speed is set by the switch, not by how fast it is pressed. A sensor manufacturer’s technical note (no author or date; the manufacturer’s statement) says: the operating distance of a proximity sensor is the distance at which the output changes as the target approaches the sensing face along the reference axis; the standard target is a square plate of mild steel 1 mm thick; standard inductive sensors have correction factors for non-ferrous metals (nominal values; specific types excepted), for example copper about 0.25 to 0.45 (Notes, Table 1).
Point ②: Output and wiring — contact terminals, or NPN / PNP output
How to look at it:
First write down: the load to be connected (PLC input, relay, solenoid valve coil), the voltage and current, whether it is DC or AC, and whether power is available on site.
A micro switch has a contact output with terminals COM, NO, and NC; the contacts themselves need no power supply.
A proximity sensor must be connected to power; an NPN or PNP output type has at least three wires; choose NPN or PNP, normally open or normally closed, and match it to the controller input.
For both, look at how large a load the output can drive.
What the public sources say: A switch manufacturer’s glossary page (page metadata marked as modified July 2024, no visible date in the text; the manufacturer’s statement) says: the terminals are COM, NC (closed at rest), and NO (open at rest); gold contacts are for small loads, about 5 V / 1 mA to 12 V / 100 mA DC; silver contacts are for larger loads, about 12 V / 100 mA DC to 250 V / 21 A AC; for inductive, capacitive, and lamp loads, ask the manufacturer separately. A switch distributor’s article (no date in the text; the seller’s statement) says: micro switches can switch from milliamp-level signals up to 10 to 20 A or more; miniature about 1 to 5 A, and standard up to 15 A. A sensor company’s knowledge page (no author or date; the page does not say what kind of company it is; the seller’s statement; it discusses sensor outputs in general and does not name proximity sensors) says: a digital output represents a logic state; with PNP the load is connected between the signal wire and −, and with NPN between the signal wire and +; NPN and PNP sensors have at least three wires, for positive supply, negative supply, and the switching signal; a normally open type outputs high when it detects, while a normally closed type is high at rest and drops when it detects; when a normally closed sensor or switch fails, the signal stays off, which the page calls “fail safe” (safer in a failure), and the page does not explain which state “off” refers to; the output should be chosen by application and controller, and the page gives no detailed matching rules (Notes, Table 2).
Point ③: Life and operating point — mechanical life, electrical life, and distance tolerance
How to look at it:
First write down: how many operations a day, how precise the operating point must be, how large the load is, and the material and size of the target.
A micro switch has two life figures: mechanical life and electrical life.
A proximity sensor has no plunger; the sources give no figures for life or switching frequency, so look at the specification sheet of that model.
Operating point: for a micro switch, look at travel and differential travel; for a proximity sensor, look at the tolerance of the sensing distance and the hysteresis.
What the public sources say: The manufacturer’s technical guide above says: travel is described by three distances — pretravel, overtravel, and differential travel — and the operating point is the position at which the spring force is zero (the source defines it by zero force); with large differential travel (wide contact gap), vibration resistance, shock resistance, and switching performance are better; with small differential travel (small contact gap), sensitivity is higher and durability longer, but the source says excellent switching performance, vibration resistance, and shock resistance cannot be counted on; after the contacts wear from switching current, the differential travel grows and the switch becomes less sensitive; mechanical durability is tested with the contacts not energized, and electrical durability at rated load, both with specified operating frequency and overtravel. The glossary page above says: mechanical life is tested with no load, at about 80% overtravel, 4 Hz, and room temperature; at low load, at most 10 operations per second; contact bounce is about 1.5 to 3 ms depending on the series. The distributor’s article above says: subminiature switches reach on average about 1 to 3 million operations, and miniature and standard types about 5 to 10 million; in one place the article treats this set of figures as mechanical life, and when answering a question about electrical life it cites them again, so the source itself is confused, and it gives no test conditions; the same article also says electrical life varies with size, load type, operating environment, and quality. The sensor manufacturer’s note above says: the rated distance is an agreed value used for nominal ratings and does not include manufacturing tolerance or the effects of voltage and temperature; the effective distance is measured at rated voltage and 23°C and falls within 0.9 to 1.1 times the rated distance; the usable distance covers the full temperature and voltage range and falls within 0.81 to 1.21 times; the hysteresis between switching and release is set at the factory to less than 15% of the effective distance; no repeatability is given (Notes, Table 3).
Point ④: Mounting and environment — actuator and overtravel, or flush type and surrounding metal
How to look at it:
First write down: where it is mounted, how the target moves (linear, rotary), whether there is metal nearby, whether there is oil, dust, or moisture, and whether there is vibration.
For a micro switch, look at actuator type, travel, and overtravel, and leave room for the motion.
For a proximity sensor, look at whether it is flush or non-flush, and whether space must be left clear around the sensing face.
Both must be tried in the actual position.
What the public sources say: The glossary page above says: for reliable switching and to reach the electrical life, the actuator should use at least 50% of the overtravel, and you should avoid preloading the switch in its rest position; grease, oil, and silicone-containing materials must not touch the switch; with the actuator at rest or in its end position, vibration resistance is about 5 g (20 to 200 Hz) and shock resistance 20 g (6 ms), and it is weaker near the operating and release points. The distributor’s article above says: actuators include plunger, hinge lever, and roller lever, among others; a roller lever lowers operating force and wear and is used with moving cams or sliding parts; where there is dust, water, or washdown, use a sealed type, and sealed types are graded by degree of dust and water protection, about IP40 to IP67. A sensor manufacturer’s mounting note (no author or publication date, footer marked © 2026; the manufacturer’s statement) says: the flush (shielded) type can be embedded in a metal plate, but the carrier material may change the sensing distance; the non-flush type needs a metal-clear space equal to the diameter of the sensing head and has a larger sensing distance; insufficient spacing shortens the sensing distance; correction factors in the data sheet for different mounting situations take precedence over general guidelines, and testing on site is recommended (Notes, Table 4).
Comparison table: the four points at a glance
| Item | Micro switch | Proximity sensor |
|---|---|---|
| Actuation | An object presses the plunger; a spring flips the contacts | The target approaches the sensing face; the output changes |
| Must it be touched | Yes | No |
| Output | Contact output, terminals COM, NO, NC | NPN or PNP output with at least three wires (Source 5 discusses sensors in general) |
| Load | A wide range; by size class, the small ones under 0.5 A, standard up to 15 A | Not discussed by the sources; look at the specification sheet |
| Life and operating point | Mechanical and electrical life; look at travel and differential travel | The sources give no life; look at distance tolerance and hysteresis |
| Mounting | Actuator type, travel, and overtravel | Flush or non-flush; surrounding metal affects the distance |
Source: Notes, Tables 1 to 4 (Sources 1 to 6). These are what each source says; the sources do not agree with one another, and these are not selection thresholds.
How to choose: when to use a micro switch, and when to use a proximity sensor
Based on the public sources, the choice between the two can be viewed like this:
When to use a micro switch: the target will press the plunger, and the load is connected directly to the contacts; Source 4 says snap-action switches as a whole can switch from milliamp level to 10 to 20 A or more, with ratings by size class (Sources 3, 4).
When to use a proximity sensor: the target is a metal part; the standard target is a mild steel square plate, and non-ferrous metals must be multiplied by a correction factor (Source 2); the output should be chosen by application and controller (Source 5, which discusses sensors in general); whether the target is convenient to touch is not written in the sources — this is this article’s own synthesis.
When the operating point must be stable: for a micro switch, look at differential travel and overtravel (Sources 1, 3); for a proximity sensor, look at distance tolerance and hysteresis (Source 2).
Near the boundary: the sources give no direct comparison of the two on life and switching frequency, nor the price difference; go by your own load, operating frequency, and target (Sources 2, 3).
These points are what the public sources say, not a conclusion for your machine; which one to actually choose still depends on your target, load, and mounting position.
What Jiahon can help with:
On the micro switch side:
Micro Switch Snap-Action Switch: the product name reads Micro Switch Snap-Action Switch, with brands listed; for the model, size, and contact capacity of each item, please inquire.
Micro Switch: another page; the product name reads micro switch, with a brand listed; for specifications, please inquire.
Small Sealed Micro Switch: the product name reads small sealed micro switch, with a brand listed; for actuator type, protection, and specifications, please inquire.
Enclosed Micro Switch: the product name reads enclosed micro switch, with a brand listed; for actuator type, protection, and specifications, please inquire.
On the proximity sensor side:
Proximity Sensor: the product name reads proximity sensor, with a brand listed; for the style, size, sensing distance, and output of each item, please inquire.
Proximity Sensor Series: the product name reads proximity sensor series, with another brand listed; the same page includes inductive and capacitive types; for the sensing distance and output of each item, please inquire.
M12 Inductive Proximity Sensor: the product name reads M12 inductive proximity sensor, with another brand listed; for specifications, please inquire.
Proximity Sensor: another page, with the same product name, proximity sensor, and another brand listed; for the sensing type and specifications, please inquire.
Proximity Sensor: another page, with the same product name, proximity sensor, and another brand listed; for the sensing type and specifications, please inquire.
Cylindrical NPN Proximity Sensor: the product name reads cylindrical NPN proximity sensor, with another brand listed; the page says it “replaces the traditional micro switch,” which is the page’s own claim; for the sensing distance and specifications, please inquire.
When you need to match a type, please prepare six items first: what the target is, whether it will touch the switch, and whether it is metal; the load type, voltage, and current; how many operations a day and how precise the operating point must be; the controller input type (NPN or PNP) and power supply; the mounting position (surrounding metal, oil contamination, vibration); and the model you use now and the problem you have run into. You are welcome to contact Jiahon.
Notes: sources and exceptions
The following is for those who need to verify; skipping it does not affect the method above. Where your equipment specifications, the switch and sensor manufacturers’ written data, or on-site conditions differ from this article, they take precedence.
Sources for each point
| Source | Where it is used, and where it comes from |
|---|---|
| Source 1 | Points ①③: the mechanism, operating point, contact gap, and durability test methods of micro switches. From: a switch manufacturer’s basic switch technical guide (no date or author in the document, no manufacturer name in the text; the manufacturer’s statement; the source term is “basic switch”) |
| Source 2 | Points ①③: operating distance, standard target, correction factors, and hysteresis of proximity sensors. From: a sensor manufacturer’s technical note (no author or date; the manufacturer’s statement) |
| Source 3 | Points ②③④: terminals, contacts and load, life, vibration and shock resistance, and mounting of micro switches. From: a switch manufacturer’s glossary page (page metadata marked as modified July 30, 2024, no visible date in the text; the © 2026 in the footer is a copyright notice; the manufacturer’s statement) |
| Source 4 | Points ②③④: size classes, ratings, life figures, actuators, and sealing of micro switches. From: a switch distributor’s article (no date in the text; the seller’s statement) |
| Source 5 | Point ②: digital output, NPN and PNP, normally open and normally closed. From: a sensor company’s knowledge page (no author or date; the page does not say what kind of company it is; the seller’s statement; does not discuss micro switches or proximity sensors) |
| Source 6 | Point ④: flush and non-flush mounting of inductive proximity sensors. From: a sensor manufacturer’s mounting note (no author or publication date, footer marked © 2026; the manufacturer’s statement) |
| Jiahon data | “What Jiahon can help with.” From: the product name wording on Jiahon product pages |
Table 1|Actuation
| Item | Content |
|---|---|
| Mechanism of a micro switch | The contact gap is very small, with a snap-action mechanism using one tension spring and one compression spring; once past the operating point, the movable contact flips between the two fixed contacts; the flip speed is set by the switch, not by how fast it is pressed; a fast flip shortens the arc and reduces contact wear (Source 1) |
| Operating distance of a proximity sensor | The operating distance is the distance at which the output changes as the target approaches the sensing face along the reference axis; the rated distance Sn is an agreed value used for nominal ratings (Source 2) |
| Standard target and correction factors | The standard target is a mild steel square plate 1 mm thick; its side length is the larger of the inscribed circle diameter or 3 times the rated distance; correction factors for non-ferrous metals with standard inductive sensors (nominal values; specific types excepted): aluminum foil 1.00, stainless steel 0.60 to 1.00, mercury 0.65 to 0.85, lead 0.50 to 0.75, brass 0.35 to 0.50, solid aluminum 0.35 to 0.50, copper 0.25 to 0.45; actual values vary with frequency, material composition, and shape (Source 2) |
Sources: 1, 2
Table 2|Output and wiring
| Item | Content |
|---|---|
| Terminals of a micro switch | COM (common), NC (closed at rest), NO (open at rest) (Source 3) |
| Contacts and load of a micro switch | Gold contacts for small loads, about 5 V / 1 mA to 12 V / 100 mA DC; silver contacts for larger loads, about 12 V / 100 mA DC to 250 V / 21 A AC; for inductive, capacitive, and lamp loads, ask the manufacturer separately (Source 3) |
| Ratings of a micro switch | Can switch from milliamp-level signals to 10 to 20 A or more; subminiature under 0.5 A (30 V DC), miniature about 1 to 5 A (125 to 250 V), standard up to 15 A (Source 4) |
| Digital output of sensors in general | A digital output represents a logic state; with PNP the load is connected between the signal wire and −, with NPN between the signal wire and +; at least three wires (brown positive supply, blue negative supply, black switching signal); the output should be chosen by application and controller, and the page gives no detailed matching rules; the page discusses sensors in general and does not name proximity sensors (Source 5) |
| Normally open and normally closed | A normally open type outputs high when it detects; a normally closed type is high at rest and drops when it detects; when a normally closed sensor or switch fails, the signal stays off, which the page calls “fail safe,” safer in a failure; the page does not explain which state “off” refers to (Source 5) |
Sources: 3, 4, 5
Table 3|Life and operating point
| Item | Content |
|---|---|
| Operating point terms | Pretravel, overtravel, and differential travel are three travel distances; the operating point is the position at which the spring force is zero (the source defines it by zero force); large differential travel (wide contact gap): better vibration resistance, shock resistance, and switching performance; small differential travel (small contact gap): higher sensitivity and longer durability, but excellent switching performance, vibration resistance, and shock resistance cannot be counted on; after the contacts wear, the differential travel grows and the switch becomes less sensitive; for example, with a 0.25 mm gap the current must be limited to reduce wear (Source 1) |
| How durability is tested | Mechanical durability is tested with the contacts not energized, electrical durability at rated load, both with specified operating frequency and overtravel (Source 1) |
| Conditions for mechanical life | Mechanical life is tested with no load, at about 80% overtravel, 4 Hz, and room temperature; at low load, at most 10 operations per second; contact bounce 1.5 to 3 ms depending on the series (Source 3) |
| Life figures | Subminiature on average about 1 to 3 million operations; miniature and standard about 5 to 10 million; in one place the article treats this set of figures as mechanical life, and when answering a question about electrical life it cites them again, so the source itself is confused, and no test conditions are given; the same article also says electrical life varies with size, load type, operating environment, and quality (Source 4) |
| Distance tolerance | The rated distance does not include manufacturing tolerance or the effects of voltage and temperature; the effective distance is measured at rated voltage and 23°C and falls within 0.9 to 1.1 times; the usable distance covers the full temperature range and 85% to 110% of rated voltage and falls within 0.81 to 1.21 times; hysteresis is set at the factory to less than 15% of the effective distance; no figures for repeatability or drift are given (Source 2) |
Sources: 1, 2, 3, 4
Table 4|Mounting and environment
| Item | Content |
|---|---|
| Mounting of a micro switch | For reliable switching and to reach the electrical life, the actuator should use at least 50% of the overtravel; avoid preloading in the rest position; grease, oil, and silicone-containing materials must not touch the switch; with the actuator at rest or in its end position, vibration resistance about 5 g (20 to 200 Hz) and shock resistance 20 g (6 ms), weaker near the operating and release points (Source 3) |
| Actuators and sealing | Plunger, hinge lever, simulated roller, roller lever, and leaf lever; a roller lever lowers operating force and wear and is used with moving cams or sliding parts; for dust, water, or washdown use a sealed type, graded by degree of dust and water protection at about IP40 to IP67 (Source 4) |
| Flush type proximity sensor | Can be embedded in a metal plate, but the carrier material may change the sensing distance (Source 6) |
| Non-flush type proximity sensor | Needs a metal-clear space equal to the diameter of the sensing head; larger sensing distance (Source 6) |
| Spacing and correction | Insufficient spacing shortens the sensing distance; correction factors in the data sheet for different mounting situations take precedence over general guidelines; testing at the application site is recommended; sensors mounted facing each other need a minimum spacing, for which the page gives no figure (Source 6) |
Sources: 3, 4, 6
This is the general case; individual cases still have to be judged on their own.
Exceptions and limits
What we saw and did not see: this article looked at a switch manufacturer’s basic switch technical guide (no author or date; the manufacturer’s statement), a sensor manufacturer’s technical note (no author or date; the manufacturer’s statement), a switch manufacturer’s glossary page (page metadata marked as modified July 30, 2024, no visible date in the text; the manufacturer’s statement), a switch distributor’s article (no date; the seller’s statement), a sensor company’s knowledge page (no author or date; the page does not say what kind of company it is; the seller’s statement), and a sensor manufacturer’s mounting note (no author or publication date, footer marked © 2026; the manufacturer’s statement). All 6 sources were written by manufacturers, makers, or distributors; none comes with complete test conditions. We did not read the full text of any standard; we did not find university lecture notes or documents from a neutral body; we did not find an article directly comparing micro switches and proximity sensors; we did not find life or switching frequency figures for proximity sensors, nor repeatability figures; we did not find the price difference between the two; Source 1 gives no rated voltage or current; Source 5 gives no detailed rules for matching inputs; we did not read test results for any Jiahon product.
The sources do not compare exactly the same things: Sources 1, 3, and 4 discuss micro switches, Sources 2 and 6 discuss inductive proximity sensors, and Source 5 discusses output types; none puts the two side by side. Source 5 discusses neither micro switches nor proximity sensors; Source 1 uses the source term “basic switch,” which this article treats as a micro switch.
The figures are examples: the figures cited in this article (Source 2’s 1 mm mild steel, copper 0.25 to 0.45, 0.9 to 1.1 times, 0.81 to 1.21 times, 23°C, hysteresis 15%; Source 3’s load ranges for gold and silver contacts, 80% overtravel and 4 Hz, at most 10 per second, 1.5 to 3 ms, 50% overtravel, 5 g and 20 g; Source 4’s 10 to 20 A or more, 1 to 5 A, 15 A, and life figures) are each source’s statements and conditions, not selection thresholds.
The sources’ own figures are inconsistent or have different conditions: for micro switch life, Source 3’s mechanical life is tested with no load, at about 80% overtravel, 4 Hz, and room temperature, while Source 4 gives an “average” without test conditions, and in one place the article treats the same set of figures as mechanical life and cites them again when answering a question about electrical life; Source 4 also says electrical life varies with size, load type, operating environment, and quality. Micro switches have life figures and proximity sensors do not, so the two cannot be compared directly.
Source 2’s standard and correction factors: the correction factors are nominal values for non-ferrous metals with standard inductive sensors, specific types excepted; actual values vary with frequency, material composition, and shape, so go by the data sheet.
Single sources: snap-action mechanism, operating point, and contact gap (Source 1); operating distance, standard target, correction factors, and hysteresis (Source 2); terminals, gold and silver contact loads, life conditions, overtravel, grease and oil, vibration and shock resistance (Source 3); ratings, actuator types, and sealing (Source 4); NPN and PNP, three wires, normally open and normally closed (Source 5); flush and non-flush (Source 6).
Sources with a stake: Sources 1, 2, 3, and 6 come from switch or sensor manufacturers, Source 4 is a distributor’s page, and Source 5 is a sensor company’s knowledge page; none is a standard itself or a third-party test report.
Notes on dates: the date of Source 3 is taken from the page metadata and is not visible in the text, and the © 2026 in the footer is a copyright notice, not a modification date; the © 2026 of Source 6 is also a copyright notice; Sources 1, 2, 4, and 5 have no date.
Scope: in this article, “micro switch” means a snap-action switch (Source 3 says snap-action switches are also called micro switches; Source 4 divides them by size into subminiature, miniature, and standard, about 10 to 15 mm or less, 15 to 20 mm, and 20 to 30 mm per side); “proximity sensor” means the inductive type; photoelectric sensors, reed switches, and displacement sensors are outside the scope; model cross-references, prices, and lead times are also not discussed.
Safety: this article only relays what the public sources say and a way of thinking about selection; it does not say “complies with regulations” or “this makes it safe”; design safety circuits according to the equipment maker’s and the site’s rules.
Equipment and products: “What Jiahon can help with” takes only the product name wording from the product pages; this article does not cite the contact capacity, life, operating force, sensing distance, output, or model of any item, and did not read any specification sheet, so please inquire; this article does not cite the part numbers, brands, promotional wording in front of product names, prices, or comparison notes on the product pages. This article takes only the product name wording from the product pages.
Product pages with the same name: on the proximity sensor side, three pages have the product name “proximity sensor”; the link text does not include brand or model, and “another page” is used to tell them apart; one of them includes both inductive and capacitive types. Page 89904 claims it can replace the traditional micro switch; that is the page’s own claim, and this article does not treat it as fact.
This article’s own synthesis: this article does not use the “this article’s synthesis” label. The “How to choose” section sorts what the sources say into four situations — “use a micro switch,” “use a proximity sensor,” “the operating point must be stable,” and “near the boundary”; this is a synthesis, not the sources’ own words, and it states that the sources give no life comparison and no price difference.