Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All →
🎬 Helpful Videos 🛍️ Shop This Part

P0139 on 2005-2009 Subaru Legacy 2.5L: Slow O2 Sensor Response Causes and Fixes

On a 2005-2009 Subaru Legacy with the 2.5L engine, code P0139 is almost always caused by a failing rear oxygen sensor. Before replacing it, check for exhaust leaks, a common secondary cause on these cars. A new OEM-quality Denso sensor costs around $75, and replacement is a common DIY job that requires a special 22mm O2 sensor socket and penetrating oil for the often-rusted original sensor.

20 minutes to read 2005-2009 Subaru Legacy
Most Likely Cause
Failing Rear (Downstream) Oxygen Sensor
Difficulty
2/5
Est. Time
1 hrs
DIY Doable?
✅ Yes
Shop Labor
$120 – $400
Parts Price
$70 – $180
Safe to drive — Continued driving is unlikely to cause immediate damage, but it will cause an automatic failure on an emissions test and may lead to slightly reduced fuel economy. Long-term neglect could potentially risk damage to the catalytic converter.
Key Takeaways
  • P0139 almost always points to the rear oxygen sensor (Sensor 2) on your Legacy.
  • Before buying any parts, perform a thorough check for exhaust leaks, a very common issue on Subarus that can trigger this code. A 'ticking' noise on a cold start is a classic symptom.
  • When replacing the sensor, use a high-quality brand like Denso (the OEM supplier, part #234-4445) for the best results and to avoid compatibility issues.
  • This is a DIY-friendly repair for most home mechanics, but the old sensor can be rusted in place, so be prepared with penetrating oil and the correct 22mm O2 sensor socket.
The trouble code P0139 stands for 'O2 Sensor Circuit Slow Response (Bank 1, Sensor 2)'. On your Subaru's 2.5L four-cylinder engine, Bank 1 is the only bank of cylinders. Sensor 2 is the rear (downstream) oxygen sensor, located in the exhaust pipe after the catalytic converter. This code means your vehicle's Engine Control Module (ECM) has determined that this sensor is not reacting to changes in the exhaust gas oxygen levels as quickly as it should. The ECM may trigger the code when the sensor's voltage fails to change quickly enough during specific events, like deceleration fuel cut-off. The primary job of this sensor is to monitor the efficiency of the catalytic converter by comparing its readings to the front (upstream) sensor.

What's Unique About the 2005-2009 Subaru Legacy

For this generation of Subaru Legacy, the P0139 code is a very common and straightforward issue. The boxer engine design, however, is known for developing exhaust leaks at the manifold and flange gaskets, particularly the donut gaskets. These leaks can introduce outside air that slows the sensor's response, mimicking a sensor failure. Owners often report that using an OEM or OEM-supplier (like Denso) oxygen sensor is critical, as these cars can be sensitive to aftermarket sensor brands which may not have the correct response characteristics. A persistent P0139, especially when paired with a P2096, can sometimes point to a failing front A/F sensor, even though the code specifies the rear sensor.

Symptoms You May Notice

  • Check Engine Light is on
  • Failure to pass an emissions test
  • Slightly reduced fuel economy
  • Occasional engine hesitation, though this is rare
  • Cruise control may be disabled (a common Subaru feature when any CEL is active)
⚠️ Don't Waste Money on the Wrong Fix
  • Replacing the front oxygen sensor (Air/Fuel Ratio Sensor) instead of the rear one. The codes are specific, and P0139 points only to the rear (Bank 1, Sensor 2) sensor.
  • Replacing the O2 sensor without first checking for exhaust leaks. An exhaust leak can make a perfectly good sensor appear to be slow.
  • Using a cheap, universal aftermarket O2 sensor. These often lack the precise response characteristics the Subaru ECM expects and can cause the code to return.

Most Likely Causes

  1. Failing Rear (Downstream) Oxygen Sensor 🔴 High Probability Oxygen sensors are wear items that degrade over time from heat and contaminants like carbon and soot. After 100,000+ miles, the internal chemical components lose their ability to react quickly, making failure common.
    How to confirm: Using a scan tool, observe the live data for Bank 1, Sensor 2. A healthy sensor shows a relatively stable, steady voltage (e.g., 0.6-0.8V). A slow sensor will have lazy, infrequent voltage fluctuations, may appear stuck at a certain voltage (like 0.3V), or will not respond quickly when the throttle is blipped.
    Typical fix: Replace the rear oxygen sensor. 🎬 Watch: A complete walkthrough for replacing both Subaru O2 sensors. Soak the old sensor's threads with penetrating oil (like PB Blaster) overnight. A special 22mm (7/8") slotted socket is required 🎬 Watch: How to remove and replace the rear O2 sensor. to remove it without damaging the wire.
    Est. part cost: $70-$150
  2. Exhaust System Leak 🟡 Medium Probability Subaru boxer engines are known for developing leaks at exhaust manifold gaskets and pipe flanges, especially donut gaskets, which can let in outside air and skew sensor readings. The heat shields can make finding these leaks difficult.
    How to confirm: Perform a cold start and listen for a 'ticking' or 'puffing' sound from the engine bay or under the car that may quiet down as the metal heats up and expands. Visually inspect all exhaust gaskets and flanges between the engine and the rear O2 sensor for black soot trails, which indicate a leak. A strong exhaust odor in the cabin can also be a sign.
    Typical fix: Replace the leaking gasket or tighten the flange bolts. This can range from a simple fix to a more involved repair if bolts are rusted and break, which is a common concern for DIYers.
    Est. part cost: $10-$50
  3. Damaged Sensor Wiring or Connector ⚪ Low Probability The wiring runs under the vehicle and is exposed to road debris, moisture, and heat, which can cause corrosion, chafing, or physical damage over time. Wires can also be damaged by contact with the hot exhaust pipe.
    How to confirm: Visually inspect the entire length of the O2 sensor's wiring harness and the connector pins for any signs of melting, chafing, corrosion, or broken wires. Check for water or oil intrusion in the connector itself.
    Typical fix: Repair the damaged section of wire or clean/replace the connector.
    Est. part cost: $5-$30

Rare But Worth Checking

  • Poor ECM/PCM Ground Connection: Some Subaru owners have traced persistent, hard-to-diagnose electrical and sensor codes to a poor main ground connection for the engine computer, often located on the intake manifold. If you've replaced the sensor and fixed all exhaust leaks with no success, cleaning and securing this ground is a worthwhile step.
  • Failing Front Air/Fuel Ratio Sensor: In some cases, particularly when P0139 is paired with P2096, a failing front A/F sensor can cause erratic fuel trims that lead to the rear sensor appearing slow. A user on LegacyGT.com with a 2006 Legacy 2.5i ultimately solved both codes by replacing the front sensor after the rear sensor replacement didn't work.

Diagnosis Steps

  1. Read the codes with an OBD-II scanner to confirm P0139 is the primary code. 🎬 See how to diagnose and fix P0139 on a Subaru. Address any other codes, like for the heater circuit (P0141) or misfires (P030x), first.
  2. With the engine cold, start the car and listen carefully for any ticking or puffing sounds that would indicate an exhaust leak. Check for an exhaust smell in the cabin.
  3. Visually inspect the exhaust system from the engine back to the rear O2 sensor. Look for soot marks around gaskets and flanges, especially the donut gaskets.
  4. Inspect the rear O2 sensor's wiring harness and connector for any signs of melting, corrosion, or physical damage. Ensure the connector is dry and free of contaminants.
  5. Use a scan tool to monitor the live voltage data from 'O2S B1S2' (Bank 1, Sensor 2). The voltage should be relatively stable (typically between 0.5V and 0.8V) on a warm engine at steady RPM. If the voltage is stuck, flatlined, or responds very slowly to changes in engine load (revving the engine), the sensor is likely bad.
  6. If exhaust leaks and wiring issues are ruled out, the most probable cause is the sensor itself. Replace with a quality OEM or Denso part.

Parts You'll Likely Need

  • Rear Oxygen Sensor (Bank 1, Sensor 2) (OEM #22690AA81A) — This is the component that the code directly identifies as responding too slowly. It is a common wear-and-tear item that degrades after 100,000 miles.
    Trusted brands: Denso (OEM supplier), NGK/NTK
    OEM price range: $120-$180
    Aftermarket price range: $70-$110

Related Codes That Often Appear With This One

  • P2096 — P2096 ('Post Catalyst Fuel Trim System Too Lean Bank 1') can sometimes appear with P0139. Both codes relate to the rear O2 sensor's readings. This combination often points strongly to an exhaust leak upstream of the sensor, but can also be caused by a failing front A/F sensor.
  • P0171 — P0171 ('System Too Lean Bank 1') can be triggered by a significant exhaust leak before the front O2 sensor, which would also affect the rear sensor's readings and potentially cause P0139.
  • P0420 — P0420 ('Catalyst System Efficiency Below Threshold') relies on the rear O2 sensor. A lazy or failing sensor can't properly monitor the catalyst, sometimes triggering a P0420, though P0139 is the more direct code for a slow sensor.

Platform-Specific Known Issues

  • Owner Experience: Code Persists After Sensor Replacement: In some forum discussions, owners report replacing the rear O2 sensor only for the P0139 code (sometimes with P2096) to return. This is almost always due to an underlying, unfixed issue. The most common culprits are a small, undetected exhaust leak or the use of a low-quality aftermarket sensor. In rarer cases, the front A/F sensor was the actual root cause.

Mechanic-Grade Diagnostic Values

  • Rear O2 Sensor (B1S2) Live Data Voltage at Idle (Warm Engine) — expected: Relatively stable voltage between 0.6V and 0.8V.. Failure: Voltage is stuck low (below 0.2V), choppy, flatlined, or responds very slowly (over 100ms) to throttle input.
  • Rear O2 Sensor Heater Circuit Resistance — expected: 5-8 Ohms between the two heater circuit pins on the sensor connector.. Failure: A reading over 50 Ohms, or an open/infinite resistance (OL), indicates a failed internal heater element.
  • O2 Sensor Response Time — expected: A healthy sensor should respond to changes in less than 100 milliseconds.. Failure: The ECM flags P0139 when the response time exceeds the expected threshold.
  • Circuit Resistance from Sensor Connector to PCM — expected: Less than 5 Ohms.. Failure: Values above 5 Ω suggest corrosion, a damaged wire, or a poor connection that can add enough resistance to delay the signal.

Hidden / Shadow Codes Worth Checking

  • Mode $06, Test ID $41: This onboard diagnostic test specifically monitors the O2 Sensor Circuit for Bank 1, Sensor 2. The ECM checks the sensor's minimum and maximum output voltage against preset thresholds. (see via An advanced OBD-II scan tool that can access Mode $06 diagnostic data. A failure in this monitor can confirm a slow response issue, sometimes before it becomes a persistent CEL.)

Scan Tool Commands That Help

  • Subaru Select Monitor (SSM) or equivalent: Current Data Display / Live Data Graphing — This is the primary function for diagnosing P0139. Graphing the 'Rear O2 Rich Signal' or 'O2S B1S2' voltage allows a technician to visually confirm if the sensor's signal is flat, stuck, or responding too slowly to throttle changes.
  • Subaru Select Monitor (SSM): O2 Heater Diagnosis Check — While P0139 is a slow response code, not a heater code (like P0141), the SSM has a specific function to test the heater circuit. A faulty heater can prevent the sensor from reaching operating temperature quickly, contributing to slow response on startup.

Wiring & Ground Locations

  • Rear O2 Sensor Connector — The wiring for the rear O2 sensor runs up through the floor pan. The connector itself is located inside the cabin, under the passenger side carpet near the center console area.. Technicians should check this connector for corrosion or damage, as it's a key failure point. Its location inside the cabin protects it from the elements, but it can be disturbed during interior work or subject to water intrusion if seals are bad.
  • Main ECU/Engine Ground — A critical ground point for the ECU and its sensors is located on the back side of the driver's side intake manifold.. Multiple forum posts for this and similar Subaru models report that a corroded or loose connection at this specific ground point can cause intermittent and hard-to-diagnose sensor codes, including P0139. Cleaning this ground has resolved the code for some owners after sensor replacement failed.
  • Engine Bay Grounds — There are several key braided ground straps in the engine bay: one from each cylinder head to the corresponding frame rail, and one from the transmission to the firewall near the pitch stop mount.. A poor ground connection anywhere in the system can create a difference in electrical potential, affecting the low-voltage signal from the O2 sensor. Ensuring these main grounds are clean and tight is a crucial step in resolving persistent electrical issues.

Real Owner Repair Stories

  • LegacyGT.com user 'scottmcphee' (2006 Legacy 2.5i Wagon MT) — Persistent P0139 and P2096 codes.
    ❌ Tried (didn't work) Replacing the rear O2 sensor.
    ✅ What actually fixed it After using BtSSM software to confirm the ECM was seeing a flat 0.6V signal from the new sensor, the owner tested the sensor directly and found it was working. The final fix was cleaning all the engine block and chassis-to-battery ground points. After cleaning the grounds, the ECM began receiving the correct, fluctuating voltage from the rear O2 sensor and the codes were resolved.

OEM Part Supersession History

  • 22690AA81022690AA81A, then 22690AA93A — Standard part revisions and updates by the manufacturer.
    Heads up: The parts are interchangeable for this application. The aftermarket Denso 234-4445 is a direct cross-reference to these OEM part numbers.

Model Year Variations Within This Range

  • 2005: Some parts catalogs list a different rear O2 sensor for the 2005 model year compared to 2006-2009. While Denso 234-4445 is listed for 2006-2009, owners of 2005 models should double-check their specific part number before ordering, though in many cases the parts are functionally identical.

Diagnostic Flowchart

Start by confirming if P0139 is the primary code or if it's paired with heater circuit or misfire codes. On the EJ25 platform, addressing secondary codes first is critical to avoid misdiagnosis.
→ Resolve P0141 or P030x first. Misfires on the EJ25 can dump unburned fuel into the exhaust, while a failed heater circuit will prevent the sensor from reaching operating temperature, both of which trigger a 'slow response' P0139.
Perform a cold start. Do you hear a 'ticking' or 'puffing' sound from the engine bay or see soot on the donut gaskets?
→ Repair the exhaust leak. Subaru boxer engines are prone to leaks at the manifold gaskets and pipe flanges. Outside air entering these leaks skews the sensor reading, causing the 'slow response' code.
Inspect the Bank 1 Sensor 2 wiring harness under the car. Is there evidence of melting, chafing, or oil contamination from a head gasket leak?
→ Repair the wiring or clean the connector. The EJ25 is notorious for external oil leaks from the head gaskets (often the passenger-side head) which can contaminate O2 sensor connectors.
Monitor 'O2S B1S2' live voltage on a warm engine. Does the voltage stay steady (0.6-0.8V) or respond slowly when the throttle is blipped?
The rear O2 sensor has likely failed due to age/carbon soot. Are you replacing it with an OEM or Denso sensor?
→ Replace the sensor. Use a 22mm slotted socket and penetrating oil. High-mileage EJ25s (100k+) often require this as the internal chemicals degrade over time.
→ Warning: 2005-2009 Legacys are sensitive to sensor resistance. Using a low-quality aftermarket sensor often causes P0139 or P2096 to return immediately.
→ If the rear sensor is oscillating rapidly like the front sensor, the catalytic converter is likely degraded. Check for P0420 and inspect the catalyst honeycomb.

Other Known Issues on This Vehicle

Issues unrelated to this code that are worth knowing about as an owner of this generation:

  • Head Gasket Failure (External Oil/Coolant Leaks) 🔴 High — Very common, typically between 80,000 and 150,000 miles. The SOHC EJ25 engine in the Legacy is notorious for external oil leaks from the head gaskets, often at the back of the passenger-side head.
  • Clogged Banjo Bolt Filters (AVCS/Turbo Oil Starvation) 🔴 High — Common on turbocharged models (Legacy GT), but also present on NA models with AVCS. Small mesh filters in the oil feed banjo bolts can clog, starving the turbo or AVCS system of oil, leading to catastrophic failure. Many owners and shops proactively remove them. (Ref: Subaru issued TSBs advising removal in some cases, e.g., TSB #02-103-08R.)
  • Wheel Bearing Failure 🟠 Medium — Common failure item, often starting after 60,000 miles. Owners report a loud humming or grinding noise that increases with speed and may change when turning. Both front and rear bearings can be affected.
  • Catalytic Converter Failure 🟠 Medium — Occurs at higher mileage, often secondary to other issues like oil consumption or head gasket leaks which contaminate the catalyst. Can trigger code P0420.

Used vs. New Parts: Buying Guide for This Vehicle

When a used part is the smart pick: For this repair, buying a used oxygen sensor is never recommended. It is a wear item with a finite lifespan, and a used part has an unknown history and could fail quickly. Used exhaust components like pipes or catalytic converters from a low-mileage, rust-free donor may be considered if needed for a related exhaust leak repair, but not the sensor itself.

What to inspect on the donor part:

  • Not applicable for the oxygen sensor.

OEM-only on this vehicle (don't cheap out):

  • Oxygen Sensor: While not strictly 'OEM-only', using an OEM supplier brand like Denso or NTK is critical. The Subaru ECU is sensitive to the response characteristics of the sensor, and generic or budget brands frequently cause the P0139 code to return.

Aftermarket brands forum-validated for this vehicle:

  • Denso (specifically part #234-4445 for 2006-2009 models)
  • NGK/NTK (specifically part #24642)

Brands owners have reported issues with on this vehicle:

  • Generic, unbranded, or 'universal' oxygen sensors that require splicing wires.

Real Owner Stories

Aggregated from forums and TSBs cited above. Mileages and costs reflect what owners reported in those sources.

2006 Subaru Legacy 2.5i

Symptoms: P0139 and P2096 codes kept returning after several start cycles and a long drive. The ECM was seeing a constant 0.6v from the rear sensor despite the sensor actually outputting 0.1 to 0.8v when tested with a meter.

What fixed it: Replacing the front Air/Fuel ratio sensor allowed the new rear sensor to function correctly and cleared the codes.

Source hint: LegacyGT.com

2009 Subaru Legacy 2.5L

Symptoms: Check Engine Light with codes P0139 and P0171, accompanied by a strong exhaust odor in the cabin.

What fixed it: Repairing an exhaust leak; the owner noted difficulty inspecting the manifold area due to heat shielding and concerns about rusted bolts.

Source hint: Reddit r/subaru

Frequently Asked Questions

Why is my cruise control not working on my 2007 Subaru Legacy now that the Check Engine Light is on?
On 2005-2009 Subarus, the cruise control system is automatically disabled as a safety feature whenever any Check Engine Light (CEL) is active, including for code P0139.
I replaced the rear O2 sensor on my Legacy 2.5i but P0139 and P2096 keep coming back. What else could it be?
According to owner experiences, if a new sensor doesn't fix the code, you should check for small exhaust leaks (often hidden by heat shields) or a failing front Air/Fuel ratio sensor, which can sometimes be the actual root cause.
Is there a specific brand of sensor I should use for my EJ25 engine to avoid P0139 issues?
It is recommended to use a quality OEM or Denso part. Forum reports indicate that low-quality aftermarket sensors are a common reason for the P0139 code to persist or return shortly after replacement.
How can I check for exhaust leaks on my Subaru without taking everything apart?
Perform a cold start and listen for a 'ticking' or 'puffing' sound from the engine bay. You can also look for black soot trails around gaskets and flanges, though Subaru's extensive heat shielding can make visual inspection difficult.
Are there any TSBs related to oil starvation that I should know about while fixing my emissions codes?
Yes, Subaru issued TSB #02-103-08R regarding the removal of small mesh filters in the oil feed banjo bolts. These can clog and cause oil starvation in the AVCS or turbo systems, which is a known issue for this generation.
Could my head gasket leak be related to my oxygen sensor failure?
While not directly the same system, the EJ25 engine is notorious for external oil leaks from head gaskets. Over time, oil or coolant contaminants can degrade oxygen sensors or contaminate the catalytic converter, potentially leading to codes like P0139 or P0420.
How To Replace Both O2 Sensors On A Subaru
How To Replace Both O2 Sensors On A Subaru
2002-2007 Subaru Impreza WRX | Rear O2 Sensor Replacement
2002-2007 Subaru Impreza WRX | Rear O2 Sensor Replacement
How To: Fix Code P0139 On a Subaru Impreza
How To: Fix Code P0139 On a Subaru Impreza
Subaru Legacy P2096 Error Fix: O2 Sensor & MAF Sensor Replacement 2010-2014 model
Subaru Legacy P2096 Error Fix: O2 Sensor & MAF Sensor Replacement 2010-2014 model
Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated Jul 21, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the OBD-II Code P0139 (Deep Dive) for:
  • Subaru Legacy: 20052006200720082009
In this article
🎬 Helpful Videos
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part