Replacing a NOx sensor in a vehicle typically requires the following steps:
- Locate the NOx sensor: The NOx sensor is typically located in the exhaust system of the vehicle, near the catalytic converter.
- Disconnect the electrical connector: Before removing the sensor, disconnect the electrical connector that connects the sensor to the vehicle’s electrical system.
- Remove the old sensor: Use a wrench to remove the bolts that secure the sensor in place. Carefully remove the old sensor from the exhaust system and discard it.
- Install the new sensor: Install the new NOx sensor by tightening the bolts securely. Reconnect the electrical connector to the new sensor.
- Test the sensor: Start the engine and check for any error codes or warning lights on the dashboard. If everything is working correctly, the new NOx sensor should be properly functioning.
- This is only a general replacement guide. The exact procedure can vary by vehicle and engine platform, so consult qualified service documentation if you are unsure.
Before you start: confirm the sensor itself is at fault
A replacement only fixes the problem if the sensor itself has failed. Wiring and connector faults can mimic a dead sensor, so work through the diagnosis first: read the fault codes to identify which sensor and circuit is flagged, compare upstream and downstream NOx readings in live data, and inspect the harness and connector for corrosion, melting or loose pins. Our guides to identifying NOx sensor failure symptoms, NOx sensor failure causes and fixes and wiring and connector faults cover those checks in order, including circuit codes such as P2200 and communication codes such as U029D.
Match the replacement by OE number first
Most diesel applications use two NOx sensors — one upstream, before the SCR catalyst, and one downstream, after it — and they are not interchangeable. Before ordering, cross-reference the OE number from the old sensor so you get the exact fitment for that position the first time. You can search our NOx sensor catalogue by OE number, vehicle brand or model, as explained in the symptoms, fault codes and replacement guide.
Step-by-step replacement, in full
- Identify the correct sensor position. Use the fault code and live data to confirm whether the flagged sensor is the upstream or the downstream unit before removing anything.
- Locate the sensor. The NOx sensor is typically located in the exhaust system, near the catalytic converter — upstream of the SCR catalyst for sensor 1, and after it for sensor 2.
- Disconnect the electrical connector. Before removing the sensor, disconnect the electrical connector that connects the sensor to the vehicle’s electrical system, and check the plug for corrosion or damaged pins while it is apart.
- Remove the old sensor. Use a wrench to remove the bolts that secure the sensor in place. Carefully remove the old sensor from the exhaust system.
- Install the new sensor. Install the new NOx sensor by tightening the bolts securely, then reconnect the electrical connector to the new sensor.
- Test the sensor. Start the engine and check for any error codes or warning lights on the dashboard. If everything is working correctly, the new NOx sensor should be properly functioning.
This is only a general replacement guide. The exact procedure can vary by vehicle and engine platform, so consult qualified service documentation if you are unsure.
After installation: verify with live data, not just a clear dashboard
With the engine running, compare the upstream and downstream NOx ppm readings in live data: a stuck, flat or implausible value points to a remaining fault rather than a completed repair. If a circuit code returns, re-check the supply and communication lines before condemning the new sensor — full system voltage at the sensor is 11.8–14.2V on 12V systems and 23.5–28.4V on 24V commercial trucks, and the CAN lines should read approximately 60Ω between them with the battery disconnected. The heavy-duty diagnostic manual for SPN 3216 and SPN 3226 walks through those pinout tests.
If the fault comes back
A returning code usually means the original cause is still present: contamination from oil ash, soot, coolant or fuel residue, thermal-shock damage, moisture ingress, or harness damage can all take out a new sensor or imitate its failure. Work through the five common NOx sensor failure modes and the wiring guide linked above before fitting another sensor.
Frequently asked questions
Should I replace the NOx sensor before confirming it has failed?
No. A replacement only fixes the problem if the sensor itself has failed. Wiring and connector faults can mimic a dead sensor, so work through the diagnosis first: read the fault codes to identify which sensor and circuit is flagged, compare upstream and downstream NOx readings in live data, and inspect the harness and connector for corrosion, melting or loose pins.
Are upstream and downstream NOx sensors interchangeable?
No. Most diesel applications use two NOx sensors — one upstream, before the SCR catalyst, and one downstream, after it — and they are not interchangeable. Cross-reference the OE number from the old sensor so you get the exact fitment for that position the first time.
Where is the NOx sensor located?
The NOx sensor is typically located in the exhaust system, near the catalytic converter — upstream of the SCR catalyst for sensor 1, and after it for sensor 2.
How do I verify the repair after installing a new sensor?
With the engine running, compare the upstream and downstream NOx ppm readings in live data: a stuck, flat or implausible value points to a remaining fault rather than a completed repair. Full system voltage at the sensor is 11.8–14.2V on 12V systems and 23.5–28.4V on 24V commercial trucks, and the CAN lines should read approximately 60Ω between them with the battery disconnected.
What if the fault code comes back after replacement?
A returning code usually means the original cause is still present: contamination from oil ash, soot, coolant or fuel residue, thermal-shock damage, moisture ingress, or harness damage can all take out a new sensor or imitate its failure.
Browse our NOx sensors
Find the right NOx sensor for your vehicle. Factory-direct pricing with 50-70% savings vs OEM.
NOx Sensor Solutions
Continue from this guide to NOx sensor cross-reference, application support, and RFQ-ready product sourcing.
Need OEM cross-reference or wholesale pricing?
Send part numbers, applications, or sourcing requirements to SHR Autoparts for a faster B2B response.

