Skip to Content
103 State St East Jordan, MI, 49727
  • MON: Closed
  • TUES: 8:00AM - 6:00PM
  • WED: 8:00AM - 6:00PM
  • THUR: 8:00AM - 6:00PM
  • FRI: 8:00AM - 6:00PM
  • SAT: Closed
  • SUN: Closed
MORE >
  • Yelp
  • Google Business Profile
  • Facebook
7984 North St Central Lake, MI, 49622
  • MON: 8:00AM - 6:00PM
  • TUES: 8:00AM - 6:00PM
  • WED: 8:00AM - 6:00PM
  • THUR: 8:00AM - 6:00PM
  • FRI: Closed
  • SAT: Closed
  • SUN: Closed
MORE >
  • Yelp
  • Google Business Profile
  • Facebook

How to fix a P0031 code?

The P0031 code points to a fault in the heated oxygen sensor for Bank 1 Sensor 1—the heater circuit isn’t reaching proper operating temperature. The typical fix is to inspect the heater circuit, including fuses, wiring, and connectors, and to replace the sensor if the heater element has failed.


In modern engines, the upstream O2 sensor’s heater helps it reach its operating temperature quickly for accurate readings. When the heater circuit is unable to heat the sensor properly, the engine control module (ECM/PCM) may trigger P0031, potentially increasing emissions and reducing fuel efficiency. Repairs usually start with a visual and electrical check of the heater circuit and then proceed to sensor replacement if needed, with testing and reassembly followed by a drive cycle to confirm the issue is resolved.


Understanding P0031 and Its Symptoms


The P0031 trouble code indicates a fault in the heater circuit for Bank 1 Sensor 1’s oxygen sensor. This is typically caused by an open or short in the heater circuit, a bad sensor, or faulty wiring/connectors. Common symptoms, aside from the illuminated check engine light, can include reduced fuel economy, rough idle, and higher emissions readings during testing or inspection.



  • Blown fuse or failed relay feeding the O2 sensor heater

  • Damaged or corroded wiring or a loose/oxidized connector

  • Faulty upstream O2 sensor (heater element damaged)

  • ECU/PCM harness or pin issue affecting heater control



Addressing these causes in a systematic way typically resolves the majority of P0031 cases. If left unaddressed, the sensor may not heat properly, leading to inaccurate fuel trim data and higher emissions.


Diagnostic and Repair Plan (Step-by-Step)


Before starting, follow general safety guidelines: O2 sensors can be extremely hot; disconnect the battery safely if you’ll be disconnecting wiring, and wear eye protection and gloves when working near the engine. Use a quality scan tool to confirm the code and monitor related data like HO2S heater status, sensor voltage, and fuel trims.



  1. Verify the code and review freeze-frame data and any related codes to confirm Bank 1 Sensor 1 is the source of the issue.

  2. Check the HO2S heater circuit fuse(s) and relay (if applicable). Replace any blown fuses or a faulty relay that powers the sensor heater.

  3. Inspect the wiring harness and connectors between the sensor and the PCM. Look for damaged insulation, pin corrosion, broken wires, or misgrounded connections. Repair or replace wiring as needed and reseat/connectors firmly.

  4. Test the sensor’s heater resistance with a multimeter (between the heater pins). A healthy heater typically shows a low resistance (a few ohms, depending on the sensor). If the circuit is open or the resistance is outside the vehicle’s specification, replace the sensor.

  5. Check for voltage on the heater supply pin and verify a proper ground on the heater return pin while the ignition is on. If there is no voltage or an improper ground, trace the wiring back to the PCM/fuse block to locate the fault.

  6. If the heater circuit tests within spec but P0031 persists, consider replacing the upstream O2 sensor. Some vehicles require sensor replacement after diagnosing heater faults to clear the code reliably.

  7. Clear the codes with your scan tool and perform a road test. Drive through multiple cooling and warm-up cycles to confirm the P0031 code does not return and that sensor readings stabilize.


If you replace the sensor, use the proper torque specifications and apply anti-seize compound sparingly where recommended by the manufacturer. After installation, recheck for any diagnostic trouble codes and confirm that sensor heating is active during engine warm-up.


Tips by Vehicle Type and Common Variations


Some makes and models may label the heater fuse differently or place the heater circuit under a relay controlled by the ECU. In vehicles with a dual-bank setup or hybrid configurations, confirm you’re testing Bank 1 Sensor 1 (upstream sensor for the correct bank). Always consult the service manual for exact wiring diagrams, resistance specifications, and pinout details for your specific year, make, and model.


When to Seek Professional Help


If you complete the diagnostic steps without a clear fix, or you discover a damaged harness, multiple failed sensors, or a PCM-related fault, a professional technician with OEM service tooling should evaluate the system. Some tests—such as precise resistance specifications and live data interpretation—may require specialized equipment and experience.


What to Expect After the Repair


Once the heater circuit is repaired or the sensor is replaced, clear all codes and perform several drive cycles (including cold starts) to ensure the P0031 code does not return. If the code reappears, re-check the heater circuit for intermittent faults or consider deeper electrical diagnostics or a PCM-related issue.


Summary


The P0031 code signals a fault in the heated oxygen sensor’s Bank 1 Sensor 1 heater circuit. A practical fix involves verifying power and ground to the heater, inspecting and repairing wiring and connectors, checking or replacing the O2 sensor, and re-testing with a drive cycle. Following a careful, staged approach—focusing on fuses, wiring integrity, sensor resistance, and proper installation—will address the majority of cases and restore proper sensor operation and emission performance.

Ryan's Auto Care

Ryan's Auto Care - East Jordan 103 State St East Jordan, MI 49727 231-222-2199
Ryan's Auto Care - Central Lake 7984 North St Central Lake, MI 49622 231-544-9894

Ask any car or truck owner in Central Michigan who they recommend. Chances are they will tell you Ryan's Auto Care.