How P0171 usually behaves on Toyotas

  • Often logged with elevated long-term trims (LTFT) rather than a one-off spike.
  • May present as hesitation, light surge at steady cruise, or occasional cold-start roughness.
  • Commonly appears after an intake disturbance (air filter/MAF handling, hose moved, battery disconnected).

Fast split: idle vs load

  • Trims high at idle, improve with RPM: unmetered air (vacuum leak/PCV) is likely.
  • Trims normal at idle, climb under load: MAF drift, fuel delivery limitation, or exhaust leak upstream of O2 can be in play.

Common Toyota-specific causes

  • Small intake leaks (PCV hose, intake boot splits) causing big trim change on small engines.
  • MAF contamination/drift: readings can look “reasonable” but still be wrong enough to drive trims.
  • Exhaust leak before the upstream O2 sensor skewing feedback lean.
  • Low fuel pressure under demand (filter/pump), especially if trims rise on acceleration.

Suggested test plan (10–20 minutes of data beats guessing)

  1. Warm the engine fully and log STFT/LTFT at idle, 2,500 rpm no-load, and a steady cruise.
  2. Check for intake leaks (smoke test if possible). Don’t ignore small splits.
  3. Compare MAF at idle and at a known steady cruise; look for implausible jumps or consistently low airflow.
  4. If trims rise only under load, perform a fuel delivery check (pressure/volume) before replacing sensors.

When to stop and look deeper

  • P0171 returns quickly after clearing with no trims improvement.
  • Lean code appears alongside misfire codes (fix misfire/air leak first; lean may be a symptom).
  • O2 sensor activity looks wrong even with known-good airflow/fuel supply (confirm exhaust leaks first).