Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All →
🎬 Helpful Videos 🛍️ Shop This Part

P0031 on 2013-2018 Toyota RAV4 2.5L: A/F Sensor Heater Circuit Causes and Fixes

For a 2013-2018 RAV4 with the 2.5L engine, code P0031 almost always means the upstream Air/Fuel Ratio (A/F) sensor has failed. Before replacing it, check the 15A 'A/F HTR' fuse in the engine bay. An OEM Denso sensor (p/n 234-9133) costs around $150-$190, and the repair is DIY-friendly (2/5 difficulty) due to the sensor's easy accessibility on the front of the exhaust manifold.

18 minutes to read 2013-2018 Toyota RAV4
Most Likely Cause
Failed Air/Fuel Ratio Sensor (Bank 1, Sensor 1)
Difficulty
2/5
Est. Time
0.8 hrs
DIY Doable?
✅ Yes
Shop Labor
$100 – $350
Parts Price
$5 – $220
⚠️ Drivable, but... — Yes, you can drive the vehicle, but you should get it fixed soon. Your fuel economy will decrease, and the engine will run in a less efficient 'open-loop' mode during cold starts. Long-term driving could potentially damage the more expensive catalytic converter.
Key Takeaways
  • P0031 on your RAV4 points to the heater circuit of the front Air/Fuel Ratio sensor.
  • ALWAYS check the 15A 'A/F HTR' fuse in the engine bay before buying any parts.
  • The most likely fix is replacing the Bank 1, Sensor 1 A/F sensor.
  • Use a quality OEM brand like Denso (p/n 234-9133) for the replacement part to ensure compatibility and longevity.
  • The repair is very accessible on the 2.5L engine, making it a good DIY task to save on labor costs.
The trouble code P0031 stands for "Oxygen (A/F) Sensor Heater Control Circuit Low (Bank 1 Sensor 1)". Your RAV4's engine computer (ECM) has detected a problem with the internal heater of the Air/Fuel Ratio sensor. This sensor, also known as the upstream oxygen sensor, needs to be hot (operating temperature) to work correctly. The heater brings it to this temperature quickly after a cold start to reduce emissions. This code specifically indicates the heater circuit is drawing less current than the expected minimum (typically below 0.8A), suggesting an open circuit or high resistance.

What's Unique About the 2013-2018 Toyota RAV4

On the 2.5L 2AR-FE engine in the 2013-2018 RAV4, this is a very common and straightforward repair. The Bank 1 Sensor 1 is located directly on the front of the exhaust manifold, making it one of the most accessible A/F sensors on any vehicle. This high accessibility turns what could be a difficult job on other cars into a task that most DIYers can complete in under an hour with basic tools.

Symptoms You May Notice

  • Check Engine Light is on
  • Reduced fuel economy
  • Rough idle, especially when the engine is cold
  • Vehicle may fail an emissions test
⚠️ Don't Waste Money on the Wrong Fix
  • Immediately replacing the A/F sensor without first checking the 'A/F HTR' fuse. This is a 2-minute check that can save you the cost of an unnecessary part.

Most Likely Causes

  1. Failed Air/Fuel Ratio Sensor (Bank 1, Sensor 1) 🔴 High Probability The internal heater element simply wears out and fails from age and countless heat cycles. This is the most common point of failure for this code.
    How to confirm: After confirming the fuse is good, disconnect the sensor and measure the resistance between the two heater pins (usually the two same-colored wires) with a multimeter. A healthy sensor will have a low resistance, typically between 0.8 and 1.4 ohms at room temperature. An infinite reading (OL) confirms the heater has an open circuit and has failed.
    Typical fix: Replace the Air/Fuel Ratio sensor.
    Est. part cost: $150-$220
  2. Blown A/F Heater Fuse 🟡 Medium Probability A short in the sensor's heater element or its wiring can cause the dedicated fuse to blow as a protective measure.
    How to confirm: Locate the fuse box in the engine compartment near the battery. Find the 15A fuse labeled 'A/F HTR'. Pull the fuse and visually inspect it or test it for continuity with a multimeter.
    Typical fix: Replace the blown fuse. If the new fuse blows immediately, it confirms a short circuit in the wiring or the sensor itself that must be found and repaired.
    Est. part cost: $1-$5
  3. Damaged Wiring or Connector ⚪ Low Probability The wiring harness for the sensor is exposed to high heat from the exhaust manifold, which can cause insulation to become brittle and crack over time. Rodents can also chew on the wires, causing a short or open circuit.
    How to confirm: Visually inspect the wiring harness from the sensor to where it connects to the main engine harness. Look for any signs of melting, chafing, corrosion in the connector pins, or breaks.
    Typical fix: Repair the damaged section of wire or replace the connector pigtail.
    Est. part cost: $10-$30

Rare But Worth Checking

  • Failed A/F Heater Relay: The A/F heater circuit is controlled by a relay, typically located in the same engine bay fuse box. While uncommon, this relay can fail, preventing power from reaching the sensor's heater. This should be tested after confirming the fuse and sensor are good.
  • Faulty Engine Control Module (ECM): This is extremely rare. The ECM should only be considered as a potential cause after all other possibilities (sensor, fuse, relay, wiring) have been exhaustively tested and ruled out.

Diagnosis Steps

  1. Confirm the P0031 code is present using an OBD-II scanner.
  2. Open the fuse box in the engine compartment and locate the 15A 'A/F HTR' fuse. Visually inspect and test the fuse. Replace if blown.
  3. If the fuse is good, locate the A/F sensor on the front of the exhaust manifold.
  4. Inspect the sensor's electrical connector and wiring for any visible damage, melting, or corrosion.
  5. If the wiring appears intact, disconnect the sensor.
  6. Using a multimeter set to ohms, measure the resistance across the two heater pins on the sensor side of the connector (often the two wires of the same color). A good sensor should read a very low resistance (e.g., 0.8-1.4 ohms). An 'OL' or infinite reading indicates the heater element has failed and the sensor must be replaced.
  7. If the sensor tests good, the next step is to check for 12V power at the vehicle-side connector with the key on. If power is missing, suspect the A/F heater relay or a break in the power wire.

Parts You'll Likely Need

  • Air/Fuel Ratio Sensor (Bank 1, Sensor 1) (OEM #89467-0R050 (supersedes 89467-0R060, 89467-21020)) — The internal heater element fails over time, which is the direct cause of the P0031 code in the vast majority of cases.
    Trusted brands: Denso (OEM), NTK
    OEM price range: $180-$220
    Aftermarket price range: $100-$160

Technical Service Bulletins (TSBs) & Recalls

  • While no TSB is directly for P0031 on this specific RAV4, an older TSB for 2004-2005 Camrys (EG009-05) shows a history of Toyota addressing similar A/F sensor circuit codes (P0031/P0051) with updated parts and ECM logic, indicating the sensitivity of this system.

Mechanic-Grade Diagnostic Values

  • A/F Sensor Heater Current Draw — expected: Nominally 5-7 amps when active, duty-cycle controlled by the ECM.. Failure: DTC P0031 is set when current is less than 0.8 A, indicating an open or high-resistance circuit.
  • A/F Sensor Heater Power Supply Voltage — expected: Battery voltage (approx. 12V) at the sensor connector's power pin with key on, engine off.. Failure: Little to no voltage indicates a problem upstream, such as the A/F HTR fuse or relay.
  • A/F Sensor Heater Control Duty Cycle — expected: Typically 100% duty cycle (full power) for about 20 seconds after a cold start, then varies as needed to maintain temperature.. Failure: No duty cycle command from the ECM could indicate an ECM issue, but this is very rare.

Hidden / Shadow Codes Worth Checking

  • Mode 06, Test ID $07, Comp ID $81: This monitor tracks the 'Maximum A/F sensor heater current'. A technician can use a professional scan tool to view this data and see the raw current value the ECM is reading from the heater circuit, confirming if it is below the minimum threshold. (see via A professional scan tool capable of reading Toyota-specific Mode 06 data, such as Toyota Techstream.)

Scan Tool Commands That Help

  • Toyota Techstream: Confirmation Driving Pattern & All Readiness Check — After a repair, a technician can perform a specific driving pattern (e.g., idle 5 min, hold 3000 rpm for 1 min, idle 5 min) and then use the 'All Readiness' utility to confirm the P0031 monitor has run and passed, verifying the fix without waiting for the check engine light.
  • Toyota Techstream: Active Test: Control the Injection Volume for A/F sensor — While not a direct test of the heater, this is an advanced diagnostic step. If P0031 is accompanied by performance issues, this test can force the engine rich or lean to verify the A/F sensor's *reporting* function is still working, which helps isolate the problem to just the heater circuit.

Wiring & Ground Locations

  • A/F Heater Relay (EFI MAIN Relay) — Located within the 'Integration Relay' assembly in the main engine compartment fuse/relay block.. This relay supplies the 12V power to the A/F sensor's heater circuit. If this relay fails, the heater will not receive power, causing P0031 even if the fuse and sensor are good.
  • A/F Sensor Connector (A1A) — On the front of the engine, connected to the A/F sensor on the exhaust manifold.. This is the primary test point. Pin +B (Power) should have 12V with key on. Pin HA1A (Heater Control) is the wire going to the ECM, which provides a duty-cycled ground to operate the heater.

Real Owner Repair Stories

  • YouTube video, various forums (2008 Toyota Sienna (V6, similar electrical design)) — Check Engine Light with codes P0031 and P0051 (for Bank 2), VSC and TRAC OFF lights also on.
    ❌ Tried (didn't work) Initial diagnosis pointed towards replacing both A/F sensors.
    ✅ What actually fixed it Owner checked the fuse box and found the 25A 'A/F' fuse was blown. Replacing the fuse cleared all codes and warning lights, saving the cost of two sensors.
  • Common narrative from RAV4World and r/MechanicAdvice forums (2013-2018 Toyota RAV4 2.5L) — Check Engine Light on, slight dip in fuel economy.
    ❌ Tried (didn't work) In some cases, replacing the sensor with a cheap, unbranded aftermarket part from an online marketplace did not fix the code or the code returned quickly.
    ✅ What actually fixed it The most common successful repair path was: 1. Check the 15A A/F HTR fuse (usually found to be good). 2. Test resistance on the sensor heater pins and find an open circuit (OL reading). 3. Replace the sensor with an OEM Denso (234-9133) part. 4. Clear codes, which then stayed off.
  • Cross-Manufacturer Reference (Toyota Corolla) — An owner reported that the engine light would not go out despite replacing the O2 sensor 7 to 10 times and resetting the system (NHTSA ODI #10901973).
  • Cross-Manufacturer Reference (Toyota Sequoia) — A report noted that a check engine light found P0031 for the AF sensor B1S1, which was replaced, but the owner later experienced recurring VSC TRAC OFF and service engine lights (NHTSA ODI #10531943).

OEM Part Supersession History

  • 89467-0R060, 89467-2102089467-0R050 — Standard part refinement and consolidation by the manufacturer.
    Heads up: While physically similar, it is critical to use a sensor with the correct internal heater resistance. Using cheap, off-brand sensors is known to cause persistent codes because their heater characteristics do not match what the Toyota ECM expects. Stick with Denso or NTK.

Model Year Variations Within This Range

  • 2016-2018: The RAV4 received a mid-cycle refresh in 2016. While this did not change the P0031 fault, these later models have a noticeably quieter cabin due to added insulation and a reworked, more compliant suspension. Toyota Safety Sense became standard for 2017+ models.

Diagnostic Flowchart

Start by confirming the P0031 code is active. This code specifically targets the heater circuit of the Bank 1 Sensor 1 Air/Fuel Ratio sensor on the 2.5L engine.
Replace the 15A fuse and start the engine. Does the fuse blow again immediately?
→ There is a direct short to ground. Inspect the wiring harness for melting against the exhaust manifold or rodent damage. If wiring looks good, the sensor's internal heater has shorted; replace the A/F sensor.
→ The fuse may have blown due to an intermittent surge or aging sensor. Clear the code and monitor. If it returns, proceed to sensor resistance testing.
Locate the A/F sensor on the front of the exhaust manifold. Is there visible damage to the harness or connector?
→ Repair the damaged wiring or replace the connector pigtail. Ensure the harness is clipped away from high-heat zones of the 2AR-FE exhaust manifold.
Disconnect the sensor. Using a multimeter, measure resistance across the two heater pins (usually same-colored wires) on the sensor side. What is the reading?
The sensor heater is physically intact. With the key in the ON position, check for 12V power at the vehicle-side connector. Is power present?
→ If power and sensor resistance are good, the ECM may not be grounding the circuit. Check the A/F heater relay or consult a professional for ECM logic issues, similar to those noted in Toyota TSB EG009-05.
→ Check the A/F heater relay and the wiring between the fuse box and the sensor connector for an open circuit.
→ The internal heater element has failed due to age and heat cycles. Replace the Air/Fuel Ratio Sensor (Bank 1, Sensor 1). Estimated part cost: $150-$220.

Other Known Issues on This Vehicle

Issues unrelated to this code that are worth knowing about as an owner of this generation:

  • Torque Converter Shudder 🟠 Medium — Common on 2013-2015 models, typically between 25-50 mph under light load. Can occur at various mileages. (Ref: Toyota TSB T-SB-0023-15 Rev2 and Warranty Enhancement Program (ZH1) were issued to address this by replacing the torque converter and updating ECM logic.)
  • Unresponsive or Laggy Infotainment Screen 🟡 Low — Frequently reported across the generation. The touchscreen may become non-responsive, freeze, or reboot randomly. (Ref: No specific TSB, but common fixes include a soft reboot (holding the power knob), a factory reset, or a battery disconnect. In some cases, a software update or head unit replacement is required.)
  • Oil Leaks from Timing Cover / Valve Cover 🟡 Low — Seeping or minor leaks can develop at higher mileages (over 100k miles). Not usually an urgent failure but should be monitored. (Ref: No TSB, this is considered a common wear-and-tear item.)
  • Battery Fire Risk Recall (Improperly Sized Replacement Battery) 🔴 High — Affects all 2013-2018 models where an incorrectly sized 12V replacement battery may have been installed. (Ref: NHTSA Recall 23V734000. The battery hold-down bracket can contact the terminals of a smaller battery, causing a short circuit.)

Used vs. New Parts: Buying Guide for This Vehicle

When a used part is the smart pick: For this specific repair, a used part is almost never a good choice for the sensor itself. However, obtaining a used wiring harness pigtail from a junkyard is a smart move if your original connector is melted or damaged. A used fuse/relay box is also a viable option if the relay is the point of failure.

Donor-vehicle mileage cap: roughly under 150000 miles for the part to have meaningful remaining life.

What to inspect on the donor part:

  • For a wiring pigtail, ensure the plastic is not brittle and the locking tab is intact.
  • Check for any signs of corrosion on the pins or melting on the connector body.
  • If pulling a relay, look for a donor vehicle with no signs of electrical fire or water damage in the fuse box area.

OEM-only on this vehicle (don't cheap out):

  • Air/Fuel Ratio Sensor

Aftermarket brands forum-validated for this vehicle:

  • Denso (is the OEM supplier)
  • NTK

Brands owners have reported issues with on this vehicle:

  • Generic, unbranded sensors from online marketplaces like eBay or Amazon are frequently reported on forums to fail quickly or not work at all, as their internal heater resistance may not match OEM specifications.

Real Owner Stories

Aggregated from forums and TSBs cited above. Mileages and costs reflect what owners reported in those sources.

2015 Toyota RAV4 — ~350000 miles

Symptoms: P0031, P0500, P0717, P0776, P2808. Almost every light is on the dash, the transmission is shifting erratically or just throws the car into neutral, odometer and speedometer stopped working.

What fixed it: No fix reported. A commenter noted for P0031: 'upstream o2 sensor heater Circuit , sensor is probably bad'.

Source hint: r/mechanic - 2015 Toyota RAV4

2014 Toyota RAV4

Symptoms: Check engine light on with code P0031.

What fixed it: Checked the A/F HTR fuse (it was fine) and replaced the front sensor with a Denso part.

Source hint: RAV4World Forum

2013-2018 Toyota RAV4

Symptoms: P0031 code triggered; advised to check fuse first.

What fixed it: Replaced the sensor twice before realizing the issue was a wiring short.

Source hint: Reddit (r/rav4club & r/MechanicAdvice)

Toyota Avalon Reference

Symptoms: After owning a certified pre-owned vehicle for one month, the check engine light came on. Diagnosis confirmed the P0031 code was present on one of the AF sensors (NHTSA ODI #10573840).

Frequently Asked Questions

Which specific fuse should I check for a P0031 code on my 2013-2018 RAV4?
You should check the 15A fuse labeled 'A/F HTR' located in the fuse box in the engine compartment near the battery.
Is there a TSB for P0031 on the 2013-2018 RAV4 2.5L?
There is no direct TSB for P0031 on this specific generation, though Toyota has a history of addressing similar A/F sensor circuit codes (P0031/P0051) in older models like the 2004-2005 Camry (TSB EG009-05) with updated parts and ECM logic.
What brand of Air/Fuel Ratio sensor should I use for my 2.5L 2AR-FE engine?
Denso is the recommended brand as they are the OEM supplier. NTK is also considered a good aftermarket brand, while generic unbranded sensors from online marketplaces should be avoided.
Can I use a used sensor from a junkyard to fix this code?
A used part is almost never a good choice for the sensor itself. However, a used wiring harness pigtail or a used fuse/relay box is a viable option if the connector is melted or the relay has failed.
My RAV4 has a P0031 and the transmission is shifting into neutral; are these related?
While P0031 relates to the A/F sensor heater circuit, high-mileage RAV4s have reported multiple codes (P0031, P0500, P0717, P0776, P2808) simultaneously alongside erratic shifting and speedometer failure, suggesting broader electrical or transmission issues.
Does the battery recall on the 2013-2018 RAV4 affect the A/F sensor?
NHTSA Recall 23V734000 involves a fire risk from improperly sized replacement batteries. While it doesn't directly cause P0031, a short circuit at the battery terminals can cause significant electrical issues.
How to Reset Toyota RAV4 Infotainment System – Factory Reset, Reboot & Touchscreen Not Working Fix
How to Reset Toyota RAV4 Infotainment System – Factory Reset, Reboot & Touchscreen Not Working Fix
Causes and Fixes P0031 Code: HO2S Heater Control Circuit Low (Bank 1 Sensor 1)
Causes and Fixes P0031 Code: HO2S Heater Control Circuit Low (Bank 1 Sensor 1)
How To Fix P0031 Code - Oxygen Sensor Heater Control Circuit Low Bank 1 Sensor 1
How To Fix P0031 Code - Oxygen Sensor Heater Control Circuit Low Bank 1 Sensor 1
Why You’re Getting P0031 – O2 Sensor Heater Issues!
Why You’re Getting P0031 – O2 Sensor Heater Issues!
Causes and Fixes Toyota P0031 Code: Oxygen (A/F) Sensor Heater Control Circuit Low (Bank 1 Sensor 1)
Causes and Fixes Toyota P0031 Code: Oxygen (A/F) Sensor Heater Control Circuit Low (Bank 1 Sensor 1)
3 Causes and Fixes P0031 Error Code
3 Causes and Fixes P0031 Error Code
Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated Jul 23, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the OBD-II Code P0031 (Deep Dive) for:
  • Toyota RAV4: 201320142015201620172018
In this article
🎬 Helpful Videos
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part