AutoLogicTools

OBD-II trouble code

P2031: Exhaust Gas Temperature Sensor Circuit Bank 1 Sensor 2

The second sensor in the exhaust stream is not a safety limit switch — it is the feedback that steers a fire the module lights deliberately. Lose it and the vehicle does not just lose protection, it loses the ability to run a regeneration at all.

Medium severityPowertrainExhaust / AftertreatmentDrivable short-term

Quick facts

System
Powertrain
Category
Exhaust / Aftertreatment
Severity
Medium severity
Drivable
Usually safe to drive short-term
Repair cost range
$120$700
DIY difficulty
Intermediate DIY

Browse every code in P2000–P20E8, or start from the full code library.

What does P2031 mean?

Position number two in an exhaust temperature array does a fundamentally different job from position number one, and the difference decides how this code should be read.

The first sensor sits close to the engine and acts as a ceiling. Its job is to notice when things are getting too hot and have the module back off. Sensor 2 sits further downstream — on the great majority of diesel layouts, between the oxidation catalyst and the particulate filter — and its job is the opposite. It is not watching for a limit. It is the measurement that tells the module whether an operation it deliberately started is working.

That operation is regeneration. A particulate filter traps soot, and the only way to get soot out is to burn it, which requires exhaust temperatures far above anything normal driving produces. The module manufactures those temperatures on purpose: it injects extra fuel late in the cycle, or through a dedicated dosing injector, so that unburned fuel arrives at the oxidation catalyst and oxidises there. The catalyst is the heater. The gas leaving it is what carries the heat into the filter and burns the soot away.

Sensor 2 is the instrument watching the outlet of that heater. It is how the module knows the catalyst has lit off, how hot the filter inlet actually is, and whether to add more fuel or back off. It is, in other words, a closed-loop control input for a controlled fire — and no responsible controller runs a fire it cannot measure. So when the circuit for this sensor fails, the module does not simply lose a protective margin. It refuses to start regenerations at all.

That is the consequence that matters, and it does not announce itself immediately. Nothing changes in how the vehicle drives on the day this code appears. What changes is that soot begins accumulating with no mechanism to remove it. Over some hundreds of miles the filter loading climbs, and then a second set of codes appears — restriction, high differential pressure, forced derate — and by then the correct repair may no longer be a sensor. A filter allowed to load past a certain point cannot be regenerated on the road at all and needs professional cleaning or replacement. The sensor is a modest part. The consequence of ignoring it for a season is not modest, and that asymmetry is the whole argument for dealing with this code promptly despite the car driving perfectly well.

There is one more thing sensor 2 makes possible that sensor 1 cannot, and it is a useful diagnostic lever. Because sensor 1 measures the gas going into the catalyst and sensor 2 measures the gas coming out, the difference between them during a regeneration is a direct readout of whether the catalyst is doing its job. A healthy oxidation catalyst under dosing produces a substantial rise across itself. A catalyst that has aged, been contaminated by oil or coolant, or been poisoned by sulphur produces very little. If a vehicle is failing to complete regenerations and this circuit turns out to be intact, that temperature difference is the number that tells you whether to be looking at the catalyst instead — and it is available on a scan tool without removing anything.

Common causes

  • Sensor element failed open or drifted out of range after prolonged high-temperature service
  • Connector at the sensor corroded or water-contaminated, a common outcome of its underfloor position
  • Signal or return conductor chafed against the exhaust pipe, a bracket or a heat shield
  • Sensor lead melted where it was routed too close to the pipe after previous exhaust work
  • Terminal fretting or pin backout in the connector from constant thermal expansion cycling
  • Sensor tip cracked by thermal shock from road spray reaching a hot pipe
  • Sensor loosened in its boss, letting it read gas that has been diluted by an exhaust leak
  • Shared ground or reference supply fault affecting more than one aftertreatment sensor
  • Module connector or internal driver fault, uncommon but real once the harness is proven
  • Aftermarket or incorrectly specified sensor with a resistance curve the module does not recognise

Symptoms

  • Check engine light with no change in power, idle quality or fuel consumption
  • Regeneration cycles no longer starting, so the filter never gets cleaned out
  • Scan tool reporting an implausible exhaust temperature — often a fixed extreme value
  • Rising particulate filter soot load or differential pressure over subsequent weeks
  • Additional restriction or filter codes appearing weeks after this one was ignored
  • Loss of the periodic hot smell, cooling fan run-on or idle change that regeneration used to produce
  • Reduced power once the filter loads far enough for the module to derate
  • Filter warning lamp or a dashboard prompt to drive at sustained speed
  • Fault appearing shortly after exhaust, turbocharger or aftertreatment work

Diagnostic steps

  1. 1.Read the live value first. A sensor reporting a fixed extreme is reporting an electrical state rather than a temperature, which tells you immediately that this is a circuit fault and not an exhaust condition.
  2. 2.Compare the reading against the other exhaust temperature sensors after an overnight soak. All of them should agree closely with ambient on a cold vehicle, and the one that disagrees is the one to chase.
  3. 3.Inspect the sensor and its lead visually before reaching for a meter. This sensor lives under the vehicle, and melted insulation, a lead resting on the pipe or a connector full of water is often the whole answer.
  4. 4.Unplug the connector and check for corrosion, water, spread terminals and backed-out pins. Thermal cycling works terminals loose over time and the fault is frequently in the contact rather than the wire.
  5. 5.Measure sensor resistance cold and compare it against specification for that part, then warm the tip gently and confirm the value moves smoothly in the expected direction.
  6. 6.Check continuity and insulation of both conductors back to the module connector, wiggling the harness along its run. An intermittent that only appears with vibration will not show up on a static reading.
  7. 7.Confirm the sensor is properly seated and its boss is not leaking. A sensor sampling gas diluted by a leak reads low without any electrical fault at all.
  8. 8.If other aftertreatment sensors are also misbehaving, test the shared ground and reference supply before condemning any individual sensor.
  9. 9.Once the circuit is proven good, log the temperature difference across the oxidation catalyst during a commanded regeneration. Little or no rise points at the catalyst rather than the sensor, and that single measurement can save an unnecessary parts bill.
  10. 10.After repair, command a regeneration and confirm it completes rather than clearing codes and releasing the vehicle. Completion is the only proof the control loop is working again.

Repair cost

$120$700

Diagnosis is typically $90 to $180. The sensor itself runs $60 to $260 depending on the vehicle, with genuine parts at the upper end. Labour on this position is usually 0.5 to 1.5 hours because the sensor sits under the vehicle rather than buried in the engine bay, though a seized sensor in an old boss can push that up. Repairing a chafed or melted lead is $80 to $250 and is very often the correct fix rather than a new sensor. The real money is in what this code prevents: a particulate filter left unable to regenerate for a season becomes a $900 to $3,500 cleaning or replacement job, which is the actual reason not to let this one sit.

Estimate your repair

Run the numbers for your vehicle

Open the Repair Cost Estimator with exhaust gas temperature sensor replacement 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.

Related codes

Frequently asked questions

Can I keep driving with P2031?

Short-term, yes — the vehicle drives normally and nothing about this fault threatens the engine directly. But it is not a code to live with, and the reason is indirect. Without a trustworthy filter-inlet temperature the module will not run regenerations, so soot keeps accumulating with nothing removing it. Weeks of that turns a straightforward sensor job into a blocked filter, and a filter allowed to load beyond a certain point cannot be cleaned on the road at all. Drive it to a workshop, not through a winter.

Why does one temperature sensor stop the filter cleaning itself?

Because regeneration is a fire the module lights on purpose, and this sensor is how it watches that fire. Extra fuel is sent to the oxidation catalyst so it will burn there and heat the gas entering the filter. Sensor 2 measures the result and tells the module whether to add more or back off. Running that process without a reliable reading risks temperatures that damage the filter substrate, so the control strategy simply declines to start. The absence of regeneration is a deliberate refusal, not a side effect.

How do I know whether it is the sensor or the catalyst?

Compare the two sensors across the catalyst during a commanded regeneration. Sensor 1 reads what goes in and sensor 2 reads what comes out, so under dosing a healthy oxidation catalyst produces a large and obvious rise between them. Very little rise, with both circuits testing sound electrically, points at a catalyst that has aged, been oil-contaminated or been poisoned rather than at a sensor. That measurement is available on a scan tool without dismantling anything, and it is worth taking before ordering parts.

Is a cheap replacement sensor good enough?

It depends entirely on whether the part matches the resistance-versus-temperature curve the module expects. These sensors are not interchangeable by thread size alone — the module converts resistance into degrees using a table for a specific part, and a sensor with a different curve will read plausibly at some temperatures and badly wrong at others. Since the number is being used to govern a deliberate high-temperature burn inside an expensive filter, this is a poor place to economise. Match the part number rather than the fitting.

Editorial context

About This Diagnostic Information

AutoLogicTools diagnostic guides explain OBD-II trouble codes using recognized code definitions, standard automotive diagnostic principles, and practical automotive context. A trouble code records a condition detected by a control module. It does not automatically identify a failed part, and the right diagnostic procedure can vary by vehicle.

Manufacturer service information, technical service bulletins, wiring diagrams, and vehicle-specific procedures should take precedence when available.

AutoLogicTools was founded by Vincent Fisk, an automotive locksmith and shop owner in San Diego with hands-on experience in vehicle keys, immobilizer systems, electrical issues, modules, programming, and diagnostics.