P0138 Toyota Code: What It Means and How to Check It
9 min read · by Nicole Bennett · Last updated: November 11, 2026
A p0138 toyota code means the downstream oxygen sensor on Bank 1, which sits after the catalytic converter, is reporting a voltage that stays too high. Bank 1 is the side of the engine that holds cylinder 1.
A P0138 Toyota code points to the sensor and its signal wiring, so the harness and connector deserve a check before any parts are bought. Toyota-specific details come below.
What P0138 Means on a Toyota
The p0138 toyota code means the Bank 1 Sensor 2 oxygen sensor, located after the catalytic converter, reads a voltage that stays above its normal range. Sensor 2 is the downstream sensor, so its main job is to show whether the catalytic converter is doing its work. The engine computer watches its signal and stores the code when the reading stays high.
Scan tool references for a P0138 Toyota fault do not agree on one exact limit. One guide says the reading sits consistently above about 0.9 volts when the fault is present. Another describes a fault flagged when the voltage stays above 1.2 volts for 10 seconds or more, and stored after two consecutive failing drive cycles. Either way, the fault is a steady high reading, not a single spike.
The check engine light comes on when the p0138 toyota code is stored. Read the freeze-frame data and every stored code before clearing anything, because the freeze-frame record shows the engine conditions when the fault was set.
Causes Behind P0138 on Toyota Vehicles
A failed downstream sensor is listed as the most common cause of a p0138 toyota fault, and a signal wire shorted to a voltage source is another frequent one. The general causes below come from code-definition references, and they apply to a P0138 Toyota code as they do on most makes. The make-neutral version of this fault is in our P0138 code guide.

- A failed downstream sensor with an internal short that holds its output high
- A signal wire chafed against the frame or harness and shorted to heater supply or battery voltage
- Corroded, damaged or loose connector pins at the sensor or at the engine computer
- Sustained rich running from a leaking or stuck-open fuel injector, or from a faulty air-flow sensor
- An exhaust leak ahead of the sensor, a failing catalytic converter or, rarely, a faulty engine control module
The Toyota 1GR-FE Harness Check
One reference notes that on the 1GR-FE V6 used in some Toyota 4Runner, FJ Cruiser and Tacoma models, the downstream sensor wiring runs near the frame and can chafe if the original heat-shield clips are missing. Inspect the full harness run before ordering a sensor. This is a single-source note, so confirm it against the service manual for your engine.
Harness faults are easy to miss because the damage often sits under a heat shield or along the frame. A sensor swapped without this check can leave the same P0138 Toyota code in place, which is why the next section starts with the wiring.
Is It Safe to Drive with a P0138 Code?
A steady check engine light with a P0138 Toyota code calls for service soon, while a flashing light calls for reduced speed and service as soon as possible. Our flashing check engine light guide explains the difference. The EPA states that the light is intended to inform the driver of the need for service, not of the need to stop the vehicle.
A flashing light is different. According to the U.S. EPA on-board diagnostics fact sheet, a flashing light indicates a fairly serious engine misfire, and a severe misfire over a short period can seriously damage emission control components, especially the catalytic converter.
A third-party severity rating calls P0138 low priority, safe for short-term driving with repair within one to two weeks. That rating is not a Toyota instruction, so do not treat it as permission to ignore symptoms. Stop driving or limit trips when any of these appear:
- A flashing check engine light, which calls for reduced speed and immediate service
- Rough running, hesitation or stalling at idle
- A rotten-egg smell from the exhaust or black exhaust smoke, which can point to a rich condition that should be fixed promptly
How to Check a P0138 Toyota Code Step by Step
Check the wiring and connector before replacing the sensor, and confirm the live signal voltage with the engine warm. Work through the P0138 Toyota checks in order, starting with the cheapest, and use this oxygen sensor multimeter test for the meter steps. A new sensor will not fix a harness short, so the wiring comes first.

- Read all stored codes and freeze-frame data, and note the short-term and long-term fuel trims (see how to read fuel trims). Look for fuel system codes, because a rich condition can drive the downstream reading high.
- With the engine warm, check the Sensor 2 signal voltage with a multimeter or scan tool. Backprobe the signal wire rather than disconnecting the connector.
- Unplug the sensor and measure the harness signal wire to ground. A reading over 1 volt points to a short in the harness, while a reading near 0 volts points toward the sensor.
- Inspect the harness near the exhaust and the frame for melted insulation, pinch marks or fused wires. Check the engine computer connector for corrosion or spread pins.
- Look for exhaust leaks with a smoke test or by listening for hissing, and check the heater supply voltage and resistance.
- Replace the sensor only when the harness and connector pass and the sensor test points to it. Then run a confirmation drive and recheck the live data.
| Possible cause | First check | What the result suggests |
|---|---|---|
| Harness short to voltage | Signal wire to ground with the sensor unplugged | Over 1 volt points to the harness |
| Failed Sensor 2 | Signal reading with the sensor unplugged | Near 0 volts points to the sensor once the harness is clean |
| Connector or computer pin damage | Visual inspection and pin tension | Corrosion, moisture or spread contacts |
| Exhaust leak | Smoke test or listening for hissing | A leak changes the reading the sensor sees |
| Rich running | Long-term fuel trims | Trims consistently below minus 10 percent point to a fuel-side fault to fix first |
Keep the old sensor until the shop finishes its tests, and recheck live data after any repair. If the P0138 Toyota code returns quickly, the fault is still present and needs more diagnosis.
What a P0138 Toyota Repair Costs
A sensor replacement for the p0138 toyota code runs about $150 to $400 in total, based on a third-party article published June 24, 2026, and checked as of 2026-11-12. These are shop-listing estimates, not a Toyota price list, and they vary with model year, region and labor rates.
| Repair | Estimated range (article dated June 24, 2026) |
|---|---|
| O2 sensor replacement | $150 to $400 total, with the sensor at $40 to $150 and labor at $100 to $250 |
| Wiring or connector repair | $75 to $200 if the damage is minor |
| Exhaust leak repair | $100 to $500 or more |
| Catalytic converter replacement | $400 to $2,500 or more |
| Fuel injector service or replacement | $300 to $900 |
A sensor-only replacement skips the harness check, and it may leave the P0138 Toyota code in place. For a general price comparison, see the oxygen sensor repair cost guide. Ask for the wiring line as a separate item on any written estimate, so the shop has to show whether the harness was tested before a sensor was sold.
What Is Not Verified and How to Confirm It
Several Toyota-specific details about the P0138 Toyota code in this guide come from third-party references, and some could not be confirmed on a Toyota-owned or government page. Treat them as leads to check before parts are bought or work is authorized.
- The exact voltage limit and time for P0138 in your model’s service information, since the references differ between about 0.9 and 1.2 volts.
- The harness routing and heat-shield clips on your engine, from the service manual or a dealer using your VIN.
- Whether a Toyota bulletin applies to your vehicle. Search snippets suggest the upstream sensor is often the real culprit on some Corolla models, but that claim was not confirmed on a Toyota or government page.
- The sensor part number and location for your year, engine and trim.
- Labor time and the final price on a written estimate.
Frequently Asked Questions
Is a p0138 toyota code always a bad oxygen sensor?
No. A failed downstream sensor is the most common cause listed, but a short in the signal wire, a damaged connector, rich running and computer faults can set the same code. Test the harness before buying a sensor.
Can I drive with a P0138 code?
A steady light calls for service soon, and a flashing light calls for reduced speed and immediate service. A third-party rating calls short-term driving acceptable with repair within one to two weeks, but that is not a Toyota instruction, so stop driving if you notice rough running or stalling.
Will clearing the code fix it?
No. Clearing the P0138 Toyota code turns off the light and erases the freeze-frame record. If the fault is still present, the code can return, so record the data first and recheck after the repair.
Does a loose gas cap cause a P0138 code?
Not as a listed cause. Fueleconomy.gov notes that a check engine light can come from something as minor as a loose gas cap, but P0138 points to the Bank 1 Sensor 2 circuit, so the gas cap should not be treated as the fix.
Do I need a Toyota-specific sensor?
Use a sensor that matches your year, engine and model. Confirm the part number with a Toyota parts catalog or a dealer using your VIN before ordering, because the sensor location and connector can differ between engines.
Ask the shop for the harness check in writing before any sensor is ordered, so the cause of the P0138 Toyota code is confirmed before money is spent on parts.
-
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
Learnp0172 toyota highlander: Find the Rich-Running Problem and Fix It
LearnP0135 Toyota RAV4: Diagnose the Heater Circuit and Find the Fault
LearnP0135 Toyota Highlander: Diagnose the Heater Circuit and Find the Fault
LearnP0135 Toyota Corolla: Diagnose the Oxygen Sensor Heater Fault
LearnP0133 Toyota Tacoma: Diagnose the Sensor and Avoid Unneeded Repairs
LearnBad Heater Core Symptoms: 6 Signs and What to Check