Got a Toyota P0138 code and assumed it’s just a bad O2 sensor? Slow down. This code hides some surprises that catch even experienced mechanics off guard. Read to the end — the fix might be simpler, or completely different, than you expect.
What Is the Toyota P0138 Code?
The P0138 code means “O2 Sensor Circuit High Voltage — Bank 1, Sensor 2.” Your powertrain control module (PCM) detected that the downstream oxygen sensor’s voltage stayed above 1.1 to 1.2 volts for more than 10 seconds.
That downstream sensor — Sensor 2 — sits after your catalytic converter. Its job? Acting as a quality-check auditor on your exhaust chemistry and converter efficiency. When it reports persistently high voltage, the PCM flags it.
Here’s the twist: that sensor is often the messenger, not the problem.
Where Exactly Is Bank 1 Sensor 2 on Your Toyota?
Getting this location right saves you from replacing the wrong part. Bank 1 always refers to the side of the engine containing cylinder number one.
For inline four-cylinder engines, the entire engine block is Bank 1. That makes things simple. For V6 engines, you need to check carefully.
| Engine Type | Models | Bank 1 Location | Sensor 2 Position |
|---|---|---|---|
| Inline 4 (2AR-FE, 2ZR-FE) | Corolla, RAV4, Camry (4-cyl) | Entire engine block | Underneath, post-catalytic converter |
| Transverse V6 (2GR-FE) | Camry V6, Avalon, Highlander | Rear side (firewall side) | Rear exhaust bank, after catalyst |
| Longitudinal V6 (2GR-FKS) | Tacoma, Tundra | Passenger side | Right-side exhaust, downstream of catalyst |
On transverse V6 engines, Bank 1 is crammed near the firewall. It’s hard to reach. Many DIYers accidentally service Bank 2 (the radiator side) simply because it’s easier to access. Don’t make that mistake.
How the Sensor Actually Works
Your downstream Sensor 2 is a zirconia-style heated oxygen sensor (HO2S). It measures the difference in oxygen levels between exhaust gas and outside air. That chemical reaction generates a voltage between 0.1V and 0.9V under normal conditions.
- 0.1V = lean exhaust (lots of oxygen present)
- 0.9V = rich exhaust (little oxygen present)
- Above 1.1V = abnormal — physically impossible from exhaust chemistry alone
When the PCM sees voltage above 1.1V, it knows something’s electrically wrong or the engine’s running seriously rich. That’s your P0138 trigger.
The code also uses two-trip detection logic — the fault must appear on two consecutive drive cycles before your check engine light turns on.
Toyota P0138 Service Bulletins You Must Check First
This is where Toyota P0138 diagnostics get genuinely interesting. Toyota released several Technical Service Bulletins (TSBs) confirming that P0138 often comes from an upstream sensor failure, not the downstream one the code points to.
T-SB-0001-10: V6 Models (Avalon, Camry, RAV4)
This NHTSA bulletin covers 2005–2010 models with the 3.5L V6 engine. It explains a counterintuitive situation: the upstream Air-Fuel Ratio sensor drifts slightly, making the engine run marginally rich. The downstream sensor correctly reports high voltage. But the ECM incorrectly blames the downstream sensor.
The fix? Replace the upstream A/F sensor — even if P0138 is the only code showing.
Look at your Freeze Frame Data. If the A/F sensor voltage reads between 3.35V and 3.70V while the O2 sensor sits between 0.70V and 0.90V, replace the upstream sensor first.
T-SB-0065-10: 2009 Corolla and Matrix (2ZR-FE)
The ECM software itself was the culprit here. Toyota’s own programming logic didn’t account for normal sensor aging patterns, triggering false P0138 and P2195 codes.
The fix? Replace the Air-Fuel sensor AND flash-reprogram the ECM with updated calibration software.
T-SB-0151-18: 2009–2012 RAV4 and 2010–2011 Camry (2AR-FE)
This NHTSA bulletin identifies the same upstream sensor drift pattern in 2.5L four-cylinder engines. Again, the downstream sensor is just accurately reporting what’s happening upstream.
The fix? Replace the A/F sensor and update the ECM calibration.
| TSB Number | Engine / Models | Symptoms | Fix |
|---|---|---|---|
| T-SB-0001-10 | 2GR-FE V6 / Avalon, Camry | P0138, P0158, P2195 | Replace upstream A/F sensor |
| T-SB-0065-10 | 2ZR-FE I4 / Corolla, Matrix | P0138, P2195, P0031 | Replace A/F sensor + ECM flash |
| T-SB-0151-18 | 2AR-FE I4 / RAV4, Camry | P0138 | Replace A/F sensor + ECM flash |
Always check these TSBs before buying any parts.
What Actually Causes Toyota P0138
If no TSB applies to your vehicle, dig into these root causes.
Faulty Downstream Oxygen Sensor
The sensor itself wears out over time. Contamination from oil ash, coolant leaks, or carbon buildup degrades the ceramic sensing element. A contaminated sensor loses its ability to respond to oxygen changes and gets stuck reporting a high-voltage rich reading.
Electrical Problems in the Sensor Circuit
This is where things get sneaky. Several wiring issues can fake a P0138 without any sensor failure:
- Short to voltage: Heat or road debris damages the harness insulation, letting the 12V heater wire short directly to the signal wire
- Internal heater leakage: Breakdown inside the sensor between the heater element and the sensing element bleeds voltage into the signal path
- Corroded connectors: Road salt and moisture create pin bridging or high resistance — both produce erratic voltage readings
Genuine Rich Fuel Mixture
A healthy sensor will correctly report high voltage when the engine runs rich. Common fuel-delivery culprits include:
- Leaking fuel injectors dripping fuel into the combustion chamber
- Stuck-open fuel pressure regulator pushing too much fuel through
- Clogged air filter reducing airflow and creating a rich mixture
- Faulty MAF sensor over-reporting air intake, causing the ECM to inject excess fuel
How to Diagnose Toyota P0138 Step by Step
Don’t guess. Follow this sequence.
Step 1: Scan and Check Freeze Frame Data
Connect an OBD-II scanner and pull all stored codes. Companion codes matter. P0172 (System Too Rich) or P2195 (A/F Sensor Stuck Lean) alongside P0138 changes your diagnostic direction immediately.
Then check Freeze Frame Data for Short-Term Fuel Trim (STFT):
- STFT at -20% or lower → engine is genuinely running rich. Look at fuel injectors, fuel pressure, and MAF sensor
- STFT within ±5% → fuel mixture looks normal. The fault is likely electrical
Step 2: Monitor Live Sensor Data
Warm the engine to full operating temperature. Watch Sensor 2 voltage in real time.
- Normal: Voltage sits steady between 0.6V and 0.8V at idle
- Abnormal: Voltage pegged at 1.25V+ that doesn’t budge with throttle changes — that’s a hard electrical short, not a sensor responding to exhaust
Step 3: Run an Active Test
Using Toyota Techstream, command fuel injection changes:
- Increase injection by 25% (rich command): Sensor 2 voltage should climb toward 0.9V
- Decrease injection by 25% (lean command): Sensor 2 voltage should drop below 0.4V within seconds
If the sensor won’t drop below 0.5V during the lean command, the sensor or circuit is defective.
Step 4: Electrical Pinpoint Testing
If the sensor fails the active test, grab a multimeter before ordering parts:
- Visual check first: Look for melted wires near the exhaust manifold and corrosion at the connector
- Heater voltage: Confirm 12V supply at the heater circuit
- Signal ground: Verify the ground wire reads near 0V
- Sensor impedance: A reading above 300 ohms at operating temperature means the ceramic element is failing internally
What Happens If You Ignore Toyota P0138
Leaving P0138 unresolved costs you more than the repair.
Catalytic converter damage is the biggest risk. If a rich condition sends unburned fuel into the converter, those precious metal surfaces trigger an exothermic reaction. Temperatures can exceed 1,200°F, melting the ceramic honeycomb substrate inside. Replacing a catalytic converter runs $500–$2,000 per bank — far more than fixing the original fault.
Fuel economy drops by 10–15% when the ECM runs in open-loop fail-safe mode and defaults to richer fuel maps.
Engine oil dilution happens when excess unburned fuel washes down cylinder walls, thinning your oil and accelerating wear on rings and bearings.
Emissions test failure is guaranteed with an active P0138 code. The increased carbon monoxide output also means you’re contributing to local air pollution while paying more at the pump.
Repair Costs and the Right Parts to Use
Toyota’s factory oxygen sensors come from Denso. That matters more than it sounds.
Generic aftermarket sensors often have resistance values slightly outside Toyota’s narrow acceptance window. The result? Ghost codes, heater circuit faults, or a brand-new P0138 right after the repair. Avoid universal sensors requiring wire splicing entirely — the added resistance change alone can retrigger the code.
Best choices:
- First pick: Denso direct-fit sensors
- Second pick: NTK or Bosch direct-fit
- Avoid: Universal sensors with splice connectors
Here’s what typical repairs cost:
| Model | Component | Parts Cost | Labor | Total |
|---|---|---|---|---|
| Corolla (2ZR-FE) | Downstream O2 sensor | $110–$150 | $80–$120 | $190–$270 |
| RAV4 (2AR-FE) | Downstream O2 sensor | $120–$180 | $90–$130 | $210–$310 |
| Camry V6 (2GR-FE) | Bank 1 Sensor 2 (firewall side) | $130–$190 | $150–$250 | $280–$440 |
| Any model | ECM reprogramming | — | $100–$200 | $100–$200 |
The Camry V6 costs more because Bank 1 is buried near the firewall — labor is the price of access.
One More Thing About Sensor 2 You Should Know
Here’s a detail that surprises most people: on newer Toyota platforms, Sensor 2 isn’t just passively monitoring emissions. It actively feeds long-term fuel trim adjustments. A biased downstream sensor can quietly drag your entire fuel map rich or lean without the upstream sensors showing any obvious problem. That’s why fixing a P0138 sometimes noticeably improves throttle response and smoothness — even though you’d never expect a downstream “monitoring” sensor to affect how the engine feels. Now you know why it does.












