Modern diesel aftertreatment systems commonly use two NOx sensors: an inlet (upstream) NOx sensor and an outlet (downstream) NOx sensor.
Although the sensors may look similar—and on some applications may even use similar connectors—they serve different purposes. Understanding what each sensor is measuring can make diagnosing NOx sensor faults, SCR efficiency problems, and DEF system issues much easier.
More importantly, a NOx-related fault code doesn't always mean the NOx sensor itself has failed.
Before replacing parts, here's how the system works and what you should be looking for.
What Does a NOx Sensor Do?
NOx stands for oxides of nitrogen, a group of emissions produced during combustion.
A diesel NOx sensor measures the concentration of NOx in the exhaust stream and reports that information to the engine or aftertreatment control system.
On an SCR-equipped diesel engine, you'll typically find:
Inlet / Upstream NOx Sensor
Located before the SCR catalyst.
Outlet / Downstream NOx Sensor
Located after the SCR catalyst.
The control system can use the readings from these sensors to monitor SCR operation and determine whether the aftertreatment system is reducing NOx emissions as expected.
What Does the Inlet NOx Sensor Measure?
The inlet NOx sensor measures NOx entering the SCR catalyst.
Think of this as the system's before-treatment measurement.
The engine produces NOx during combustion. That exhaust travels through the aftertreatment system and eventually reaches the SCR catalyst.
The inlet NOx sensor tells the control system approximately how much NOx is entering the SCR portion of the system.
This information can be used as part of the strategy for determining how the SCR system should operate.
What Does the Outlet NOx Sensor Measure?
The outlet NOx sensor measures NOx after the exhaust has passed through the SCR catalyst.
Think of this as the after-treatment measurement.
When the SCR system is functioning correctly, DEF is injected into the exhaust stream and ultimately provides ammonia used by the SCR catalyst to convert NOx primarily into nitrogen and water.
Because of this, once the system is hot and actively operating, the outlet NOx reading should generally be significantly lower than the inlet reading when effective NOx conversion is taking place.
That difference between upstream and downstream NOx is extremely useful diagnostically.
Inlet vs Outlet NOx Sensor: Which Is Sensor 1 and Sensor 2?
Terminology varies between manufacturers and diagnostic software, but generally:
NOx Sensor 1 = Upstream / Inlet NOx Sensor
NOx Sensor 2 = Downstream / Outlet NOx Sensor
However, do not order a sensor based only on “Sensor 1” or “Sensor 2.”
Always confirm the correct sensor using the OEM part number, engine serial number, VIN, physical location, or the manufacturer's service information.
Different engine and aftertreatment configurations can use different sensors.
How Can You Tell Which NOx Sensor Is Bad?
This is where diagnosis becomes important.
A fault code identifying an inlet or outlet NOx sensor circuit can certainly indicate a failed sensor, but simply seeing an abnormal NOx reading doesn't automatically prove the sensor is bad.
Start by looking at the actual NOx readings with a capable diagnostic scan tool.
Ideally, monitor both inlet and outlet NOx simultaneously while the engine and aftertreatment system are at operating temperature.
You're looking for readings that make sense relative to one another and respond appropriately as engine operating conditions change.
A Healthy SCR System Should Reduce NOx
Imagine the inlet sensor is measuring a relatively high concentration of NOx while the engine is under load.
After DEF dosing begins and the SCR catalyst is operating effectively, you would expect substantially less NOx to leave the SCR than entered it.
Conceptually:
Engine → Inlet NOx Sensor → DEF Dosing → SCR Catalyst → Outlet NOx Sensor
If the inlet reading rises with engine load while the outlet remains substantially lower during effective SCR operation, the system is demonstrating NOx conversion.
But if the outlet reading closely follows the inlet reading, something may be wrong.
And that something isn't necessarily the outlet sensor.
High Outlet NOx Doesn't Automatically Mean a Bad Outlet Sensor
This is one of the most important points when diagnosing these systems.
Suppose the inlet NOx sensor reports high NOx and the outlet sensor also reports high NOx.
It's tempting to replace the outlet sensor.
But what if the outlet sensor is accurately reporting that the SCR system isn't reducing NOx?
Possible causes can include:
-
Insufficient DEF dosing
-
A restricted or malfunctioning DEF dosing valve
-
DEF pressure problems
-
Poor DEF quality or incorrect concentration
-
DEF crystallization
-
Exhaust leaks
-
SCR catalyst performance problems
-
Incorrect temperature conditions
-
Wiring or communication problems
-
An inaccurate inlet or outlet NOx sensor
The sensor is only one part of the system.
Watch How the Sensors Respond
One of the best diagnostic clues is sensor behavior.
Instead of looking at one NOx value at one moment, watch what happens as operating conditions change.
When engine load increases, engine-out NOx can change considerably.
A functioning inlet sensor should respond to changing exhaust conditions rather than remaining stuck at an implausible value.
Likewise, the downstream reading should make sense relative to what is happening upstream and what the SCR system is doing.
A reading that is:
-
Frozen at one value
-
Implausibly high or low
-
Intermittently disappearing
-
Extremely erratic
-
Not communicating
-
Slow or unresponsive compared with operating changes
may point toward a sensor, wiring, power supply, communication, or related electrical problem.
Don't Diagnose NOx Sensors on a Cold System
SCR diagnosis needs to be performed under the correct operating conditions.
Immediately after a cold start, the catalyst and exhaust system may not yet be hot enough for normal DEF dosing and efficient SCR conversion.
Comparing inlet and outlet readings under those conditions can be misleading.
Allow the engine and aftertreatment system to reach the conditions required by the manufacturer's diagnostic procedure before drawing conclusions from NOx conversion.
If your diagnostic software provides a SCR performance test, aftertreatment test, or NOx conversion test, that is generally a better diagnostic environment than simply watching the truck idle cold.
Check for Exhaust Leaks
This is an often-overlooked part of NOx and SCR diagnosis.
An exhaust leak can affect aftertreatment operation and sensor readings, depending on its location and operating conditions.
We've seen situations where an exhaust leak contributed to misleading aftertreatment data and sent diagnosis in the wrong direction.
Before condemning an expensive NOx sensor or SCR catalyst, inspect the exhaust system carefully for:
-
Cracked pipes
-
Leaking clamps
-
Damaged bellows or flex sections
-
Failed gaskets
-
Loose connections
-
Soot trails around joints
Visible soot around an exhaust connection is often a good reason to investigate further.
Inspect the Wiring Before Replacing the Sensor
NOx sensors contain electronics and require proper electrical power, ground, and communication.
Before replacing a sensor, inspect its harness and connector.
Look for:
-
Corroded terminals
-
Bent or pushed-back pins
-
Damaged wiring
-
Harnesses contacting hot exhaust components
-
Water intrusion
-
Loose connectors
-
Poor power or ground
-
CAN communication problems
A perfectly good NOx sensor cannot operate correctly if its electrical supply or communication circuit is compromised.
Can You Swap the Inlet and Outlet NOx Sensors?
Usually, you should not.
Even when two sensors physically resemble one another, they may have different part numbers, calibrations, electronics, cable lengths, or intended locations.
Installing the wrong sensor can create additional faults or inaccurate readings.
Always cross-reference the exact OEM part number before installing a replacement.
Can You Clean a NOx Sensor?
Generally, NOx sensors should not be treated like a reusable probe that can simply be cleaned and returned to service whenever a fault occurs.
If the sensor has failed electrically or internally, cleaning it will not repair the electronics or sensing element.
Before replacing it, however, you should determine why the sensor failed and inspect the surrounding system.
Excessive contamination, coolant consumption, oil consumption, wiring damage, exhaust leaks, or other engine and aftertreatment problems may need to be corrected as well.
Inlet or Outlet: Make Sure You Order the Correct Sensor
One of the easiest mistakes to make is ordering a NOx sensor based solely on the truck's year, make, and model.
Heavy-duty trucks can have different engine families, emissions configurations, and sensor revisions within the same model year.
NOx sensor part numbers are also frequently superseded.
Before ordering, confirm as much information as possible:
-
OEM part number from the original sensor
-
Engine manufacturer
-
Engine model
-
Engine serial number
-
Truck VIN
-
Inlet or outlet position
-
Connector configuration
If an older part number has been superseded, the current replacement may carry a completely different number.
The Bottom Line
The difference between the two sensors is straightforward:
Inlet NOx sensor: Measures NOx entering the SCR system.
Outlet NOx sensor: Measures NOx