Diagnose soonNo driveability impact, but find the short before it takes out the shared heater fuse and sets more codes.
The heater circuit in your front oxygen sensor (cylinder-1 side) is shorted to ground. The heater can't warm the sensor, so fuel fine-tuning is delayed after a cold start.
Key facts
P0031 means o2 sensor heater circuit low, bank 1 sensor 1. The heater circuit in your front oxygen sensor (cylinder-1 side) is shorted to ground. The heater can't warm the sensor, so fuel fine-tuning is delayed after a cold start. WrenchFair's published fair-price range for this repair is $40–$150 parts and $80–$180 labor at independent shops.
WrenchFair rates P0031 a 2-of-5 DIY difficulty (“Unplugging the sensor to separate a harness short from a sensor short is the key diagnostic trick.”) with a “Diagnose soon” driveability rating: No driveability impact, but find the short before it takes out the shared heater fuse and sets more codes. These are this guide’s own published ratings.
For labor context, WrenchFair's methodology page cites two published numbers: about half of US independent shops charge $120–$159/hr (PartsTech survey of 752 shops, fall 2024), and the national average posted mechanical rate was $163/hr in June 2026 (NABR LaborRateHero). Multiply either band by a quote's labor hours to judge whether its labor line is in range.
Service bulletins: 515 factory bulletins on file for this vehicle (mostly Equipment, Electrical System, Engine) — see the latest ones
On your 2019–2024 Toyota RAV4 (2.5L 4-cyl (A25A-FKS)) — O2 (oxygen) sensors:Owner-verified
Toyota uses an air/fuel ratio sensor upstream, not a conventional narrow-band O2: Bank 1 Sensor 1 threads into the exhaust manifold ahead of the catalytic converter, and Bank 1 Sensor 2 sits downstream of the cat. Unclip the wiring connector from its mounting bracket first, then back the sensor out with a 22 mm O2 sensor socket. Owners on rav4world.com describe the upstream swap as a roughly 20-minute, sub-$100 DIY versus about $400 at a dealer.
Do this test first: Check the O2 heater fuse - a blown fuse confirms a short somewhere
→ Passes: that cause is ruled out — run the next test in the diagnostic path below.
→ Fails: fix what failed — that’s your cause. Clear the code and re-test before buying anything else.
No owner fix reports yet for P0031 on the 2019–2024 Toyota RAV4 — but the community-sourced O2 (oxygen) sensors note above covers an owner-reported fix. Fixed yours? Report it — you'll help the next owner.
Torque specs
Air/fuel ratio sensor (M18x1.5): verify — Confirm against factory service info for this engine before torquing.
Tips
Order by position: upstream B1S1 is an air/fuel ratio sensor — Denso 234-9307 (Toyota 89467-06250 / 89467-33290) — while downstream B1S2 is a conventional heated O2 sensor; they are not interchangeable.
A failed upstream A/F sensor commonly throws downstream codes (e.g., P0137 B1S2 low voltage) — rav4world members resolved a persistent P0137 by replacing the upstream A/F sensor, so check upstream sensor data before replacing the downstream one.
Thread size is M18x1.5 with a 22 mm hex; clear codes after install and drive full heat cycles before judging the fix — a lazy upstream sensor can also set P0171 lean codes.
Typical difficulty: Moderate — based on 841 code guides for the sensors repair area (an area-level estimate, not this exact job).
How notes are verified:Robbie-tested — Robbie did this repair on his own car and confirmed the fix himself. Owner-verified — community repair procedure with 2+ cited sources. Factory-documented — drawn from a factory TSB, recall, or campaign document; a factory procedure, not an owner-tested fix. Community-reported — single-source or otherwise unverified; treat as a lead, not a verdict.
No owner reports yet
Symptoms
check engine light
delayed closed-loop operation
slightly decreased fuel mileage
Likely causes
What usually pays the bill on this car, most common first — but work the diagnostic path above cheapest-first. Test order and bill order aren’t the same thing.
Heater wiring shorted to ground (chafed harness touching exhaust or frame)
Shorted heater element inside the O2 sensor
Corroded connector bridging the heater circuit to ground
ECM driver fault (rare)
Too many suspects? Answer 4–6 quick questions and this page's published cause list re-orders itself for your situation — plus the cheapest test to run next. Start the elimination wizard →
Before you buy the part — 5 checks
Work these checks before spending money — each one rules a cause in or out, cheapest first.
Check the O2 heater fuse - a blown fuse confirms a short somewhere
Unplug the bank 1 sensor 1 O2 sensor and see if the short-to-ground reading clears - if it does, the sensor's heater is shorted Tests: Heater wiring shorted to ground (chafed harness touching exhaust or frame)
With the sensor unplugged, test the heater feed wire for continuity to ground and repair any chafed section Tests: Heater wiring shorted to ground (chafed harness touching exhaust or frame)
Inspect the wiring where it routes near hot exhaust parts Tests: Heater wiring shorted to ground (chafed harness touching exhaust or frame)
Measure the sensor's heater resistance against factory spec
No scan tool yet? The Veepeak OBDCheck (~$32) reads and clears codes from your phone in about two minutes.
Most likely job on your 2019–2024 Toyota RAV4: O2 (oxygen) sensors — test first, then buy for this job.
Expensive fork: Catalytic converter — only if the downstream waveform shows a dead cat after a good sensor and no exhaust leak.
The price range below is a national planning range for P0031 on this vehicle — not a quote: it spans the common job at the low end to the expensive fork at the high end. 0 owner invoices on this generation — treat these as planning numbers. If a shop quote lands near the top of the range, that’s fork money, not the common job — ask which test failed before authorizing it.
Typical price range
Parts$40 – $150
Labor$80 – $180
Upstream oxygen sensor replacement or heater wiring repair (bank 1 sensor 1). National-average estimate for the most common repair for this code. Actual quotes vary by vehicle, region, and shop - get a local written estimate.
Dealer vs independent shop: these ranges reflect typical independent-shop prices. A dealer will usually quote higher — higher labor rates plus OEM-only parts — so a dealer quote at the top of (or a bit above) this range isn't automatically a rip-off. For a big dealer number, get a second quote from an independent shop before authorizing the work.
What will this cost to fix?A code doesn’t name the repair — run the code-first estimator to see the most likely fixes for P0031 ranked, each with a price range. They handed you a printout at the parts store? Decode it before you buy.
DIY difficulty
2 of 5 — Unplugging the sensor to separate a harness short from a sensor short is the key diagnostic trick.
Who's behind this guide?WrenchFair is built by a fellow DIYer, not a repair shop. Code meanings follow the SAE J2012 standard; cause rankings come from real-world repair evidence (service bulletins, owner reports, NHTSA records); prices are typical US ranges, not quotes.Read the full methodology →