P0171: System Too Lean (Bank 1)

Quick answer

P0171 is the standardised OBD-II code for system Too Lean (Bank 1). The computer has pushed bank 1 long term fuel trim well beyond its normal correction range trying to add fuel, which means the actual air and fuel mixture is thinner than intended. The most likely cause is vacuum or intake air leak after the mass airflow sensor, not the most expensive one. Keep any driving short and light until it is repaired.

Severity 2 of 4. Short trips only.

Fix soon · Short trips only

P0171 at a glance
CodeP0171
Standard nameSystem Too Lean (Bank 1)
SystemFuel and air metering
SubsystemFuel trim and intake air
Sets theFuel system monitor
SeverityFix soon (2 of 4)
Safe to driveShort trips only
Tool neededScanner with live data
Causes of P0171, most likely first
CauseHow oftenWhat to check
Vacuum or intake air leak after the mass airflow sensorMost likelyThe single most common and cheapest cause, often from a cracked hose or loose clamp.
Dirty or failing mass airflow sensorCommonUnder reports actual airflow, which leads the computer to under-fuel the engine.
Weak fuel pump or clogged fuel filterWorth checkingReduced fuel delivery capacity cannot keep up with engine demand at higher loads.
Clogged or partially failed fuel injectors on bank 1Less commonRestricted spray pattern delivers less fuel than commanded.
Exhaust leak upstream of the oxygen sensorUncommonDraws in outside air that makes the sensor read leaner than the actual cylinder mixture.
Failing positive crankcase ventilation valve or hoseRareA stuck open valve adds unmetered air to the intake.
Reads P0171: live data and freeze frame

TOPDON TopScan Lite OBD2 Scanner, Bidirectional Scan Tool, 8 Resets & AI

Adds live sensor streams and freeze frame, which is what turns a code into a diagnosis rather than a guess.

$51.99Check pricePrices change often

Coverage varies by tool and by model year, so check a specific tool against a specific vehicle before buying.

What P0171 tells you, and what it does not

The computer has pushed bank 1 long term fuel trim well beyond its normal correction range trying to add fuel, which means the actual air and fuel mixture is thinner than intended. This usually means unmetered air is entering the engine somewhere after the airflow sensor, or that not enough fuel is being delivered to match the air the engine is taking in.

The code sits in the fuel trim and intake air area and is reported by the fuel system monitor. It names the circuit or the condition where the computer saw a reading outside its expected range. It does not name a failed part, and several genuinely different faults set this same code, which is the whole reason the causes below are ordered rather than listed.

What people usually notice

  • Rough idle
  • Hesitation under acceleration
  • Poor fuel economy
  • Occasional misfire
  • Check engine light

What causes P0171?

The causes below are ordered by how often they turn out to be the answer, cheapest and most common first. That order matters more than the list itself: the expensive component named in the code text is very rarely the first thing to replace, and working down from the top is what stops a fuel trim and intake air fault becoming an expensive guess.

Vacuum or intake air leak after the mass airflow sensor is the one to rule out before anything else. The single most common and cheapest cause, often from a cracked hose or loose clamp.

Working out which cause it is

Start with freeze frame. Fuel trim values and engine load at the fault show whether the lean condition is worse at idle, which points toward a vacuum leak, or under load. That snapshot is taken at the instant the code set, and it is the single most useful piece of evidence you have, which is also why clearing the code before reading it is such a costly habit.

This code is diagnosed by watching values change rather than by reading the number again, so the tool has to stream live data and hold freeze frame. Reading short and long term fuel trim live across idle, cruise and load shows exactly how lean the system is running and under which conditions.

The order worth working in

  • 1. Vacuum or intake air leak after the mass airflow sensor: The single most common and cheapest cause, often from a cracked hose or loose clamp.
  • 2. Dirty or failing mass airflow sensor: Under reports actual airflow, which leads the computer to under-fuel the engine.
  • 3. Weak fuel pump or clogged fuel filter: Reduced fuel delivery capacity cannot keep up with engine demand at higher loads.
  • 4. Clogged or partially failed fuel injectors on bank 1: Restricted spray pattern delivers less fuel than commanded.
  • 5. Exhaust leak upstream of the oxygen sensor: Draws in outside air that makes the sensor read leaner than the actual cylinder mixture.
  • 6. Failing positive crankcase ventilation valve or hose: A stuck open valve adds unmetered air to the intake.

What P0171 means for driving the car

Short trips are fine, but a lean condition that gets worse can lead to engine knock or misfire, so get it diagnosed soon.

This is a severity 2 of 4 code. It will not usually strand you, but it will fail an emissions test while it is present, and the underlying fault rarely gets cheaper by being left alone.

What does it cost to ignore P0171?

A sustained lean condition runs hotter combustion temperatures, which can damage spark plugs, oxygen sensors and eventually the catalytic converter if left unaddressed.

There is also the diagnostic cost of waiting. Freeze frame data, pending code history and the readiness monitor state all describe the fault as it was when it set, and all of it is lost the moment somebody clears the code to make the lamp go out.

P0171 by make

Tools that can diagnose P0171

Adds live sensor streams and freeze frame, which is what turns a code into a diagnosis rather than a guess.

Common questions

What does code P0171 mean?

P0171 is the generic OBD-II code for system Too Lean (Bank 1). The computer has pushed bank 1 long term fuel trim well beyond its normal correction range trying to add fuel, which means the actual air and fuel mixture is thinner than intended. This usually means unmetered air is entering the engine somewhere after the airflow sensor, or that not enough fuel is being delivered to match the air the engine is taking in. It is a standardised definition, so it means the same thing on every manufacturer, although the fault behind it differs from car to car.

Can I drive with P0171?

Short trips are fine, but a lean condition that gets worse can lead to engine knock or misfire, so get it diagnosed soon. On the severity scale this sits at 2 of 4, described as fix soon. Whatever the code, a check engine light that starts flashing changes the answer immediately: that means an active misfire and the correct response is to reduce load and stop driving.

What is the most common cause of P0171?

Vacuum or intake air leak after the mass airflow sensor is the cause worth ruling out first. The single most common and cheapest cause, often from a cracked hose or loose clamp. Work down the ordered list rather than replacing the component named in the code text, because that component is the expensive answer and it is rarely the right one.

Will P0171 clear itself?

If the underlying fault genuinely goes away, the computer turns the lamp off after the monitor passes on a number of consecutive drive cycles, and the code moves to history before ageing out. A code that clears and returns is not fixed, it is intermittent. Clearing it manually erases the freeze frame data and resets every readiness monitor to incomplete.

What scanner do I need for P0171?

This code is diagnosed by watching values change rather than by reading the number again, so the tool has to stream live data and hold freeze frame. Reading short and long term fuel trim live across idle, cruise and load shows exactly how lean the system is running and under which conditions. Vehicle coverage still varies by tool and by model year, so check a specific tool against a specific vehicle rather than assuming a capability tier guarantees access.