OBD-II code guide
P0171 – System Too Lean (Bank 1)
P0171 means bank 1 is running lean — the computer is adding fuel to catch up. Unmetered air, MAF issues, and weak fuel delivery are the usual suspects.
Running P0171 on a real vehicle? Torqmind AI Mechanic locks onto your year/make/model and walks the next test — not a generic forum thread.
Ask MasterMind about P0171What P0171 really means
“Lean” means too much air for the fuel being delivered — or a sensor story that looks that way. P0171 is one of the most useful codes in DIY diagnosis because live fuel trims tell you where to look. Idle-only lean screams vacuum leak. Lean everywhere pushes you toward MAF or fuel pressure.
In closed loop, the ECM adjusts short-term and long-term fuel trims. When it must add a lot of fuel on bank 1 for too long, P0171 sets. Bank 1 is typically the bank that contains cylinder 1 on V engines; on inline engines there’s usually one bank.
Common symptoms
- Check engine light with P0171
- Hesitation, surge, or lean tip-in stumble
- Rough or unstable idle
- Possible hissing from a vacuum leak
- Sometimes accompanies P0300 random misfire
Most likely causes (ranked thinking)
1. Vacuum leak
Cracked intake boots, PCV hoses, brake booster hoses, gasket leaks. Classic high positive trims at idle.
2. Dirty or failing MAF
Under-reports airflow so the ECM under-fuels. Affects the whole engine; often pairs with P0174 on V engines.
3. Low fuel pressure
Weak pump, clogged filter, or pressure regulator issues. Trims climb under load.
4. Exhaust leak before the O2 sensor
False lean reading from outside air at the sensor — less common than intake leaks but real.
5. Cracked PCV hose or valve cover issues
Especially on engines with plastic PCV plumbing that gets brittle with heat.
How to diagnose P0171
Work top to bottom. Don’t skip to the expensive part until the cheap tests point there.
Step 1: Record STFT and LTFT at idle and ~2500 RPM
Idle-high / cruise-normal ≈ vacuum leak. High both ≈ MAF or fuel delivery.
Step 2: Smoke-test the intake
Find the leak before cleaning every sensor on the car.
Step 3: Inspect and clean the MAF correctly
Use MAF cleaner only — not carb cleaner on the element. Check the intake tube for cracks after the MAF.
Step 4: Check fuel pressure under load
Compare to the spec for your engine family when the lean condition appears.
Step 5: If both banks are lean (P0171 + P0174)
Prioritize shared causes: MAF, fuel pressure, and leaks that feed the whole intake.
What not to do
- Don’t replace the oxygen sensor first “because it’s fuel related.”
- Don’t ignore a huge intake boot crack staring at you.
- Don’t use random cleaners on a MAF element.
When it gets serious
Severe lean under load can cause detonation and engine damage. If you have heavy pinging, overheating, or rising oil temperature with lean codes, ease off and fix fueling before a long highway pull.
After the repair
Trims should settle near normal after a few drive cycles. If P0171 returns only when hot, recheck plastic hoses and boots that open up with heat.
FAQ
P0171 and P0174 together — what does that mean?
Both banks lean usually points to a shared cause: MAF, fuel pressure, or a leak that affects the whole engine — not one bank’s gasket only.
Can a bad gas cap set P0171?
Uncommon. Gas caps usually set EVAP codes (P0455/P0456). Lean codes want air/fuel diagnosis.
Do I need a smoke machine?
It helps a lot. Careful inspection and listening can find big leaks; smoke finds the small ones faster.
Will a tune or delete clear P0171?
That’s not a diagnosis. Fix the air/fuel fault; don’t mask it.
Continue in the AI assistant
Save your vehicle in MasterMind, type P0171, and get a bay-side path: top causes, next three checks, then tap what you found.
Open Torqmind AI Mechanic