P0158 Toyota Code: Bank 2 Sensor 2 O2 Sensor High Voltage
6 min read · by Nicole Bennett · Last updated: November 25, 2026
A p0158 toyota code is a fault on the downstream oxygen sensor for bank 2, sensor 2. The engine computer reads a signal voltage higher than the sensor can physically produce, and the check engine light comes on.
Most cases come from a failed sensor, but a shorted wire or a truly rich mixture can also set the code. Work through the checks below before you buy a part.
What the p0158 toyota code means
P0158 is the standard OBD-II title “O2 Sensor Circuit High Voltage (Bank 2 Sensor 2),” and the source treats it as a generic code. Carwhere’s P0158 page describes sensor 2 as the downstream sensor after the catalytic converter on bank 2.
Bank 2 is the cylinder bank that does not contain cylinder 1. The sensor watches how well the converter cleans the exhaust, so a high reading tells the computer the signal path or the sensor itself is faulty. Troublecodes.net says the ECM sets the code when the voltage is outside what the sensor can physically send.

Common causes, most likely first
A failed bank 2 sensor 2 oxygen sensor is the most likely cause. The list below is ranked by how often the source names each cause.
- A failed bank 2 sensor 2 oxygen sensor
- A signal wire shorted to a voltage source
- A truly rich condition on bank 2
- Oil or fuel contamination on the sensor tip
- Corrosion in the sensor connector
The sensor sits in hot exhaust all the time. Troublecodes.net says these sensors often last less than 5 years, so age alone can explain the fault on an older car. Compare the causes listed here with P0158 Chevy to rule out make-specific issues.
Symptoms and how urgent the fix is
Carwhere rates this code low severity, so a light with normal driving is not an emergency. Most drivers notice only the check engine light, and drivability is usually normal.
Fuel economy can drop
If the bank 2 mixture runs rich, the computer adds more fuel than it should. Poor fuel economy can be the first sign you notice, especially on short trips.
A real rich condition harms the converter
A genuinely rich bank 2 can stress the catalytic converter over time. Do not let a rich condition run for months while you wait for parts.
A raw fuel smell, rough running or a flashing light points to a bigger problem than this sensor. Check those first.
How to diagnose the p0158 toyota code
Start with a scan, then test the wiring before the sensor. The order below follows the diagnostic steps in the sources.
- Scan for codes and note any rich or misfire codes first.
- Inspect the downstream sensor wiring for heat damage, chafing and fused wires.
- Listen for exhaust leaks, especially between the converter and the sensor.
- With the ECM and sensor unplugged, expect under 1 ohm end to end on each wire and over 10 kilohm between the lines and to ground.
- Compare live data. If the downstream sensor stays stuck high while the upstream sensor responds, the sensor is likely faulty.
Also measure the sensor heater resistance from the heater positive pin to each signal side. The source expects over 10 kilohm, and a reading far below that points to a bad sensor.
Toyota service information lists the exact pin layout and voltage thresholds for your model year. The source also says thresholds vary by vehicle, so check the factory repair manual before you condemn the wiring. The same code can behave differently on other vehicles, so it helps to compare it with P0158 Ford.
Bank 1 and bank 2 codes are not the same
Carwhere contrasts P0158 with P0138, the same sensor position on bank 1, which is the side with cylinder 1. A bank 1 code will not show up on bank 2 readings, so confirm the bank number before you test anything.
Mixing up the banks is a common mistake. Read the bank number on the code, then find cylinder 1 on your engine before you clip a meter to the wrong sensor. P0106 Toyota covers another issue owners of this vehicle run into.

When a new sensor will not fix the code
A new sensor clears this code only when the circuit tests are clean and the rich condition is gone. The code names a failed circuit or condition, not a specific part.
- A leaking injector on bank 2 keeps the mixture rich.
- A fuel pressure problem adds extra fuel to the cylinders.
- A shorted signal wire sets the code again within days.
This article covers the sensor code only. A P0158 that comes with misfire codes needs a fuller diagnosis before the sensor is replaced.
Sensor fault or wiring fault: how to tell
The fastest split is the live data test. If the downstream sensor reads high or low and does not move, while the upstream sensor reacts to changes in the mixture, the sensor itself is the likely fault.
A wiring fault looks different. A signal wire shorted to voltage, or a connector with corroded pins, can hold the reading high no matter how the sensor responds. The continuity check in the steps above separates the two cases, because a shorted circuit shows a reading well away from the expected values.
What a good result looks like
A healthy circuit gives under 1 ohm end to end on each wire and over 10 kilohm to ground. The heater check should also read over 10 kilohm. If the circuit passes and the live data still looks stuck, the sensor is the next part to replace.
What a bad result looks like
A wire with a short to voltage, or any heat-damaged section near the exhaust, points to a harness repair first. Replacing the p0158 toyota sensor in that case only moves the fault to the new part.
Give the repair shop the freeze frame data, the bank 2 fuel trim readings and the results of your continuity test. Those three items let a technician skip the guesswork and move straight to the failed part. If a second code shows up during the scan, P0156 Toyota could be the next stop.
Frequently Asked Questions
Is the p0158 toyota code safe to drive with?
Carwhere rates the code low severity, so most cars drive normally with it. Get it checked soon, because a long rich condition can stress the catalytic converter over time.
Can a bad O2 sensor cause this code by itself?
Yes. A failed bank 2 sensor 2 is the most likely cause. A shorted signal wire can set the same code, and a new sensor will not fix that.
How do I find bank 2 on my engine?
Bank 2 is the cylinder bank without cylinder 1. Find cylinder 1 in the factory service information for your engine, and the opposite bank is bank 2. The layout depends on the engine design.
Why does the light come back after a sensor swap?
The sensor was often not the cause. A rich mixture or a shorted wire will set the code again. After the repair, compare live data to confirm the downstream reading tracks the upstream sensor.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0158 Code: Meaning, Causes and Fixes for 2026
LearnP0138 Toyota Code: What It Means and How to Check It
LearnP0113 Toyota: What the Intake Air Temperature Code Means
LearnP0102 Toyota: What the Code Means and How to Check It
LearnP0172 Toyota Tundra: Diagnose Rich Fuel Mixture Problems
LearnP1729 Code: Identify the Fault and Find the Right Repair