P0171 — "System Too Lean (Bank 1)" — is one of the top five most common OBD-II codes in the United States. It means your engine's air-to-fuel ratio on the driver's side bank is too lean: too much air, not enough fuel. Here is how to find the actual cause before spending money on parts.
What "running lean" actually means
Your engine's ECU constantly adjusts fuel delivery to maintain a precise 14.7:1 air-to-fuel ratio (stoichiometric). When the ratio skews toward too much air, the ECU compensates by adding more fuel — this is called a positive fuel trim. When the positive fuel trim hits its maximum limit and the mixture is still too lean, P0171 is stored.
A lean condition is not immediately catastrophic but causes real damage over time: pistons and valves run hotter than designed, accelerating wear. It also kills fuel economy.
The four most common causes (in order of likelihood)
1. Vacuum leak — most common, cheapest fix ($0–$250)
Any crack in an intake hose, a loose clamp, or a failed intake manifold gasket lets unmetered air into the engine after the MAF sensor. The ECU doesn't know about this extra air and can't fully compensate. Spray carburetor cleaner around intake hoses and the manifold with the engine running — if the idle smooths out momentarily when you hit a spot, you found the leak.
2. Dirty or failing MAF sensor ($10–$300)
The Mass Air Flow sensor measures the amount of air entering the engine. A dirty sensor under-reports airflow, causing the ECU to deliver less fuel than needed — a lean condition. Try cleaning it first with MAF cleaner spray ($10 at any auto parts store). If the code returns after cleaning, the sensor itself may need replacement ($100–$300).
3. Clogged fuel injectors ($100–$400)
Injectors that can't deliver adequate fuel volume cause lean conditions, especially at higher RPMs. A fuel injector cleaning service ($100–$150) often resolves this before full replacement is needed.
4. Weak fuel pump or clogged fuel filter ($50–$900)
A failing fuel pump can't maintain adequate rail pressure, starving injectors of fuel. This typically shows up as a lean condition under load — when accelerating or at highway speeds. Also check P0087 (fuel rail pressure too low) if P0171 appears alongside it.
Step-by-step diagnosis order
- 1. Check for intake vacuum leaks (free — spray test)
- 2. Clean the MAF sensor ($10 can of MAF cleaner)
- 3. Check fuel pressure at the rail (requires a gauge or mechanic)
- 4. Replace fuel filter if not done in 30,000+ miles ($50–$175)
- 5. Professional fuel injector cleaning or flow test
- 6. Fuel pump replacement (last resort, most expensive)
Never replace the fuel pump without first confirming low fuel pressure with a gauge — it is the most expensive part on the list and not always the cause.
P0171 vs P0174 — what is the difference?
P0171 affects Bank 1 (driver's side on most engines). P0174 is the same code for Bank 2 (passenger side). If both codes appear together on a V6 or V8, a dirty MAF sensor or a large intake manifold leak is the most likely cause — something that affects both banks simultaneously. A bank-specific cause like a single bad injector would typically only trigger one code.
Is it safe to drive with P0171?
Short term, yes — the car will run, but fuel economy suffers and the lean condition stresses engine components. If you also see a flashing check engine light or misfires, treat it as urgent. Fix it within 1–2 weeks to avoid accelerated wear on pistons and valves.
Use the full P0171 code page for a complete cause breakdown and repair cost ranges.