🔧 WhatWrench· tools for any car, any jobAll tool listsTry the app free

Tools you need for O2 sensor on a 2013-2018 Toyota RAV4

Moderate · 1-2 hours · Updated 2026-09-28
Must-have tools
  1. 22 mm oxygen sensor socket, 3/8 in drive
  2. 10 mm socket, 3/8 in drive
  3. Ratchet and long extensions, 3/8 in drive
  4. Penetrating oil
  5. Torque wrench, 3/8 in drive

On the XA40 RAV4 there is only one engine in the US market, the 2.5L 2AR-FE, so there is just one upstream sensor: Bank 1 Sensor 1, threaded into the exhaust manifold and catalyst assembly on the firewall side of the engine. It is a wideband air-fuel ratio sensor, and it is the same 22 mm thread as almost every other Toyota O2 sensor. The actual swap takes ten minutes; getting a socket onto it and breaking the rust loose is the rest of the time.

The mistake people make most often is buying a cheap universal narrowband oxygen sensor because the parts listing said "O2 sensor." The upstream position needs a wideband A/F sensor with the correct connector, and splicing a universal one in almost always produces a new fuel trim or heater circuit code. The second mistake is over-torquing: snug it to spec, not to "as tight as it will go," because pulling the threads out of the exhaust boss turns a $150 job into a manifold replacement.

Which store near you has these? WhatWrench checks the shelves at your nearest auto parts and hardware stores.Find them near me

Complete tool and parts list

ItemType
OBD-II scan tool
Reads live A/F sensor data and clears codes
Confirms it is the upstream sensor (P0031/P0032/P0135/P2195/P2196) and clears the code after.
Recommendedshop
Floor jack
2 ton minimum
Lifts the front of the vehicle for underbody access.
Requiredshop
Jack stands
2 ton pair, on front pinch welds/subframe
Supports the car while you work underneath.
Safetyshop
Wheel chocks

Keeps the vehicle from rolling with the rear wheels down.
Safetyshop
Socket, 10 mm
10 mm 6-point, 3/8 in drive
Battery terminal, engine cover nuts and the plastic undercover bolts.
Requiredshop
Ratchet
3/8 in drive
Drives all sockets on this job.
Requiredshop
Extension set
3/8 in drive, 3 in, 6 in and 12 in
Reaches the sensor down behind the engine and the undercover fasteners.
Requiredshop
Trim/clip removal tool
Plastic pry set
Pops the plastic push-clips holding the engine undercover and splash shield.
Recommendedshop
Penetrating oil
PB Blaster or equivalent
Soaks the sensor threads in the hot exhaust boss before removal.
Consumablesshop
Oxygen sensor socket
22 mm slotted, 3/8 in drive
The slot clears the sensor wiring harness while unscrewing it.
Requiredshop
Offset O2 sensor wrench
22 mm / 7/8 in crowfoot or offset wrench
Needed if the sensor sits too close to the manifold heat shield for a socket.
Recommendedshop
Breaker bar
3/8 or 1/2 in drive, 18 in
Extra leverage on a seized sensor without rounding it off.
Recommendedshop
Wire brush
Brass or steel
Cleans carbon out of the threaded boss so the new sensor starts cleanly.
Consumablesshop
Anti-seize compound
Nickel-based, high temperature
Only if the new sensor comes without pre-applied paste; keep it off the sensor tip.
Consumablesshop
Torque wrench
3/8 in drive, 10-80 ft-lb
Sets the sensor to spec so it seals without stripping the boss.
Requiredshop
Air-fuel ratio sensor
Bank 1 Sensor 1, Denso/Toyota OE for 2AR-FE
The upstream unit is a wideband A/F sensor, not a plain narrowband O2 sensor.
Partsshop
Mechanic's gloves

Exhaust components and heat shield edges are sharp and can still be hot.
Safetyshop
Safety glasses

Rust, carbon and penetrating oil fall right into your face from below.
Safetyshop

Differences within the 2013-2018 generation

The XA40 RAV4 used only the 2.5L 2AR-FE in North America, so sizes do not vary: 22 mm sensor thread, 10 mm cover fasteners across 2013-2018. The 2016-2018 RAV4 Hybrid uses the same 2AR-FXE family sensor thread size, but its underhood routing and connector location differ and the hybrid system must be shut down before working near the inverter area.

Torque specs

Upstream air-fuel ratio sensor into exhaust manifoldapprox. 33 ft-lb (44 Nm) - verify in the service manual
Engine undercover bolts (10 mm)about 7 ft-lb (9 Nm) hand-snug, verify in the service manual
Battery negative terminal nutabout 4 ft-lb (5.4 Nm)

How the job goes

  1. Scan the car and note the exact code. P0031/P0032/P0135/P2195/P2196/P1135 point to the upstream A/F sensor on Bank 1; P0136/P0137/P0141 are the downstream sensor behind the catalyst.
  2. Let the exhaust cool completely. Working on a hot manifold is how people get burned and how sensors snap off.
  3. Disconnect the negative battery cable with a 10 mm socket. No battery registration or relearn is needed on this vehicle.
  4. Remove the plastic engine top cover (pull straight up off its grommets, or remove the 10 mm nuts on early cover styles) so you can see down the back of the engine toward the firewall.
  5. Chock the rear wheels, lift the front of the vehicle at the factory jack points and set it on jack stands.
  6. Remove the plastic engine undercover: 10 mm bolts plus several push-type clips. Pop the clips with a trim tool rather than forcing them.
  7. Locate the upstream sensor threaded into the exhaust manifold/catalyst assembly on the firewall side of the engine. Trace its harness up to the connector clipped to a bracket on the engine or firewall.
  8. Spray penetrating oil on the sensor threads and let it sit 15-20 minutes. Re-spray once.
  9. Release the connector lock tab and unplug the sensor. Free the harness from its clips and any wire ties so the sensor can spin freely.
  10. Fit the 22 mm slotted O2 sensor socket with an extension and break the sensor loose counterclockwise. If there is no room for the socket, use the 22 mm offset O2 wrench. Steady, firm pressure beats jerking.
  11. Unscrew the sensor and remove it. Clean carbon from the threaded boss with a wire brush; do not chase the threads with a tap unless they are damaged.
  12. Check the new sensor for pre-applied anti-seize on the threads. If it is bare, apply a thin film of nickel anti-seize to the threads only, never on the sensing element or the vent holes in the body.
  13. Thread the new sensor in by hand until it seats, then torque to roughly 33 ft-lb (44 Nm), verifying the figure in the service manual. Do not over-tighten into the aluminum-adjacent boss.
  14. Route the harness exactly as the original, clip it back in, and plug in the connector until it clicks. Keep the wire away from the exhaust.
  15. Reinstall the undercover and engine cover, lower the vehicle and reconnect the battery.
  16. Clear the codes, then idle the engine until it is at operating temperature and watch the A/F sensor live data. It should respond quickly to throttle changes. Drive a mixed 15-20 minute cycle and confirm the readiness monitors set with no returning codes.

Watch out

The 22 mm sensor thread and 10 mm cover fasteners are standard for the 2AR-FE RAV4 and I am confident in them; confirm the exact sensor torque and the Bank 1 Sensor 1 part number for your VIN before final tightening.

Frequently asked

Is the upstream sensor on a 2013-2018 RAV4 an O2 sensor or an air-fuel ratio sensor?

It is a wideband air-fuel ratio sensor. Parts stores often list it as an oxygen sensor, but you must use the correct Denso/Toyota A/F sensor for Bank 1 Sensor 1 - a narrowband or universal sensor will set codes.

What size socket do I need for the RAV4 oxygen sensor?

A 22 mm slotted oxygen sensor socket on a 3/8 in drive. If clearance is tight against the heat shield, a 22 mm (7/8 in) offset O2 wrench or crowfoot works better.

Do I need to remove anything to reach it?

Yes. Pull the plastic engine top cover for visibility and remove the plastic engine undercover (10 mm bolts plus push clips) to reach the sensor from underneath. No manifold or wheel removal is required.

Will the check engine light go out by itself after replacement?

It usually will after several drive cycles, but it is faster and safer to clear the code with a scan tool and then verify the A/F sensor live data responds to throttle before driving it.

Other jobs on the 2013-2018 Toyota RAV4

Oil ChangeFront Brake Pads and RotorsRear Brake Pads and RotorsBattery ReplacementSpark Plug ReplacementAlternator ReplacementStarter ReplacementCoolant FlushSerpentine Belt ReplacementTire RotationHeadlight Bulb ReplacementWiper Blade ReplacementThermostat ReplacementFront Strut ReplacementCabin Air Filter ReplacementEngine Air Filter ReplacementTransmission Fluid ChangeFront Wheel Bearing ReplacementWater Pump Replacement

Oxygen Sensor Replacement on other vehicles

2015-2020 Ford F-1502021-2024 Ford F-1502014-2018 Chevrolet Silverado 15002019-2024 Chevrolet Silverado 15002009-2018 Ram 15002019-2024 Ram 15002012-2017 Toyota Camry2018-2024 Toyota Camry2014-2019 Toyota Corolla2020-2024 Toyota Corolla2019-2024 Toyota RAV42005-2015 Toyota Tacoma2016-2023 Toyota Tacoma2016-2021 Honda Civic2022-2024 Honda Civic2013-2017 Honda Accord2018-2022 Honda Accord2012-2016 Honda CR-V2017-2022 Honda CR-V2020-2024 Ford Explorer