OBD-II Generic Error Code P2222: How to Fix It

Medium 1–3 hours Medium Severity Verified June 2026
Error Code
P2222
Brand
OBD-II Generic
Product Type
automotive
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
1–3 hours
The P2222 code indicates that the NOx (nitrogen oxide) sensor heater on Bank 2 is not performing within the expected range. The NOx sensor heater is responsible for bringing the sensor up to its proper operating temperature quickly so it can accurately measure exhaust gases. If this heater circuit is slow, weak, or failing, your vehicle's emissions system cannot function correctly, which can affect fuel economy, engine performance, and your ability to pass an emissions test.
Ad

Tools You'll Need

How to Fix Error Code P2222

  1. Read and Record All Fault Codes

    Do not clear codes without first recording them. Clearing codes erases freeze-frame data that is critical for diagnosis.
  2. Locate the Bank 2 NOx Sensor

    Never work under a vehicle supported only by a floor jack. Always use jack stands rated for your vehicle's weight before going underneath.
  3. Visually Inspect the NOx Sensor and Wiring

    Allow the exhaust system to cool completely before touching any components. Exhaust parts can remain dangerously hot for 30–60 minutes after the engine is shut off.
  4. Test the NOx Sensor Heater Circuit Voltage and Ground

    Use proper insulated probes and avoid shorting wires together when performing live voltage tests.
  5. Check the Relevant Fuses and Relays

    Always replace fuses with the exact same amperage rating. Using a higher-rated fuse can cause wiring fires.
  6. Test the NOx Sensor Heater Resistance

  7. Replace the NOx Sensor if Faulty

    NOx sensor bungs in the exhaust can seize over time due to heat and corrosion. Apply penetrating oil to the base of the sensor and allow it to soak for at least 15–30 minutes before attempting removal. Forcing a seized sensor can break it off in the bung, requiring professional extraction.
  8. Clear Codes and Verify the Repair

Parts You May Need

NOx Sensor (Bank 2)
Check Price on Amazon
NOx Sensor Wiring Harness Pigtail
Check Price on Amazon
Automotive Fuse (correct amperage for circuit)
Check Price on Amazon
Anti-Seize Compound
Check Price on Amazon
NOx Sensor (Bank 2)
Check Price on Amazon
NOx Sensor Wiring Harness Pigtail
Check Price on Amazon
Automotive Fuse (correct amperage for circuit)
Check Price on Amazon
Anti-Seize Compound
Check Price on Amazon
NOx Sensor (Bank 2)
Check Price on Amazon
NOx Sensor Wiring Harness Pigtail
Check Price on Amazon
Automotive Fuse (correct amperage for circuit)
Check Price on Amazon
Anti-Seize Compound
Check Price on Amazon
NOx Sensor (Bank 2)
Check Price on Amazon
NOx Sensor Wiring Harness Pigtail
Check Price on Amazon
Automotive Fuse (correct amperage for circuit)
Check Price on Amazon
Anti-Seize Compound
Check Price on Amazon
Ad

When to Call a Professional

You should take your vehicle to a qualified mechanic or emissions specialist if: the NOx sensor is broken off in the exhaust bung during removal; voltage and ground checks reveal complex wiring harness damage that is difficult to trace; the code returns after sensor replacement, suggesting a deeper ECM or exhaust aftertreatment system issue; you do not have experience with live electrical testing on automotive systems; or your vehicle is still under warranty, as DIY repairs on emissions-related components may void coverage. Diesel vehicles with SCR (Selective Catalytic Reduction) systems may also require a dealer-level scan tool to reset aftertreatment counters after sensor replacement.

Frequently Asked Questions

Can I drive my car with a P2222 code?
In most cases, you can drive short distances with a P2222 code since it is rated as medium severity, but it is not advisable for extended driving. The faulty NOx sensor heater means your vehicle's emissions system is not operating correctly, which can lead to increased emissions, reduced fuel economy, and potential damage to other exhaust aftertreatment components over time. You should diagnose and repair the issue as soon as reasonably possible.
What is the difference between P2222 and P2200?
P2200 is a general NOx sensor circuit fault on Bank 1, while P2222 specifically indicates a heater performance problem on Bank 2. Heater performance codes (like P2222) mean the sensor heater is functioning but not meeting the expected warm-up rate or output, whereas a circuit code like P2200 can indicate an open or short in the sensor signal circuit itself. Bank 2 refers to the side of the engine not containing cylinder number 1.
How much does it cost to fix a P2222 code?
If the fix is a blown fuse or a simple wiring repair, the cost can be under $20. If the NOx sensor itself needs to be replaced, the part alone can range from approximately $50 to over $400 depending on the vehicle make, model, and whether it is an OEM or aftermarket part. Adding professional labor at a shop typically runs 1–2 hours at $80–$150 per hour. Total repair costs at a shop commonly range from $150 to $600 or more for diesel vehicles with complex aftertreatment systems.
Will P2222 cause my car to fail an emissions test?
Yes, in most cases a stored P2222 code will cause your vehicle to fail an OBD2-based emissions test because the check engine light will be on and the relevant emissions monitor will be flagged as incomplete or failed. You will need to diagnose and repair the fault, clear the codes, and complete the necessary drive cycles to allow all readiness monitors to run before your vehicle will pass an emissions inspection.
Can a bad NOx sensor cause poor fuel economy?
Yes. The NOx sensor plays a role in your vehicle's engine management and emissions control strategy, particularly in diesel vehicles with SCR (Selective Catalytic Reduction) or EGR (Exhaust Gas Recirculation) systems. When the NOx sensor heater is not performing correctly, the sensor may provide inaccurate readings, causing the ECM to make suboptimal fuel and emissions control decisions. This can result in noticeably worse fuel economy in addition to increased emissions.