Fuel & Air Metering

P0171System Too Lean (Bank 1)

Medium RiskDifficulty:Easy - Moderate30 min-2 hours (including diagnosis)
Is it safe to drive?
Short trips, with care

Short trips are fine, but don't drive like this for weeks. A lean mixture makes the engine run hot, and on LPG-converted cars it seriously increases the risk of burnt valve seats.

Will it pass inspection?
Risky

Going to inspection with the check engine light on is risky: the warning light is recorded as a defect, and if lambda/CO values are off in the emissions test it can become a major defect. Fix the fault and get the light off before you go.

01 / 06

What does P0171 mean?

The engine is taking in more air than it measures, or not getting enough fuel. The ECU keeps adding fuel to compensate, and when it hits the limit it turns on the light. In most cases the cause is either UNMETERED AIR (cracked hose, PCV, intake manifold gasket) or a DIRTY MAF sensor. The first step is finding the leak, not replacing the lambda sensor.

The engine control unit (ECU) applies short-term (STFT) and long-term (LTFT) fuel trims based on the signal from the front oxygen sensor. When total correction exceeds roughly +20-25% and the mixture still reads lean, P0171 is stored. The code is a 'condition', not a 'failed part': anything that leans out the mixture can trigger it. If LTFT is very high at idle but returns to normal as revs rise, the cause is most likely a vacuum leak; if it is high at all engine speeds, suspect fuel pressure or MAF readings.

For LPG-converted cars: On LPG-converted cars, the most common cause of P0171 is an incorrect LPG map. If the code only appears on LPG, go to an LPG specialist before touching the petrol side. Lean mixture + LPG = risk of burnt valves.

02 / 06

How to fix P0171

Steps are ordered from cheapest to most expensive. If a step doesn't solve it, move to the next one, and don't let a garage replace parts blindly.

  1. 1

    Read fuel trims with live data

    DIY

    With an OBD scanner, check STFT + LTFT at idle and at 2500 rpm. Above +15% at idle but normal at higher revs: vacuum leak. High at all engine speeds: MAF or fuel pressure.

  2. 2

    Look for vacuum leaks (smoke test)

    Pro job

    Check the PCV / crankcase ventilation hoses, the PCV diaphragm in the valve cover, the intake manifold gasket and the brake booster hose. A smoke test takes a few minutes at a workshop and is the step that saves the most money.

  3. 3

    Clean the MAF sensor

    DIY

    Use only MAF cleaner spray and don't touch the wire or sensor element. MAF contamination is very common with oiled cotton-type air filters.

  4. 4

    Check the air filter and intake boot

    DIY

    A crack in the boot between the air box and throttle body lets unmetered air in. Squeeze and flex the boot to check it.

  5. 5

    If LPG-converted: filter, regulator and AFR tuning

    Pro job

    Replace the gas-phase filter and have the regulator pressure and LPG injectors checked. If the code appears only on LPG and never on petrol, the problem is the LPG tune 90% of the time; have the ECU map adjusted at an authorised LPG installer.

  6. 6

    Measure fuel pressure

    Pro job

    Measure rail pressure with a gauge. If it is low, check the fuel filter, pump and regulator in that order.

  7. 7

    Exhaust manifold / leak before the front lambda

    Pro job

    A leak upstream of the lambda sensor draws in outside oxygen and the sensor wrongly reads 'lean'. A ticking sound on a cold engine is the giveaway.

  8. 8

    Test the front oxygen (lambda) sensor

    Pro job

    Only if everything above checks out: see whether the sensor switches quickly between 0.1-0.9 V in live data. A lazy sensor is replaced only at this point.

  9. 9

    Injector cleaning / flow test

    Pro job

    Ultrasonic cleaning and flow testing. Usually the last stop on a petrol engine.

Don't replace these first

  • Lambda (oxygen) sensor
  • Fuel pump
  • Engine control unit (ECU)
  • Catalytic converter

These parts are often replaced unnecessarily for P0171. Don't spend money on them before doing the checks above.

03 / 06

P0171 symptoms

  • Check engine (malfunction indicator) light comes on
  • Rough idle, fluctuating revs
  • Hard starting or stalling when cold
  • Hesitation or flat spot when accelerating
  • Higher fuel consumption (the ECU keeps trying to enrich)
  • 'Hissing' sound from under the bonnet (vacuum leak)
  • More noticeable misfires in LPG mode

04 / 06

What causes P0171?

  • Vacuum / air leak (PCV hose, intake manifold gasket, brake booster hose)Very high
  • Dirty or faulty MAF (mass air flow) sensorHigh
  • Incorrect LPG fuel map / clogged gas filterHigh
  • Cracked intake boot after the air filterMedium
  • Low fuel pressure (fuel pump, clogged filter)Medium
  • Exhaust leak upstream of the front oxygen sensorLow
  • Dirty / clogged injectorsLow
  • Faulty front oxygen (lambda) sensorLow

05 / 06

Which cars commonly get P0171?

06 / 06

Frequently asked questions

What does fault code P0171 mean?

P0171 stands for “System Too Lean (Bank 1)”. The engine is taking in more air than it measures, or not getting enough fuel. The ECU keeps adding fuel to compensate, and when it hits the limit it turns on the light. In most cases the cause is either UNMETERED AIR (cracked hose, PCV, intake manifold gasket) or a DIRTY MAF sensor. The first step is finding the leak, not replacing the lambda sensor.

Can I drive with code P0171?

Short trips, with care. Short trips are fine, but don't drive like this for weeks. A lean mixture makes the engine run hot, and on LPG-converted cars it seriously increases the risk of burnt valve seats.

Will a car with code P0171 pass vehicle inspection?

Risky. Going to inspection with the check engine light on is risky: the warning light is recorded as a defect, and if lambda/CO values are off in the emissions test it can become a major defect. Fix the fault and get the light off before you go.

Will clearing the P0171 code fix the problem?

No. If whatever is leaning out the mixture is still there, the ECU will store the code again after a few drive cycles. Clear it only after the diagnosis.

Do I need to replace the lambda sensor for P0171?

Usually not. The lambda sensor is what measures the lean mixture, not what causes it. Check for vacuum leaks and the MAF first.

What does it mean when P0171 and P0174 appear together?

If both banks are lean, the problem is in a shared component: the MAF sensor, fuel pressure or a large vacuum leak. It is not specific to one cylinder.

Related codes