P0171 on a 2012 Ford Focus
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 2012 Ford Focus
Ranked from 3,789 NHTSA owner complaints filed for this vehicle.
- 1
Faulty Canister Purge Valve (CPV) / Evap System Failure
High severityA stuck open purge valve causes a vacuum leak, drawing unmetered air and fuel vapors into the intake, leading to a lean condition (P0171), stalling, and difficulty starting after refueling.
Reported in 5 NHTSA complaints - 2
Fuel Tank Deformation / Fuel Pump Failure
High severityA faulty purge valve can cause excessive vacuum in the fuel tank, leading to tank deformation, fuel pump damage, and fuel starvation, which creates a lean condition and stalling.
Reported in 4 NHTSA complaints - 3
Vacuum Leaks (Intake Manifold Gaskets, Vacuum Hoses, PCV)
Medium severityUnmetered air entering the engine past the MAF sensor causes a lean mixture. Look for cracked hoses, hissing sounds, or degraded intake gaskets.
Common cause - 4
Faulty Mass Air Flow (MAF) Sensor
Medium severityA dirty or failing MAF sensor incorrectly measures incoming air, causing the PCM to under-fuel the engine, resulting in a lean code.
Common cause - 5
Low Fuel Pressure (Clogged Filter or Weak Pump)
Medium severityIf the fuel pump is weak or the filter is clogged, the engine won't receive enough fuel to match the incoming air, triggering a lean condition.
Common cause - 6
Faulty Upstream Oxygen (O2) Sensor
Low severityA degraded or contaminated upstream O2 sensor may falsely report a lean condition to the PCM, causing it to set P0171.
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
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.
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.
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.
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.
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.