🔧 FixIt
warning Severity — powertrain OBD-II DTC

P0171: System Too Lean (Bank 1)

The ECU has detected that the air-fuel mixture on Bank 1 is too lean, meaning there is too much air or not enough fuel. The engine control module is adding more fuel than normal to compensate, but has reached its correction limit.

⚡ Quick Summary

Severity
warning
DIY Level
Moderate
Repair Cost
$–$
Urgency
Fix when convenient

What Does P0171 Mean?

Fuel trim is the ECU's real-time adjustment to fuel delivery. Short-term fuel trim (STFT) reacts immediately to O2 sensor feedback, while long-term fuel trim (LTFT) is a learned correction stored in memory. When LTFT exceeds approximately ±25%, the ECU sets a fuel trim code because it's run out of adjustment range. Positive fuel trim means the ECU is adding fuel (lean condition), negative means it's subtracting fuel (rich condition). Understanding fuel trims is key to diagnosing these codes — they tell you the direction and magnitude of the problem.

Fuel trim is the ECU's real-time adjustment to fuel delivery. Short-term fuel trim (STFT) reacts immediately to O2 sensor feedback and fluctuates constantly. Long-term fuel trim (LTFT) is a learned correction stored in memory that compensates for gradual changes like wear and altitude. When LTFT exceeds approximately ±25%, the ECU has run out of adjustment range and sets a fuel trim code. Understanding the difference between STFT and LTFT is key: STFT shows what's happening NOW, LTFT shows the average correction over many drive cycles. At idle, high positive fuel trims suggest vacuum leaks. At cruise, high positive trims suggest fuel delivery issues (pump, filter, pressure). Common affected vehicles: Any vehicle — fuel trim codes are universal and affect all makes equally.

Step-by-Step Diagnosis for P0171 (lean (too little fuel)): (1) Read STFT and LTFT on a scan tool at idle AND at 2500 RPM. At idle only: suspect vacuum leak. At all RPMs: suspect fuel delivery or MAF sensor. (2) For lean codes: perform a smoke test to find vacuum leaks — this is the single most effective diagnostic. Without a smoke machine, spray carb cleaner around intake gaskets, vacuum hoses, and PCV connections while the engine idles — RPM changes indicate a leak location. (3) Clean the MAF sensor with dedicated MAF cleaner ($8) — a contaminated MAF under-reports airflow (causing lean) or provides erratic readings. (4) Check fuel pressure with a gauge — low pressure causes lean, high pressure causes rich. Normal is typically 40-60 PSI for port injection. (5) If all mechanical checks pass, the upstream O2 sensor may be biased — if it's the original sensor with 80K+ miles, replacement is a reasonable next step.

The Key Insight About Fuel Trims: Fuel trim codes mean the ECU has been compensating for an air-fuel imbalance for so long that it's run out of adjustment range. The O2 sensor is doing its job correctly — it's reporting the real condition. Don't replace the O2 sensor for fuel trim codes unless you've ruled out every other cause first.

🚨 Symptoms of P0171

check engine light
rough idle
hesitation or stumbling on acceleration
poor fuel economy
possible misfires

🔍 Common Causes of P0171

LOW
Vacuum leak (intake manifold gasket, hoses, PCV valve)
LOW
Dirty or faulty MAF sensor
LOW
Weak fuel pump or clogged fuel filter
LOW
Leaking or clogged fuel injectors
LOW
Exhaust leak before O2 sensor

🛠️ How to Fix P0171

⭐ Most Common Fix

Inspect and repair vacuum leaks

💰 $–$ 🔧 medium

Clean MAF sensor

💰 $–$ 🔧 easy

Replace fuel filter

💰 $–$ 🔧 medium

Replace fuel pump

💰 $–$ 🔧 hard

🔬 Step-by-Step Diagnosis

  1. 1 Read STFT and LTFT at idle AND at 2500 RPM. If both are high at idle but normal at higher RPM, suspect a vacuum leak. If both are high everywhere, suspect fuel delivery (pump, filter, pressure).
  2. 2 Smoke test the intake system — this is the fastest way to find vacuum leaks that cause lean fuel trims.
  3. 3 Check fuel pressure with a gauge. Low pressure causes lean codes; high pressure causes rich codes.
  4. 4 If only one bank shows abnormal fuel trims, the cause is likely isolated to that bank (O2 sensor, exhaust leak, injector on that bank).

⚠️ Common Mistakes to Avoid

  • Replacing O2 sensors based on fuel trim codes — the sensors are correctly reporting the problem, not causing it.
  • Not checking fuel trims before starting repairs — fuel trim data tells you exactly which direction to investigate.
  • Clearing codes without fixing the root cause — LTFT relearns within a few drive cycles and the code returns.
  • Not performing a smoke test — vacuum leaks are invisible and nearly impossible to find by visual inspection alone. A $80-$150 smoke test can save hundreds in parts-swapping guesswork.
  • Replacing individual components one at a time without using fuel trim data to guide diagnosis — STFT and LTFT tell you exactly which direction to investigate.

💡 Pro Tips

  • Fuel trim data is the most powerful diagnostic tool for driveability issues. Learn to read it and you'll diagnose 80% of fuel-related problems.
  • If LTFT is stored at a significant offset, disconnecting the battery resets it to 0%. If the code returns quickly, the problem is confirmed.

❓ Frequently Asked Questions

What's the most common cause of P0171?
Vacuum leaks are the #1 cause — cracked hoses, loose intake manifold gaskets, or a failed PCV valve. Dirty MAF sensors are #2. Together they account for about 70% of P0171 cases.
Can P0171 and P0174 appear together?
Yes, and when they do, it points to a cause common to both banks: vacuum leak at the intake manifold, dirty MAF sensor, or low fuel pressure. This actually makes diagnosis easier.
Is P0171 dangerous?
Not immediately, but a lean condition can cause misfires which can overheat the catalytic converter. Fix it within a few weeks.
Will P0171 cause rough idle?
Yes — a lean condition at idle causes instability. You may notice the engine stumbling, especially at stops.
What are normal fuel trim values?
Normal STFT and LTFT should be within ±5% at idle and cruise. Values up to ±10% are acceptable. Beyond ±15% indicates a problem. Beyond ±25% triggers a fuel trim code.
How do I read fuel trim data?
Use any OBD-II scan tool with live data capability ($20-$100). Look for 'Short Term Fuel Trim' (STFT) and 'Long Term Fuel Trim' (LTFT) for each bank. Positive = adding fuel (lean). Negative = removing fuel (rich).

🏥 When to See a Mechanic

If you cannot find the vacuum leak or if the issue persists after cleaning the MAF sensor

🚗 Commonly Affected Vehicles

Based on NHTSA complaint data and community reports. P0171 has been reported in the following vehicles:

🚙
2013-2016 BMW 3 SERIES
🚙
2019-2021 BUICK ENCORE
🚙
2013 CHEVROLET CAMARO
🚙
2014-2015 CHEVROLET CRUZE
🚙
2006 CHEVROLET EQUINOX
🚙
2011 CHEVROLET MALIBU
🚙
2003 CHEVROLET SILVERADO
🚙
2015 CHEVROLET SONIC
🚙
2018 DODGE DURANGO
🚙
1999-2015 FORD EXPLORER
🚙
2003-2018 FORD F-150
🚙
2006 FORD FOCUS
🚙
2008 FORD FUSION
🚙
2005 GMC CANYON
🚙
2018 GMC TERRAIN
🚙
2007-2012 HONDA ACCORD
🚙
2010-2016 HONDA CR-V
🚙
2002 LEXUS ES
🚙
1996 LEXUS LS
🚙
2015 MAZDA 3
🚙
2017 MAZDA CX-5
🚙
2006 MERCEDES C-CLASS
🚙
2010 MERCEDES C300
🚙
2006 MERCEDES E-CLASS
🚙
2010 NISSAN FRONTIER
🚙
2000-2011 NISSAN SENTRA
🚙
2012-2015 SUBARU FORESTER
🚙
2003-2012 SUBARU OUTBACK
🚙
2021 SUBARU WRX
🚙
2001 TOYOTA 4RUNNER
🚙
2002-2018 TOYOTA CAMRY
🚙
2000-2018 TOYOTA COROLLA
🚙
2005-2006 TOYOTA MATRIX
🚙
2015 TOYOTA RAV4
🚙
2002 TOYOTA TACOMA
🚙
2001-2009 VOLKSWAGEN PASSAT

Sources: NHTSA complaints database, automotive community forums. This is not an exhaustive list — P0171 can occur in any vehicle with an OBD-II system.

Browse Codes by System

Disclaimer: This information is for educational purposes only. It is not intended as repair advice and we are not responsible for any actions you take on any vehicle. Always consult a qualified mechanic for diagnosis and repair. Repair costs shown are estimates and may vary by location, vehicle, and shop.