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.
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)
- Cracked vacuum hoses, intake manifold gasket
- Faulty crankcase ventilation valve (PCV / oil separator)
- Dirty MAF (measures less air than enters)
- Low fuel pressure: pump, filter, regulator
- Clogged injectors
- Exhaust leaks before the oxygen sensor
How to check, step by step
- 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
- Listen for hissing at idle; smoke test on the intake
- Check the oil separator: with the engine running, the oil filler cap shouldn't "suck" strongly
- Measure the fuel pressure
- 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 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