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 Articles →
🎬 Helpful Videos 🛍️ Shop This Part

Subaru Legacy Oxygen Sensor: A Guide for 2016-2024 Models

Learn to spot the signs of a failing oxygen sensor in your Legacy and how to choose the right aftermarket replacement.

4 minutes to read 2016-2024 Subaru Legacy
Difficulty
2/5
Est. Time
0.75 hrs
DIY Doable?
✅ Yes
Shop Labor
$100-$200
⚠️ Drivable, but... — You can drive, but you will experience poor fuel economy and performance, and prolonged driving could damage your catalytic converter.
Key Takeaways
  • A check engine light, poor fuel economy, and a rough idle are the most common signs of a failing oxygen sensor.
  • For best results and to avoid compatibility issues, choose an aftermarket sensor from an OEM supplier like Denso or NGK/NTK.
  • Four-cylinder Legacy models have two O2 sensors, while six-cylinder models have four.
  • A faulty upstream (front) sensor has a greater impact on engine performance and fuel consumption than a downstream (rear) sensor.
Your Subaru Legacy's oxygen sensors (O2 sensors) are critical parts of the emissions and engine management system. They measure the amount of oxygen in the exhaust. This information is sent to the engine's computer, which then adjusts the air-to-fuel mixture for the best performance and fuel economy. Most modern cars have at least two sensors: an upstream sensor (also called an air-fuel ratio sensor) that helps control the fuel mixture, and a downstream sensor that checks the catalytic converter's efficiency. Four-cylinder Legacy models typically have two sensors, while the six-cylinder (3.6R, available until 2019) has four.

Is My Oxygen Sensor Failing?

A side-by-side comparison of a clean, new oxygen sensor versus a failed sensor covered in heavy carbon soot and white ash deposits.
A healthy oxygen sensor (left) has a clean, metallic probe, while a failing sensor (right) often shows signs of carbon fouling or chemical contamination that prevents accurate readings.

A bad oxygen sensor can cause several noticeable problems with your Subaru Legacy. The most common sign is the check engine light turning on. You might also notice your car getting worse gas mileage than usual, idling roughly, or hesitating when you accelerate. In some cases, you might smell a strong gasoline or sulfur odor from the exhaust. These symptoms occur because the engine's computer isn't getting accurate data, leading to an incorrect air-fuel mixture.

Common Trouble Codes

A code reader can help confirm an O2 sensor issue. Common codes include:

Choosing the Right Aftermarket Oxygen Sensor

A new Denso or NGK/NTK oxygen sensor in its retail packaging.
For Subaru models, sticking with Tier 1 OEM suppliers like Denso or NGK/NTK ensures the best compatibility and longevity.

When replacing an oxygen sensor on a Subaru, quality matters. While OEM sensors from a dealer are an option, high-quality aftermarket brands can offer the same performance for less money. For Japanese vehicles like your Legacy, it's often best to stick with the brands that supply the original parts.

Pro Tip: For Subarus, using sensors from OEM suppliers like Denso or NGK (also sold under the NTK brand) is highly recommended. These parts are engineered to the exact specifications of your vehicle and are less likely to cause compatibility issues, which can sometimes happen with universal or budget brands.

Brand Quality Tiers

  • Tier 1 (OEM Equivalent): Denso, NGK/NTK. These brands are often the original equipment suppliers for Subaru. Choosing a Denso or NGK sensor is the closest you can get to the original part's quality and reliability, ensuring a "First Time Fit".
  • Tier 2 (High-Quality Aftermarket): Bosch. Bosch is a well-respected manufacturer of oxygen sensors and produces high-quality parts. While they are a strong choice, some Subaru owners prefer to stick with Denso or NGK to guarantee perfect compatibility.
  • Tier 3 (Economy): DriveWire, Walker Products. These brands provide a more budget-friendly option. While they can work, they may not have the same longevity or precise calibration as OEM-equivalent brands. Some users have reported issues with cheaper, non-OEM sensors on Subarus.
  • 🎬 See a comparison between OEM and budget aftermarket oxygen sensors.

Known Issues, Recalls, and TSBs

As of early 2024, a recall (NHTSA ID: 24V-227) was issued for 2020-2022 Subaru Legacy and Outback models concerning the Occupant Detection System (ODS) sensor, which is related to the passenger airbag, not the engine's oxygen sensors. There are no widespread recalls or Technical Service Bulletins (TSBs) specifically for engine oxygen sensors on the 2016-2024 Legacy. However, problems with the sensor's internal heater circuit (leading to codes like P0030) are a common failure point for many vehicles.

Estimated Cost Breakdown
Item Estimated Cost
New OEM Oxygen Sensor $130 - $340 per sensor
New Aftermarket Oxygen Sensor $39 - $227 per sensor
Shop Labor $100 - $200 per sensor

Frequently Asked Questions

The engine bay or undercarriage of a Subaru Legacy showing the location of the oxygen sensors.
The 2.5L Subaru Legacy features two sensors: an upstream sensor before the catalytic converter and a downstream sensor after it.
How many oxygen sensors does my 2016-2024 Legacy have?

Models with the 2.5L 4-cylinder engine have two oxygen sensors: one upstream (front) and one downstream (rear). Models with the 3.6L 6-cylinder engine (discontinued after 2019) have four sensors: two upstream and two downstream, one for each cylinder bank.

What is the difference between an upstream and downstream sensor?

The upstream sensor (also called an Air/Fuel Ratio Sensor) is located before the catalytic converter and is the primary sensor used by the engine computer to make real-time adjustments to the fuel mixture. The downstream sensor is located after the catalytic converter and its main job is to monitor the converter's efficiency. A problem with the upstream sensor is more likely to affect fuel economy and engine performance.

Can I replace just one oxygen sensor?

Yes, you can replace only the sensor that has failed. However, oxygen sensors wear out over time and have a similar lifespan, which is often around 100,000 miles. If your vehicle has high mileage, it may be a good idea to replace them in pairs (both upstream or both downstream on a 6-cylinder) or all at once to prevent future failures.

Can I clean an oxygen sensor?

While some people attempt to clean O2 sensors, it is generally not recommended. The sensing elements are delicate, and contamination from things like coolant or oil often causes internal failure that cleaning cannot fix. Replacement is the only reliable solution for a failed sensor.

Code P0171, 2011 Subaru Legacy, Vacuum leak
Code P0171, 2011 Subaru Legacy, Vacuum leak
P0171 Trouble Code: System Too Lean Bank 1 (The Most Common Causes)
P0171 Trouble Code: System Too Lean Bank 1 (The Most Common Causes)
O2 Sensor OEM vs Aftermarket ($60 Amazon) Subaru Outback/Legacy GT
O2 Sensor OEM vs Aftermarket ($60 Amazon) Subaru Outback/Legacy GT
Subaru Upstream & Downstream Oxygen Sensor -  P0031, P0037
Subaru Upstream & Downstream Oxygen Sensor - P0031, P0037
Causes and Fixes P0137 Code: Oxygen Sensor Circuit Low Voltage (Bank 1, Sensor 2)
Causes and Fixes P0137 Code: Oxygen Sensor Circuit Low Voltage (Bank 1, Sensor 2)

Technical Specifications

OEM Part Numbers: 22690AA96A 22641AA71A 22690AB06A 22641AA73A 22690AB02A 22641AA68A

Your Legacy uses heated oxygen sensors (HO2S) and, for the upstream position, an Air/Fuel Ratio (A/F) sensor. The number of sensors depends on the engine: two for the 2.5L H4 (one upstream, one downstream) and four for the 3.6L H6 (two upstream, two downstream). A special 22mm (or 7/8 inch) oxygen sensor socket is recommended for removal.

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 Jun 1, 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 Oxygen Sensor for:
  • Subaru Legacy: 201620172018201920202021202220232024
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