AutoDoctor OBD2AutoDoctor: OBD2
DTC P0171 · Fuel & Air Metering · Bank 1

P0171: System Too Lean (Bank 1)

Updated November 11, 2026 · Live PID Diagnostic Protocol

Direct definition: Code P0171 triggers when the Engine Control Module has added roughly +20% to +25% or more positive fuel correction via Short-Term Fuel Trim (STFT B1, PID 01 06) and Long-Term Fuel Trim (LTFT B1, PID 01 07) over multiple closed-loop drive cycles to compensate for excess oxygen reported by the Bank 1 upstream sensor.

1. The 2-Minute Idle vs. 2,500 RPM Fuel Trim Test

Before spraying anything or ordering parts, warm the engine to operating temperature, turn off A/C, and record Total Fuel Trim = STFT B1 + LTFT B1 in Park/Neutral at two engine speeds:

Diagnostic PatternWarm Idle (~750 RPM)Held at 2,500 RPM (30 sec)Primary Fault Category
Pattern A — Vacuum LeakHigh positive (+18% to +35%)Drops sharply toward normal (-5% to +6%)Unmetered air downstream of MAF: cracked intake boot, PCV diaphragm tear, intake manifold gasket, brake booster hose, or stuck-open EVAP purge valve.
Pattern B — Fuel Delivery StarvationModerate positive (+8% to +15%)Climbs higher (+22% to +35%) especially under road loadWeak in-tank fuel pump, restricted fuel filter, faulty fuel pressure regulator, or clogged injectors.
Pattern C — Under-Reporting MAF SensorElevated positive (+12% to +22%)Stays elevated or rises proportionally (+18% to +30%)Contaminated Mass Air Flow hot-wire element, aftermarket intake turbulence, or skewed barometric/MAP calculation.
Pattern D — False Lean (Exhaust Leak)Positive on Bank 1 only; rough or ticking exhaust noteVaries with exhaust pulse velocityCracked exhaust manifold or leaking flange upstream of Bank 1 Sensor 1 pulling fresh air onto the O2 element.

2. Verifying MAF Airflow (g/s) & Freeze-Frame Data

  1. Read Mode $02 Freeze Frame: Check exact RPM, Calculated Load, and Vehicle Speed at the instant P0171 set. If it set at 0 km/h and 720 RPM, suspect a vacuum or PCV leak immediately. If it set at 105 km/h and 78% load, check fuel rail pressure and MAF peak airflow.
  2. Warm Idle MAF Sanity Check (PID 01 10): On a healthy 4-stroke gasoline engine at warm unloaded idle, airflow in grams per second roughly equals engine displacement in liters (for example, a 1.6 L engine typically reads 1.5–1.9 g/s; a 2.0 L engine reads 1.9–2.4 g/s). A reading of 1.1 g/s on a 2.0 L engine points to unmetered air bypassing the MAF or a dirty MAF element.
  3. PCV Crankcase Suction Check: On VAG TSI/TFSI, BMW N20/B48, PSA THP/PureTech, and GM Ecotec engines, a ruptured valve-cover PCV membrane pulls strong manifold vacuum into the crankcase. Temporarily observe STFT B1 while pinching the EVAP purge hose and checking oil-cap vacuum at idle.

Frequently Asked Diagnostic Questions

What causes OBD2 fault code P0171 System Too Lean (Bank 1)?

Trouble code P0171 sets when Bank 1 combined Short-Term and Long-Term Fuel Trims climb roughly 20 to 25 percent positive because the upstream oxygen sensor detects excess oxygen. Common culprits include intake vacuum leaks, ruptured PCV valve diaphragms, contaminated Mass Air Flow sensors, weak fuel pumps, or exhaust manifold leaks.

How does the idle versus 2,500 RPM fuel trim test isolate a vacuum leak?

Compare combined STFT and LTFT at warm 750 RPM idle against holding throttle steady at 2,500 RPM in Park for thirty seconds. If high positive fuel trim at idle drops sharply toward zero at 2,500 RPM, an intake vacuum or PCV leak is confirmed; rising trim points to fuel starvation.

What should a healthy Mass Air Flow (MAF) sensor read in g/s at warm idle?

At warm unloaded idle with air conditioning switched off, a clean Mass Air Flow sensor on a four-stroke gasoline engine normally reports airflow in grams per second roughly equal to engine displacement in liters. For example, a 2.0-liter engine typically reads 1.9 to 2.4 g/s on PID 01 10.

Can a stuck-open EVAP purge valve or torn PCV membrane trigger P0171?

Yes, both components sit downstream of the Mass Air Flow sensor and feed unmetered air directly into the intake manifold when compromised. A torn valve-cover PCV diaphragm creates strong crankcase suction at idle, while a stuck-open EVAP canister purge solenoid often pairs P0171 with P0455 and hard starts after refueling.

Run Live Sensor Tests & Multi-ECU Scans on Your Phone

Connect any ELM327 BLE 4.0+, Vgate iCar Pro, vLinker, OBDLink, or Wi-Fi adapter to graph live fuel trims, dual O2 sensor waveforms, Mode 06 misfire counters (Android), and cross-ECU odometer records in AutoDoctor: OBD2 Car & ECU.

Hardware disclosure: Optional adapter recommendations link to external retailers; as an Amazon Associate, Barbarda earns from qualifying purchases at no extra cost to you.