P0171: System Too Lean Bank 1 — Diagnosis & Fix
P0171 means your engine's air-fuel mixture is too lean on Bank 1 — too much air relative to fuel. The good news: the most common causes are cheap and DIY-friendly. The bad news: there are several possible causes and chasing the wrong one wastes money. This guide helps you find the actual culprit.
What "Too Lean" Actually Means
Your engine needs a precise ratio of air to fuel (roughly 14.7:1 by weight) to run efficiently. When the mixture runs lean, there's more air than ideal. The ECU's long-term fuel trim (LTFT) compensates by adding more fuel — but when it maxes out its correction range and still can't get the ratio right, it sets P0171.
If you also have P0174 (System Too Lean Bank 2), your problem is upstream of where the engine splits into two banks — meaning a single component like the MAF sensor or fuel pump is the likely culprit, not a vacuum leak (which tends to affect only one bank).
Check Your Fuel Trims First
With any scanner that shows live data, look at Short Term Fuel Trim (STFT) and Long Term Fuel Trim (LTFT). Normal LTFT is ±5%. If LTFT is above +10%, the engine is definitely running lean and the ECU is compensating hard. Values above +20% indicate a significant problem. This confirms the code is real and not a fluke sensor reading.
Common Causes — Ordered by How Often They Cause This
1. Vacuum Leak (Most Common)
Any unmetered air entering the intake manifold after the MAF sensor reads lean to the ECU. Common vacuum leak locations: cracked or disconnected intake boot between the MAF sensor and throttle body, cracked PCV hose, loose brake booster hose, deteriorated intake manifold gaskets, or cracked vacuum lines on older vehicles.
How to find it: With the engine warm and running, spray carburetor cleaner or brake cleaner in short bursts around suspected vacuum leak points. If the idle smooths out or RPMs change when you hit a spot, that's your leak. Work safely — keep spray away from hot exhaust. Alternatively, an automotive smoke machine (many shops and some tool rental places have them) pumps smoke into the intake and shows leaks instantly.
2. Dirty or Failing MAF Sensor
The mass airflow (MAF) sensor measures how much air enters the engine. If it's dirty or failing, it under-reports airflow, causing the ECU to inject less fuel than needed — a lean condition. MAF sensors can get contaminated by oily air filters or high-mileage use.
How to test it: Spray MAF sensor cleaner (not carb cleaner) on the sensing wire inside the MAF sensor with the engine off. Let it dry for a few minutes. If P0171 clears or fuel trims improve, the MAF was dirty. If it was dirty and cleaning doesn't fully fix it, replacement is needed.
3. Weak Fuel Pump or Clogged Fuel Filter
If the fuel pump can't maintain adequate pressure, the injectors can't deliver enough fuel — especially at higher RPMs and loads when demand is greatest. You may notice hesitation during hard acceleration or the lean condition only appears when the engine is under load.
How to test: Connect a fuel pressure gauge to the Schrader valve on the fuel rail (most fuel-injected cars have one). Specification varies but is typically 35–60 PSI depending on the system. Low pressure at idle that drops further under load points to the fuel pump or a clogged filter.
4. Leaking or Stuck-Open Injectors
Wait — how would leaking injectors cause a lean condition? This one is counterintuitive. If an injector leaks constantly, the ECU's control over fuel delivery breaks down. More commonly, a clogged injector on one cylinder causes that cylinder to run lean and pulls the average enough to set P0171. Look for a rough idle, slight misfire, or other cylinders working harder to compensate.
5. Bad Upstream O2 Sensor
A lazy or stuck upstream O2 sensor can cause the ECU to miscalculate fuel trims. If you've ruled out vacuum leaks and MAF issues, a slow or biased upstream sensor may be feeding the ECU incorrect data.
Step-by-Step Diagnosis
- Check LTFT in live data — confirm the lean condition is real (+10% or higher LTFT)
- Visual inspection — look for cracked hoses, disconnected vacuum lines, torn intake boots
- Spray test for vacuum leaks — carb cleaner around intake manifold, PCV hose, brake booster hose
- Clean the MAF sensor with MAF-specific cleaner (not carb cleaner — it damages the sensing wire)
- Check fuel pressure with a gauge if vacuum leaks and MAF are ruled out
- Consider injector testing as a last resort — an injector balance test at a shop identifies weak or clogged injectors
If you have both P0171 and P0174: A single vacuum leak rarely affects both banks equally. Both banks lean at the same time almost always means MAF sensor or fuel pump. Start there.
How to Fix P0171
Vacuum Leak — Replace Cracked Hoses
Rubber vacuum hoses are $2–$10 each. The intake boot (between the MAF and throttle body) costs $20–$80 depending on the vehicle. Intake manifold gaskets require more labor but the parts are $15–$40.
MAF Sensor — Clean First, Then Replace
A can of CRC MAF Sensor Cleaner costs $8–$12. If cleaning doesn't work, a replacement MAF sensor runs $50–$200 depending on the vehicle. Always buy from a reputable brand — cheap aftermarket MAF sensors are frequently the wrong calibration and cause new problems.
Fuel Pump or Filter
Fuel filter replacement is $20–$50 in parts. Fuel pump replacement is more involved ($80–$300 in parts) and may require dropping the fuel tank on some vehicles. If your car is above 100k miles and the fuel pump has never been replaced, this is worth doing proactively anyway.
Cost Estimates
Got P0171 and not sure what to check first?
Tell ShopDoc your car's details and symptoms and get a targeted diagnosis path — no part-throwing, no guessing.
Ask ShopDoc free