OBD-II Generic Error Code P2231: How to Fix It

Medium 1-2 hours Medium Severity Verified June 2026
Error Code
P2231
Brand
OBD-II Generic
Product Type
automotive
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
1-2 hours
Error code P2231 means the signal circuit of your upstream oxygen sensor (Bank 1, Sensor 1) has shorted to the sensor's internal heater circuit. This causes incorrect fuel trim readings, poor fuel economy, and potential damage to your engine management system if left unaddressed. The root cause is typically a faulty oxygen sensor, damaged wiring, or a connector issue in the sensor harness.
Ad

Tools You'll Need

How to Fix Error Code P2231

  1. Read and Record All Stored Codes

    Do not clear codes if you are about to take your vehicle for an emissions test, as this will reset your readiness monitors.
  2. Locate Bank 1 Sensor 1 Oxygen Sensor

    Allow the engine and exhaust system to cool completely before reaching near or touching exhaust components. Exhaust parts can remain extremely hot for 30-60 minutes after the engine is shut off.
  3. Visually Inspect the Oxygen Sensor Wiring and Connector

  4. Test the Oxygen Sensor Connector with a Multimeter

    Always perform resistance and continuity tests with the ignition OFF and the sensor connector unplugged to avoid damaging the multimeter or ECU.
  5. Check for Short in the Wiring Harness

    Never probe ECU pins with the ignition on unless your service manual specifically requires it. Incorrect probing can permanently damage the ECU.
  6. Replace the Oxygen Sensor if Faulty

    If the sensor is extremely difficult to remove due to rust or corrosion, apply penetrating oil and allow it to soak for several hours. Never force a seized sensor — you risk breaking it off in the bung and creating a much more expensive repair.
  7. Clear the Code and Verify the Repair

Parts You May Need

Upstream oxygen sensor (Bank 1, Sensor 1)
Check Price on Amazon
Oxygen sensor wiring harness pigtail
Check Price on Amazon
Electrical wire repair kit (heat-shrink connectors and wire)
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Upstream oxygen sensor (Bank 1, Sensor 1)
Check Price on Amazon
Oxygen sensor wiring harness pigtail
Check Price on Amazon
Electrical wire repair kit (heat-shrink connectors and wire)
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Upstream oxygen sensor (Bank 1, Sensor 1)
Check Price on Amazon
Oxygen sensor wiring harness pigtail
Check Price on Amazon
Electrical wire repair kit (heat-shrink connectors and wire)
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Upstream oxygen sensor (Bank 1, Sensor 1)
Check Price on Amazon
Oxygen sensor wiring harness pigtail
Check Price on Amazon
Electrical wire repair kit (heat-shrink connectors and wire)
Check Price on Amazon
Anti-seize compound
Check Price on Amazon
Ad

When to Call a Professional

You should seek help from a professional mechanic if: the oxygen sensor is broken off inside the exhaust bung during removal; testing indicates the short is in the main wiring harness close to or at the ECU and you are not comfortable working near engine control modules; the code returns immediately after replacing a new sensor (suggesting an ECU driver fault or deeper wiring issue); or you do not have access to a vehicle-specific wiring diagram and multimeter skills needed to safely trace the circuit. Shops with professional-grade scan tools can perform live sensor signal testing more accurately and may have special extraction tools for seized sensors.

Frequently Asked Questions

Can I drive my car with a P2231 code?
You can drive short distances with P2231, but it is not recommended for extended driving. A shorted oxygen sensor causes your engine control unit to receive incorrect air/fuel mixture data, which leads to poor fuel economy, rough running, and potential damage to your catalytic converter over time. Address the issue as soon as possible.
Will P2231 cause my car to fail an emissions test?
Yes, in most cases P2231 will cause your vehicle to fail an OBD2 emissions inspection because the check engine light will be illuminated and a fault will be present in the system. Fix the underlying problem, clear the code, and complete at least one full drive cycle before retesting.
How much does it cost to fix error code P2231?
If only the oxygen sensor needs replacement, expect to pay $50–$200 for a quality aftermarket sensor, plus $50–$150 in labor if a shop does the work. If the wiring harness is damaged, repair costs can range from $100–$400+ depending on how much harness needs to be repaired or replaced. Diagnosing the root cause correctly before buying parts can save you money.
Is P2231 the same as a regular oxygen sensor fault like P0141?
Not exactly. P0141 refers to the oxygen sensor heater circuit malfunctioning, while P2231 specifically indicates the signal circuit is shorted directly to the heater circuit. P2231 is a more specific fault and almost always points to a failed oxygen sensor internally or chafed wiring that has allowed the signal and heater wires to contact each other.
Which oxygen sensor is Bank 1 Sensor 1?
Bank 1 Sensor 1 is the upstream (pre-catalytic converter) oxygen sensor on the side of the engine containing cylinder number 1. On 4-cylinder engines it is simply the first sensor before the catalytic converter. On V6 and V8 engines, Bank 1 is typically the driver's side in most North American vehicles, but always confirm with your vehicle's service manual since this varies by manufacturer.