Skip to content
How it works: OBD error codes: what they mean and which part to replace
Engine and transmission (P) · generic code

P0171: System too lean – bank 1

The ECU adds a lot of fuel on top of the base value (large positive corrections) and still can't reach the correct mixture.

Medium severityCan I drive? Yes, but not for long: a lean mixture raises cylinder temperatures and can ruin the catalytic converter.

What P0171 means

The oxygen sensor sees too much oxygen in the exhaust; the ECU corrects through "fuel trim" (short- and long-term corrections). When the long-term correction exceeds about +20–25%, P0171 appears. Most often unmetered air enters the engine (vacuum leaks); less often fuel is lacking (pump, filter, injectors) or the MAF measures too little.

Symptoms

  • Unstable idle, especially when cold
  • Hesitation on acceleration
  • Misfires (P0300 may also appear)
  • Sometimes just the warning light

Possible causes (most common first)

  1. Cracked vacuum hoses, intake manifold gasket
  2. Faulty crankcase ventilation valve (PCV / oil separator)
  3. Dirty MAF (measures less air than enters)
  4. Low fuel pressure: pump, filter, regulator
  5. Clogged injectors
  6. Exhaust leaks before the oxygen sensor

How to check, step by step

  1. Read the fuel trims at idle and at 2500 rpm: if they drop with revs, it's a vacuum leak; if they rise, it's lack of fuel or the MAF
  2. Listen for hissing at idle; smoke test on the intake
  3. Check the oil separator: with the engine running, the oil filler cap shouldn't "suck" strongly
  4. Measure the fuel pressure
  5. Check the MAF (values at idle and at full throttle)

How it's repaired

  • Replacing the leaking hose / gasket
  • New oil separator / PCV
  • Cleaning or replacing the MAF
  • Fuel filter, pump
  • Cleaning the injectors
On certain makes and engines

On VW/Audi 1.8T and 2.0 TFSI engines, the oil separator (PCV) is a very common cause. On BMW N46/N52, the Valvetronic gasket and the crankcase ventilation hose.

Parts often replaced for P0171

Related codes

The descriptions are general. The same code may have particularities on certain engines; before replacing a part, check the diagnosis steps or ask a mechanic. Updated: 01.12.2026