P0171moderate severityGenerally driveableP0171 Code: System Too Lean (Bank 1)
Written in plain English and reviewed by the eli5cars editorial team · Last reviewed June 2026
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.
Check engine light on? Get a free code scan
If your check engine light is on, most auto-parts stores (AutoZone, O'Reilly, Advance) will read the code for FREE — no purchase required, just walk in. Bring the code back here and look it up at eli5cars.com/obd2 for the plain-English explanation.
Note: a scan only helps when there's an active fault code. For purely mechanical symptoms (noises, vibrations, leaks), a scan may show nothing — the suspects listed above are your starting point.
Want to read the codes yourself?
First, the free option: AutoZone, O’Reilly, and Advance Auto Parts read your codes for free — no purchase needed. That’s the cheapest way to get the code to look up here. If you’d rather have your own so you can check anytime (and clear a code after a fix), the Veepeak OBDCheck BLE is an inexpensive, reliable plug-in reader that pairs with a free phone app and works on any car sold since 1996.
See the Veepeak OBD2 scanner on AmazonAffiliate link — we may earn a commission at no extra cost to you. Details.
Heads up: some links below are affiliate links (including Amazon Associates) — if you buy through them we may earn a small commission at no extra cost to you. Details: /disclosure.
Frequently asked questions
Can I drive with a P0171 code?
Usually yes, carefully. A lean condition causes more engine wear over time and reduces power, but it's not an immediate safety hazard in most cases. If the car is surging, stalling, or running very rough, have it looked at sooner rather than later.
What's the first thing to try for P0171?
Clean the MAF sensor. It's a $10 spray can, 10 minutes, and it resolves a surprising number of P0171 codes. Clear the code after cleaning, drive a normal cycle, and see if it returns. If it does, start checking for vacuum leaks.
I have both P0171 and P0174. What does that mean?
P0174 is system too lean on Bank 2. Both lean codes together on a V6 or V8 almost always point to a MAF sensor problem or a large vacuum leak affecting the whole intake system — a single-bank fix (like one injector) wouldn't cause both banks to run lean. Note: Bank 1 is the bank containing cylinder #1 — which physical side of the engine that is depends on your specific make and engine layout, so verify in your service manual before chasing bank-specific sensors.
How much does it cost to fix P0171 at a shop?
MAF sensor cleaning: $80–$120 (labor to clean and test). MAF sensor replacement: $150–$350 depending on vehicle. Vacuum leak repair: $100–$300 depending on what's leaking and where. Fuel pump: $350–$600.