Generic OBD-II / Powertrain

P0171 - System Too Lean (Bank 1)

P0171 is a generic OBD-II lean-running code for bank 1.

This is a generic OBD-II guide that can apply across many makes. Exact test flow, sensor locations, and repeat failure patterns can still vary by manufacturer and engine family.

Severity

Medium

Keep driving?

Usually short trips only

Most likely cause

A vacuum leak, airflow sensor issue, or fuel-delivery problem is the first place to look.

DIY friendly?

Basics first

First checks take 10 to 20 minutes for the first checks. No special tools are usually needed for the first checks.

Can you keep driving?

Can you keep driving?

Stop driving if any of these apply

  • !The check-engine light is flashing.
  • !The engine is running badly enough that traffic safety or engine damage becomes a concern.
If the light is steady and the vehicle still drives normally: Usually yes for a short time, but the engine may run rough, feel weak, or run hotter than normal if the cause gets worse.

What to check first

Step-by-step checks

  1. 1

    Free - no tools

    Check for vacuum leaks, split intake hoses, or anything recently left disconnected

  2. 2

    Free - no tools

    Inspect the airflow sensor and intake tract for dirt, contamination, or a loose connector

  3. 3

    Basic tool needed

    Look for fuel-trim codes, misfire codes, or other signs that point to the same root cause

  4. 4

    Basic tool needed

    If scan data is available, compare fuel trims at idle and under light throttle

  5. 5

    Basic tool needed

    If the engine runs smoother after a simple repair, recheck before replacing sensors blindly

If the code returns

  • -If trims stay positive after the basic checks, fuel pressure and injector flow deserve more attention.
  • -If the airflow sensor signal looks unstable, clean or test it before buying other parts.
  • -If the code returns with no visible leak, a smoke test or fuel-supply test becomes more useful.

Background

What this code means

P0171 is a generic OBD-II lean-running code for bank 1.

A lean code can come from too much air, not enough fuel, or sensor data that makes the ECU command the wrong mixture.

Diagnosis

Common causes

Most common

Vacuum leak

Unmetered air entering the engine is one of the most common causes.

Common

Airflow sensor bias

A dirty or inaccurate MAF signal can make the ECU command too little fuel.

Common

Fuel pressure issue

Low pressure can leave the bank short of fuel under load or at idle.

Possible

Injector or intake issue

A clogged injector or intake fault can create a lean condition on the bank.

Avoid these mistakes

What not to do

  • xDo not replace major parts before checking the simple causes first.
  • xDo not ignore a flashing check-engine light or obvious drivability symptoms.

Parts

Parts that may need replacing

PartTypical costNotes
Mass airflow sensor$60-$250Relevant if the signal or contamination points to an inaccurate airflow reading.
Vacuum hose or intake seal repair$15-$180Worth checking when a leak is found during inspection or smoke testing.
Fuel pump or fuel pressure repair$80-$400+Only if pressure testing shows the fuel supply is low.

See also

Related OBD codes

Source notes

Generic OBD-II (SAE J1979 / ISO 15031-5). P0171 was expanded around common bank-1 lean-running patterns, including vacuum leaks, airflow bias, and fuel-delivery issues.

  • -P0171 is a strong candidate for a future make-overlay system because some makes have repeat failure patterns.

This guide is written as a generic multi-make reference, so bulletin history, sensor locations, and repair order can still change by manufacturer and engine family.

This is generic OBD-II guidance and should not override vehicle-specific service information. Fuel-trim thresholds, intake layouts, and repeat failure points vary by make and engine family.

Last reviewed: 2026-04-10

Privacy and advertising

Choose whether to allow ad personalization

FixThisError may use Google AdSense on broad browse pages. Your choice controls whether advertising-related cookies and ad requests can be used. Core site content remains available either way.