7.5 Diagnosing Fuel Trim and Lean/Rich Codes

Key Takeaways

  • P0171/P0174 mean System Too Lean on Bank 1/Bank 2; P0172/P0175 mean System Too Rich on Bank 1/Bank 2
  • A Long-Term Fuel Trim above +15% indicates a confirmed lean fault; below -15% indicates a confirmed rich fault — the ECM has reached the limit of its compensation range
  • Lean at idle but normal at higher RPM points to a vacuum leak: the leak is a larger fraction of total airflow at idle and shrinks proportionally at higher airflow
  • Lean at both idle and 2500 RPM cruise points to a fuel delivery problem (low pressure, restricted injectors, dirty MAF, exhaust leak before the O2 sensor) rather than an air leak
  • Persistent rich at all conditions points to fuel-side over-delivery: leaking injector, stuck-open purge solenoid, failed fuel pressure regulator (return-type), or a contaminated MAF reporting high airflow
Last updated: May 2026

Fuel trim is the ECM's running record of how much it had to add to or subtract from base injection pulse width to maintain stoichiometric air-fuel ratio. Short-Term Fuel Trim (STFT) reacts in real time to upstream O2 sensor voltage. Long-Term Fuel Trim (LTFT) is the integrated average the ECM has learned over many drive cycles. Together they tell you whether the engine is burning too lean, too rich, or balanced — and at which operating conditions.

The Lean and Rich DTC Map

DTCMeaning
P0171System Too Lean, Bank 1
P0174System Too Lean, Bank 2
P0172System Too Rich, Bank 1
P0175System Too Rich, Bank 2

The code matures when LTFT exceeds approximately +25% lean (or -25% rich) for the required number of drive cycles. A live LTFT above +15% (or below -15%) is a confirmed fault even if the DTC has not yet matured.

Read Trims at Two Operating Points

The single most useful diagnostic move on a lean or rich code is to read STFT plus LTFT at idle and again at 2500 RPM steady cruise (or at a road-load condition on a scan tool with a graphing display). The pattern of how trims change between those points isolates the failure family.

ConditionIdle Trim2500 RPM TrimMost Likely Cause
Lean at idle, normal at 2500 RPMLTFT > +15%LTFT ~0Vacuum leak (intake, gasket, brake booster, PCV)
Lean at both idle and 2500 RPMLTFT > +15%LTFT > +15%Fuel delivery (low pressure, restricted injectors, dirty MAF)
Lean at higher RPM onlyLTFT ~0LTFT > +15%Restricted fuel volume (weak pump, plugged filter, restricted line)
Rich at idle, normal at 2500 RPMLTFT < -15%LTFT ~0Stuck-open purge or dripping injector loading idle
Rich at both conditionsLTFT < -15%LTFT < -15%High fuel pressure, leaking injector(s), contaminated MAF over-reading air

Why a Vacuum Leak Looks Different at Idle

At idle, total airflow is small — perhaps 10-15 grams per second. A vacuum leak adds a relatively fixed amount of unmetered air. As a percentage of total airflow, it is large at idle and the ECM must add fuel aggressively to compensate.

At 2500 RPM, total airflow may exceed 60-80 grams per second. The same leak is now a small fraction of the total, and the ECM barely needs to compensate. The trim returns toward zero. This is why the lean-at-idle, normal-at-cruise signature is the calling card of a vacuum leak.

Common P0171/P0174 Causes

  • Vacuum leak — intake manifold gasket, throttle body gasket, brake booster diaphragm, PCV system, vacuum line cracked at a fitting
  • Dirty Mass Air Flow (MAF) sensor — contaminated hot wire under-reports airflow, the ECM under-fuels, oxygen sensor sees lean
  • Low fuel pressure — weak pump, restricted filter, leaking regulator (return-type returning too much)
  • Restricted or clogged injectors — partial flow reduction, more obvious at higher load
  • Exhaust leak before the upstream O2 sensor — atmospheric oxygen enters the exhaust between pulses, sensor reads false lean, ECM adds fuel
  • Sticking purge valve closed — irrelevant for fueling (purge closed means no extra vapor)
  • Sticking purge valve open — interesting twist: an open purge with depleted canister can deliver air not fuel, contributing to lean idle on some vehicles

P0171 with P0174 simultaneously points at something common to both banks: MAF, fuel pressure, large intake leak. P0171 alone (one bank only) points at something bank-specific: that bank's injector group, that bank's intake runner gasket, or that bank's upstream exhaust leak.

Common P0172/P0175 Causes

  • High fuel pressure — failed return-type regulator stuck closed, kinked return line, vacuum line off the regulator on a vacuum-referenced system
  • Leaking injector — drip past closure floods the cylinder with extra fuel
  • Stuck-open purge solenoid with loaded canister — saturates intake with vapor, ECM cannot subtract enough fuel to compensate
  • Restricted air filter — exam folklore lists this; in practice modern engines compensate easily because MAF still measures actual airflow. Confirm before condemning.
  • Contaminated MAF reading high — uncommon but possible
  • Coolant temperature sensor reading falsely cold — ECM stays in warm-up enrichment longer than appropriate

Use the Scan Tool to Confirm

  1. Warm the engine fully and confirm closed-loop.
  2. Read STFT and LTFT at idle for 60 seconds. Note the values.
  3. Raise to 2500 RPM steady. Allow 30-60 seconds for LTFT to stabilize. Note the values.
  4. If both banks are equipped with O2 sensors, compare Bank 1 to Bank 2. A difference of more than ~5% suggests a bank-specific cause.
  5. Add propane through a vacuum port at idle while reading STFT. STFT should shift rich quickly. If it does not, the upstream O2 sensor is slow.
  6. Smoke-test the intake for any P0171/P0174 that improves at higher RPM. Smoke reveals manifold gasket, PCV elbow, and brake booster leaks not visible by eye.
  7. Check fuel pressure under load for any lean code that worsens at higher RPM.

L1 Pattern Questions

  • P0171 only at idle → smoke test for vacuum leak first.
  • P0171 and P0174 together, worse at higher load → fuel delivery or MAF.
  • P0172 that improves when the purge solenoid is unplugged → purge stuck open.
  • P0172 with rising fuel pressure when the regulator vacuum line is removed → regulator working; if pressure does not rise, regulator failed.
Loading diagram...
Fuel Trim Diagnostic Logic

Common Misreads

  • A clean MAF that has just been cleaned with the wrong solvent can read low because residue coats the hot wire. Use MAF-specific cleaner only.
  • A slow upstream O2 sensor can mask the true mixture. Confirm switching speed at 2500 RPM before blaming fuel.
  • A sticking EVAP purge solenoid can pull air through a depleted canister on some platforms, contributing to a lean idle that disappears the moment the solenoid is unplugged.
  • An exhaust leak between the manifold and the upstream O2 sensor mimics a fuel-delivery lean condition. Inspect by ear at cold start when the leak is loudest.
Test Your Knowledge

A 4-cylinder vehicle has a P0171. At idle, LTFT is +22%. At 2500 RPM steady cruise, LTFT settles to +2%. Fuel pressure is within specification. What is the MOST likely cause?

A
B
C
D
Test Your Knowledge

A V6 has both P0171 and P0174 with LTFT around +18% at idle and around +20% at 2500 RPM. Fuel pressure tests just slightly below specification on a key-on test but drops further during snap acceleration. Which statement BEST describes the diagnostic path?

A
B
C
D
Congratulations!

You've completed this section

Continue exploring other exams