OBD2 Error Code P0031: How to Fix It
Medium 1-3 hours Medium Severity
Verified June 2026
- Error Code
- P0031
- Brand
- OBD2
- Product Type
- automotive
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 1-3 hours
Ad
Tools You'll Need
- OBD2 scanner
- Digital multimeter
- Basic hand tools
- Oxygen sensor socket or appropriate wrench
- Wire brush or electrical contact cleaner
- Anti-seize compound
How to Fix Error Code P0031
-
Scan and record all error codes
Ensure the engine is off and keys are removed before connecting the OBD2 scanner. -
Locate the Bank 1 Sensor 1 oxygen sensor
Allow the engine to cool completely before working on exhaust components to prevent burns. -
Inspect the oxygen sensor wiring harness
-
Test the oxygen sensor heater circuit voltage
Be careful not to short circuit any wires while testing with the multimeter. -
Check the oxygen sensor heater resistance
Ensure the sensor is cool before testing resistance to get accurate readings. -
Inspect and test the heater circuit fuse and relay
-
Replace the oxygen sensor if faulty
Use only the recommended anti-seize compound as some types can contaminate the sensor. -
Clear codes and verify the fix
Parts You May Need
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 1)
Check Price on Amazon
Automotive fuses
Check Price on Amazon
Automotive relay
Check Price on Amazon
Electrical connector
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Ad
When to Call a Professional
Contact a professional mechanic if you're uncomfortable working with electrical systems, if the problem involves complex wiring repairs beyond the sensor itself, or if multiple oxygen sensor codes appear simultaneously indicating a more serious engine management issue.Frequently Asked Questions
Can I drive with error code P0031?
You can drive short distances with P0031, but the issue should be addressed promptly. The faulty oxygen sensor heater can cause poor fuel economy, increased emissions, and potential catalytic converter damage over time.
What causes oxygen sensor heater circuit low voltage?
Common causes include a faulty oxygen sensor heater element, damaged wiring or connectors, a blown fuse, faulty relay, or poor electrical connections. Corrosion and heat damage from exhaust components are frequent culprits.
How much does it cost to fix P0031?
DIY repair costs range from $50-150 for a new oxygen sensor and supplies. Professional repair typically costs $200-400 including labor. Additional costs may apply if wiring repairs are needed.
Will P0031 cause my car to fail emissions testing?
Yes, P0031 will likely cause your vehicle to fail emissions testing. The malfunctioning oxygen sensor heater prevents proper fuel mixture monitoring, leading to increased emissions and triggering the check engine light.
How long do oxygen sensors typically last?
Oxygen sensors typically last 60,000-100,000 miles, though sensors exposed to contaminated fuel, coolant leaks, or excessive heat may fail sooner. Regular maintenance and quality fuel can extend sensor life.