Note: This article contains affiliate links. If you click on these links and make a purchase, I may earn a small commission at no extra cost to you. This helps support my research and content. Read my full affiliate disclosure here.
If your 2005-2009 Subaru Legacy is running rough, showing a check engine light, or getting poorer fuel economy, the oxygen sensor is a common culprit. Choosing the right oxygen sensor for this Legacy matters because fitment, sensor type, and durability all affect emissions, engine management, and long-term reliability.This guide walks you through the top shortlisted oxygen sensors for the 2005-2009 Legacy and explains the criteria used to evaluate them, including fitment, heater performance, and expected lifespan. Read on to understand the decision factors that matter when replacing an O2 sensor and how to approach installation or testing.
Looking for other parts? See all Subaru Legacy parts & accessories.
Top Picks at a Glance
| Best Overall The best all-around choice for most situations | TRQ O2 Oxygen Sensor OSA61248 | ![]() |
| Best Quality Built to a higher standard if you want something more solid | AISIN Aftermarket Upstream Wideband Oxygen (O2) Sensor | ![]() |
| Best Value The sweet spot between price and what you get | RIGHTPARTS 22641-AA360 Oxygen O2 Sensor Upstream (Compatible with select 2006–2011 Subaru 2.5L H4) | ![]() |
| Best Budget The cheapest option that still gets the job done reliably | QIJIAUTO 4-Wire Heated Downstream Oxygen Sensor (22690AA500) | ![]() |
| Highest Rated A top-rated pick with lots of positive feedback | Denso 234-9123 Air/Fuel Ratio Oxygen Sensor | ![]() |
| Most Popular A crowd favorite that many people choose with confidence | DOICOO 234-4445 Downstream Oxygen Sensor (22690-AA810) Compatible with Subaru 2.5L | ![]() |
| Best Seller A high-volume bestseller chosen again and again | Amrxuts 234-9123 / 234-4445 Upstream and Downstream Oxygen Sensor Kit | ![]() |
1. TRQ O2 Oxygen Sensor OSA61248
| Measuring Range | 0% – 25% (0 – 25000 ppm) |
|---|---|
| Mounting Type | Flange Mount |
| Output Type | electrical |
| Material Type | Stainless Steel |
This TRQ O2 oxygen sensor is a direct-fit replacement intended to restore proper exhaust oxygen sensing, which helps the engine control module correct fuel trim and reduce emissions. It installs like a factory replacement with a flange mount and pre-assembled connector, so it is typically used when a check-engine light points to a failing upstream or downstream sensor or when a vehicle is running rich or inefficient. Notable features include double-layered 310S stainless steel construction for improved protection against moisture and debris and factory-style electrical output for straightforward compatibility with vehicle wiring. In practice the sensor should improve fuel economy and emissions from a worn sensor and is aimed at DIYers or independent shops that want a ready-to-install part. Limitations are that fitment must be confirmed for the exact vehicle application and the product description lists multiple reference numbers rather than a single vehicle list, so buyers should verify compatibility before installing.
Best for: Buyers who want a reliable, ready-to-install replacement sensor to bring back proper air-fuel sensing and emissions control without custom work.
Less Ideal for: Users who need a universal sensor for many different vehicles or who prefer sensors with extensive published vehicle fitment lists built into the product page.
- Direct-fit, pre-assembled design simplifies installation and avoids modifications
- Double-layered 310S stainless steel body resists moisture and debris
- Electrical output and flange mount match factory-style connections
- Aimed at restoring fuel economy and lowering emissions when replacing a failing sensor
- Compatibility must be confirmed for specific vehicle years and engine variants before purchase
Verdict: A ready-to-install, stainless steel direct-fit oxygen sensor for buyers who want a practical replacement to restore fuel trim and emissions performance.
2. AISIN Aftermarket Upstream Wideband Oxygen (O2) Sensor
| Manufacturer | AISIN |
|---|---|
| Position | Upstream |
| Sensor Type | Wideband |
| Thread Size | M18 |
| Terminal Quantity | 4 |
This AISIN upstream wideband O2 sensor is a direct-replacement sensor intended for use in the intake side of compatible Subaru engines. It installs like a factory-style part with a four-terminal square connector and M18 thread, so most technicians can swap it in without modifying wiring or exhaust fittings. As a wideband unit it provides the kind of real-time air/fuel feedback performance tuners and mechanically focused owners need to verify fuel trim and tuning adjustments. The sensor ships with an installation manual and is built to the manufacturer standard AISIN advertises for durability and stable readings over time. Limitations to note are that fitment is specific to certain model years and engine configurations, so confirm the reference part numbers before ordering, and it is a single upstream sensor only so additional downstream or extra sensors must be purchased separately for multi-sensor setups.
Best for: Drivers focused on tuning, diagnostics, or restoring factory-like sensor performance on the specified Subaru Legacy model years who prioritize accurate air/fuel readings during setup and tuning.
Less Ideal for: Owners who need a universal or multi-vehicle sensor solution or those who require downstream sensors as part of emissions testing should look elsewhere.
- Direct-fit plug-and-play design for straightforward installation
- Wideband sensor type provides accurate real-time air/fuel data useful for tuning
- Four-terminal connector and M18 thread match factory mating points
- Includes installation manual to aid correct replacement
- Compatibility limited to listed Subaru model years and H4 2.5L configuration
Verdict: Buy this if you want a factory-compatible upstream wideband sensor that gives reliable real-time air/fuel data for tuning and diagnostics on the specified Subaru Legacy years.
3. RIGHTPARTS 22641-AA360 Oxygen O2 Sensor Upstream (Compatible with select 2006–2011 Subaru 2.5L H4)
| Measuring Range | 0% – 20% O2 |
|---|---|
| Mounting Type | Flange Mount |
| Output Type | Analog |
| Material Type | Aluminum |
This RIGHTPARTS upstream oxygen sensor replaces the factory upstream O2 unit on compatible Subaru 2.5L H4 engines to monitor exhaust oxygen and help the engine control module adjust fuel trim. It uses a zirconia ceramic element with a platinum coating and a flange mount for direct replacement; the analog output provides the standard voltage signal the ECU expects. In practice this sensor is installed at the front position and is used to restore correct air-fuel readings after a failed factory sensor or when troubleshooting emissions and fuel economy issues. The sensor’s metal shell and specified materials improve heat and wear resistance for typical engine temperatures, and the listed reference numbers match common Subaru parts so fitment is straightforward for the covered model years. Limitations are that it is an aftermarket analog sensor rather than a branded OEM unit and may not carry the same long-term durability as higher-end name-brand replacements, and installation requires basic mechanical access and proper torque and connector mating to avoid exhaust leaks or signal faults.
Best for: Buyers who prioritize a practical, direct-fit replacement to restore correct air-fuel readings and emissions control on covered Subaru 2.5L H4 vehicles without extra features or calibration.
Less Ideal for: Owners seeking a premium branded sensor with extended durability guarantees or those who prefer a dealer-sourced factory replacement should consider alternatives.
- Direct upstream replacement for compatible Subaru 2.5L H4 engines with matching reference numbers
- Zirconia ceramic sensing element with platinum coating for standard oxygen sensing performance
- Flange mount and analog output for straightforward ECU compatibility
- Metal shell construction aimed at improved heat and wear resistance
- Aftermarket unit that may not match the longevity of higher-end branded or factory-quality sensors
Verdict: A straightforward, direct-fit upstream oxygen sensor aimed at restoring correct air-fuel sensing on compatible Subaru 2.5L H4 models.
4. QIJIAUTO 4-Wire Heated Downstream Oxygen Sensor (22690AA500)
| Measurement Accuracy | ±1-2% |
|---|---|
| Mounting Type | Threaded |
| Output Type | electrical signal |
| Upper Temperature Rating | 392 °F |
| Material Type | Metal, Zirconia, Or Metal Oxide |
This QIJIAUTO oxygen sensor is a 4-wire heated downstream unit meant to replace the factory Bank 1 Sensor 2 on compatible Subaru Legacy, Outback, Forester and Impreza models. It installs with a threaded mount and a 4-pin male connector, so it slips into the same location and wiring harness as the original sensor for a straightforward swap during routine maintenance. The sensor uses a ceramic element and metal housing to send standard electrical signals to the engine control module, and the listed measurement accuracy of ±1-2% indicates reasonably consistent output for emissions and fuel trim control. Because it matches common Subaru part numbers, it is suitable when you need a budget-friendly direct replacement rather than an OE-priced part. Limitations to note are that fitment is vehicle-specific and this aftermarket part may vary slightly in longevity compared with higher-end branded sensors, so expect typical lifespan differences versus premium options.
Best for: Buyers replacing a failed downstream oxygen sensor on an eligible Subaru who prioritize an affordable, direct-fit replacement that simplifies DIY installation.
Less Ideal for: Drivers seeking a long-term performance upgrade or the highest corrosion-resistant materials should consider premium branded sensors or consult a professional for alternatives.
- Direct threaded, plug-and-play fit for listed Subaru downstream position replacing part numbers like 22690AA500
- Heated 4-wire design provides faster warm-up and stable signal for emissions control
- Listed measurement accuracy of ±1-2% suggests reliable signal consistency for fuel trim adjustments
- Compact metal and ceramic construction matches factory-style installation
- May not match the longevity or corrosion resistance of higher-tier OEM or premium aftermarket sensors
Verdict: A cost-conscious, plug-and-play downstream replacement that restores proper oxygen sensing on compatible Subaru models without the premium price.
5. Denso 234-9123 Air/Fuel Ratio Oxygen Sensor
| Material | Stainless Steel, Zirconium |
|---|---|
| Mounting Type | Thread-In |
| Output Type | NPN |
| Upper Temperature Rating | 800 Degrees Celsius |
The Denso 234-9123 is a threaded air/fuel ratio (oxygen) sensor intended as a direct replacement for compatible Subaru models from the mid-2000s. It measures exhaust oxygen content using a zirconia element and provides an NPN output to the engine management system so the ECU can adjust fuel trim. In practice this means improved fuel efficiency, steadier idle and reduced emissions when replacing a failing sensor. The sensor is built to factory-style standards with stainless steel construction and an 800 C upper temperature rating for durability in the exhaust environment. Installation is the same as the original part and requires basic under-vehicle access and a proper connector; no extra programming is needed when used in a matching vehicle. Limitations are that fitment is vehicle-specific, so confirm compatibility with a 2005-2009 Subaru Legacy variant before buying, and the part does not include anti-seize on the threads so care during installation matters.
Best for: A buyer who prioritizes durable, factory-quality replacement parts for maintaining reliable engine operation and emissions control on a mid-2000s Subaru Legacy.
Less Ideal for: Not the best option for someone looking for a universal sensor for multiple different vehicle makes or an upgraded performance sensor with faster response characteristics.
- Manufactured to factory-quality standards for reliable, repeatable performance
- Zirconia sensing element with NPN output provides accurate air/fuel ratio feedback to the ECU
- Stainless steel construction and 800 C rating improve durability in high-exhaust temperatures
- Direct threaded replacement designed for first-time fit in specified Subaru applications
- Fitment is limited to specific vehicle applications so you must verify compatibility with your Legacy
- Does not include thread anti-seize compound, so installer should apply appropriate lubricant
Verdict: Choose this Denso sensor when you want a dependable, factory-quality replacement to restore proper fuel control and emissions performance on a 2005–2009 Subaru Legacy.
6. DOICOO 234-4445 Downstream Oxygen Sensor (22690-AA810) Compatible with Subaru 2.5L
| Mounting Type | Flange Mount |
|---|---|
| Response Time | 5.6 seconds |
| Measuring Range | λ=0.7- ∞ |
| Upper Temperature Rating | 930 °C |
This DOICOO downstream oxygen sensor replaces the factory downstream sensor on many Subaru 2.5L applications to restore accurate exhaust oxygen readings after the catalytic converter. It installs at the flange mount location and uses a zirconium ceramic sensing element and standard oxygen-sensor output to feed the vehicle computer. Typical use is as a direct replacement when the check engine light points to a downstream O2 circuit or when emissions testing requires correct post-cat readings. The sensor lists a wide operating range and fast response time for a replacement part, and the included part interchange numbers match common Subaru references, which helps confirm fitment. Practical benefits include straightforward bolt-in installation and a one-year warranty. Limitations are that this is an aftermarket unit so longevity and exact calibration may vary compared with factory parts, and buyers should verify the exact part number and connector before purchasing to avoid fitment issues.
Best for: Buyers who want a budget-conscious replacement to clear downstream O2 codes and restore proper emissions readings on mid-2000s Subaru 2.5L vehicles and who value matching part numbers for fit confirmation.
Less Ideal for: Drivers seeking an exact factory-spec sensor with guaranteed long-term durability or those who prefer OEM-branded parts for vehicle resale value.
- Listed as direct replacement for common Subaru downstream part numbers including 22690-AA810
- Flange-mount design matches factory downstream installation for straightforward fitting
- Fast response time (5.6 seconds) and wide measuring range to help the ECU get stable post-cat data
- Made from high-temperature materials suitable for exhaust environments and includes a one-year warranty
- Aftermarket calibration and longevity can differ from factory sensors
- Fitment depends on matching exact part number and connector so wrong selection could require return
Verdict: A budget-friendly downstream replacement that matches common Subaru part numbers to quickly restore proper post-catalyst O2 readings on 2.5L models.
7. Amrxuts 234-9123 / 234-4445 Upstream and Downstream Oxygen Sensor Kit
| Output Type | Digital |
|---|---|
| Mounting Type | Flange Mount |
| Upper Temperature Rating | 250 °F |
| Material Type | Ceramic |
This Amrxuts kit includes both an upstream and a downstream oxygen sensor intended as direct-fit replacements for compatible Subaru 2.5L models. The sensors are ceramic with flange mounts and digital output, and the listing emphasizes measurement accuracy and an upper temperature rating of 250°F. In practice these sensors are used to restore closed-loop fuel control and resolve a check-engine light tied to O2 circuits, and the package includes wiring harness lengths and four-wire connectors for straightforward installation. The practical benefits are simple: swap in the sensors to regain correct fuel trim readings and potentially improve fuel economy and emissions performance. Limitations to consider are that this is an aftermarket part rather than a factory-brand sensor and long-term durability can vary compared with higher-end name-brand units; also the temperature rating listed is modest for exhaust components. For a risk-averse buyer, the kit is appealing because it replaces both positions at once and is sold with a one-year replacement guarantee, but those who prefer OEM-brand parts may want to compare options.
Best for: Drivers seeking a straightforward replacement to clear O2-related check-engine lights and restore proper fuel trims on a Subaru 2005–2009 Legacy who prefer a complete upstream and downstream swap in one purchase.
Less Ideal for: Buyers who prioritize factory-brand parts or who need sensors rated for extreme high-temperature performance should consider OEM or premium aftermarket options instead.
- Includes both upstream and downstream sensors so both bank readings are refreshed at once
- Direct-fit flange mount design with 4-wire connector and specified harness lengths for easier installation
- Ceramic sensing element and digital output aimed at accurate measurement
- Comes with a one-year replacement guarantee
- Aftermarket brand may not match long-term durability of higher-end factory-quality sensors
- Upper temperature rating of 250°F is modest compared with some exhaust-grade sensors
Verdict: A convenient two-sensor direct-fit kit that replaces both oxygen sensors to quickly address O2-related check-engine lights and restore proper fuel trim on the specified Subaru Legacy models.
Choosing the Right 2005-2009 Subaru Legacy Oxygen Sensor: Key Factors to Consider
Fitment and Connector Compatibility
Correct fitment is essential because the 2005-2009 Subaru Legacy uses specific sensor thread sizes and factory connectors. A direct-fit sensor eliminates the need for splicing, adapters, or modifying the exhaust manifold or downpipe, which reduces installation time and the chance of wiring faults.
When a sensor does not match the factory connector, you risk poor electrical contact, which can cause intermittent readings and false trouble codes. Confirming the connector type and thread pitch avoids unnecessary returns and ensures the sensor sits correctly in the exhaust stream for accurate measurements.
Heater Circuit Performance
Most Legacy oxygen sensors for this era include an integrated heater that brings the sensing element up to operating temperature quickly. Heater circuit performance influences how fast the engine control module receives valid oxygen readings after cold starts, which affects idle stability and cold-run emissions.
Look for sensors with documented heater resistance values and fast warm-up characteristics. A weak or failed heater will extend open-loop operation time and can trigger diagnostic codes. Reliability of the heater wiring and connector seals is also important given exposure to road contaminants and heat.
Sensor Response Time and Accuracy
Response time determines how quickly the sensor reacts to changes in exhaust oxygen content during throttle transitions. Faster response leads to tighter air/fuel control and can improve drivability, throttle response, and fuel economy on the Legacy.
Accuracy across a range of temperatures and load conditions matters because inconsistent voltage swings or sluggish behavior can confuse the engine computer. Choose sensors with stable output characteristics and documented response behavior under dynamic conditions.
Durability and Corrosion Resistance
The exhaust environment on the Legacy exposes sensors to high heat, vibration, and corrosive elements from road salt or moisture. Durable construction with corrosion-resistant housings, robust wiring sheathing, and high-quality seals improves service life and reduces the chance of failure from physical damage.
A sensor that withstands heat cycling and resists thread corrosion is less likely to seize in the manifold or produce intermittent electrical faults. Longevity reduces repeat labor costs and improves ownership experience.
Upstream Versus Downstream Role
On the 2005-2009 Legacy, upstream sensors (pre-catalytic converter) provide the engine control module with rapid feedback to manage air/fuel mixture, while downstream sensors monitor catalytic converter efficiency. Selecting the correct sensor role is critical because upstream units typically require faster response and may include different wiring or element construction than downstream units.
Installing the wrong type at either location can produce incorrect readings and fail emissions checks. Verify whether the sensor is specified for bank and position on the Legacy before purchasing.
Installation and Serviceability
Ease of installation affects whether you can perform the replacement yourself or will need professional service. Features that help include factory-style connectors, pre-applied anti-seize on threads, and robust lead length to reach factory harness routing without tension.
Also consider whether the sensor's design allows removal after years of heat cycling, since some lower-quality sensors can seize in the exhaust. Well-manufactured sensors reduce the likelihood of damage during removal, saving time and avoiding additional repairs.
Understanding Oxygen Sensor Roles in Your Legacy
The 2005-2009 Subaru Legacy typically uses more than one oxygen sensor to manage engine fueling and to monitor emission control devices. Upstream sensors give the engine computer immediate feedback to adjust fuel trims, while downstream sensors verify catalytic converter performance. Knowing which sensor is being replaced helps you pick the right part and avoid installation errors.
When diagnosing symptoms, identify whether the issue is pre- or post-catalyst. Upstream sensor faults often affect drivability and fuel economy, while downstream faults more commonly trigger emissions-related trouble codes.
- Upstream sensors: faster response, primary input for fuel control
- Downstream sensors: monitor catalyst efficiency, less impact on real-time fueling
Common Symptoms of a Failing Oxygen Sensor
Symptoms on the Legacy can range from a rough idle and hesitation to reduced fuel economy or an illuminated diagnostics light. Intermittent issues may point to wiring or connector problems, while persistent poor readings indicate a degraded sensing element or failed heater.
Pay attention to how the vehicle behaves during cold starts and under varying load. Some failures are most apparent when the engine is cold because the heater cannot bring the sensor to operating temperature quickly enough.
- Rough or unstable idle
- Decreased fuel economy during normal driving
- Delayed recovery after throttle changes
How Proper Sensor Selection Impacts Emissions Tests
Selecting a sensor that matches the Legacy's role and electrical specifications helps ensure the catalytic converter is monitored correctly and that the engine computer maintains compliant air/fuel ratios. A mismatched or slow sensor can cause false positives on emissions checks even if the catalytic converter itself is fine.
For vehicles in regions with regular inspections, choosing a sensor with reliable long-term performance reduces the chance of intermittent failures that lead to failed tests and re-inspection.
- Direct-fit sensors reduce the chance of installation-related faults during inspections
- Durable sensors lower the probability of post-inspection failures
Basic On-Vehicle Testing and Diagnostics
Before replacing a sensor, confirm the diagnosis with basic checks. Visual inspection of the wiring and connector can reveal frayed or corroded contacts. Measuring heater circuit resistance with a multimeter helps determine if the heater is functional according to factory specifications.
Live diagnostics using a scan tool can show voltage swings and response speed. A properly functioning upstream sensor on the Legacy should show rapid switching behavior within the expected voltage range when the engine is at operating temperature.
- Inspect wiring and connector for corrosion or damage
- Measure heater resistance and compare to factory ranges
- Observe live voltage readings during throttle changes
Installation Tips to Avoid Common Pitfalls
When installing a replacement sensor on a Legacy from 2005-2009, take care to follow proper torque specifications for the sensor thread and avoid over-tightening. Use a stable, correct-size oxygen sensor socket to prevent damaging the wiring or hex area.
Route the wiring away from hot exhaust components and secure the connector to avoid vibration-related wear. If a sensor includes anti-seize, ensure it is applied only to the threads and not to the sensor face or wiring. These practices reduce installation issues and extend service life.
- Use correct socket and torque to avoid damaging threads
- Secure wiring harness away from heat and moving parts
- Avoid contaminating the sensor tip with grease or anti-seize
Still looking for the perfect fit?
Select your Subaru Legacy configuration to see the most relevant Oxygen Sensors recommendations
How We Chose the Best 2005-2009 Subaru Legacy Oxygen Sensor
We focused on the specific needs of the 2005-2009 Subaru Legacy and prioritized sensors that match factory fitment, electrical connectors, and mounting locations for that year range. Evaluation emphasized four to six measurable criteria that affect real-world performance in this vehicle: electrical compatibility and connector type; heater circuit response time and resistance; sensor response speed and voltage behavior under varying air/fuel conditions; durability against exhaust corrosion and heat cycling; and quality of materials for seal and wiring harness integrity.We excluded sensors that require aftermarket harness modifications, universal threaded adapters, or non-factory connector splicing because those increase installation complexity and risk on this Legacy. We also filtered out units that lack testing data for heater resistance or voltage response. Practical considerations like availability of direct-fit replacements, documented longevity in similar Subaru exhaust environments, and whether the sensor supports upstream or downstream roles were heavily weighted. The final shortlist reflects sensors that balance correct electrical fit, dependable heater performance, and robust construction suitable for the 2005-2009 Legacy.
Our full evaluation process is outlined in our review methodology.
FAQ
How do I know if the oxygen sensor is causing my Legacy's check engine light?
The vehicle's diagnostic system usually stores a specific code related to the oxygen sensor, and live data will show slow or no voltage switching for a failed sensor. A visual inspection of connectors and measuring heater resistance are good first steps to confirm the sensor as the culprit.
Can I install an oxygen sensor myself on a 2005-2009 Legacy?
Many owners can perform the replacement with basic tools if they have access to the underside of the vehicle. Ensure you have the correct direct-fit sensor, an oxygen sensor socket, and follow proper torque. If access is difficult or wiring must be modified, professional installation is advisable.
Should I replace upstream and downstream sensors at the same time?
It often depends on age and symptoms. If one sensor fails and the others show normal behavior, replacing only the faulty unit is acceptable. However, if multiple sensors are old or the vehicle has high mileage, replacing both can reduce the chance of repeated shop visits.
What does a weak heater circuit mean for performance?
A weak or failed heater keeps the sensor from reaching operating temperature quickly, prolonging open-loop fueling and which can worsen cold-start emissions and idle quality. Measuring heater resistance can reveal failures before they cause more noticeable drivability issues.
Can wiring problems mimic a bad oxygen sensor?
Yes. Corroded connectors, broken wires, or poor ground paths can produce intermittent signals that look like a failed sensor. Always inspect and test the harness before replacing the sensor to avoid unnecessary parts replacement.
Do aftermarket sensors affect fuel economy on the Legacy?
A correctly specified direct-fit sensor should restore proper air/fuel control and therefore return fuel economy to expected levels. Poorly matched sensors or slow-responding units can impair fuel trim corrections and reduce efficiency.
Final Verdict
When replacing an oxygen sensor on a 2005-2009 Subaru Legacy, prioritize direct-fit compatibility, reliable heater performance, and a sensor designed for the correct upstream or downstream role. These factors have the biggest impact on drivability, emissions, and long-term service life.Balance the tradeoffs between quick response and durability: upstream positions need faster, accurate readings, while downstream sensors must be robust for long-term monitoring. Focusing on correct fitment, verified heater operation, and solid construction will help you choose confidently and minimize repeat repairs.
Explore More:
- Check out all Subaru Legacy parts & accessories
- Explore Oxygen Sensors Maintenance & Repair Guides
- Explore Engine
- Browse all Auto Parts






