P0171moderate severityGenerally driveableP0171 Code: System Too Lean (Bank 1)
What it means in plain English
Your engine needs a precise mix of air and fuel — roughly 14.7 parts air to 1 part fuel — to burn cleanly and efficiently. P0171 means there's too much air (or not enough fuel) getting into Bank 1 of the engine. The ECM has been compensating by adding extra fuel, but it's run out of adjustment range and thrown a code. Too lean = too little fuel = engine runs rough, hesitates, or pings under load.
Most likely causes — ranked
#1 Dirty or failing mass airflow (MAF) sensor
most likelyFix: The MAF sensor measures how much air enters the engine. A dirty or failing MAF underreports airflow, causing the ECM to add less fuel than the engine actually needs — setting a lean code. Try cleaning with CRC MAF Sensor Cleaner spray (do not use brake cleaner or carburetor cleaner — they damage the sensing wire). Remove the sensor, spray the sensing element lightly, let it dry completely before reinstalling. If the code persists after cleaning, replace the sensor.
#2 Vacuum leak (cracked intake hose, failed PCV valve, loose intake manifold gasket)
likelyFix: Unmetered air entering after the MAF sensor is the classic lean code trigger. Inspect all vacuum hoses for cracks, especially the large intake tube between the MAF and throttle body. Check the PCV valve and hose. Spray carburetor cleaner around intake manifold seams — a change in idle speed identifies the leak location. A shop's smoke test finds leaks more definitively.
#3 Weak fuel pump or clogged fuel filter reducing fuel pressure
possibleFix: Have fuel pressure measured at the fuel rail — it should hit factory spec at idle and hold under throttle. A pump that can't maintain pressure causes lean conditions under load. Replace the fuel filter first (if serviceable externally) then the pump if pressure remains low.
#4 Faulty upstream oxygen sensor (Bank 1 Sensor 1) providing incorrect feedback
possibleFix: The upstream O2 sensor feeds the ECM real-time data to trim the fuel mix. A slow or stuck-lean sensor makes the ECM think it's running lean even when it's not — or fails to correct when it actually is lean. Test with live data scan (the upstream sensor should switch between rich and lean quickly at operating temp). Replace if lazy or stuck.
Get a FREE OBD2 scan first — no purchase required
AutoZone, O'Reilly Auto Parts, and Advance Auto Parts all scan your car's computer for free. Walk in, they plug in a scanner, you get a code in under 2 minutes. Then come back here and look up that code at eli5cars.com/obd2 for the plain-English explanation.
Pro tip: Take a photo of the code before they clear it.