P0138 Code — 02 Sensor Circuit High Voltage (Bank I Sensor 2)

P0138: 02 Sensor Circuit High Voltage (Bank I Sensor 2). This is a Powertrain trouble code — a generic OBD-II code that means the same thing on every make and model. Severity is generally Medium.

Medium priority

Have the vehicle scanned and the root cause confirmed before extended driving. Severity depends on the specific fault and symptoms.

What the P0138 code means

CodeP0138
Definition02 Sensor Circuit High Voltage (Bank I Sensor 2)
SystemPowertrain — engine, transmission and associated drivetrain systems
Code typeGeneric (SAE J2012 standard)
SubsystemFuel and air metering
Fault referenceFault #38 within the Powertrain group
Typical severityMedium

The letter P tells you the code belongs to the Powertrain family, covering engine, transmission and associated drivetrain systems. The second digit shows this is a standardized SAE code, so the definition above applies to any OBD-II compliant vehicle from 1996 onward. Within powertrain codes, it points to the fuel and air metering area.

Common causes of P0138

P0138 sits in the SAE range covering fuel and air metering (MAF, oxygen and temperature sensors). Components in that range fail in predictable ways, so the usual suspects here are specific rather than generic. Confirm the actual fault with a scan before replacing parts:

  • A dirty or failing mass air flow (MAF) sensor.
  • An aging oxygen (O2) sensor or its heater circuit.
  • An engine coolant temperature (ECT) sensor drifting out of range.
  • A thermostat stuck open, so the engine never reaches regulated temperature.
  • Intake air temperature (IAT) sensor faults.
  • Wiring, connector or ground faults in the sensor circuit.

Symptoms you may notice with P0138

Codes in the fuel and air metering (MAF, oxygen and temperature sensors) range typically show up like this:

  • Poor fuel economy.
  • Hard starts when cold or hot.
  • Rough idle or surging.
  • Rich or lean running (fuel smell or black smoke).

How to fix a P0138 code

  1. Read and record the code with an OBD-II scanner, along with any freeze-frame data.
  2. Inspect the wiring, connectors and components in the Powertrain circuit the code points to.
  3. Repair or replace the confirmed faulty part — avoid swapping parts on a guess.
  4. Clear the code and drive a full cycle, then re-scan to confirm it does not return.

Where to look first: compare live sensor readings against expected values at cold start and at full operating temperature, and confirm the thermostat reaches regulated temperature before replacing sensors.

Recall repairs are free at a dealer, so it is worth checking for an open recall or decoding your VIN before paying for diagnostics — some faults are covered.

Related OBD-II codes

Frequently Asked Questions

What does P0138 mean?

P0138 is a Powertrain diagnostic trouble code that means: 02 Sensor Circuit High Voltage (Bank I Sensor 2). It is Generic (SAE standard) — the same meaning on every OBD-II vehicle.

Is it safe to drive with a P0138 code?

Have the vehicle scanned and the root cause confirmed before extended driving. Severity depends on the specific fault and symptoms.

How do I fix a P0138 code?

Confirm P0138 with an OBD-II scanner, then work the ranked fixes below: start with inspect for exhaust leaks near the o2 sensor (most probable, Easy DIY), verify with a re-scan after each repair. Estimated repair cost ranges from $5 to $106 including labor (editorial estimate, US aftermarket).

Code definition sourced from the open-source OBD-II code dataset (SAE J2012 / ISO 15031 standard). VinSpecs is an independent service and is not affiliated with any vehicle manufacturer.

flex;gap:.6rem;flex-wrap:wrap">

Most likely fixes for P0138, ranked

Ranked by how often the fix resolves the code, based on VinSpecs editorial analysis of US aftermarket repair patterns. Costs are editorial estimates for US aftermarket parts and shop labor (about $110/hour); actual quotes vary by vehicle, region and shop — get a real quote before authorizing work.

1. Inspect for exhaust leaks near the O2 sensor

Probability rank #1 · Difficulty: Easy DIY · Estimated total: $5–$106 (parts $5–$40 + labor 0.6 h)

  1. 1. Inspect the exhaust manifold and pipe joints near the sensor bung for leaks
  2. 2. Listen and smoke-test for exhaust leaks upstream of the sensor
  3. 3. Replace gaskets or tighten fasteners as needed
  4. 4. Clear codes and monitor sensor voltage trace

Parts/tools involved: Exhaust manifold/pipe gasket.

2. Replace oxygen sensor

Probability rank #2 · Difficulty: Moderate DIY · Estimated total: $50–$246 (parts $50–$180 + labor 0.6 h)

  1. 1. Identify the affected bank/sensor position
  2. 2. Remove the sensor with an O2 sensor socket
  3. 3. Apply anti-seize to threads (avoid the tip) and install the new sensor
  4. 4. Clear codes and confirm a normal switching voltage trace

Parts/tools involved: Oxygen sensor (bank/position-specific), Anti-seize compound.

3. Repair O2 sensor signal circuit wiring

Probability rank #3 · Difficulty: Professional Required · Estimated total: $10–$192 (parts $10–$60 + labor 1.2 h)

  1. 1. Back-probe the signal and ground at the connector with the engine running
  2. 2. Voltage-drop test the circuit back to the ECM
  3. 3. Repair chafed or corroded wiring near the exhaust with high-temp splices
  4. 4. Confirm proper switching activity

Parts/tools involved: High-temperature wiring repair kit.

Cost basis: VinSpecs editorial dataset obd-editorial-us-aftermarket-v1 (US aftermarket, generated 2026-11-14). Verify the diagnosis on your specific vehicle before replacing parts. Report a data error.

← All OBD-II codes Decode your VIN →