P0138 Subaru: Diagnose the Rear Oxygen Sensor Circuit and Fix the Fault
19 min read · by Nicole Bennett · Last updated: November 25, 2026
p0138 subaru means the engine computer has detected an abnormally high voltage signal from the downstream oxygen sensor on Bank 1, Sensor 2. This diagnostic trouble code points to the rear oxygen sensor circuit, which helps the engine control module (ECM) monitor exhaust oxygen levels and catalytic converter performance. A failing sensor is one possible cause, but damaged wiring, moisture in an electrical connector, poor connections, or an exhaust problem can produce the same code.
A Subaru with this code may have an illuminated check engine light, reduced fuel economy, or increased emissions. Some vehicles show no noticeable driving symptoms. The fault does not automatically mean the catalytic converter needs replacement, and installing a new oxygen sensor without testing the circuit can waste money.
The most reliable approach is to scan the vehicle, review freeze-frame information, inspect the rear sensor wiring and connector, and compare live sensor readings with Subaru’s model-specific diagnostic specifications. The exact test procedure can differ between an older Impreza, a Forester, an Outback, and a newer Crosstrek.
What P0138 Means on a Subaru
P0138 is a generic SAE powertrain diagnostic trouble code meaning Oxygen Sensor Circuit High Voltage (Bank 1 Sensor 2). On a Subaru, it identifies an electrical signal problem involving the downstream oxygen sensor. The ECM determines that the voltage is higher than the expected range under the operating conditions used for its diagnostic test.
Understanding the code’s structure helps identify the affected system. The first character, P, indicates a powertrain fault. The second character, 0, identifies a generic standardized code rather than a manufacturer-specific definition. The remaining characters identify the particular fault category and component.
Understanding Bank 1 Sensor 2
Bank 1 is the side of the engine containing cylinder number 1. Sensor 2 is the downstream oxygen sensor, positioned after the catalytic converter in the exhaust stream. It is different from Sensor 1, which is located upstream of the catalytic converter and is primarily involved in monitoring and adjusting the air-fuel mixture.
The downstream sensor provides information about the exhaust gases after they pass through the catalytic converter. The ECM uses this information to evaluate catalyst operation and monitor the oxygen sensor circuit. An abnormal electrical signal can prevent the computer from making an accurate assessment.
On Subaru vehicles with horizontally opposed engines, the exact bank and sensor identification should still be confirmed using the vehicle’s service information. Do not assume that the left or right side automatically corresponds to Bank 1 based on where you stand in front of the vehicle.
Why High Voltage Matters
A conventional narrowband oxygen sensor typically operates within an approximate range of 0.1 to 0.9 volts. A high reading near the upper end can indicate an oxygen-poor, rich exhaust condition, but P0138 is specifically a circuit-high fault. It should not automatically be interpreted as proof that the engine is running rich.
The computer evaluates sensor voltage alongside engine temperature, airflow, fuel-control status, and other operating conditions. Subaru’s older Impreza service documentation describes this type of conditional diagnosis. A signal that remains abnormally high when the ECM expects a different response can trigger the code.
| Code or Parameter | Meaning | Diagnostic Significance |
|---|---|---|
| P0138 | O2 Sensor Circuit High Voltage, Bank 1 Sensor 2 | Investigate the downstream oxygen sensor circuit. |
| P0137 | O2 Sensor Circuit Low Voltage, Bank 1 Sensor 2 | Indicates an abnormally low downstream sensor signal. |
| P0140 | O2 Sensor Circuit No Activity Detected, Bank 1 Sensor 2 | Indicates a lack of expected sensor activity. |
| P0141 | O2 Sensor Heater Circuit, Bank 1 Sensor 2 | Points to the downstream sensor heating circuit. |
| 0.1-0.9 V | Approximate narrowband upstream oxygen sensor operating range | Useful general reference, not a universal Subaru rear-sensor specification. |
P0138 is not a direct catalytic converter efficiency code. A separate catalyst-related code may appear if the ECM detects another problem, but replacing the catalytic converter based on P0138 alone is not justified. Owners of other makes can check the matching guide: P0138 Nissan Code.
Common Causes and Warning Signs
A Subaru can store P0138 because the downstream oxygen sensor is producing an incorrect signal or because its electrical circuit is damaged. The most useful first checks are the rear sensor, its wiring, and the connector. These components are exposed to exhaust heat, road debris, moisture, and vibration.

1. A Faulty Rear Oxygen Sensor
The downstream oxygen sensor can deteriorate internally after prolonged exposure to exhaust heat and contamination. Its sensing element may become slow, unstable, or electrically defective. An internal short can also cause an abnormal voltage signal.
Subaru has published service bulletin 09-115-24R addressing oxygen sensor design changes associated with P0137, P0138, P0140, and P0141. The bulletin covers specified model-year ranges of the Legacy, Outback, Impreza, Crosstrek, Forester, and BRZ. It describes an improved sensor coating intended to help prevent internal cracking that could contribute to short or open circuits.
This bulletin does not mean every Subaru with P0138 needs a replacement sensor. The vehicle must fall within the applicable coverage and production information, and the actual fault still needs to be confirmed. Check the Subaru oxygen sensor service bulletin available through NHTSA for the covered models and identification instructions.
2. Damaged Oxygen Sensor Wiring
The wiring harness between the rear oxygen sensor and ECM can develop an open circuit, short circuit, damaged insulation, or poor electrical connection. Exhaust heat can harden insulation, while road debris and vibration can damage wiring near the exhaust system.
A wire that contacts another conductor or a damaged section of insulation may create an abnormal voltage reading. A previous exhaust repair or sensor replacement can also leave the harness incorrectly routed or stretched. Look for melted insulation, exposed copper, corrosion, and signs of previous repairs.
3. Moisture or Corrosion in the Connector
Water entering the rear oxygen sensor connector can interfere with electrical contact. Corrosion, dirt, loose terminals, or a damaged connector lock can create an intermittent circuit problem. Subaru specifically includes a water-intrusion inspection in its Crosstrek P0138 diagnostic procedure.
This is an important check because the sensor itself may still function correctly. Replacing a good sensor will not solve a connector problem that remains in the wiring harness.
4. Exhaust System Damage
Loose exhaust connections, damaged pipes, cracks, and incorrect sensor installation can affect oxygen readings. Exhaust leaks can allow outside air to enter the exhaust stream and change the oxygen concentration reaching the downstream sensor.
Subaru’s Crosstrek diagnostic instructions specifically call for checking exhaust components for loose fittings, cracks, holes, and improper installation between the front and rear oxygen sensors. This inspection should be included before condemning the sensor or ECM.
5. ECM or Connector Problems
The engine control module receives and evaluates the rear oxygen sensor signal. A poor ECM connector connection or an internal control-module fault can interfere with the reading. However, ECM failure is generally a later possibility after sensor, wiring, connector, and exhaust checks have been completed.
Replacing an ECM without following the factory diagnostic sequence can introduce unnecessary expense and may require additional programming or immobilizer-related procedures. A qualified technician should confirm the circuit condition before considering module replacement.
Common Symptoms
The symptoms depend on whether the fault is limited to the downstream sensor circuit or is accompanied by another engine problem. Many vehicles remain driveable because the front air-fuel ratio sensor continues to provide primary mixture-control information.
- Illuminated check engine light.
- Reduced fuel economy in some operating conditions.
- Increased exhaust emissions.
- An emissions inspection failure where the fault prevents the vehicle from meeting inspection requirements.
- An intermittent warning light caused by a loose connector or damaged wiring.
- Additional oxygen sensor or catalyst-related diagnostic codes.
- Occasional rough running or poor performance when another engine fault is present at the same time.
A severe loss of power, engine stalling, or rough operation should not automatically be blamed on P0138. These symptoms warrant checking for additional codes and mechanical problems. For the same trouble code on a different platform, read P0138 gmc.
How to Diagnose P0138 With an OBD2 Scanner
A proper diagnosis starts with a complete scan and continues with live-data evaluation and electrical testing. A basic code reader can identify P0138, but a scanner that displays freeze-frame information and oxygen sensor data provides a much clearer picture of the failure.

Step 1: Read All Diagnostic Trouble Codes
Connect an OBD2 scanner to the 16-pin diagnostic connector, usually located underneath the dashboard on the driver’s side near the steering column. Turn the ignition on and retrieve stored, pending, and permanent trouble codes.
Do not clear the codes immediately. Record every code and note whether the check engine light is on. Additional codes can help identify whether P0138 is part of a wider oxygen sensor, heater, exhaust, or electrical problem.
For example, P0137 and P0140 can indicate additional downstream sensor signal problems, while P0141 points toward the rear oxygen sensor heater circuit. A combination of codes may indicate a shared wiring or connector problem rather than several unrelated failed components.
Step 2: Review Freeze-Frame Data
Freeze-frame data records important engine operating conditions when a fault is detected. It helps establish whether the problem appeared during a cold start, warm idle, acceleration, or steady-speed driving.
Record these parameters when available:
- Engine coolant temperature.
- Engine speed in rpm.
- Vehicle speed.
- Calculated engine load.
- Short-term fuel trim.
- Long-term fuel trim.
- Upstream and downstream oxygen sensor voltage, if supported.
If the fault occurred with a fully warmed engine, it may be easier to reproduce during a controlled diagnostic test. If it appeared shortly after starting the vehicle, inspect the heater circuit and electrical connections as well.
Step 3: Monitor Rear Oxygen Sensor Live Data
Select the downstream oxygen sensor parameter in the scanner’s live-data menu. Depending on the Subaru model and scan tool, it may appear as Rear O2 Sensor Voltage, O2 Sensor Bank 1 Sensor 2, or a similar description.
Watch the signal after the engine reaches operating temperature. A reading that remains unusually high or fails to respond under the conditions specified by Subaru needs further investigation. Do not diagnose a failed sensor from one voltage snapshot.
For a useful Subaru-specific example, the Crosstrek service procedure instructs technicians to warm the engine coolant above 75°C (167°F), rapidly reduce engine speed from 3,000 rpm, and monitor rear oxygen sensor voltage. The specified check asks whether the reading reaches 0.250 V or less.
That 0.250 V threshold belongs to the particular Subaru diagnostic procedure. It should not be treated as a universal specification for every Impreza, Legacy, Outback, Forester, or BRZ. Always verify the correct test conditions for the vehicle being diagnosed.
Step 4: Compare Upstream and Downstream Signals
The upstream and downstream sensors have different functions. A conventional narrowband upstream oxygen sensor commonly switches between approximately 0.1 and 0.9 volts as the ECM adjusts the air-fuel mixture. The downstream sensor generally has a more stable signal when the catalytic converter is functioning correctly.
A downstream signal that remains near the upper voltage range may indicate a rich exhaust condition or an electrical problem. Compare the two sensor readings under the same operating conditions and look for an implausible or unchanging downstream signal.
Some newer Subaru models use different sensor technologies and scan-data descriptions. Do not apply narrowband voltage expectations to a sensor that uses a different signal strategy. Use the factory service specifications for the exact engine and emissions system.
Step 5: Check Fuel Trims
Short-term fuel trim (STFT) and long-term fuel trim (LTFT) show how the ECM is correcting the air-fuel mixture. Although P0138 concerns the downstream sensor circuit, fuel trim readings can help identify a separate mixture problem that may affect exhaust readings.
As a general diagnostic reference, combined fuel trims beyond approximately plus or minus 10 percent deserve attention. Readings approaching or exceeding plus or minus 25 percent can be associated with lean or rich fault conditions, depending on the direction and operating circumstances.
- Positive fuel trims indicate that the ECM is adding fuel to compensate for a lean condition.
- Negative fuel trims indicate that the ECM is subtracting fuel to compensate for a rich condition.
- Consistently high negative trims may support an investigation into excessive fuel delivery or an overly rich mixture.
- Normal fuel trims do not rule out an electrical fault in the rear oxygen sensor circuit.
If the scanner shows P0171 or P0174, investigate lean conditions. P0172 and P0175 indicate rich conditions. These codes provide additional diagnostic information but do not change the basic definition of P0138.
Step 6: Inspect the Sensor Connector and Wiring
With the ignition switched off, inspect the accessible rear oxygen sensor wiring and connector. Look for damaged insulation, melted sections, corrosion, moisture, loose terminals, and evidence of exhaust contact.
A qualified technician can perform continuity and voltage checks using the correct wiring diagram. Subaru’s Crosstrek procedure specifies a resistance check between the ECM and rear oxygen sensor connector, with a passing result below 1 ohm for the identified circuit connections.
The same procedure checks the voltage at connector terminal 3 against chassis ground and specifies a range of 0.2 to 0.5 volts. These terminal numbers and voltage specifications are model-specific. They must not be transferred to another Subaru without checking its wiring diagram.
Tip: Save the original trouble codes and freeze-frame data before disconnecting components or clearing the ECM memory. Subaru diagnostic procedures may require specific engine temperatures, connector tests, and operating conditions. Exhaust components can remain extremely hot after shutdown, so allow them to cool before any inspection. Electrical testing around the ECM and oxygen sensor should follow the factory safety instructions.
Step 7: Check Mode $06 When Supported
Mode $06 provides onboard monitor test results that can help technicians evaluate whether certain emissions-related diagnostic tests are passing or failing. Depending on the vehicle and scan tool, the results may include oxygen sensor or catalyst monitor information.
Look for the relevant monitor identifier, measured value, and minimum or maximum test limit. Do not assume that every scanner labels Subaru Mode $06 information in the same way. Some tools display raw hexadecimal identifiers, while enhanced Subaru diagnostic equipment provides more descriptive information.
Mode $06 results should support, not replace, the circuit diagnosis. A failed monitor may confirm an abnormality, but it does not independently prove that the oxygen sensor itself is defective.
How to Fix P0138 on a Subaru
The correct repair depends on what the diagnostic tests reveal. Replacing the rear oxygen sensor is appropriate when the sensor fails the specified tests and the wiring, connectors, and related components are functioning correctly. Other faults require repairs elsewhere in the circuit.
Replace a Confirmed Faulty Rear Oxygen Sensor
If the downstream sensor fails the correct Subaru inspection procedure, replacement may resolve P0138. The replacement must match the vehicle’s engine, emissions configuration, and applicable production specifications.
Subaru’s service bulletin 09-115-24R identifies a revised oxygen sensor design for specified vehicles. It also explains how technicians can identify the sensor using the engraved Denso number. Subaru recommends checking the latest applicable part information using the VIN rather than selecting a sensor based only on the model name.
Incorrect sensor selection can cause compatibility problems or introduce another fault. A replacement should use the correct connector and electrical specifications. Avoid universal sensors or wiring modifications unless the manufacturer explicitly approves the application and installation method.
Repair Damaged Wiring
If testing identifies damaged wiring, the affected section should be repaired using the correct automotive electrical repair procedures. The repaired harness must maintain suitable insulation, electrical continuity, and protection from exhaust heat and moving components.
A harness that has melted against an exhaust pipe may require more than a simple splice. The technician should inspect nearby sections for heat damage and confirm that the wiring is routed and secured correctly after repair.
Clean or Replace a Damaged Connector
If moisture is found inside the connector, the source of water intrusion should be identified. The connector must be inspected for corrosion, terminal damage, and poor contact. Cleaning may be sufficient in some cases, but corroded or damaged terminals may need replacement.
The connector should be properly secured after servicing. A loose connection can create an intermittent fault that returns during vibration, temperature changes, or wet driving conditions.
Repair Exhaust Leaks and Installation Problems
An exhaust leak, damaged pipe, loose connection, or incorrectly installed oxygen sensor should be corrected before replacing additional electrical components. Exhaust repairs must maintain the correct sealing, sensor position, and installation requirements.
A qualified technician should inspect the exhaust system around the sensor locations and catalytic converter. This is particularly important when the vehicle has recently received exhaust work or an oxygen sensor replacement.
Consider ECM Diagnosis Only After Other Checks
If the sensor, connector, wiring, and exhaust system all pass their specified inspections, the ECM may need further evaluation. The diagnostic procedure should confirm that the relevant signal reaches the module correctly and that the module responds as expected.
ECM replacement should be a last step, not the first repair. Depending on the Subaru model, a replacement module may require programming, configuration, or additional procedures before the engine can operate correctly.
Clear the Code and Verify the Repair
After the underlying fault is corrected, the technician can clear the diagnostic memory using the appropriate scan tool procedure. Subaru’s service information also instructs technicians to perform Clear Memory Mode and Inspection Mode after servicing or replacing faulty components.
A successful repair requires more than turning off the check engine light. The vehicle should be tested under the conditions needed for the relevant oxygen sensor monitor to run. Recheck stored, pending, and permanent codes and confirm that the rear oxygen sensor signal behaves as expected.
Permanent diagnostic trouble codes may remain visible even after the stored fault is cleared. They are designed to disappear after the vehicle’s onboard system confirms that the underlying problem has been repaired and the required monitor passes. Other faults on the same vehicle are covered in P0107 Subaru.
Is P0138 Serious? Driving Safety and Repair Costs
P0138 is generally a moderate emissions-related fault when the vehicle continues to run normally and the check engine light remains steady. However, it should not be ignored because a persistent oxygen sensor circuit problem can interfere with emissions monitoring and may hide another developing engine or exhaust issue.
Can You Drive With P0138?
A Subaru with a steady check engine light and no unusual driving symptoms can often be driven a short distance to a repair facility. Avoid unnecessary long trips until the cause is identified, especially if the vehicle has other warning lights or abnormal engine behavior.
The downstream oxygen sensor is not normally the primary sensor used for continuous fuel mixture correction, so an isolated P0138 may not produce an immediate loss of engine performance. Nevertheless, a faulty circuit can affect emissions monitoring and may be accompanied by other problems.
Stop driving and arrange professional assistance if the engine runs severely rough, overheats, loses substantial power, or produces a strong fuel smell. A flashing check engine light is particularly important. It indicates an active misfire that can damage the catalytic converter. Reduce engine load and have the vehicle checked promptly.
Will P0138 Cause an Emissions Test Failure?
It can. An illuminated malfunction indicator light or an emissions-related fault may prevent a vehicle from passing an OBD-based inspection. The exact requirements depend on the state and its inspection program.
Clearing the code immediately before an emissions inspection is not a reliable solution. Clearing diagnostic memory can reset readiness monitors, leaving the vehicle temporarily unready for inspection. The appropriate monitors must complete their self-tests before the vehicle can be considered ready under the applicable inspection rules.
What Affects P0138 Repair Costs?
Repair expenses depend on the actual failed component, vehicle configuration, labor requirements, and diagnostic time. A sensor replacement is generally more straightforward than diagnosing an intermittent wiring fault or an ECM problem.
Several factors influence the final repair estimate:
- Sensor type: The correct downstream oxygen sensor must match the Subaru’s engine and emissions configuration.
- Labor time: Sensor accessibility, exhaust temperature, corrosion, and installation difficulty affect the time required.
- Wiring condition: Damaged harness sections, connector terminals, and electrical testing can increase labor requirements.
- Exhaust repairs: Leaking joints, damaged pipes, or installation problems may require additional work.
- Diagnostic equipment: Advanced scan tools and electrical testing may be needed to identify an intermittent circuit fault.
- Dealer or independent shop: Labor rates, diagnostic procedures, and parts sourcing differ between repair facilities.
- DIY versus professional repair: A mechanically experienced owner may handle some straightforward work, while electrical diagnosis and difficult exhaust repairs may require professional equipment.
Before approving a repair, request an explanation of the diagnostic findings. A useful estimate should identify whether the sensor failed testing, whether the wiring was checked, and whether Subaru’s applicable service bulletin or updated sensor information was considered. It is also worth reading P0118 Subaru for the same vehicle.
Frequently Asked Questions
Does Subaru have a service bulletin specifically mentioning P0138?
Yes. Subaru service bulletin 09-115-24R addresses oxygen sensor design changes associated with P0137, P0138, P0140, and P0141. It includes specified Legacy, Outback, Impreza, Crosstrek, Forester, and BRZ model-year applications. Vehicle eligibility must be confirmed using the VIN and production information.
Can P0138 appear without a noticeable driving problem?
Yes. The ECM can detect an abnormal downstream oxygen sensor signal even when the engine starts, idles, and accelerates normally. The absence of symptoms does not mean the emissions system is operating correctly.
How many driving cycles can it take for Subaru to detect P0138?
The referenced Crosstrek diagnostic procedure identifies detection after faults occur during two consecutive driving cycles. The exact monitor strategy and conditions depend on the model and engine management system.
Does replacing the oxygen sensor automatically remove a permanent P0138 code?
No. A permanent DTC is designed to remain until the onboard diagnostic system verifies the repair and the relevant monitor passes. Disconnecting the battery or clearing ordinary stored codes does not guarantee immediate removal of a permanent code.
Can a Subaru pass an emissions inspection with the check engine light off but readiness monitors incomplete?
Not necessarily. Inspection programs may reject or postpone testing when too many readiness monitors are incomplete. The allowable number of incomplete monitors depends on the vehicle and state inspection requirements.
P0138 on a Subaru identifies a high-voltage fault involving the downstream oxygen sensor circuit, not automatic proof of a failed sensor or catalytic converter. Start with a complete OBD2 scan, check the rear sensor signal, inspect the connector and wiring, and follow the correct Subaru diagnostic procedure before replacing parts. A confirmed repair should be followed by the required monitor checks to make sure the fault does not return.
-
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
LearnP0171 Subaru Outback: Diagnose Lean Codes With Fuel Trim Data
LearnP0175 Subaru: Diagnose a Rich Bank 2 Condition and Find the Cause
LearnP0135 Subaru: Diagnose the Oxygen Sensor Heater Fault
LearnP0106 Subaru: Diagnose MAP Sensor Problems and Restore Engine Performance
LearnP0101 Subaru: Diagnose Airflow Problems Before Replacing Parts
LearnC0246 Code: Diagnose ABS Solenoid Faults Safely