P0031 Code: What It Means and How to Fix It
8 min read · by Nicole Bennett · Last updated: November 26, 2026
P0031 code means the heater circuit for the bank 1, sensor 1 oxygen sensor is receiving low voltage. That sensor sits before the catalytic converter and reports exhaust conditions to the engine computer.
The P0031 code is generic, so the cause can be wiring, a fuse, the sensor or the computer. Check the simple parts first, because a fuse or connector is a cheaper place to start than a new sensor.
What the P0031 Code Means
P0031 is a generic OBD-II code that stands for HO2S Heater Control Circuit Low (Bank 1, Sensor 1), meaning the sensor heater is getting too little voltage.
Each oxygen sensor has a small internal heater. The heater brings the sensor to operating temperature quickly, so the engine computer gets usable readings sooner after a cold start. When the heater circuit voltage falls below what the computer expects, the P0031 code is stored.
A P0031 code is read with an OBD-II scanner, the same tool used for any check engine light, so you can see the exact wording the car stored before you start replacing parts. New to scanners? Read how to use an OBD2 scanner first.
In plain terms, sensor 1 is the upstream sensor, the one ahead of the catalytic converter. Bank 1 is the side of the engine that the manufacturer labels as bank 1, and the label can differ from one make to another.

Why the Oxygen Sensor Heater Matters
A working heater lets the sensor reach operating temperature quickly, which helps the engine computer manage fuel mixture and emissions.
The fueleconomy.gov maintenance guide says a check engine light means something is wrong with the engine, and that the problem can reduce fuel economy, increase emissions or lead to costly repairs later.
A sensor that cannot reach operating temperature is linked to poor fuel efficiency and higher emissions, so a P0031 code deserves attention even when the car still drives normally.
Common Causes of P0031
The most common P0031 causes are frayed or corroded heater wiring, a blown heater fuse, a failed heated oxygen sensor and a faulty PCM or ECM.
- Frayed heater circuit wiring or damaged connectors
- Corroded or loose connector at the sensor plug
- A blown heater circuit fuse
- A faulty heated oxygen sensor
- A PCM or ECM that does not manage the heater circuit properly
Wiring damage is easy to miss because it often sits in a bend or a tight routing near the engine. Look at the harness and plug before you assume the P0031 code means a failed sensor, and see how to test an oxygen sensor for the sensor itself. If another code is stored at the same time, diagnose that code first, because it can change which part is at fault.

Symptoms You May Notice
The usual P0031 symptoms are a check engine light, rough running and lower fuel economy, though some vehicles show no noticeable problem at all.
- A check engine light, often the first sign
- Rough or uneven running
- Lower fuel economy than usual
- No noticeable change in some vehicles
Because the symptoms can be mild or absent, a scan is the reliable way to confirm the P0031 code. Do not rely on how the car feels alone. The bad oxygen sensor symptoms guide covers the wider signs, and the P0030 code guide covers a related heater circuit code.
Is a P0031 Code Safe to Drive With?
One repair guide rates P0031 as moderate and says the code will not stop the vehicle from running, but leaving it unresolved can cause rough running and damage to other parts.
Moderate does not mean ignore a P0031 code. Rough running or a sudden change in how the engine pulls is a reason to see a mechanic soon rather than later. If a nearby code such as P0032 code meaning is stored too, its guide is worth reading.
Driving with any fault code is a judgment call, so ask a shop to confirm the cause before you take long trips.
How to Check the Heater Circuit Step by Step
Read the codes with an OBD-II scanner so you can see whether the P0031 code stands alone, then check the heater power supply with a voltmeter, where about 12 volts at the heater points toward the sensor rather than the wiring.
- Check for other stored codes, then inspect the wiring around the sensor for fraying, pinching or a loose plug.
- With the key on and the engine off, check the heater power side with a voltmeter. Expect about 12 volts, close to battery voltage.
- If there is no voltage, check the heater fuse. If the fuse is good, look for a short or an open in the heater wiring.
- Check the heater ground side for continuity to ground, and repair the wiring if the ground is open.
- If the heater side reads about 12 volts and the wiring is sound, one repair guide suggests replacing the oxygen sensor. Have a shop confirm this before you buy a part.
| Check | Expected result | Next step |
|---|---|---|
| Other stored codes | Only P0031, or other codes listed | Diagnose the other codes first |
| Wiring and sensor plug | No fraying, no corrosion, plug fully seated | Repair or replace the wire or connector |
| Heater power, key on, engine off | About 12 volts | If none, check the fuse and the wiring |
| Heater fuse | Intact | Replace with the correct rating if blown, then recheck for a short |
| Heater ground | Continuity to ground | Repair the ground wiring if it is open |
Typical Repair Costs for P0031
As read from one FixDapp page on 2026-11-06, an oxygen sensor is listed at $200 to $300 and wiring repair at $100 to $1,000. Prices vary by vehicle and shop.
| Repair | Estimated cost (as of 2026-11-06) | Source |
|---|---|---|
| Oxygen sensor replacement | $200 to $300 | FixDapp P0031 page |
| Wiring or connector repair | $100 to $1,000 | FixDapp P0031 page |
The range is wide, so the diagnosis decides the bill. Get a written quote after the fuse and wiring checks, not before. For a replacement price comparison, see the oxygen sensor replacement cost guide.
A written quote should list the diagnosis, the part and the labor on separate lines, so you can see whether the bill covers the sensor, the wiring or both.
What This Guide Does Not Confirm
This guide does not confirm exact ohm values, model-year coverage or manufacturer wiring diagrams for P0031, so check the service manual or a shop for those details.
The sources read for this article did not list resistance values for the heater circuit, and none tied the P0031 code to a specific make, model or year. Treat the steps above as general checks, not a wiring map for your car.
To confirm these details for your vehicle:
- Read the owner’s manual or the factory service manual for your make and model
- Ask a repair shop or dealer to find the wiring diagram using your VIN
- Compare repair quotes in your area, since prices differ
Frequently Asked Questions
Can a blown fuse cause P0031?
Yes. A blown heater circuit fuse is one of the listed causes of a P0031 code. Check the fuse before you replace the oxygen sensor. A fuse that keeps blowing points to a short in the heater wiring, which still needs repair, so replace it only with the correct rating.
Do I need to replace the oxygen sensor for P0031?
Not always. One repair guide only suggests a sensor replacement after the fuse and wiring pass and the heater power side reads about 12 volts. Wiring faults, a blown fuse or a faulty computer can set the same code, so have a shop confirm the cause first.
Can I keep driving with a P0031 code?
One repair guide rates P0031 as moderate and says it will not stop the vehicle from running. Rough running or a sudden change in power means you should see a mechanic soon rather than wait. The cause still needs to be found, even if the car drives normally.
Will P0031 clear on its own?
The sources read for this guide do not say that a P0031 code clears on its own. The GetClue guide ends its steps by clearing the code, restarting the engine and confirming the fault does not return. A stored code can come back if the underlying fault is still there.
Is P0031 the same on every car?
P0031 is a generic OBD-II code, so the meaning is the same across makes. Wiring layout, sensor plugs and fuse locations differ by make and model, so use the service manual for your vehicle to find the right connector and fuse.
Start with the fuse and wiring, then have a shop confirm the voltage reading before you buy a sensor. That order keeps the repair focused and avoids paying for a part the car may not need.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0408 Isuzu Code: EGR Sensor B Circuit High Explained
LearnP0404 Chevy Code: EGR Control Causes, Checks and Fixes
LearnP0841 Chevy: Understand the Transmission Fault and Diagnose It
LearnP0732 Ford: Diagnose Second Gear Problems Before Transmission Failure
LearnP0855 Code: Diagnose the Drive Switch Fault Before Replacing Parts
LearnP0332 Chevy: Knock Sensor 2 Circuit Low Explained