P0171 Code: 2022 Subaru – What It Means & Cost to Fix

2022 Subaru Crosstrek P0171 Lean Code Fix

What P0171 Means on Your 2022 Subaru Crosstrek

A P0171 code on your 2022 Subaru Crosstrek means the engine is running lean on Bank 1. The 2022 Crosstrek comes with a 2.0-liter flat-four boxer engine making 152 horsepower or an available 2.5-liter boxer with 182 horsepower. Bank 1 on the Subaru boxer is the passenger side.

The ECU detects the lean condition through the upstream O2 sensor on Bank 1 and stores P0171 when fuel trim corrections can't compensate.

Symptoms

  • Check engine light on
  • Rough idle
  • Hesitation on acceleration
  • Worse fuel economy
  • Possible stalling
  • Hissing from engine bay

Common Causes

  1. Vacuum Leaks - Cracked hoses, loose intake boot clamps, or gasket leaks in the boxer intake system.
  2. MAF Sensor Contamination - Dirt and oil vapors reduce MAF accuracy.
  3. PCV System Issues - Failed PCV valve or cracked breather hose.
  4. Fuel Delivery Problems - Weak fuel pump or dirty injectors.

Diagnosis

  1. Read all codes - Check for companion codes.
  2. Fuel trim monitoring - Compare Bank 1 and Bank 2 LTFT.
  3. Smoke test - Essential for finding leaks on the boxer engine.
  4. MAF and fuel pressure test - Verify specifications.
  5. PCV system inspection - Check valve and hoses.

Repair Costs

  • Vacuum hose repair - $50 to $225
  • MAF sensor replacement - $130 to $290
  • PCV valve replacement - $40 to $150
  • Fuel pump replacement - $350 to $675

Diagnostic fee: $90 to $140.

Can You Drive?

Short trips for a couple of weeks are fine. Don't ignore it though, as lean operation can damage the catalytic converters ($700-$1,200 on the Crosstrek).

Prevention Tips

  • Follow Subaru's maintenance schedule
  • Replace air filters regularly
  • Use quality gasoline
  • Have vacuum hoses inspected at oil changes
  • Inspect PCV system at major services
Got Another Mystery?

"The game is afoot!" Let our AI detective investigate your next automotive case.

Open a New Case