TrustThisCar

P0171: System Too Lean (Bank 1)

The engine is getting more air than the fuel it is being given can burn. The control unit has already added as much extra fuel as it is allowed to, run out of adjustment, and stored the code. On most cars the cause is unmetered air leaking in after the air flow sensor.

Severity
Moderate
Safe to drive
With care
Typical repair
£50 to £490
System
Engine and fuel

What P0171 means

The engine is getting more air than the fuel it is being given can burn. The control unit has already added as much extra fuel as it is allowed to, run out of adjustment, and stored the code. On most cars the cause is unmetered air leaking in after the air flow sensor.

The code is stored by the engine control unit the moment the reading falls outside the range the manufacturer allows. Stored is not the same as diagnosed: P0171 names the symptom the car detected, not the part that caused it. That is why the repair figures below sit in a range rather than at a single price.

What causes it

In rough order of how often each one turns out to be the culprit:

  1. A split or perished vacuum hose, the cheapest and most common cause by a wide margin
  2. A dirty or failing mass air flow sensor under-reading the air entering the engine
  3. A leaking intake manifold gasket, often after the engine has been apart for other work
  4. A failing PCV valve or crankcase breather hose drawing in unmetered air
  5. A weak fuel pump or clogged filter that cannot hold rail pressure under load
  6. A leaking exhaust manifold gasket ahead of the upstream oxygen sensor

What you notice from the driver's seat

How much P0171 costs to fix

Parts cost roughly the same wherever you are. What moves the total is the shop rate, which is why the same job is two to three times the price in the United States that it is in Italy. These figures assume an independent workshop, not a franchised dealer, and cover the cheapest and the most expensive of the causes listed above.

Indicative repair cost for P0171, independent workshop
CountryPartsLabourTotal
United States $15 to $350 $60 to $300 $75 to $650
United Kingdom £10 to £290 £40 to £200 £50 to £490
Germany €10 to €320 €50 to €250 €60 to €570
Italy €10 to €320 €20 to €110 €35 to €430

Based on 0.5 to 2.5 hours of book labour at local shop rates, plus parts at local retail. Indicative ranges, not quotes.

Can you keep driving?

Usually yes, for a few days. The car will drive, but the fault will not clear on its own and the bill grows the longer it is left.

Will it fail an MOT or emissions test?

Usually yes, because the warning light will be on, and an illuminated engine light fails the visual part of the check in every market we cover.

Clearing the code the day before a test is a false economy: erasing the memory also resets the readiness monitors, and a car that arrives with its monitors incomplete is refused on that ground alone in most testing regimes.

If you are looking at a used car with P0171

This is a negotiation code, not a dealbreaker. It is a real repair with a real bill, so the fair move is to price the fix and take it off the asking price. What matters more than the code is whether the seller knew about it.

The thing worth checking is not the code on its own. It is whether the memory was cleared recently. Every car keeps two numbers alongside the fault list: the distance travelled since the codes were last erased, and the state of the readiness monitors. A car with no stored faults, incomplete monitors and 30 km since the last reset was wiped in the seller's driveway, probably this week. That combination tells you more than any single code does.

TrustThisCar reads all of it during the viewing, in three minutes, with the kind of Bluetooth adapter that costs about 20 euro: stored, pending and permanent codes, readiness monitors, distance since the last reset, and a verdict in plain words you can send to the seller while you are still standing next to the car.

Check a car before you buy it

Questions people ask about P0171

What does code P0171 mean?

The engine is getting more air than the fuel it is being given can burn. The control unit has already added as much extra fuel as it is allowed to, run out of adjustment, and stored the code. On most cars the cause is unmetered air leaking in after the air flow sensor.

Can I drive with a P0171 code?

Usually yes, for a few days. The car will drive, but the fault will not clear on its own and the bill grows the longer it is left.

Will P0171 fail an emissions test or MOT?

Usually yes, because the warning light will be on, and an illuminated engine light fails the visual part of the check in every market we cover.

How much does it cost to fix P0171?

It depends on the shop rate where you live: United States $75 to $650, United Kingdom £50 to £490, Germany €60 to €570, Italy €35 to €430. Parts are close to the same everywhere; labour is what moves the total.

Codes that often show up with this one

Last reviewed 2026-10-03.