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

Subaru Impreza Air/Fuel Ratio Sensor Guide (2004-2008)

Keep your Impreza's Boxer engine running smoothly with the right Air/Fuel Ratio Sensor.

4 minutes to read 2004-2008 Subaru Impreza
Difficulty
2/5
Est. Time
1 hrs
DIY Doable?
✅ Yes
Shop Labor
$80-$150
⚠️ Drivable, but... — Yes, but you should get it replaced soon to avoid poor performance, bad fuel economy, and potential long-term damage to your catalytic converter.
Key Takeaways
  • A failing A/F sensor will usually trigger a Check Engine Light and cause poor fuel economy, rough idle, and loss of power.
  • For a 2004-2008 Impreza, it is highly recommended to use an aftermarket sensor from Denso or NGK (NTK), as they are the original equipment suppliers.
  • This part is also called the 'front' or 'upstream' oxygen sensor; make sure you are not buying the 'rear' or 'downstream' sensor by mistake.
  • Replacement can be a DIY job with the right tool (an O2 sensor socket), but some sensors can be seized by rust and difficult to remove.
The Air/Fuel Ratio (A/F) Sensor, also called a front oxygen sensor, is a critical part of your Impreza's engine management system. It sits in the exhaust manifold before the catalytic converter and measures the amount of oxygen in the exhaust gas. This information is sent to the engine computer (ECU), which then adjusts the mix of air and fuel to the perfect ratio—about 14.7 parts air to 1 part fuel. A properly working A/F sensor ensures your engine runs efficiently, produces the least amount of pollution, and delivers the power you expect from a Subaru.

Is Your Impreza's A/F Sensor Failing?

A bad Air/Fuel Ratio sensor can cause noticeable problems. Because it directly controls the engine's fuel mixture, a faulty sensor can make your car run poorly. If your Impreza is experiencing any of the issues below, a failing A/F sensor could be the cause.

Key Failure Symptoms:

🎬 Watch a breakdown of common symptoms and replacement costs.
  • Check Engine Light: This is the most common sign. Codes like P0030, P0031, or P0171 often point to a problem with the front A/F sensor.
  • 🎬 Learn how to diagnose and fix these specific Subaru trouble codes.
  • Poor Fuel Economy: If the sensor sends bad data, the engine might use more fuel than necessary, and you'll notice more frequent trips to the gas station.
  • Rough Idle: An unstable air-fuel mixture can make the engine idle unevenly or sputter.
  • Reduced Engine Power: Your car may feel sluggish or slow to accelerate because the engine isn't getting the right fuel mix for optimal performance.
  • Failed Emissions Test: An incorrect air-fuel mixture leads to higher pollution, which can cause you to fail a smog check.

Recalls & Technical Service Bulletins (TSBs)

Searches for the 2004-2008 Subaru Impreza did not find any specific recalls or TSBs from the National Highway Traffic Safety Administration (NHTSA) related to the Air/Fuel Ratio sensor. Recalls found were for different model years and concerned issues like fuel pumps or airbag sensors.

Choosing the Right Aftermarket A/F Sensor

When replacing a critical sensor like the A/F sensor on your Subaru, quality matters. For Japanese vehicles like the Impreza, the original equipment manufacturer (OEM) is often the best choice. However, you can get the same quality without the dealership price tag.

Brand Tiers for Your Impreza:

  • Tier 1 (OEM Supplier): Denso & NGK/NTK
    Denso and NGK (which sells sensors under the NTK brand) are well-known OEM suppliers for Subaru. This means the Denso or NTK sensor you buy from an aftermarket retailer is often the exact same part that came in your car from the factory, just in a different box. Owners on forums consistently recommend sticking with these brands for a direct fit and reliable performance. Choosing one of these is the safest bet for a hassle-free repair.
  • Tier 2 (Other Aftermarket Brands): Bosch, Walker, etc.
    While brands like Bosch are reputable, Subaru engines can be sensitive. Some owners report issues when using sensors that aren't from the original supplier. To avoid potential compatibility problems, it's highly recommended to use Denso or NTK for your 2004-2008 Impreza.

Pro Tip: Upstream vs. Downstream

Your Impreza has at least two oxygen sensors. The one before the catalytic converter is the Air/Fuel Ratio sensor (also called upstream, or Sensor 1). The one after the catalytic converter is the rear oxygen sensor (downstream, or Sensor 2). This guide is for the front A/F sensor, which is the more critical and expensive of the two. Always confirm you are ordering the correct sensor for the correct position.

How Much Does an A/F Sensor Replacement Cost?

The cost depends on whether you do it yourself or take it to a shop. The part itself is the main expense.

ItemEstimated Cost
New OEM Subaru Sensor$190 - $340
New Aftermarket (Denso/NGK)$150 - $302
Shop Labor$80 - $150
Total Professional Replacement$230 - $452

Frequently Asked Questions (FAQ)

Where is the A/F sensor located on a 2004-2008 Impreza?

The front A/F sensor is located in the exhaust manifold or the front exhaust pipe, before the catalytic converter. On many Impreza models, it's accessible from the top of the engine bay, near the passenger side. However, on some models, particularly the 2.5L RS, accessing it may require removing the passenger side CV axle.

🎬 Follow this step-by-step guide to replacing the sensor on your Impreza.
Can I replace the A/F sensor myself?

Yes, this is often a DIY-friendly job if the sensor is easily accessible. You will need a special oxygen sensor socket to remove and install it without damaging the wire. Always apply anti-seize compound to the threads of the new sensor (most new sensors include it) to make future removal easier. If the sensor is seized from rust, it can be difficult to remove, so be sure to spray it with penetrating oil first.

What's the difference between an Air/Fuel sensor and an Oxygen sensor?

An Air/Fuel sensor is a more advanced, wideband type of oxygen sensor. It provides a more precise and wider range of readings to the ECU, allowing for finer control of the fuel mixture. The term "front oxygen sensor" and "Air/Fuel sensor" are often used interchangeably for this part. The rear sensor is a more basic, narrowband oxygen sensor.

Do I need to reset the computer after replacing the sensor?

Yes. After replacing the sensor, you should clear the trouble codes from the engine computer using an OBD-II scanner. If you don't, the Check Engine Light may stay on for a while until the computer completes several drive cycles and confirms the fix.

Why should I stick with Denso or NGK/NTK brands?

Subaru's engine management system is calibrated to work specifically with the data provided by the original sensors. Denso and NTK are the OEM suppliers, so their aftermarket parts perform identically to the original. Using other brands can sometimes lead to incorrect readings, persistent Check Engine Lights, or poor performance, even if the part fits correctly.

Air Fuel (A/F) Sensor P0030 | Testing and Replacement
Air Fuel (A/F) Sensor P0030 | Testing and Replacement
5 Symptoms of a Bad Air-Fuel Ratio Sensor & Replacement Cost
5 Symptoms of a Bad Air-Fuel Ratio Sensor & Replacement Cost
Subaru Air Fuel Sensor P0030 P0031 P0032
Subaru Air Fuel Sensor P0030 P0031 P0032
2004 Subaru Impreza 2.5ltr Oxygen Sensor Replacement Guide
2004 Subaru Impreza 2.5ltr Oxygen Sensor Replacement Guide

Technical Specifications

OEM Part Numbers: 22641AA211 22641AA280 22641AA450 22641AA042 22641AA140 22641AA32A 22641AA490

The Air/Fuel Ratio sensor for the 2004-2008 Subaru Impreza is a wideband, heated 4-wire sensor with a specific-fit OE connector. The thread size is typically 18mm. Denso part number 234-9120 is a common fit for WRX models.

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 Air / Fuel Ratio Sensor for:
  • Subaru Impreza: 20042005200620072008
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