What Sensor Can I Use To Detect Oil in Water?

Aug 03, 2026

Leave a message

What Sensor Can I Use to Detect Oil in Water?

The short answer: it depends on what you mean by "oil in water." If you mean an oil film or layer floating on the surface, you need an interface/level sensor (optical, capacitive, or float). If you mean oil dispersed or dissolved in the water as contamination (measured in ppm), you need an oil-in-water analyzer - almost always a UV-fluorescence or infrared monitor. These are different problems with different physics, and mixing them up is the most common mistake when specifying. This guide explains both, with the sensors, applications, and selection rules for each.


Step 1: Clarify the Problem - Surface Oil vs Oil-in-Water

Before choosing a sensor, answer one question: is the oil sitting on top of the water, or mixed into it?

Surface oil (free oil, sheen, layer). Oil is lighter than water and collects as a distinct layer on top. You are really measuring the interface between two liquids - an interface/level problem. A surface sensor answers "is there an oil layer here, and how thick?"

Oil-in-water (dispersed/dissolved contamination). Oil is broken into droplets or dissolved throughout the water - measured as concentration in parts per million (ppm). You need an analyzer that quantifies hydrocarbon content.

Same phrase, two completely different devices. The rest of this article covers both.


Option 1: Detecting an Oil Layer on the Water Surface

When oil floats on top, you are detecting a liquid–liquid interface. Three sensor families do this:

Optical Oil-on-Water (Prism) Sensor

An optical sensor mounted at the water surface uses a prism and infrared light. Clean water and oil reflect light differently (different refractive index and wetting). When an oil film contacts the prism, the reflection/transmission changes and the switch trips - in milliseconds, with no moving parts.

Best for: oil-water separators, sumps, bilge wells, and any point where free oil accumulates on the surface

Strengths: tiny, fast, no calibration, no moving parts, detects a thin film a level switch would miss

Limitation: needs a reasonably clean prism and a clear liquid; single point, not a concentration reading

Reference: optical level switches for liquids & tanks, 5 advantages over float

Capacitive Interface Detection

Oil and water have very different dielectric constants - oil ≈ 2–3, water ≈ 80. A capacitive probe reads the dielectric at its location, so it can detect the boundary where oil meets water and report interface height (see our capacitive complete guide and how capacitive sensing works).

Best for: a known oil-over-water interface inside a tank or separator

Strengths: continuous interface level, works through non-metallic walls (non-contact variant), tolerant of coating with RF admittance

Limitation: relies on a stable dielectric contrast; not a ppm measurement

Reference: capacitive non-contact measurement

Float / Mechanical Interface Float

A float whose specific gravity sits between oil (≈0.8) and water (≈1.0) rides exactly at the oil–water interface and can indicate or track it mechanically.

Best for: simple, low-cost interface indication in calm tanks

Limitation: only works when the interface is distinct and stable; not a concentration reading

Reference: float level switch overview, float vs capacitive

Surface Sensor Detects Output Best For
Optical prism Oil film on surface Point (on/off) Separators, bilge, sumps
Capacitive probe Oil–water interface height Point / continuous Tanks, separators
Interface float Float at interface Point / mechanical Calm tanks

Option 2: Detecting Dissolved/Dispersed Oil IN Water (Oil-in-Water Analyzer)

If the requirement is "how many ppm of oil is in this water?" - for discharge compliance, produced-water monitoring, or separator efficiency - you need an oil-in-water monitor, not a level sensor.

UV Fluorescence Monitor (Most Common)

Hydrocarbons containing aromatic or PAH compounds fluoresce when excited by ultraviolet light. A UV-fluorescence oil-in-water monitor shines UV into the sample and measures the fluorescence intensity, which is proportional to oil concentration.

Best for: produced water, cooling-water discharge, industrial effluent, and marine bilge/ballast (oil content monitors, OCM)

Strengths: very low detection limits (sub-ppm to tens of ppm), fast, specific to hydrocarbons (ignores many inorganic interferents), compact in-line designs

Limitations:

Not all oils fluoresce equally. Aromatic and weathered oils fluoresce strongly; heavy paraffinic or some crude oils fluoresce weakly, so the reading can under-report. Calibration must use the actual oil type.

Turbidity and particulates can scatter light and add error; good units use compensation or sample conditioning.

Calibration per oil is required - there is no universal "one number fits all oils" response.

IR Absorption Monitor

Infrared monitors measure oil by its characteristic infrared absorption (typically around the C–H stretch bands), either by extracting oil into a solvent (grab-sample/lab) or with an in-line cell.

Best for: oils that fluoresce poorly (heavy, paraffinic, weathered crude) and where a broader oil response is needed

Strengths: responds to a wider range of oil types than UV fluorescence; established compliance method

Limitations: solvent-based versions are offline/slower; in-line IR is more complex and costlier; also affected by particulates and emulsions

Supporting / Reference Methods

Turbidity/optical scattering gives a rough indication but cannot distinguish oil from suspended solids - not a true oil measurement.

Gravimetric (solvent extraction + weighing) remains the lab reference for compliance but is slow and offline.

In-Water Analyzer Detects Output Best For
UV fluorescence Fluorescing hydrocarbons (ppm) Continuous ppm Bilge, produced water, discharge
IR absorption Broad oil types (ppm) Continuous ppm (or lab) Heavy/paraffinic oils
Gravimetric Total oil (reference) Lab value Compliance verification

Key Applications

Marine bilge & ballast water. Ships must discharge bilge water below a strict oil limit using an approved oil content monitor (OCM) - almost always UV-fluorescence based, built to standards such as IMO MEPC.107(49). The OCM alarms and blocks discharge above the limit.

Produced water (oil & gas). Separator outlet and reinjection streams are monitored for residual oil, typically by UV-fluorescence or IR in-line analyzers.

Cooling-water & process discharge. Environmental permits cap oil in outflow; continuous monitors provide compliance data and alarm on excursion.

Stormwater & separator outlet. An optical surface sensor or OCM confirms the separator is working before discharge.

Oil-water separators. Optical/prism or capacitive sensors confirm an oil layer has formed; an OCM verifies the water leaving meets limits.

Industrial wash & rinse water. In-line fluorescence checks cleaning effectiveness or recovery-system health.


Selection Checklist

Specify the right sensor by confirming:

Film or ppm? Surface layer → interface sensor (optical/capacitive/float). Concentration → oil-in-water analyzer (UV/IR).

Compliance limit (ppm)? Sets the analyzer's required detection limit (e.g., 0–15 ppm bilge, 0–50 ppm produced water).

Oil type. Aromatic/fluorescing → UV fluorescence. Heavy/paraffinic → IR.

Water matrix. Turbid, salty, or emulsified water demands compensation or sample conditioning.

In-line or grab? Continuous compliance → in-line analyzer. Spot checks → portable or lab IR/gravimetric.

Response time. Alarm/interlock needs fast (seconds); reporting can tolerate minutes.

Maintenance tolerance. Prism/float need cleaning; fluorescence cells need periodic calibration and window checks.

Certifications. Marine (MED/Type approval), hazardous-area (ATEX/IECEx), and sanitary where relevant.


Specifications to Know

Detection limit / range - e.g., 0–15 ppm, 0–50 ppm, 0–200 ppm.

Accuracy - often ± a few % of reading or a fixed ppm offset; stated against a calibration oil.

Response time - seconds for fluorescence, longer for solvent IR.

Calibration - per oil type; some units store multiple oil curves.

Wetted materials - SS, PTFE for hydrocarbon compatibility.

Output - 4–20 mA, relays (alarm), digital (Modbus/HART) for logging and interlock.

Environmental rating - IP, EX, marine type-approval.


Common Mistakes

Using a level sensor when you need ppm. A float or capacitive probe tells you where the oil layer is - not how many ppm are dispersed in the water. For discharge compliance you need an analyzer.

Assuming one oil = all oils. UV fluorescence varies hugely by oil type; calibrate to the actual product.

Ignoring turbidity. Particulates mimic or mask oil; choose compensated or conditioned sampling.

No interface sensor on a separator. Pair an OCM with a surface sensor so you know both "is oil accumulating?" and "is the outflow clean?"


Installation & Sampling Tips

An oil-in-water analyzer is only as good as its sample. Two rules protect the reading:

Sample representatively. Draw from a point where oil is actually mixed in the flow, not a stagnant pocket. A small bypass loop with controlled flow gives a steady, representative stream.

Condition the sample. Remove entrained air bubbles (they scatter light like oil), keep flow stable through the cell, and filter coarse debris that would coat the window. UV units need a clean optical path; IR cells need a stable path length.

Calibrate to your oil. Store the calibration curve for the actual hydrocarbon in your stream, and re-verify periodically.

Place surface sensors correctly. Mount optical/prism sensors exactly at the expected oil film location; mount capacitive probes across the interface zone.

FAQ: Detecting Oil in Water

What sensor detects oil in water?

It depends. For an oil layer on the surface, use an optical prism, capacitive, or interface float sensor. For oil dispersed in the water (ppm), use a UV-fluorescence or IR oil-in-water analyzer. The two detect different things.

Can a normal liquid level sensor detect oil in water?

Only the surface/interface version. A level sensor detects where the oil–water boundary sits; it cannot measure dissolved oil concentration in ppm. For contamination you need an oil-in-water analyzer. See what a liquid level sensor is.

What is an oil-in-water monitor (OCM)?

An oil-in-water monitor continuously measures hydrocarbon concentration in water, usually by UV fluorescence. On ships it is the oil content monitor that blocks bilge discharge above the legal limit (e.g., IMO MEPC.107(49), 15 ppm).

Does UV fluorescence detect all oils?

No. It responds strongly to aromatic and weathered oils but weakly to heavy paraffinic or some crude oils. Calibrate to the actual oil, or use IR absorption for broader oil response.

How do I monitor bilge or ballast water?

Use a type-approved oil content monitor (UV-fluorescence OCM) with alarm and discharge interlock, per marine standards. Pair it with a surface sensor if you also want to confirm oil separation in the bilge well.

Can a capacitive sensor detect oil in water?

A capacitive probe detects the oil–water interface (a layer), not ppm concentration. It is excellent for tracking where the oil sits on top of water in a tank. For concentration, use an analyzer. See capacitive non-contact measurement.

What detection limit can I get?

UV-fluorescence monitors reach sub-ppm to tens of ppm; IR similar or broader by oil type. The limit you need is set by your compliance permit (commonly 15 ppm marine, up to 50 ppm produced water).

Is an optical prism sensor good for oil on water?

Yes. An optical prism at the surface detects an oil film by the change in light reflection when oil wets it - fast and calibration-free for free oil on the surface. It does not measure concentration. See optical switches.

How much maintenance do these sensors need?

Surface sensors (prism, float) need periodic cleaning of the sensing face. Oil-in-water analyzers need scheduled calibration against the actual oil and window/flow-cell checks. Turbid or oily service shortens the interval.

Can I measure oil in water continuously and in real time?

Yes. In-line UV-fluorescence and IR analyzers provide continuous ppm with response times from seconds to a minute, suitable for alarm and interlock. Grab-sample or solvent-IR methods are batch/lab and slower but useful for verification and compliance audits.

What about oil emulsions or very salty water?

Emulsions (oil finely dispersed) are exactly what in-water analyzers target, though very stable emulsions can challenge optical methods - sample conditioning helps. Salty (high-ionic) water mainly affects conductivity-based methods, not fluorescence/IR, but always validate against your actual matrix before relying on the reading.


Conclusion

"There is oil in the water" means two different things, and the sensor you need follows from which one. An oil layer floating on top is an interface problem solved by an optical prism, capacitive probe, or interface float - devices that tell you where the oil sits. Oil dispersed in the water as contamination is a concentration problem solved by a UV-fluorescence or IR oil-in-water analyzer that reports how many ppm. For compliance (marine bilge, produced water, discharge), the analyzer is mandatory; for separator and sump monitoring, a surface sensor is usually enough - and the best systems use both. Match the sensor to the physics of your problem, calibrate to your actual oil, and you will detect oil in water reliably instead of guessing.

For related reading, see our optical level switches, capacitive complete guide, float vs capacitive, non-contact sensor guide, and what is a liquid level sensor.

Send Inquiry