Advertisement

P0171: System Too Lean Bank 1

With closed-loop control the engine module corrects the injected fuel using the oxygen sensor: short-term fuel trim reacts within fractions of a second, long-term trim stores a learned base correction per load and speed range. Positive values mean fuel is being added because the mixture was lean, ne

Can you drive with P0171?

Severity: Plan the repair. Yes — this is an emissions-system fault. The car will generally drive normally, but it will fail an emissions inspection with the light on.

If you ignore it: Fuel economy and emissions creep up, and some faults in this family (rich/lean running) stress the catalyst over time.

This is the #24 most common code in our top-150 library, in the fuel trim & air metering family (Powertrain system). Severity is Number Nest's editorial triage — if the light is flashing or the car feels unsafe, stop driving it whatever any page says.

What P0171 means

With closed-loop control the engine module corrects the injected fuel using the oxygen sensor: short-term fuel trim reacts within fractions of a second, long-term trim stores a learned base correction per load and speed range. Positive values mean fuel is being added because the mixture was lean, negative values mean fuel is being removed; around ±10 % is normal. P0171 means long-term trim on bank 1 is at its upper limit: the module already adds the maximum fuel and the mixture still stays lean. GM sets it at a long-term factor of about 1.30–1.36 (+30–36 %, engine-specific), Ford above +25 % with short-term trim above +1 %; it needs two trips and is suspended during heavy purge flow or intrusive tests. GM bulletins repeatedly trace it to leaking crankcase ventilation hoses or pipes on V6 and V8 engines; Ford found leaking direct injectors. P0171 together with P0174 points to a shared cause. Diagnosis hint: trims very high only at idle and normal under load point to an air leak; trims rising with load point to fuel shortage or an air flow sensor reading low. The oxygen sensor only reports what is in the exhaust and is rarely the cause.

Systems involved: oxygen sensor bank1 sensor1, mass air flow sensor, fuel system, intake manifold.

Advertisement

Causes, ranked by likelihood

#CauseLikelihood
1Air leak after the air flow sensor (intake manifold gasket, vacuum hoses, throttle body gasket, brake booster line)most likely
2Crankcase ventilation leaking or faulty (PCV hose, diaphragm in valve cover, oil cap, dipstick)most likely
3Air flow sensor dirty or drifting (measures too little air)possible
4Fuel pressure or delivery too low (weak pump, clogged filter, regulator, tank nearly empty)possible
5Injectors clogged, or exhaust leak ahead of the oxygen sensorless common

Check them in order — the list is ranked so the likely, cheaper causes come before the expensive part.

Symptoms you may notice

Misdiagnosis traps

How a good shop confirms it

  1. Read fuel trims: high positive trims at idle that fall with RPM = vacuum leak; high at all speeds = fuel delivery or MAF under-reading.
  2. Smoke-test the intake, clean or test the MAF, then verify fuel pressure under load.

Repair options & costs

RepairShop total (parts + labor)DIY (parts only)Difficulty
Intake / vacuum leak repair (gaskets, hoses)$338 – $838$150 – $400 (parts only)3/5
Mass air flow (MAF) sensor$158 – $420$120 – $320 (parts only)1/5

National ranges from Number Nest's cost model (midsize car, independent shop, US-average labor). Published cross-check — Mass air flow (MAF) sensor: CarMD 2026 national average $346.

OBDex repair data for this code rates the job difficulty medium with a typical labor time in the 0.5–4 hour range and DIY possible: yes.

Price this repair in your state

Estimated total: — (midsize car, independent shop)

Full estimator — vehicle class, dealer & DIY options →

Frequently asked questions

Why does it run fine if it is "too lean"?

The computer compensates with fuel trims up to its authority (about ±25%). The code sets when compensation runs out of room — the car can feel normal while it is at the edge.

Will P0171 hurt fuel economy?

It can, both ways: the computer adds fuel to compensate a false-lean reading, and a real lean condition causes hesitation and misfires under load.

How much does it cost to fix P0171?

The fix most associated with this code — intake / vacuum leak repair (gaskets, hoses) — runs $338 – $838 at an independent shop for a midsize car in our cost model (parts + labor, US average). The code names a system, not a part, so confirm the cause before spending: the ranked causes above are ordered by likelihood.

Can I drive with P0171?

See the can-you-drive verdict above — it is based on the system involved and the cascading-damage risk, and it is our editorial triage, not a manufacturer instruction. If the light is flashing or the car feels unsafe, stop driving it regardless of any code.

Will P0171 clear itself?

If the fault was a one-off (a loose cap, a cold-start glitch), the light can go out after several clean trips and the code ages into history. A fault that is still present re-sets the code as soon as the car runs that self-test again — monitors run under specific conditions, which is why "it hasn't come back in two days" is not proof of a fix.

Will my car fail inspection with P0171?

In states with OBD-based emissions inspection, yes — an illuminated check-engine light or an incomplete readiness monitor fails the test regardless of what the tailpipe would show. C-codes (ABS) fall under safety inspection instead in states that have one.

What should I check first for P0171?

The first item on the ranked-causes list above — it is ranked likelihood-first for exactly this reason — plus the free checks: recent work in the area (connectors left loose are a classic), fluid levels, and the battery and grounds on electrical codes.

Where this data comes from

Code facts, causes and symptoms come from OBDex — an open dataset of independently authored descriptions of the standardized generic OBD-II codes (CC0 1.0, public domain; github.com/foerbsnavi/OBDex). The SAE J2012 document itself is copyrighted and is not reproduced here. Cost ranges are Number Nest's own US planning model: national parts and labor ranges cross-checked against the CarMD Vehicle Health Index 2026 published averages, with labor adjustable by the BLS OEWS May 2025 state wage index for auto technicians (occupation 49-3023) — a wage index, not a surveyed shop rate. Severity and can-you-drive notes are our editorial triage, not a manufacturer instruction.

Advertisement