OBD-II trouble code
P2217: NOx Sensor Circuit Intermittent (Bank 2)
The bank 2 nitrogen oxide signal comes and goes. This is the one member of the family whose fault can usually be recreated on purpose, because the conditions that trigger it — movement and heat — are both things a technician can apply deliberately rather than wait for.
Quick facts
- System
- Powertrain
- Category
- Auxiliary Emissions Controls
- Severity
- Medium severity
- Drivable
- Usually safe to drive short-term
- Repair cost range
- $60 – $1,400
- DIY difficulty
- Intermediate DIY
Browse every code in P2200–P229F, or start from the full code library.
What does P2217 mean?
Every other code in this block describes a state the controller found. This one describes a pattern it watched develop, and that difference dictates the entire approach: the fault will not be present when the vehicle arrives, so the job is not to find it but to provoke it.
That is better news than it sounds. Intermittent faults on a sensor of this type have two physical triggers and both can be applied on a bench. One is movement — a connection that separates when something flexes, twists or vibrates. The other is temperature — a joint whose resistance climbs as it expands, or a solder connection inside the sensor's control unit that opens when heat-soaked. A technician has a heat gun, a can of freeze spray and two hands. All three are more likely to reproduce this fault in ten minutes than a week of hoping it happens again on the road.
Before any of that, capture what the vehicle already recorded. The freeze frame stored with this code is more valuable here than on any other code in the family, because it is a photograph of the one moment when the fault was present. Engine speed, load, coolant temperature, ambient temperature, time since start and vehicle speed together will often say whether the dropout happened cold or heat-soaked, moving or stationary, under load or coasting. Clearing the code before reading that snapshot throws away the only direct evidence of the event, and it is a common and irreversible mistake.
The shape of the dropout also identifies which layer failed, and it is worth looking at carefully. This sensor does not send a voltage to the controller — an element feeds a small sealed control unit, which calculates a value and transmits it as messages. So a reading that vanishes completely and then reappears is the controller losing the messages: a supply interruption, a broken link, or the control unit resetting. A reading that stays present but jumps to an implausible figure and comes back is something disturbing the measurement rather than the communication: the element, its ground reference, or the heater regulation. Those are different repairs, and the distinction is visible in a log at a glance.
The bank 2 position contributes its own share of the probability. Where a genuine second cylinder bank exists, its sensor is normally the one with the longer harness run — more clip points, more heat shield edges to rub against, and in most layouts a crossing between the engine, which moves on its mounts, and the body, which does not. Every one of those is a candidate for a connection that is intact at rest and open under movement. Trace that run rather than skipping to the sensor, because a sensor is expensive and a chafed wire is not.
There is one cause that produces this code with no hardware fault at all, and it is worth ruling out early on a vehicle used for short journeys: the sensor's heater is deliberately held off until the exhaust is calculated to be dry, so the element genuinely goes in and out of a valid measuring state on cold, damp, stop-start use. A reading that appears twenty minutes into a drive and is absent before that is the system protecting a ceramic element from thermal shock, not a connection failing.
The vehicle drives normally, usually with no symptom the owner can feel. The reason to pursue it is that intermittent faults get worse, and on diesels an unresolved aftertreatment fault eventually leads to the same staged inducement as a permanent one.
Common causes
- Connection that separates under vibration or engine movement rather than at rest
- Harness chafed against a heat shield edge or clip along the longer bank 2 run
- Terminal backed out, spread or loose in the sensor connector
- Solder joint inside the sensor's control unit opening when heat-soaked
- Supply or ground connection with resistance that climbs as it warms
- Water intrusion that bridges terminals only while wet
- Communication link damaged in one section and passing traffic inconsistently
- Corrosion under the connector seal producing a marginal contact
- Element degraded and dropping out of specification only at certain exhaust temperatures
- Heater held off on short damp journeys, leaving the element intermittently outside its valid measuring state
- Connector strained by a previous repair where the harness was routed slightly short
Symptoms
- Check engine light that comes on and goes off again over days or weeks
- Reading that disappears from live data and returns
- Reading that jumps to an implausible value momentarily and recovers
- Fault that appears on rough roads and not on smooth ones
- Fault that appears only when the engine is fully heat-soaked, or only when cold
- Emissions monitor that occasionally completes and occasionally does not
- Reductant dosing behaviour that varies between journeys
- No change in how the vehicle drives
- Code that returns after being cleared but not on a predictable schedule
Diagnostic steps
- 1.Read and save the freeze frame before clearing anything. It records the conditions at the moment the fault occurred and is the only direct evidence of an event you are otherwise trying to recreate.
- 2.Note from that snapshot whether the dropout happened cold or heat-soaked, moving or stationary, and under load or coasting. Each answer points at a different provocation test.
- 3.Determine the shape of the dropout in a log: a value that vanishes entirely indicates lost messages, power or link, while a value that stays present but jumps wildly indicates the element, its ground or the heater.
- 4.Wiggle-test the connector and the harness along its full run while watching live data, working section by section rather than shaking the whole loom at once.
- 5.Apply heat to the sensor's control unit and to suspect connector bodies with a heat gun while monitoring, then chill the same points with freeze spray. A fault that follows temperature has just been located.
- 6.Inspect the entire bank 2 harness run with particular attention to heat shield edges, clip points, and any crossing between the engine and the body where movement is greatest.
- 7.Check for a terminal that is backed out, spread or not latched, and test retention by pulling gently on each wire rather than by sight alone.
- 8.Measure voltage drop across the supply and ground with the circuit loaded and with the engine running, not at rest, since a marginal joint reads fine unloaded.
- 9.Check under the connector seal for corrosion and for evidence of water tracking down the harness from a higher point.
- 10.On a short-journey vehicle, confirm whether the reading simply arrives late in the drive. That is the heater waiting for the exhaust to dry and is normal behaviour, not a fault.
- 11.If the harness, connector, supply and ground all survive provocation and the fault still recurs, replace the bank 2 sensor and verify across several drive cycles rather than one.
Repair cost
$60 – $1,400
Diagnosis dominates this code and is worth paying properly for: $130 to $320, because the time goes into provocation testing and data logging rather than into a single measurement. Connector or terminal repair is $80 to $280. A harness repair is $100 to $450 depending on how much of the run has to be opened up. A nitrogen oxide sensor is $250 to $900 for the part with $100 to $350 in labour. The worst outcome on this code is paying for the sensor and the diagnosis, in that order, and still having the fault.
Estimate your repair
Run the numbers for your vehicle
Open the Repair Cost Estimator with wiring harness / circuit repair preselected. Adjust labor rate and vehicle category to fit your situation.
DIY vs shop
This is an intermediate DIY job. It usually involves diagnostic steps, specialty parts, and some careful work in tight spaces. If you have the tools and a service manual or trustworthy video for your specific vehicle, it is achievable in a weekend. Otherwise, a competent independent shop will be faster.