P0171 – System Too Lean (Bank 1) (OBD2)
Fault code P0171 means "System Too Lean (Bank 1)". 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 | Generic OBD2 |
| Severity | Medium |
| Can I drive? | Yes, for a short time – but a lean mixture can cause misfires, overheating of valves and catalyst damage if left unrepaired. |
| Repair cost | €15 – €450 |
Symptoms of P0171
- Check Engine light on
- Rough or unstable idle, sometimes with hissing noise from the engine bay
- Hesitation or loss of power when accelerating
- Misfire codes (P0300–P0304) may appear as well
- Engine may stall when coming to a stop
Most common causes of P0171 (most likely first)
Mechanic's Pro Tip
Look at the fuel trims at idle and at 2,500 rpm before replacing anything. If the long-term trim is high at idle but improves at higher rpm, it is almost always a vacuum leak – check the PCV / crankcase ventilation valve and intake hoses first. A dirty MAF sensor is the second most common cause.
1.Intake air or vacuum leak (cracked hose, intake gasket, PCV / crankcase ventilation valve, brake booster line)
Most likely2.Dirty or faulty mass air flow (MAF) sensor reading too little air
3.Low fuel pressure (weak pump, clogged filter, faulty regulator)
4.Clogged or leaking injectors
5.Exhaust leak in front of the upstream oxygen sensor (false air)
6.Faulty EVAP purge valve stuck open
Step-by-step diagnostic guide
- 1
Check short- and long-term fuel trims with the engine warm: a total trim above about +10 % to +15 % confirms a lean condition. Compare idle with 2,500 rpm – high at idle, normal at higher rpm = vacuum leak; normal at idle, high under load = fuel delivery or MAF.
- 2
Carry out a smoke test on the intake system to find leaks in hoses, gaskets, the PCV valve and the brake booster line.
- 3
Check MAF sensor readings: at warm idle a petrol engine typically reads roughly 1 g/s per litre of displacement (about 2–3 g/s for a 2.0-litre engine). Clean the sensor with dedicated MAF cleaner and compare again.
- 4
Measure fuel pressure and compare with the specification; check the fuel filter and pump.
- 5
Check for exhaust leaks before the upstream oxygen sensor and make sure the EVAP purge valve closes when not commanded.
Frequently asked questions
Can a bad oxygen sensor cause P0171?
It is possible but not common. The upstream sensor usually reports the lean mixture correctly. Test the sensor only after ruling out vacuum leaks, the MAF sensor and fuel pressure.
How much does it cost to fix P0171?
A vacuum hose can cost as little as 10–50 €, a PCV valve 20–60 €. A new MAF sensor or oxygen sensor fitted in a workshop typically costs 100–450 €.
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.