OBD-II Error Code P2040: Exhaust Gas Temp Sensor B2S2 Range – How to Fix It
Medium 1-2 hours Medium Severity
Verified June 2026
- Error Code
- P2040
- Brand
- OBD-II Generic
- Product Type
- automotive
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 1-2 hours
Ad
Tools You'll Need
- OBD2 scanner
- Digital multimeter
- Socket wrench set
- EGT sensor socket (if applicable)
- Anti-seize compound
How to Fix Error Code P2040
-
Check for Other Codes and Verify Conditions
-
Inspect EGT Sensor Wiring and Connector
Ensure the engine is off and cool before handling exhaust components. -
Test EGT Sensor Resistance
-
Check for Exhaust Leaks or Blockages
Wear gloves as exhaust components may be sharp. -
Replace EGT Sensor if Faulty
Use a socket wrench with a suitable deep socket. Do not overtighten.
Parts You May Need
Exhaust Gas Temperature (EGT) Sensor Bank 2 Sensor 2
Check Price on Amazon
Exhaust Gas Temperature (EGT) Sensor Bank 2 Sensor 2
Check Price on Amazon
Exhaust Gas Temperature (EGT) Sensor Bank 2 Sensor 2
Check Price on Amazon
Exhaust Gas Temperature (EGT) Sensor Bank 2 Sensor 2
Check Price on Amazon
Ad
When to Call a Professional
If you have replaced the sensor and the code returns, or if you suspect a problem with the engine control module (ECM) or wiring harness that requires advanced diagnostics, seek a professional mechanic.Frequently Asked Questions
What does Bank 2 Sensor 2 mean?
Bank 2 refers to the side of the engine that does not contain cylinder #1 (usually the passenger side). Sensor 2 is a downstream sensor located after the catalytic converter or diesel particulate filter.
Can I drive with code P2040?
You may be able to drive, but it could affect emissions and fuel economy. In some vehicles, it may trigger a reduced power mode. It's best to diagnose and fix promptly.
How much does it cost to fix P2040?
DIY cost for a new EGT sensor is typically $50-$150. Professional repair including labor can range from $200-$400.
Will clearing the code fix P2040?
Clearing the code may temporarily turn off the check engine light, but the code will return if the underlying issue is not resolved.
What other symptoms might I notice?
You may notice decreased fuel economy, increased emissions, or the check engine light. In some cases, the vehicle may go into limp mode.