Safe to drive short term; repair to pass emissions. P0031 means the engine control module (ECM) saw a low-side (short-to-ground or low-current) fault in the heater control circuit for the upstream oxygen or air-fuel sensor on bank 1, sensor 1. The heater is failing to draw its normal current, so the sensor cannot reach operating temperature quickly and the engine stays in open-loop fuel control longer than it should.
What P0031 means
P0031 is a Heated Oxygen Sensor (HO2S) Heater Control Circuit Low fault for the sensor mounted ahead of the catalytic converter on bank 1 — the side of the engine that contains the number-one cylinder. Modern upstream sensors contain an internal heating element that the ECM switches on the low (ground) side, usually with a pulse-width-modulated (duty-cycle) driver, so the sensor reaches its light-off temperature within seconds of start-up rather than waiting on exhaust heat. The module continuously watches the current flowing through that heater. When it commands the heater on but measures far less current than expected — the signature of a short to ground, an open element, or a driver that cannot pull the circuit low — it logs P0031 and, on most systems, illuminates the MIL. On Toyota's air-fuel-ratio sensors, for example, the fault sets when heater current stays below about 0.8 A for roughly ten seconds with the battery at 10.5 V or more and the commanded duty cycle above ten percent. Because a cold sensor gives no usable feedback, the ECM cannot trim the air-fuel ratio accurately until closed-loop control resumes, which is why the heater circuit is monitored so tightly.
Symptoms
- Check-engine light (MIL) on, often stored on a single trip because the heater monitor uses one-trip detection logic
- Delayed entry into closed-loop fuel control, since the cold sensor cannot give usable feedback until it warms
- Slightly worse fuel economy, especially on short trips where the sensor never reaches operating temperature
- Fuel-trim, sensor-signal, or catalyst-efficiency codes (for example P0420 or O2 sensor slow-response codes) appearing alongside P0031
- No obvious drivability change in many cases — the fault is frequently found only when the light comes on or at an emissions test
Common causes
- A failed heater element inside the upstream oxygen or air-fuel sensor (open or high-resistance element drawing too little current) — the most common cause
- A short to ground or chafed insulation on the heater control (low-side) wire between the sensor and the ECM
- A corroded, spread, or loose sensor connector pin adding resistance or intermittently opening the heater circuit
- A blown heater-circuit fuse or a faulty heater relay interrupting the supply (+B) side of the circuit
- A failed low-side driver inside the ECM that can no longer switch the heater ground (verify wiring and the sensor first, as this is the least common cause)
Severity & driving advice
Severity: Low — Mainly an emissions and closed-loop fault; the car usually drives normally, but leaving it will hurt fuel trims and can fail an emissions test.
Can I drive? Safe to drive short term; repair to pass emissions
Diagnostic approach
- Scan codes and read freeze-frame data — Record every stored and pending DTC before disturbing anything. Note companion heater codes on the other bank or sensor (P0037/P0051/P0057), and any fuel-trim or catalyst codes. Read the freeze frame for coolant temperature, run time, and battery voltage at the moment the code set, since a weak battery below about 10.5 V can influence heater-current diagnostics.
- Check the heater fuse and supply voltage — Inspect the fuse feeding the oxygen-sensor heater circuit and confirm the relay energizes. With the sensor connector disconnected and the ignition on, the supply (+B) terminal at the harness should read battery voltage — roughly 11 to 14 V. No supply points to a blown fuse, an open relay, or an open feed wire rather than the sensor itself.
- Measure the sensor heater element resistance — With the sensor unplugged and near ambient temperature, measure resistance across the two heater terminals. A healthy heater typically reads only a few ohms (commonly in the low single-digit to mid-teens range depending on sensor type); an open element reads infinite, and either extreme explains the low commanded current. Compare against the good sensor on the opposite bank if you are unsure of the exact spec.
- Test the control wire for a short to ground — With the sensor and ECM connectors disconnected, measure from the heater control (low-side) terminal to a good body ground. A healthy circuit reads very high — around 10 kΩ or more. A reading near zero to a few ohms confirms a short to ground in the harness, which is exactly what pulls the circuit low and sets P0031. Also confirm end-to-end continuity of the control wire (below about 1 Ω) so an open is not being mistaken for a low fault.
- Inspect the connector, then confirm the ECM driver — Check both halves of the sensor connector for corrosion, spread terminals, moisture, and back-out pins, and repair as needed. Only after the fuse, supply, heater element, and wiring all pass should the ECM's low-side driver be suspected. Clear the code, warm the engine, and re-run the drive cycle to verify P0031 does not return before condemning the module.
Make & model notes
Toyota: On many Toyota and Lexus engines the upstream sensor is an air-fuel-ratio (A/F) sensor, not a conventional O2 sensor, and the ECM controls its heater with a duty-cycle driver through an A/F heater relay on the +B side. P0031 sets under one-trip logic when heater current stays below about 0.8 A for roughly ten seconds, with the battery at 10.5 V or more and commanded duty above ten percent. The ECM then enters fail-safe and switches the heater off until the ignition is cycled. Confirm the +B supply reads about 11 to 14 V and check the A/F heater relay before replacing the sensor.
Ford: On Ford applications P0031 is the same HO2S heater control circuit low fault for the upstream bank 1 sensor. Ford wiring commonly feeds heater power from a relay or the PCM power circuit while the PCM switches the ground side, so check the heater fuse and supply feed first, then measure heater resistance and probe the control wire for a short to ground before condemning the sensor or the PCM driver.
FAQ
What is the difference between P0031 and P0032?
They are opposite ends of the same heater-circuit test on bank 1, sensor 1. P0031 is a low fault — too little current, usually from a short to ground or an open heater element. P0032 is the high fault — too much current or the circuit stuck high, typically a short to voltage. Both point at the upstream sensor's heater circuit, but the wiring fault they indicate is different.
Can I just drive with a P0031?
Short term, usually yes — the vehicle typically drives normally because the fault is in the sensor's heater, not the fuel or ignition system. The downside is that the sensor warms up slowly, the engine stays in open loop longer, fuel trims and economy suffer, and the car will fail an emissions inspection with the light on. Plan to repair it rather than ignore it.
Do I have to replace the oxygen sensor to fix P0031?
Not always. A failed internal heater element is the most common cause and does require a new sensor, but P0031 is just as often a wiring problem — a short to ground on the control wire, a corroded connector, a blown fuse, or a faulty relay. Measure the heater resistance and test the control wire for a short to ground before buying a sensor, so you fix the actual fault.
Which sensor does P0031 refer to?
Bank 1, sensor 1 — the upstream sensor mounted in the exhaust ahead of the catalytic converter, on the side of the engine that contains the number-one cylinder. This is the sensor the ECM relies on for fuel-trim feedback, which is why its heater is monitored closely. The downstream (post-catalyst) sensor on the same bank is sensor 2 and is covered by different codes.