P0171: System Too Lean. The 4 cheapest things to check before you panic.
Writing and Images generated by AIShare
P0171: System Too Lean. The 4 cheapest things to check before you panic.
Look man, I get this code in the bay almost every week. P0171 — System Too Lean (Bank 1). Ninety percent of the time it's something that costs less than $30 to fix. The other ten percent it's something more, but you should still walk through this list first because the cheap stuff is also the most common stuff.
What "lean" means in plain English: your engine is getting too much air or not enough fuel, and the computer can tell because the oxygen sensor is reading a high oxygen content in the exhaust. The PCM tries to compensate by dumping in more fuel — that's called positive long-term fuel trim — and when it has to add more than about 10% extra to keep things stable, it gives up and throws the code.
Symptoms — what you'll actually feel
- Rough idle, especially in the morning
- Hesitation when you punch it from a stop
- Engine surging at steady highway speeds
- Slight loss of power on hills
- Sometimes the car runs fine and the only sign is the light
If you also have P0300 random misfire, the lean condition might be the cause — fix the lean first, the misfire often clears.
Cheap stuff first — in order
1. Gas cap. $0 to check. Tighten it three clicks. Drive 50 miles. See if the code clears. A loose or cracked gas cap throws P0171 and P0455 (evap) on a lot of platforms because the evap system pulls vacuum on the tank during testing — a leak there shows up as lean. This morning I had a customer drive in mad at me for the diagnostic fee and I tightened her cap. Code never came back.
2. Air filter. $20 to replace. If you can't remember the last time you changed it, change it. A clogged filter restricts air, but a torn or improperly seated filter lets unmetered air in past the MAF sensor, which throws lean codes. Pull it out, inspect it, reseat it firmly.
3. PCV valve and hose. $25. The PCV system is a known vacuum-leak point on most engines after 80K miles. The hose dries out, cracks, and leaks. Pop the hood, find the PCV hose, squeeze it. If it feels brittle or you see a crack, replace the hose AND the valve.
4. MAF sensor. $8 for cleaner. Pull the MAF sensor (it's between the air filter box and the throttle body — usually two screws), spray it with proper MAF cleaner (NOT brake cleaner, NOT carb cleaner — those leave residue and ruin the sensor wires), let it air dry, reinstall. This fixes the code maybe 30% of the time on cars over 60K miles.
Mid-tier stuff if cheap stuff didn't work
5. Vacuum leaks at the intake manifold. The intake manifold gasket on a lot of engines (Ford modular V8s, Chrysler 3.3/3.8, GM 3800) starts leaking around 100K miles. Best test: smoke machine. If you don't have one, spray carb cleaner around the intake gasket area while the engine idles. If the idle changes, you found the leak.
6. Fuel pressure. Hook up a gauge. Should hit spec. If it's low or droops under load, you're looking at a fuel pump, filter, or regulator. Most cars now have an in-tank pump that's a multi-hour job to replace, but it's a $200 part. Don't replace it without measuring pressure first.
7. Fuel injectors. Dirty injectors flow less fuel = lean. A bottle of Techron or a similar PEA-based cleaner in the tank for two consecutive fill-ups can clear gunky injectors. If that doesn't work, you're looking at injector cleaning service ($150-$300) or replacement ($60-$200 each on most cars).
Last-resort stuff
If you're still chasing it — bad upstream O2 sensor reading inaccurately, faulty MAF sensor (not just dirty), exhaust leak before sensor 1 (lets outside air in upstream of the sensor and fakes a lean reading). All of these are real but uncommon compared to the top of this list.
What I tell everyone
Don't replace the O2 sensor first. People do this all the time because the sensor is the thing reporting "lean" and they think shooting the messenger fixes it. Almost never does. The sensor is reading what's actually happening in the exhaust. Fix what's making the actual lean condition.
Bank 2 same code (P0174) on a V6 or V8? If you've got both P0171 and P0174 at the same time, that's a HUGE clue — both banks lean usually means a problem with something both banks share: the MAF sensor, big intake leak, fuel pressure, or PCV. If only one bank is lean, that's a one-side intake leak or one-side injector issue.
Related codes I'd diagnose alongside this one: P0420 (Catalyst Efficiency) — long-term lean condition wears out the cat — and P0455 (EVAP Large Leak), often a related gas cap or evap hose issue.
Tired of guessing? Stop throwing parts at your car. Download the Mobile Master Mechanic App for an AI-powered diagnostic walkthrough tailored to your exact VIN.