P0171: Mixture too lean, bank 1
The engine computer is adding much more fuel than normal on bank 1 and still sees too much oxygen in the exhaust. The engine is getting more air than the fuel system is supplying for, usually because of unmetered air or too little fuel.
How the car decides
The front oxygen sensor reports whether the exhaust is rich or lean, and the computer answers with short-term fuel trim, then learns the average as long-term fuel trim. P0171 is stored when the total positive correction sits at the computer’s limit for a sustained period; that limit is often somewhere around +25 %, depending on the make. Inline engines only have bank 1, so there the code covers the whole engine. On V engines, P0171 together with P0174 points at a shared cause such as a vacuum leak, the MAF sensor or fuel pressure, while P0171 alone suggests something specific to bank 1, like an intake gasket on that side. The oxygen sensor is nearly always just reporting what it sees.
Common causes of P0171
- Vacuum leak: cracked hose, PCV valve or hose, intake gasket or brake booster lineCommon
- Split intake boot between the MAF sensor and the throttle bodyCommon
- Dirty or failing MAF sensor reporting too little airCommon
- Low fuel pressure from a weak pump, clogged filter or faulty regulatorPossible
- Clogged or dirty injectorsPossible
- Poorly adjusted or worn LPG system on converted carsPossible
- Exhaust leak ahead of the front oxygen sensorPossible
Symptoms
- Often none besides the warning light at first
- Rough or hunting idle
- Flat spot or hesitation when accelerating
- Misfire codes such as P0300, mostly on a cold engine
- On LPG cars, stalling at idle or when switching over to gas
What to check first
- Read the freeze frame: a lean code set at idle points toward a vacuum leak, one set under heavy load toward fuel delivery.
- Watch long-term fuel trim at idle and at about 2,500 rpm; if it falls back toward normal at the higher speed, a vacuum leak is likely.
- Inspect the intake boot between MAF and throttle body for splits, especially inside the folds underneath, and check every vacuum hose for cracks.
- Compare MAF g/s at warm idle with the expected figure; a reading well under it suggests a contaminated sensor.
- On an LPG car, compare trims on petrol and on gas; normal trims on petrol mean the gas system needs attention.
How urgent is it?
Plan a repair within days to a couple of weeks. A lean engine runs hotter and can start misfiring, which eventually puts the catalytic converter at risk; if the light starts flashing, cut back driving right away.
General information, not a diagnosis of your car. Have a qualified mechanic confirm the cause before you replace parts, and stop driving if the car runs badly, overheats or the warning light flashes.
Questions
Does P0171 mean the oxygen sensor is bad?
Rarely. The front sensor is usually reporting a lean mixture that really exists, and replacing it leaves the air leak or fuel shortage in place. Suspect the sensor only after leaks, airflow and fuel pressure have checked out.
Why does my LPG car set P0171?
The LPG controller works from the petrol injection signal and adds its own correction. If the gas map is too lean, the reducer is worn or the gas filter is clogged, the engine runs lean on gas and the computer’s trims hit their limit. Normal trims on petrol confirm that the LPG system needs checking and re-tuning.
Reading the code itself
- System
- P: Powertrain: engine, fuel, emissions or transmission
- Type
- P0: Generic: the same meaning on every make
- Subsystem
- 1: Fuel and air metering
- Fault number
- 71