WrenchConnect
Diagnose soon
P0171

P0171 on a 2017 Toyota Corolla

P0171 means the engine computer is adding more fuel than normal on bank 1 because it sees too much air or not enough fuel.

Not your vehicle? See general P0171 info.

Most common causes on the 2017 Toyota Corolla

Ranked from 187 NHTSA owner complaints filed for this vehicle.

Sort by:
  1. 1

    Dirty or Faulty Mass Air Flow (MAF) Sensor

    Medium severity

    The MAF sensor incorrectly measures incoming air, causing the ECU to under-fuel the engine. Look for fluctuating idle or near-stalling conditions, which can be confirmed by cleaning the sensor and checking fuel trims.

    Reported in 2 NHTSA complaints
  2. 2

    Vacuum Leak (Intake Manifold or Vacuum Hoses)

    Medium severity

    Unmetered air enters the engine after the MAF sensor, leaning out the mixture. Listen for a hissing sound and check for cracked hoses, which often cause severe idle drops to 400 RPM.

    Reported in 2 NHTSA complaints
  3. 3

    Faulty Air-Fuel Ratio (A/F) Sensor (Upstream O2)

    Medium severity

    A degraded upstream sensor falsely reports a lean condition, forcing the ECU to adjust trims improperly. Confirmed by monitoring sensor voltage response and switching rates via a scan tool.

    Common cause
  4. 4

    Low Fuel Pressure (Failing Fuel Pump or Filter)

    High severity

    A weak fuel pump fails to deliver enough fuel to match the incoming air. Confirmed by testing fuel rail pressure with a mechanical gauge to see if it meets factory specifications.

    Common cause
  5. 5

    Clogged or Faulty Fuel Injectors

    Medium severity

    Restricted injectors spray less fuel than commanded, leading to a lean mixture in the cylinders. Confirmed by performing an injector balance test or checking for localized misfires.

    Common cause
  6. 6

    Exhaust Leak Before the O2 Sensor

    Low severity

    Outside air gets sucked into the exhaust stream and hits the O2 sensor, tricking it into reading lean. Look for soot marks or listen for ticking noises near the exhaust manifold.

    Common cause
  7. 7

    Faulty PCV Valve or Torn PCV Hose

    Low severity

    A stuck open PCV valve or a torn PCV hose acts as a massive vacuum leak. Confirmed by inspecting the hose for tears and shaking the valve to hear if it rattles freely.

    Common cause

These causes are aggregated from NHTSA owner complaints and general repair knowledge — this is not a diagnosis. P0171 on your car still needs shop confirmation before any repair.

Common symptoms

  • Check engine light
  • Rough idle
  • Hesitation
  • Surging idle
  • Poor fuel economy

What to check before replacing parts

1

Review short- and long-term fuel trims on bank 1

Look for: High positive trims (commonly worse at idle, improving with RPM) mean the computer is adding fuel to compensate for excess air or insufficient fuel — that pattern is this code's fingerprint.

2

Smoke-test the intake

Look for: Smoke escaping (or a hiss you can hear) at intake boots, gaskets, or vacuum hose connections confirms unmetered air is entering after the MAF sensor, which is the most common cause of a lean code.

3

Inspect the PCV hoses and valve

Look for: A cracked, split, or disconnected PCV hose, or a PCV valve stuck open, draws in extra unmetered air the same way a vacuum leak does.

4

Clean and test the MAF sensor

Look for: Visible dirt or oil film on the sensor element, or a grams/second reading that doesn't track expected airflow for RPM, means the MAF is under-reporting air and causing the computer to under-fuel.

5

Verify fuel pressure

Look for: Pressure below spec (weak pump, clogged filter, failing regulator) starves the engine of fuel and produces the same lean trim pattern as a vacuum leak — rule it out before chasing leaks.

Rather have a pro handle it? Find a vetted local mechanic.

Matching symptoms