Independent technical reference
  • Vehicles
  • Cars

P0171

P0171 (generic OBD-II): system too lean, bank 1

Verified with sources3 sourcesReviewed Oct 3, 2026
Technician coming? See the 2 steps they must show you
Modern compact car (Volkswagen Golf), front three-quarter view
VauxfordCC BY-SA 4.0Image source

Risk level

Medium

Proceed carefully and stop if the check is unclear.

Urgency

Medium

Quick answer

The bank 1 engine computer reached the limit of the correction that adds fuel. It does not point to a part. Read the codes, save the freeze frame and ask the workshop for the fuel trims before replacing sensors or the airflow meter.

Safety first

Stop and check this first

  • Replacing the oxygen sensor for a P0171 usually leaves the code in place: the sensor reports the lean mixture, it does not cause it.

Safe checks you can perform

  • Light, fuel cap and idle symptoms
  • Mixture codes and freeze frame

Leave these tasks to a qualified professional

  • Do not attempt this professional task: Fuel trims and smoke test
  • Do not attempt this professional task: Fuel pressure and airflow meter

What a technician must be able to justify

Technician visit

These are the steps they must carry out and show you. Tick them as they work: if steps are skipped, do not accept a part swap.

These are not instructions for opening or handling the equipment yourself. They are the checks that should support a technical conclusion.

  1. Fuel trims and smoke test

    What they doThe technician compares the fuel trims at idle and under load and runs a smoke test on the intake to look for air leaks.

    They must show youthe trims at idle and under load, and the leak point if the smoke test finds one.

    In writingthe confirmed cause and the trim measured after the repair.

  2. Fuel pressure and airflow meter

    What they doThe technician measures fuel pressure and compares the airflow meter reading with the manufacturer's specification.

    They must show youthe measured pressure and the airflow meter reading against specification.

    In writingwhich part is replaced and the measurement that justifies it.

Before accepting a part or repair

Nothing has been shown yet. Do not accept a part swap based on the code alone.

Follow these steps

Note: Follow the documented order. An error code identifies the affected system, but it does not prove by itself which part has failed.

  1. Light, fuel cap and idle symptoms

    No special tools

    Who:
    you, with the car parked.
    How:
    make sure the fuel cap is closed and notice whether the engine idles roughly or you hear a hiss in the engine bay with the engine running, keeping your hands away.
    Result that matters:
    whether there are idle symptoms or a suction noise.
    If there is a hiss or rough idle:
    tell the workshop, because it points to an air leak confirmed with a smoke test.
    If there are no symptoms:
    the workshop will need the fuel trims to separate air, fuel and measurement.
    Evidence to keep:
    whether the cap was loose and a note or video of the idle.

    Do not touch anything in the engine bay with the engine running: there are moving and hot parts.

    Evidence: Nissan USA malfunction indicator light guide · Ford 2020-2023 gasoline OBD system operation

  2. Mixture codes and freeze frame

    Tools required

    Who:
    you, with a generic OBD-II reader.
    How:
    read all codes and save the P0171 freeze frame; many readers show the short and long term fuel trims.
    Result that matters:
    the fuel trims and the engine speed at which the code set.
    If airflow meter, fuel pressure or misfire codes also appear:
    the workshop should start with those systems.
    If P0171 is alone:
    the workshop should compare the trims at idle and under load.
    Evidence to keep:
    a photo of the codes and the freeze frame, including the trims if the reader shows them.

    Read, photograph and unplug; do not clear anything. Watching the reader while driving distracts you, and clearing loses the snapshot of the fault conditions.

    Evidence: Ford 2020-2023 gasoline OBD system operation · Title 13, California Code Regulations, Section 1968.2, Malfunction and Diagnostic System Requirements (OBD II)

Still not solved

If the error persists, stop here. See what the technician must do and show you.

Where this code applies

A code is meaningful only inside the right product and version context.

Primary scope

System
Vehicles
Brand
OBD-II genérico
Product type
Cars

Known code variants

  • Código P0171 Ford
  • Error P0171 Ford
  • Ford P0171
  • P0171
  • P0171 code Ford
  • P0171 Ford
  • P0171 mezcla pobre
  • P0171 OBD2
  • P0171 system too lean

What it means

P0171 is the generic code for system too lean on bank 1. In Ford's documentation, the fuel system monitor watches the short and long term fuel trims in closed loop and flags the fault when the correction that richens the mixture goes past its limit. It can come from unmetered air, a lack of fuel or a wrong airflow reading. The oxygen sensor only reports the mixture, so the code does not prove that the sensor or the airflow meter is faulty.

Warnings and stop conditions

  • Mediumeditorial warning

    Replacing the oxygen sensor for a P0171 usually leaves the code in place: the sensor reports the lean mixture, it does not cause it.

    Evidence: Ford 2020-2023 gasoline OBD system operation

Symptoms and causes

Probable causes · in order

  • Unmetered airPossible

    An air leak after the airflow meter leans the mixture, especially at idle. It is separated with a smoke test and by watching how the trims change as engine speed rises.

    Evidence: Ford 2020-2023 gasoline OBD system operation

  • Lack of fuelPossible

    Low fuel pressure or flow gives a lean mixture under more load. It is separated by measuring fuel pressure.

    Evidence: Ford 2020-2023 gasoline OBD system operation

  • Wrong airflow readingPossible

    If the airflow meter reads less air than there is, the computer injects too little. Suspect it with airflow meter codes or trims that change with load.

    Evidence: Ford 2020-2023 gasoline OBD system operation

Virtual technician

Does P0171 still appear after these checks?

Answer a few questions to narrow down the likely cause and the safest next action. Guidance only - it never replaces a professional.

Sources and technical references

Sources: Nissan USA malfunction indicator light guide · Ford 2020-2023 gasoline OBD system operation · Title 13, California Code Regulations, Section 1968.2, Malfunction and Diagnostic System Requirements (OBD II)reviewed 2026-10-03 · verified

Was this entry useful?