Fuel and injectionGeneric OBD-II codeUrgency: Garage soon
Code P0171: mixture too lean (bank 1)
P0171 means: system too lean (bank 1): the air-fuel mixture has too much air or too little fuel.[1][2] The ECU adjusts the amount of fuel according to what the lambda sensor measures in the exhaust (this is called mixture adjustment or "fuel trim"). If the sensor detects too much oxygen, the ECU adds fuel; when it reaches the maximum it can add and there is still excess oxygen, it stores P0171. Put another way: more air is entering than the ECU thinks, or less fuel than needed is arriving, and it can no longer compensate.[1][2][3][4]
What code P0171 means
The ECU adjusts the amount of fuel according to what the lambda sensor measures in the exhaust (this is called mixture adjustment or "fuel trim"). If the sensor detects too much oxygen, the ECU adds fuel; when it reaches the maximum it can add and there is still excess oxygen, it stores P0171. Put another way: more air is entering than the ECU thinks, or less fuel than needed is arriving, and it can no longer compensate.[1][2][3][4]
"Bank 1" is the group of cylinders that includes cylinder number 1. Inline four-cylinder engines usually have a single bank; V6s, V8s and some four-cylinder engines have two. P0174 is the same problem on bank 2.[2][3]
A positive fuel trim value means the ECU is lengthening the injection because the mixture is lean; a negative one, that it is shortening it because the mixture is rich. Normally they hover around zero, within about ±10%.[5]
It is a generic OBD-II code (it starts with P0), so it means the same on any make; what changes from one engine to another is the most likely cause.[6]
Original definition (SAE J2012): System Too Lean (Bank 1)[1][2]
Codes from the same family
They indicate the same problem in a specific cylinder, bank or sensor. Causes, symptoms and diagnosis are those on this page.
Causes of P0171 and its family
From most to least likely, according to the sources.
- 1Air leaks in the intake: cracked or loose vacuum hoses or sleeves, manifold gasket, or boost pipe on turbo engines. This is the most common cause: air that enters after the mass air flow sensor is not measured and the ECU cannot compensate.[1][2][7][8][9]
- 2Dirty or faulty mass air flow sensor (MAF), which measures the incoming air incorrectly.[1][2][7][8][9]
- 3Low fuel pressure: weak pump, clogged fuel filter or faulty regulator.[1][2][7][8][9]
- 4Clogged, contaminated or leaking injectors.[1][7][9]
- 5Faulty or stuck PCV valve (crankcase ventilation) or a broken hose.[1][2][4][8]
- 6EVAP purge valve stuck open, or leaks in that system.[2][3][8]
- 7Exhaust leaks upstream of the front lambda sensor, which give it false readings.[1][8][9]
- 8Faulty lambda sensor, which reports incorrectly; it is not usually the first suspect.[1][2][4][7][8]
- 9Causes cited by only one source: EGR valve stuck open, coolant temperature sensor with a wrong signal, blocked catalytic converter or a badly fitted aftermarket intake.[2][8]
Symptoms
- Engine warning light on the instrument cluster.[1][8]Engine warning light: faults that cause it
- Lack of power and slow acceleration.[1][2][7]Less power: faults that cause it
- Rough idle.[2][7][8]Vibrations: faults that cause it
- The engine may stall when the car comes to a stop.[2][7][8]Engine stalls: faults that cause it
- Hesitation when accelerating.[7]Jerking: faults that cause it
- Hard starting.[2][8]Hard to start: faults that cause it
- Increased fuel consumption.[1]Uses more fuel: faults that cause it
- Hissing or whistling in the engine bay when the cause is a vacuum leak.[2]
- Knock (pinking) when accelerating under load or uphill.[2]
How to diagnose P0171
In order: from the most likely and cheapest to check to the most expensive.
- 1Do a visual inspection in the engine bay: air filter box properly closed, intake hose without cracks, vacuum hoses connected and unbroken.[2]
- 2Read the code with a diagnostic tool and check whether any other associated codes are stored.[8]
- 3Watch the short-term and long-term fuel trims live, at idle and at higher revs. High positive values confirm the lean mixture (the sources give different thresholds: above +10% or +15-20%). If the trim rises a lot at idle and drops as revs rise, an air leak is most likely; if at idle it is near zero and rises at higher revs, suspect the mass air flow sensor, a blocked catalytic converter or low fuel pressure.[2][5][7]
- 4Find the air leak with a smoke test on the intake, including the boost section on turbo engines.[4][8]
- 5Clean or check the mass air flow sensor with a specific cleaner and check that its live values make sense.[1][7][8]
- 6Check the fuel pressure at idle and under load, and the condition of the fuel filter.[1][4][7][8]
- 7Check the PCV, EVAP purge and EGR valves, the injectors and any exhaust leaks upstream of the lambda sensor.[1][8][9]
- 8Leave the lambda sensor until last: replace it only if the other air and fuel checks come out normal.[4][8]
Can I keep driving with P0171?
Garage soon
The sources agree that it is not an emergency, although not on the degree of risk. Autodoc Club considers it a minor fault that poses no particular risk to the driver, and MechanicBase accepts short journeys to the garage. But Samarins warns that a lean mixture raises combustion temperature and, over time, can damage the engine; MechanicBase warns that continuing to ignore it can damage internal parts, and adds that the code may be the first warning of something about to fail, such as a clogged fuel filter or a weak pump. It is best to repair it rather than let it go.[1][2][8]
Documented faults related to P0171
Known faults of specific engines and cars, with their repair cost, the affected years and their sources.
Engine sensors: the most serious faults by engine and car
- High severityFrequency: Occasional2.0 DTI and 2.2 DTIVP44 injection pump and air mass meter failureGerman Wikipedia documents recurring failures of the Bosch VP44 injection pump and the air mass meter in the early years of this engine. An owner testimony for this engine describes the pump being replaced at 192,500 km, at a cost the owner calls «prohibitive».
- Medium severityFrequency: Common2.0 TDIClogged particulate filter or faulty pressure sensorThe 2.0 TDI's particulate filter clogs if the car mostly makes short journeys, because it never gets to regenerate; sometimes the fault is just the differential pressure sensor. Cleaning it costs around €200 and replacing it, €800 to €3,000.Repair (garage): €800–€3,000
- Medium severityFrequency: Common1.4 and 1.6 8vCrankshaft position sensor failure (TDC sensor)The crankshaft position sensor (capteur PMH, or TDC sensor) appears repeatedly in the reliability sources for the Clio II, the Kangoo I and the Dacia Logan I with this engine, with hard cold starting or stalling as the main symptoms. It is a cheap part, but the failure can leave you stranded.
- Medium severityFrequency: Common1.4 and 1.6 16vCrankshaft position sensor failureThe crankshaft position sensor (capteur PMH) appears repeatedly in the reliability sources for almost every generation with this engine, with hard cold starting, stalling or the car cutting out unexpectedly. It is a cheap part, but the failure can leave you stranded.
Fuel pump and high-pressure pump: the most serious faults by engine and car
- Critical severityFrequency: Common2.0 and 2.5 HybridLow-pressure fuel pump failure: loss of power and fire riskYes: a low-pressure fuel pump with a defective impeller (Denso) affects millions of Toyotas and Lexuses, including Corolla, C-HR, RAV4 and Camry models with these engines. It can cause loss of power or stalling, and in the EU there is also a risk of leaks and fire on 2018-2022 Corolla, C-HR and Auris models.
- High severityFrequency: CommonBMW N54/N55High-pressure fuel pump (HPFP) failureThe N54's high-pressure pump is one of its best-documented failures: most units will have had it replaced at some point. It warns of itself with long cranking and loss of power; the 2010 campaign was US-only.
- High severityFrequency: Common2.2/2.5 dCiInjection pump or injector failureThe 2.2 dCi's common rail injectors fail fairly often on the X-Trail and Almera, with cases of seizing and leaks; on the Almera with the older YD22DDT, the documented fault is in the injection pump electronics, not the injectors.
- High severityFrequency: CommonVW 2.0 TFSI EA113Wear of the high-pressure pump cam followerYes: the 2.0 TFSI EA113's high-pressure fuel pump is driven by the camshaft through a follower (tappet) that wears; if it wears through it can damage the pump or the camshaft, so it should be checked and replaced as a preventive measure.Repair (garage): €250–€900Appears at around 90,000 km
Injectors: the most serious faults by engine and car
- High severityFrequency: Very frequentOM651Delphi piezo injector failure (220/250 CDI)Yes: 220 and 250 CDI models built between 2008 and 2011 had Delphi piezo injectors that were prone to failing and seizing in the cylinder head. Mercedes-Benz replaced them under warranty in 2009 and switched the 220 CDI to solenoid injectors from 2010-2011, but the 250 CDI kept them.Repair (garage): €3,600–€5,900
- High severityFrequency: CommonBMW N52 / N53N53 piezoelectric injector failureThe N53's piezoelectric direct injectors fail frequently and cause misfires, rough idle and limp mode; replacing them is expensive and they must be coded.
- High severityFrequency: CommonMZR-CDOil dilution from leaking injector seals and DPF regenerationsOn the 2.0 and 2.2 MZR-CD, injector seals that age badly and incomplete particulate filter regenerations on short journeys can let unburnt diesel into the sump, diluting the oil and leaving the engine with less lubrication.
- High severityFrequency: CommonOM642Wear and failure of the Bosch piezo injectorsThe OM642's Bosch piezo injectors can fail from around 150,000-200,000 km, especially with poor-quality diesel; they cannot be repaired, only replaced. Because it is a V engine, those on the rear bank are harder to reach, which pushes up labour costs.Repair: €4,500–€6,500
P0171 by make
Documented faults that can trigger P0171 in each make's engines and cars.
Frequently asked questions
Can I drive with code P0171?
Yes, for a while and without asking too much of the engine: the sources do not see it as an especially dangerous fault and accept short journeys to the garage. But it is best to repair it, because a sustained lean mixture raises combustion temperature and can end up damaging engine parts.[1][2][8]
Does P0171 mean the lambda sensor has to be replaced?
It is not usually the first cause. The most common are an air leak in the intake, a dirty mass air flow sensor or low fuel pressure; the sensor is checked last, once air and fuel have been ruled out.[2][4][7][8]
What does "bank 1" mean and why does P0174 sometimes appear too?
Bank 1 is the group of cylinders where cylinder number 1 is. On a two-bank engine (V6, V8 and some four-cylinder engines) the ECU monitors each bank separately, and P0174 is the same warning for bank 2. Comparing the fuel trims of both banks helps to see whether the fault is isolated to one of them.[2][3][4]
Can a turbo with a leak cause P0171?
Yes. On a turbo engine, a leak in the boost pipe, after the mass air flow sensor, lets in air that is not measured and can trigger this code.[8]
Does P0171 mean the same on all makes?
Yes. Codes starting with P0 are generic (defined by the SAE) and have the same definition for all manufacturers; what varies is the part that tends to fail on each engine.[6]
Will I pass the MOT with code P0171?
If the code has switched on the engine warning light, no: with that light on, the inspection records a serious defect, and on Euro 5 and Euro 6 cars the ITV (Spain's roadworthiness inspection, similar to the MOT) also reads the OBD diagnostic system. Repair the fault before you go; clearing the code just before the inspection does not help either, because it counts as a serious defect.[10]
Not sure what is wrong with your car? Describe what you notice in the symptom diagnosis or see all fault codes.
Sources
Every fact on this page links to its source. If you find an error, let us know.
- Qué significa el código P0171Autodoc Club · Technical documentation · consulted 2 October 2026 · in Spanish
- Code P0171 - System Too Lean: Symptoms, causes, common problems, diagnosticSamarins.com · Technical documentation · published 10 July 2021 · consulted 2 October 2026
- Código de avería P0174 - guía paso a paso para su diagnóstico y resoluciónAutodoc Club · Technical documentation · consulted 2 October 2026 · in Spanish
- P0174: OBD-II code P0174 means the PCM is adding significant extra fuel on bank 2Carista · Technical documentation · consulted 2 October 2026
- Fuel Trim InfoRoss-Tech Wiki · Technical documentation · consulted 2 October 2026
- On-board diagnosticsWikipedia · Other source · consulted 2 October 2026
- P0171: Fuel Trim System Too Lean (Bank 1)Carista · Technical documentation · consulted 2 October 2026
- P0171 – System Too Lean (Bank 1)Mechanic Base · Technical documentation · published 17 March 2023 · consulted 2 October 2026
- 16555/P0171/000369 - Fuel Trim; Bank 1: System Too LeanRoss-Tech Wiki · Technical documentation · consulted 2 October 2026
- Desmontando mitos: ¿puede pasar mi coche la ITV con el testigo de «avería motor» encendido?Diariomotor · Motoring press · published 8 March 2021 · consulted 2 October 2026 · in Spanish