P2031 — Exhaust Gas Temperature Sensor Bank 1 Sensor 2
P2031 is a general circuit fault for exhaust gas temperature sensor bank 1 sensor 2. The ECM saw a signal that was missing, implausible or did not match the other EGT sensors. Sensor 2 location varies by OEM; on most diesel trucks it sits between the DOC and DPF, where the ECM uses it to control and confirm regeneration.
What this means for truckers
P2031 (Exhaust Gas Temp Sensor Bank 1 Sensor 2) — see existing.
Before you replace parts — try this first
P2031 on the Aftertreatment system is most often failed egt sensor (internal open or drift from heat cycling) — not a dead part. On commercial diesels especially, work these in order before spending money on parts:
- Confirm the symptoms. Match what your truck is doing to the Symptoms section below. If the code is set but the symptoms are not there, clear the code and re-test after a drive cycle — it may not return.
- Clean and dry the sensor connector. Water, road salt, or oil seeping into a connector is the #1 fake sensor failure. Disconnect, look for green corrosion or moisture, spray with electrical contact cleaner, dry, reseat. Many faults clear here for $0.
- Inspect the wiring harness. Trace the wire from the sensor toward the ECM — look for chafing against the engine block, melted insulation near the turbo or exhaust, or pinch points where a clamp has rubbed through.
- Test the sensor before swapping it. Most Common Causes (below) list the expected voltage or resistance range — a $20 multimeter saves a $300 sensor swap that does not fix the problem.
- Only then, replace the part. Use the OEM or a tier-1 aftermarket. Cheap sensors throw the same code in two weeks.
Symptoms
Check-engine light, and on most diesels the ECM stops or limits active DPF regeneration because it can no longer trust the temperature reading. Over time this can lead to soot loading warnings, forced regen requests and eventually a derate. Fuel economy may drop if the ECM uses default values.
Common causes
- CommonFailed EGT sensor (internal open or drift from heat cycling) ($150–$450)
- CommonHeat-damaged, melted or chafed sensor pigtail or harness near the exhaust ($100–$400)
- OccasionalCorroded or loose connector, often from road spray ($80–$250)
- OccasionalFault in the EGT sensor module on systems that route sensors through a separate module ($300–$900)
- RareECM internal fault ($1000–$2500)
How to fix
Affects most
No specific vehicle pattern found in our complaint database. This code can appear on any vehicle that supports OBD-II diagnostics.
Related
- → Browse all DTC trouble codes
- → Decode a VIN to check codes for your truck
- → Owner-operator maintenance guides
- → P2002 — Diesel Particulate Filter Efficiency Below Threshold (Bank 1)
- → P2003 — Diesel Particulate Filter Efficiency Below Threshold (Bank 2)
- → P2032 — Exhaust Gas Temperature Sensor Bank 1 Sensor 2 Low
- → P2033 — Exhaust Gas Temperature Sensor Bank 1 Sensor 2 High
- → P2080 — Exhaust Gas Temperature Sensor Circuit Range/Performance Bank 1 Sensor 1