P0171 – System Too Lean (Bank 1) (BMW N52)
Fault code P0171 means "System Too Lean (Bank 1)". It is common on N52 (2.5/3.0 six-cylinder), N53 / N54 / N55, N20 (2.0 four-cylinder turbo) engines. Below are the real-world causes, step-by-step tests and OEM part numbers.
Last updated
P0171 quick summary
| Fault code | P0171 |
|---|---|
| Meaning | System Too Lean (Bank 1) |
| System | Powertrain (Engine & Transmission) |
| Vehicles | BMW |
| Common on | N52 (2.5/3.0 six-cylinder), N53 / N54 / N55, N20 (2.0 four-cylinder turbo) |
| Severity | Medium |
| Can I drive? | Yes, for now – but a lean mixture causes misfires and can damage the catalytic converters if left unrepaired. |
| Repair cost | €15 – €800 |
Symptoms of P0171
- Check Engine light on (on six-cylinders often together with P0174 for bank 2)
- Rough or hunting idle
- Whistling or sucking noise from the engine bay
- Hesitation when accelerating
- Oil smoke or higher oil consumption (failed crankcase ventilation)
Most common causes of P0171 (most likely first)
Mechanic's Pro Tip
On N52-family engines the crankcase ventilation valve is built into the plastic valve cover. When its diaphragm tears, the engine sucks unmetered air and sets P0171 (and P0174 on six-cylinders). A quick check: with the engine idling, the oil filler cap should only be held by a slight vacuum – if it is sucked down hard or you hear whistling, suspect the ventilation valve or valve cover.
1.Torn diaphragm in the crankcase ventilation valve (integrated in the valve cover on N52)
Most likely2.Cracked crankcase ventilation hoses or valve cover
3.Leaking intake boots, oil filler cap seal or dipstick tube seal
4.Dirty or faulty MAF sensor
5.Low fuel pressure or dirty injectors
Step-by-step diagnostic guide
- 1
Check the fuel trims for both banks: high positive long-term trims at idle that improve at higher rpm point to a vacuum leak.
- 2
With the engine idling, check the vacuum at the oil filler cap and listen for whistling near the valve cover.
- 3
Smoke-test the intake and crankcase ventilation system; inspect intake boots and hoses.
- 4
Check MAF readings and clean or replace the sensor if implausible.
- 5
Check fuel pressure and injector function if no air leak is found.
Frequently asked questions
Why do I get P0171 and P0174 together on my BMW?
Both banks lean at the same time point to a cause that affects the whole engine – typically an air leak or crankcase ventilation fault, a MAF problem or low fuel pressure – rather than a fault on one bank.
How much does it cost to fix P0171 on a BMW?
A hose or seal can cost as little as 10–50 €. A MAF sensor costs about 100–400 € fitted. If the valve cover with the integrated ventilation valve has to be replaced, expect several hundred euros including labour.
Related fault codes
This guide is for information only. Working on vehicles can be dangerous — if you are unsure, have the car checked by a qualified mechanic. Values can differ between model years; always check the manufacturer's repair information.