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 do you fix a P0031 code on a Nissan?

The P0031 code on a Nissan points to a fault in the upstream oxygen sensor heater circuit (Bank 1 Sensor 1). In practice, the quickest fix is often replacing the sensor, but wiring, fuses, or the engine control module can also cause the issue. Proper diagnosis is important before replacing parts.


On Nissan vehicles, P0031 indicates the Bank 1 Sensor 1 oxygen sensor’s heater element isn’t heating correctly. The upstream sensor reads exhaust gas composition before the catalytic converter and uses a heated element to reach its operating temperature quickly. A heater fault can delay sensor warm-up, skews readings, and trigger lean/rich fuel trims or a Check Engine Light. Start with simple electrical checks and only replace parts after confirming the fault is in the heater circuit.


What P0031 Means on a Nissan


P0031 is a diagnostic trouble code that signals a problem in the heater circuit of the Bank 1 Sensor 1 oxygen sensor. The heater helps the sensor reach its normal operating temperature faster, improving accuracy. If the heater circuit is open, shorted, or not receiving power, the PCM may see unheated sensor readings, leading to incorrect fuel-size adjustments and potential drivability issues.


Common Causes


Several issues can trigger P0031 on a Nissan. Consider these possibilities:



  • Open or shorted oxygen sensor heater circuit wiring to Bank 1 Sensor 1

  • Failed upstream O2 sensor (heater element defective)

  • Blown fuse or faulty relay controlling the O2 heater circuit

  • Exhaust leaks or improper sensor installation affecting readings

  • ECU/PCM fault in the heater control output (less common)


Working through these causes from simplest to most complex helps avoid unnecessary sensor replacement. Start with wiring, connectors, and fuses, then verify sensor health.


Diagnosis Steps


Follow these steps to diagnose P0031 on a Nissan systematically:



  1. Scan codes with a reliable OBD-II scanner and note any related codes and freeze-frame data.

  2. Visually inspect Bank 1 Sensor 1 and its wiring harness and connectors for damage, corrosion, and secure connections.

  3. Check for exhaust leaks before the sensor, as leaks can skew readings and heater operation.

  4. Test the O2 sensor heater circuit resistance when the engine is cool, using the service manual’s specified range (typically a few ohms for a healthy heater). If the circuit shows open or infinite resistance, replace the sensor or repair the wiring.

  5. With ignition ON (engine off), probe the heater circuit pins to verify voltage supply to the sensor heater and ensure a solid ground path.

  6. Inspect related fuses and relays that control the O2 heater circuit and replace any that are blown or faulty.

  7. If wiring and heater resistance test pass but the code persists, consider PCM output issues or a software update in consultation with a dealer or qualified shop.

  8. Clear codes and perform a test drive to confirm the fault is resolved or reappears under load or warm-up conditions.


After these checks, you’ll be able to determine whether the fault is a simple sensor or a broader electrical issue in the heater circuit.


Repair Options


Depending on the diagnosis, pursue the repair path that matches the fault:



  • Replace Bank 1 Sensor 1 (upstream O2 sensor) if the heater element is defective or the sensor tests show poor heater performance

  • Repair damaged wiring or connectors in the heater circuit or replace damaged harness sections

  • Replace blown fuse or faulty relay that powers the O2 sensor heater circuit

  • Address exhaust leaks or improper sensor installation that could affect readings or heater function

  • If electrical checks indicate a PCM/ECU issue, consult a Nissan dealer for software updates or advanced diagnostics


After performing repairs, clear the DTCs, start the engine, and drive normally while monitoring for reoccurrence of P0031 and observing sensor warm-up times and fuel trim behavior.


Tips for Nissan Owners


- Use a high-quality, OEM-recommended upstream O2 sensor when replacement is needed. Post-market sensors can have different heater characteristics and may complicate diagnostics.


- When testing electrical circuits, disconnect the battery or follow proper safety procedures to avoid shorts and injury.


- Keep track of fuel trims with live data; if they remain abnormal after sensor replacement, re-check for exhaust leaks and ensure proper sensor installation.


When to Seek Professional Help


If you are uncomfortable performing electrical tests, removing or testing the oxygen sensor, or diagnosing PCM issues, seek a trusted mechanic or Nissan dealer. Complex wiring faults or PCM-related problems may require specialized tools and software updates.


Summary


P0031 on a Nissan points to a fault in the heater circuit of the Bank 1 Sensor 1 upstream O2 sensor. The typical fix starts with a thorough electrical check—wiring, connectors, fuses, and sensor heater resistance—before replacing the sensor. If the heater circuit is open or shorted in the sensor, replace the upstream O2 sensor; if wiring or power delivery is at fault, repair those circuits and re-test. Always clear codes and monitor sensor performance after repair to ensure the issue does not recur.

What are the three common causes of O2 sensor failure?


Designed to deliver dependable service, there are three common reasons why oxygen sensors fail:

  • Age/high mileage. As the miles roll on, the O2 sensor will likely need to be replaced between 60,000 and 90,000 miles.
  • Internal Contamination.
  • Electrical Problem.



What are the symptoms of a P0031 Nissan code?


Some possible causes of the P0031 include a faulty O2 sensor, issues with the O2 sensor heater circuit, and an outdated powertrain control module (PCM). An illuminated check engine light, poor engine performance, and excessive fuel consumption are some symptoms related to the P0031 code.



How much does it cost to fix P0031?


Ideally, it will cost anywhere between $150 and $600 to fix engine code P0031. The fix cost can vary greatly depending on the issue, like whether it is a defective upstream oxygen sensor, a PCM failure, or wiring harness damage.



How to reset O2 sensor Nissan?


Select self-learning control follow the on-creen instructions. Select continue to perform the reset. The procedure is now complete isn't that quicker than what you might be doing today.


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.