You are offline — AutoTools still works from your device.

System too lean, bank 1 (P0171)

Use fuel trim data at idle and at speed to decide whether the unmetered air or the missing fuel is the cause, then confirm the repair with trims back in the normal band.

Difficulty
Advanced
Estimated time
1 h 15 min
Category
Fuel Injection
Automotive system
Fuel Delivery
steps
5
Engine type
Gasoline
Published
29 September 2026
views
25
General guidance Technical verification status

Based on established general practice rather than a documented manufacturer procedure.

Confirm every measurement and torque value using the correct vehicle documentation before you work on the vehicle.

Intended outcome

A confirmed cause of the lean condition, demonstrated by fuel trims returning within the normal band at idle and under load.

Before you start

Safety first Read before you start

Safety warnings

Do not use a flammable aerosol to hunt for intake leaks near a hot exhaust manifold or an ignition source. A prolonged lean condition raises combustion temperature and can damage valves and the catalytic converter.

Record freeze-frame data and the long- and short-term fuel trims at idle, at 2500 rpm and under load before changing anything. Note whether the fault affects one bank only.

Tools, parts and consumables

Tools, parts and consumables Category Applies to
OBD scan tool with live data and fuel trim display Tool
Required
—
Fuel pressure gauge suitable for the system Tool
Required
—
Smoke machine or non-flammable leak-detection medium Tool
Required
—
Oscilloscope for oxygen sensor analysis Tool
Optional
—

Compatible vehicles

  • petrol Not verified
    This vehicle applicability has not been confirmed against the manufacturer documentation for your exact vehicle.
    Applies to gasoline engines with closed-loop fuel control. Direct-injection systems additionally require the manufacturer high-pressure procedure.

Possible causes and priorities

  1. Vacuum or intake air leak after the airflow meter

    high
  2. Contaminated or failing mass airflow sensor

    high
  3. Low fuel pressure or a restricted filter

    high
  4. Dirty or restricted fuel injectors

    medium
  5. Leaking intake manifold gasket

    medium
  6. Exhaust leak upstream of the oxygen sensor, or a lazy sensor

    medium
  7. Leaking crankcase ventilation or brake booster hose

    medium

Diagnostic workflow

  1. Diagnostic

    Read the fuel trims in three conditions

    Record long- and short-term fuel trims at idle, at 2500 rpm with no load, and under load with the vehicle driven or on a dynamometer. Compare bank 1 with bank 2 where the engine has two banks.

    What did you find? A clear pattern: lean at idle only, lean across the range, or lean under load only.

    Measurement: %

    Authored outcomes
    • Caution Lean at idle and correct at speed
      Classic pattern for unmetered air: a vacuum or intake leak matters most when airflow is low.
    • Caution Lean across the whole range
      Suspect measured airflow or fuel supply rather than a small leak.
    • Fault Lean under load only
      Fuel delivery under demand: pump, filter or pressure regulation.
  2. Diagnostic

    Check airflow measurement and fuel supply

    Compare the indicated airflow at key-on and at idle with what the engine displacement and speed imply. Inspect the sensor element for contamination and the intake duct for splits after the sensor. Measure fuel pressure and, where possible, flow under load.

    What did you find? A plausible airflow reading and fuel pressure within the general range for the system.

    Authored outcomes
    • Fault Airflow reading is implausible or the element is contaminated
      Clean or replace the sensor, then recheck the trims. Confirm with live data rather than assuming.
    • Fault Fuel pressure or flow is below the general range
      Diagnose the fuel delivery side: filter, pump, pressure regulator.
    • Normal Airflow and fuel supply are normal
      Look for unmetered air.
  3. Diagnostic

    Hunt for unmetered air

    With the engine idling, introduce a controlled, non-flammable leak-detection medium around intake joints, the throttle body gasket, the manifold gasket, the brake booster hose and the crankcase ventilation hoses. Watch the fuel trims rather than listening for a change in engine note alone.

    What did you find? No change in trims when a joint is treated, and no visible damage on hoses or gaskets.

    Authored outcomes
    • Fault Trims move when a joint is treated
      That joint leaks. Repair it and recheck the trims at idle and at speed.
    • Inconclusive No leak found
      Proceed to the exhaust and oxygen sensor check.
  4. Diagnostic

    Check the exhaust and the oxygen sensor

    Inspect for exhaust leaks upstream of the sensor. Compare the upstream oxygen sensor signal with the commanded mixture and with the second bank where available. Look for a sensor that is slow to switch or biased low.

    What did you find? No exhaust leak, and an upstream sensor that switches normally.

    Authored outcomes
    • Fault An exhaust leak or a biased sensor is found
      Repair the leak or replace the sensor, then confirm the trims recover.
    • Inconclusive No fault found here either
      Reconfirm the trims after any repair already carried out. If they are still lean, the fault is likely a small, cumulative combination of small leaks and injector restriction.

Final verification

  1. Verification

    Confirm the repair

    Clear the code, road test the vehicle through the conditions recorded at the start, and re-read the fuel trims at idle and under load.

    What did you find? Trims within the normal band in both conditions, and no returning code.

    Authored outcomes
    • Normal Trims recovered and no code returns
      The repair is confirmed.
      End of this branch
    • Fault The code returns
      The cause was not found. Return to the trim pattern and revisit the branch that matches it.
      End of this branch

Technical specifications

Technical specifications
Value Applies to Source Technical verification status
Normal long-term fuel trim band
Within about ±10 % %
General guidance General educational guidance
Established general engine management practice
Not verified
Not confirmed against the manufacturer documentation for your exact vehicle. Verify with the correct workshop manual before relying on this value. Confirm every measurement and torque value using the correct vehicle documentation before you work on the vehicle.

A general diagnostic band, not a specification. Different manufacturers express trims differently and some publish explicit limits — use the manufacturer figure where it exists.

Fuel pressure at the rail
As published for the exact engine
All fuel injection systems Unverified Not verified
Not confirmed against the manufacturer documentation for your exact vehicle. Verify with the correct workshop manual before relying on this value. Confirm every measurement and torque value using the correct vehicle documentation before you work on the vehicle.

Fuel pressure differs enormously between port injection, returnless systems and direct injection, and high-pressure direct-injection circuits require dedicated procedure and equipment. This library does not publish a generic value.

Verification checklist

  • Long-term fuel trim within the normal band at idle
  • Long-term fuel trim within the normal band at 2500 rpm
  • No pending or stored P0171 after a road test
  • Live airflow reading plausible for engine speed and load

Common mistakes

Replacing the mass airflow sensor on the strength of the code alone. A P0171 is a symptom of a lean condition: an intake leak on the wrong side of the sensor produces exactly the same code with a perfectly good sensor. Second: clearing the code and declaring the repair done without confirming the fuel trims have recovered.

Frequently asked questions

What do the trims tell me that the code does not?

A trim that is high at idle but normal at speed points at a leak or a fault that matters most when airflow is low. A trim that is high under load points at fuel supply. That difference decides which test is worth doing next.

Can a P0171 damage the engine if I keep driving?

A sustained lean condition raises combustion and exhaust temperatures. It can damage valves and the catalytic converter, so diagnose it rather than continuing to drive.

References and sources

Follow this procedure step by step

Mark each step complete, branch on what you actually find, and keep your notes.

Start guided mode

Was this procedure useful?

Sign in to send feedback.

Report a problem or suggest a correction

Reports are reviewed by a moderator before they are shown.

Advertisement
Install AutoToolsWorks offline, one tap away.
Ad
Ask the AI mechanic
Hi! Ask me anything about your car — codes, noises, parts, maintenance.
All tools