This AI-generated draft has not been independently verified for your vehicle. Confirm engine, trim, build date, tool fitment and torque specifications against the relevant service information before buying tools or starting work.
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.
| Item | Type | Product search |
|---|---|---|
| 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. | Recommended | search retailer |
| Floor jack 2 ton minimum Lifts the front of the vehicle for underbody access. | Required | search retailer |
| Jack stands 2 ton pair, on front pinch welds/subframe Supports the car while you work underneath. | Safety | search retailer |
| Wheel chocks Keeps the vehicle from rolling with the rear wheels down. | Safety | search retailer |
| Socket, 10 mm 10 mm 6-point, 3/8 in drive Battery terminal, engine cover nuts and the plastic undercover bolts. | Required | search retailer |
| Ratchet 3/8 in drive Drives all sockets on this job. | Required | search retailer |
| Extension set 3/8 in drive, 3 in, 6 in and 12 in Reaches the sensor down behind the engine and the undercover fasteners. | Required | search retailer |
| Trim/clip removal tool Plastic pry set Pops the plastic push-clips holding the engine undercover and splash shield. | Recommended | search retailer |
| Penetrating oil PB Blaster or equivalent Soaks the sensor threads in the hot exhaust boss before removal. | Consumables | search retailer |
| Oxygen sensor socket 22 mm slotted, 3/8 in drive The slot clears the sensor wiring harness while unscrewing it. | Required | search retailer |
| 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. | Recommended | search retailer |
| Breaker bar 3/8 or 1/2 in drive, 18 in Extra leverage on a seized sensor without rounding it off. | Recommended | search retailer |
| Wire brush Brass or steel Cleans carbon out of the threaded boss so the new sensor starts cleanly. | Consumables | search retailer |
| Anti-seize compound Nickel-based, high temperature Only if the new sensor comes without pre-applied paste; keep it off the sensor tip. | Consumables | search retailer |
| Torque wrench 3/8 in drive, 10-80 ft-lb Sets the sensor to spec so it seals without stripping the boss. | Required | search retailer |
| 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. | Parts | search retailer |
| Mechanic's gloves Exhaust components and heat shield edges are sharp and can still be hot. | Safety | search retailer |
| Safety glasses Rust, carbon and penetrating oil fall right into your face from below. | Safety | search retailer |
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.
| Upstream air-fuel ratio sensor into exhaust manifold | approx. 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 nut | about 4 ft-lb (5.4 Nm) |
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.
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.
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.
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.