Skip to content
MotorFiable

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]

System
Fuel and injection
Urgency
Garage soon
You can drive carefully, but book a garage appointment as soon as possible
Possible causes
9
sorted from most to least likely
Type
Generic
The same on all makes

10 sourcesHow we work

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.

  • P0171System too lean (bank 1): the air-fuel mixture has too much air or too little fuel.
  • P0174System too lean (bank 2): the same problem as P0171, but detected by the bank 2 lambda sensor.[3][4]

Causes of P0171 and its family

From most to least likely, according to the sources.

  1. 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]
  2. 2Dirty or faulty mass air flow sensor (MAF), which measures the incoming air incorrectly.[1][2][7][8][9]
  3. 3Low fuel pressure: weak pump, clogged fuel filter or faulty regulator.[1][2][7][8][9]
  4. 4Clogged, contaminated or leaking injectors.[1][7][9]
  5. 5Faulty or stuck PCV valve (crankcase ventilation) or a broken hose.[1][2][4][8]
  6. 6EVAP purge valve stuck open, or leaks in that system.[2][3][8]
  7. 7Exhaust leaks upstream of the front lambda sensor, which give it false readings.[1][8][9]
  8. 8Faulty lambda sensor, which reports incorrectly; it is not usually the first suspect.[1][2][4][7][8]
  9. 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

How to diagnose P0171

In order: from the most likely and cheapest to check to the most expensive.

  1. 1Do a visual inspection in the engine bay: air filter box properly closed, intake hose without cracks, vacuum hoses connected and unbroken.[2]
  2. 2Read the code with a diagnostic tool and check whether any other associated codes are stored.[8]
  3. 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]
  4. 4Find the air leak with a smoke test on the intake, including the boost section on turbo engines.[4][8]
  5. 5Clean or check the mass air flow sensor with a specific cleaner and check that its live values make sense.[1][7][8]
  6. 6Check the fuel pressure at idle and under load, and the condition of the fuel filter.[1][4][7][8]
  7. 7Check the PCV, EVAP purge and EGR valves, the injectors and any exhaust leaks upstream of the lambda sensor.[1][8][9]
  8. 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

All faults with the engine sensors (29)

Fuel pump and high-pressure pump: the most serious faults by engine and car

All faults with the fuel pump (28)

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.

  1. Qué significa el código P0171Autodoc Club · Technical documentation · consulted 2 October 2026 · in Spanish
  2. Code P0171 - System Too Lean: Symptoms, causes, common problems, diagnosticSamarins.com · Technical documentation · published 10 July 2021 · consulted 2 October 2026
  3. 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
  4. P0174: OBD-II code P0174 means the PCM is adding significant extra fuel on bank 2Carista · Technical documentation · consulted 2 October 2026
  5. Fuel Trim InfoRoss-Tech Wiki · Technical documentation · consulted 2 October 2026
  6. On-board diagnosticsWikipedia · Other source · consulted 2 October 2026
  7. P0171: Fuel Trim System Too Lean (Bank 1)Carista · Technical documentation · consulted 2 October 2026
  8. P0171 – System Too Lean (Bank 1)Mechanic Base · Technical documentation · published 17 March 2023 · consulted 2 October 2026
  9. 16555/P0171/000369 - Fuel Trim; Bank 1: System Too LeanRoss-Tech Wiki · Technical documentation · consulted 2 October 2026
  10. 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