How to Replace the Upstream or Downstream Oxygen Sensor on a 2011-2013 Toyota Corolla (Engine: Inline 4 1.8L)
Step-by-step O2/A/F sensor locations, tools & parts list, safety tips, and code clearing guidance
How to Replace the Upstream or Downstream Oxygen Sensor on a 2011-2013 Toyota Corolla (Engine: Inline 4 1.8L)
Step-by-step O2/A/F sensor locations, tools & parts list, safety tips, and code clearing guidance for 2011, 2012, 2013
đź”§ Corolla - Oxygen Sensor Replacement
Your Corolla has two exhaust sensors: the upstream Air/Fuel (A/F) sensor (controls fuel mixture) and the downstream O2 sensor (checks catalytic converter efficiency). The replacement steps are similar, but the exact location and the correct part are different—so we need to confirm which one you’re replacing.
Difficulty Level: Intermediate | Estimated Time: 0.8-1.5 hours
⚠️ Safety & Precautions
- ⚠️ Exhaust parts get extremely hot—work on a fully cool engine (at least 1 hour off).
- ⚠️ Support the car on jack stands before going underneath; never rely on a jack alone.
- ⚠️ Wear eye protection—rust and debris fall when loosening sensors.
- ⚠️ Don’t twist the wiring—only turn the sensor hex with the correct socket.
- ⚠️ Battery disconnect is recommended before unplugging the sensor connector.
đź”§ Required Tools
You'll need the following tools for this repair:
- Floor jack (rated 2-ton minimum)
- Jack stands (rated 2-ton minimum)
- Wheel chocks
- Safety glasses
- Mechanic gloves
- 10mm socket
- 3/8" drive ratchet
- 3/8" drive extensions (3" and 6")
- Oxygen sensor socket 22mm (specialty)
- Breaker bar 3/8" drive
- Torque wrench 3/8" drive (10-80 ft-lbs range)
- Trim clip/pick tool
- Penetrating oil
- OBD2 scan tool
🔩 Required Parts
HowToo sells all the parts you need for this repair:
- Upstream Air/Fuel ratio sensor (Bank 1 Sensor 1) - Qty: 1
- Downstream oxygen sensor (Bank 1 Sensor 2) - Qty: 1
- Anti-seize compound (sensor-safe) - Qty: 1
đź“‹ Before You Begin
- 🅿️ Park on level ground, put the transmission in 1st gear, and set the parking brake.
- đź§± Chock the rear wheels with wheel chocks.
- 🔋 Disconnect the negative battery cable using a 10mm socket.
- 🧰 If you’re unsure which sensor: plug in an OBD2 scan tool first and write down the code(s).
🔨 Step-by-Step Instructions
Follow these steps in order:
Step 1: Confirm which oxygen sensor you’re replacing
- Use an OBD2 scan tool to read codes.
- If the code mentions Bank 1 Sensor 1 (B1S1), that’s the upstream A/F sensor (before the catalytic converter).
- If the code mentions Bank 1 Sensor 2 (B1S2), that’s the downstream O2 sensor (after the catalytic converter).
- Tell me the code (example P0138).
Step 2: Locate the sensor on your Corolla
- For the upstream A/F sensor (B1S1): open the hood and look at the exhaust side of the engine; it threads into the exhaust manifold/catalyst area.
- For the downstream O2 sensor (B1S2): safely raise the front of the car using a floor jack and support with jack stands; the sensor threads into the exhaust pipe after the catalytic converter.
- Use a trim clip/pick tool to free any wiring clips so the harness has slack.
Step 3: Unplug the sensor connector
- Use a trim clip/pick tool to lift the connector lock tab (a small plastic “catch” that holds the plug together).
- Separate the connector by hand—do not pull on the wires.
Step 4: Loosen and remove the sensor
- Spray the sensor threads area with penetrating oil and wait 5–10 minutes.
- Install the 22mm oxygen sensor socket over the sensor hex and use a 3/8" ratchet and extensions to turn it counterclockwise.
- If it’s very tight, switch to a breaker bar for controlled leverage.
- Remove the sensor by hand once it’s loose.
Step 5: Install the new sensor
- Compare the new sensor to the old one (connector and length should match).
- If the new sensor threads are not pre-coated, apply a very thin film of sensor-safe anti-seize compound to the threads only (keep it off the tip).
- Start threading by hand to avoid cross-threading (damaging the threads in the exhaust).
- Tighten using the 22mm oxygen sensor socket and torque wrench.
- Before I give the exact torque spec: are you replacing B1S1 (upstream) or B1S2 (downstream) on your Corolla? (They can differ by sensor style.)
Step 6: Reconnect wiring and secure the harness
- Plug the connector back together until it clicks.
- Reattach any harness clips using the trim clip/pick tool.
- Make sure the harness is not touching the exhaust.
Step 7: Reconnect battery and clear codes
- Reconnect the negative battery cable using a 10mm socket.
- Clear codes with the OBD2 scan tool.
âś… After Repair
- 🔎 Start the engine and listen for any exhaust leaks near the sensor area.
- đź§Ş With the OBD2 scan tool, confirm no codes return and check live data if available.
- 🚗 Test drive 10–15 minutes; re-check for pending codes.
đź’° DIY vs Shop Cost
Shop Cost: $220-$480 (parts + labor)
DIY Cost: $60-$220 (parts only)
You Save: $160-$260 by doing it yourself!
Shop labor rates vary but typically run $100-$150/hour. This repair takes a shop approximately 0.8-1.5 hours.
🎯 Ready to get started?
HowToo makes it easy: same-day/2-day shipping on every part, plus all the tools and specialty tools you need! Check out the parts and tools sections below to add everything to your cart.
Guide for Air / Fuel Ratio Sensor replace for these Toyota vehicles
| Year Make Model | Sub Model | Engine | Body Style |
|---|---|---|---|
| 2013 Toyota Corolla | - | Inline 4 1.8L | - |
| 2012 Toyota Corolla | - | Inline 4 1.8L | - |
| 2011 Toyota Corolla | - | Inline 4 1.8L | - |


















