Pressure-resistant proximity switches are suitable for use in hydraulic actuators and cylinders. The sensors are able to withstand pressures up to 350 bar (M18 cylindrical style) or 500 bar (M12 cylindrical style) exerted dynamically onto the active surface.