Quick Answer

The difference is what the sensor responds to. A magnetic proximity sensor responds to a magnetic field, so the target must carry a magnet; it can sense through aluminium, stainless steel or plastic walls. An inductive proximity sensor responds to conductive metal itself, so no magnet is needed, but the target must be within a few millimetres to a few tens of millimetres of the sensing face.

In three points:

  • Magnetic: magnet on the target, sensor reads the field (reed contact or Hall element).
  • Inductive: no magnet, sensor's own oscillating field is damped by eddy currents in metal.
  • Typical uses: magnetic for piston position on pneumatic cylinders with a magnet ring; inductive for metal parts, cams, gear teeth and hydraulic cylinder end positions.

What is the difference between a magnetic and an inductive proximity sensor?

A magnetic sensor is passive towards the target: it only reads a field that a permanent magnet produces. An inductive sensor is active: it generates its own alternating field and detects the energy that a metal target absorbs from it. Both are non-contact proximity switches covered by IEC 60947-5-2, but they solve different detection problems.

Magnetic vs inductive proximity sensor principle Left: a magnet ring on a piston moves past a reed or Hall sensor mounted outside a non-magnetic cylinder tube. Right: an inductive sensor's coil field is damped by eddy currents in a steel target. Magnetic (reed / Hall) Inductive Non-magnetic cylinder tube (e.g. aluminium) N S 1 · Magnet ring on piston Reed / Hall sensor 2 · Field passes through the wall 3 · Contact closes / Hall voltage switches output Coil + oscillator Steel target 1 · Sensor emits HF field 2 · Eddy currents in metal absorb energy 3 · Amplitude drops → output switches
Illustration: a magnetic sensor reads a magnet carried by the target; an inductive sensor detects the metal target itself.

How does an inductive proximity sensor detect a target?

An oscillator drives a coil on a ferrite core and projects a high-frequency field from the sensing face. When a conductive target enters the field, eddy currents flow in it and draw energy from the oscillator; once the amplitude falls below a threshold, the output switches. Plastic, wood and liquids carry no eddy currents and are ignored. The full four-stage explanation is in how an inductive proximity sensor works.

Because the sensor makes its own field, its range is fixed by coil size: SEGMENsensor SGI-GP inductive proximity sensors are rated 1–4 mm in M8 flush, 5–15 mm in M18 flush and up to 50 mm in M30 non-flush, on a standard steel target.

How does a magnetic proximity sensor work?

A magnetic proximity sensor uses one of two elements. A reed switch is a pair of ferromagnetic contact blades sealed in a glass tube; the magnet's field magnetises the blades so they attract and close the circuit. A Hall-effect sensor is a semiconductor element that produces a voltage across itself when a magnetic field crosses the current flowing through it, and electronics turn that voltage into a switched output with no moving parts.

The Hall voltage follows the textbook relation:

VH = (I × B) / (n × q × t)

where I is the supply current through the element, B the magnetic flux density (tesla), n the charge-carrier density, q the elementary charge and t the element thickness. The output is proportional to B, which is why the switching point depends on the magnet's strength and its distance, not on what the target is made of. Flux density is expressed in tesla or millitesla, the SI unit listed by NIST.

Magnetic vs inductive proximity sensor: comparison table

CriterionMagnetic (reed or Hall)Inductive
Responds toMagnetic field of a magnet on the targetAny electrically conductive metal
Magnet on targetRequiredNot required
Sensing range set byMagnet strength and orientationHousing / coil size (SGI-GP: 1–50 mm rated on steel)
Sensing through a wallYes, through non-magnetic walls (aluminium, austenitic stainless, plastic)No, a metal wall is itself a target
Target material effectNone (the magnet is the target)Steel 1.0; typical factors 0.65 stainless 304, 0.45 aluminium, 0.30 copper
Moving partsReed: mechanical contacts; Hall: noneNone
Main interferenceStray magnetic fields, nearby steel diverting the fieldStrong magnetic fields (e.g. resistance welding), metal in the clear zone
Typical applicationsPneumatic cylinder piston position, door and lid positionMetal part presence, cams, gear-tooth counting, hydraulic cylinder end of stroke

Inductive values are from the SEGMENsensor product pages and the reduction factors given in proximity sensor sensing distance; reduction factors are typical, so check the datasheet of the part number.

When should you choose a magnetic proximity sensor?

Choose magnetic when the moving part already carries a magnet or can be fitted with one, and when you must sense through a non-magnetic wall. The classic case is a pneumatic cylinder with a magnet ring on the piston: the sensor clips into the tube slot and reads the piston through the aluminium barrel without any port in the cylinder.

When should you choose an inductive proximity sensor?

Choose inductive when the target is bare metal and a magnet cannot be fitted: machined parts, brackets, cams, sprockets, gear teeth or a steel piston. Inductive sensors also suit coolant and oil, since liquids on the face carry no eddy currents. For hydraulic cylinders, a pressure-rated inductive proximity sensor threads into the end cap and detects the steel piston or cushion spear directly in the oil; the pressure rating is confirmed at order.

Worked example: aluminium cam on a packaging machine

  1. Task: detect an aluminium cam passing an M18 flush sensor, with no space to fit a magnet.
  2. Inductive on steel: rated Sn = 8 mm, assured Sa = 0.81 × 8 = 6.48 mm (calculated value).
  3. Correct for aluminium: 6.48 × 0.45 ≈ 2.9 mm (calculated value). Set the air gap at about 2 mm to keep margin.
  4. If 2 mm is too tight: use an all-metal sensor such as the SGI-FM18S M18 flush all-metal series (rated 5 / 8 mm), made for non-ferrous targets, or move to a larger housing.
  5. Magnetic alternative: only viable if a magnet can be bonded to the cam; the distance then depends on that magnet, taken from the magnetic sensor's datasheet.

Can strong magnetic fields upset an inductive sensor?

Yes. Resistance-welding current creates strong constant and alternating fields that a standard inductive sensor can read as a target, so it switches falsely. The SEGMENsensor weld-field immune SGI-WR series tolerates fields up to 150 mT, has a PTFE-coated brass housing, IP67 protection and a −25 to +70 °C rating. A magnetic sensor is not a fix in weld cells: the welding field acts on it directly.

What if you need continuous position, not just on/off?

Both magnetic and inductive proximity switches give an on/off signal at one point. For the full stroke of a hydraulic cylinder, a magnetostrictive position sensor also uses a magnet ring on the piston but outputs absolute position along the rod, with non-linearity of ±0.01% FS. See what a cylinder position sensor does.

FAQ

Not always. A reed switch is one type of magnetic proximity sensor, with mechanical contacts in a sealed glass tube. Hall-effect and magnetoresistive sensors are also magnetic proximity sensors, but they switch electronically with no moving parts.

It detects a magnet only because most magnets are metal, not because of the magnetic field. A strong field can disturb a standard inductive sensor and cause false switching, which is why weld-field immune versions exist.

No. A standard magnetic proximity sensor needs a magnet on the target. To detect a bare steel part, use an inductive proximity sensor.

Hydraulic cylinders usually have thick steel tubes that block a magnet's field, so a pressure-rated inductive sensor in the end cap is the common choice. It detects the steel piston or cushion spear directly; the pressure rating is confirmed at order.

Aluminium absorbs less energy from the sensor's field than steel. A typical reduction factor is 0.45, so an M18 flush sensor with 8 mm rated distance assures about 2.9 mm on aluminium (calculated value). An all-metal sensor avoids most of this loss.

Send the target material, sensing distance, housing size, flush or non-flush mounting, output (NPN, PNP, DC 2-wire, AC), supply, connection and annual volume. Qualification samples of 1–5 pcs ship in 5–7 working days; production lead time and MOQ are confirmed with the quotation, FOB China with 100% T/T in advance.

Related: the five types of proximity sensors · inductive vs capacitive proximity sensors · hydraulic cylinder proximity sensors.

Last updated: · SEGMENsensor Engineering Team