Proximity sensor selection is governed by four non-negotiable gates: target material, nominal sensing distance (Sn), output interface, and ingress/hazardous-area rating — any one missed invalidates the part [S3].
Separate-amplifier architectures such as the KEYENCE ES series push inductive Sn up to roughly 8 mm, roughly double a same-size self-contained unit [S1].
Define the Target First: Material, Size, and Approach Speed
A diffuse photoelectric sensor treats the target itself as the reflector, removing the need for a separate retroreflector but capping range versus a through-beam pair [S3].
For high-speed conveyor cells where the target is a 1–2 mm steel tab moving past at >5 m/s, inductive is the default. For liquid level through a glass or polymer wall, capacitive is the only one of the four that works without contact. Magnetic variants — covered in detail at the magnetic vs inductive decision map — only fire on a permanent-magnet actuator, which is exactly why they dominate cylinder-end-position sensing on pneumatic slides.
Four Technologies, Four Operating Envelopes
Reflective photoelectric sensors are the cheapest and easiest to wire, but are the least accurate of the three photoelectric modes; through-beam pairs deliver the longest range and highest accuracy at the cost of two components and more wiring [S3]. Diffuse (proximity-mode) photoelectric sits between them and uses the target as the reflector [S3].
In bare numbers, an M12 inductive proximity typically delivers 2–4 mm Sn on mild steel, an M18 pushes 5–8 mm, and an M30 reaches 10–15 mm; the KEYENCE ES separate-amplifier series lists a range "up to 8 mm" with roughly 2× the detecting distance of comparable self-contained heads [S1]. Capacitive units in the same M30 body routinely spec 15–25 mm Sn on a grounded metal target, dropping by a manufacturer-published correction factor (typically 0.4–0.8) on plastic or liquid targets. The inductive sensor reference page gives the standard Sn-on-steel / Sn-on-aluminium reduction ratios used by most suppliers.
Outputs and Protocol: PNP, NPN, IO-Link

Three-wire DC proximity sensors almost always come in PNP (sourcing) or NPN (sinking) variants, and the wrong one is the single most common field failure: a European PLC wants PNP, a Japanese PLC often accepts either but defaults to NPN, and a North American motor starter typically wants NPN [S3].
IO-Link is now the default for new greenfield cells — it gives remote Sn adjustment, diagnostics, and a clean replacement path — but only on masters that speak it; legacy 4-wire cordsets still need a PNP/NPN discrete output. The proximity sensor reference page walks through the sourcing-vs-sinking current path in detail. For non-contact displacement work, the proximity probe entry covers the eddy-current variant used on shaft vibration monitoring.
Environment Gates: IP Rating, Temperature, Washdown, Ex
A bare IP67 head will survive incidental splash but not daily hot washdown; food, beverage, and pharmaceutical lines should spec IP68 or IP69K depending on the cleaning chemistry, plus a stainless-steel housing if the line uses caustic cleaners. Temperature is the next gate: standard inductive sensors are rated −25 to +70 °C, with extended −40 to +105 °C variants available for under-hood automotive and outdoor hydraulic-skid work. [S3]
Hazardous-area proximity sensors need an Ex marking that matches the zone — ATEX category 3 (zone 2/22) is enough for most cabinet-adjacent mounts, while zone 1/21 inside a paint booth demands category 2 and a certified housing. The paint-booth distribution-box selection map gives the zone-to-category translation used in European automotive plants.

For brownfield upgrades, a useful sanity check is the remote I/O selection criteria map, which walks through how discrete sensor outputs land on the new I/O island without rewiring the whole cell. The displacement sensor page covers the LVDT and eddy-current variants when "proximity" is really a continuous-position question rather than a yes/no presence bit.
Who Should NOT Pick the Default Inductive
Three profiles burn money on the wrong technology. Second, anyone needing more than ~30 mm of stand-off in a high-shock, dirty environment — diffuse photoelectric looks attractive on price, but a through-beam pair or a background-suppression diffuse head is more reliable when oil mist or dust is present [S3].
Third, anyone trying to read the level of an aggressive chemical through a metal wall — that is a flow sensor or guided-wave radar job, not a proximity sensor, no matter what the distributor says.
Sourcing and Standards Discipline

Two sourcing rules keep a proximity-sensor spec honest. Second, the IP and temperature ratings must come from the same datasheet row as the electrical rating; mixing the housing rating of one variant with the electronics of another is a documented field-failure cause. [S3]
Trackable signals for the next quarter: EU distributors broadening IO-Link proximity stock as PROFINET over IO-Link masters displace legacy 4-wire PNP heads; more stainless-steel IP69K units hitting the food-and-beverage catalog at sub-M18 form factors. See how the brownfield PLC upgrade map treats I/O migration when those new IO-Link heads replace sinking outputs on an existing panel.