OBD-II trouble code · Powertrain (engine and transmission)
P0171 System Too Lean Bank 1
Your engine is getting too much air or too little fuel on bank 1, and the computer has run out of room to correct it. It is one of the most common check-engine codes and is often caused by a vacuum leak.
I'm breathing in more air than I can match with fuel on bank 1, so I'm running lean. Check my hoses for leaks first, that's usually the culprit!
— FRED, speaking as your car
What P0171 means
The engine computer constantly adjusts fuel delivery (fuel trim) based on oxygen sensor feedback. P0171 sets when the computer has had to add so much fuel on bank 1 (the side with cylinder 1) that long-term fuel trim exceeds its allowed limit, meaning unmetered air is getting in or fuel delivery is weak. On inline 4- and 6-cylinder engines there is only one bank, so P0171 covers the whole engine. Trim limits and test conditions vary by make.
Common symptoms
- Check-engine light on
- Rough or unstable idle
- Hesitation or stumble on acceleration
- Reduced power or fuel economy
- Possible misfire codes alongside it
- Hissing sound from the engine bay (vacuum leak)
Likely causes (most likely first)
- Vacuum leak (cracked hose, intake gasket, PCV hose)
- Dirty or faulty mass airflow (MAF) sensor
- Weak fuel pump or clogged fuel filter
- Low fuel pressure from a faulty pressure regulator
- Clogged or leaking fuel injectors
- Exhaust leak ahead of the upstream O2 sensor
- Leaking brake booster or its vacuum hose
What you can check yourself
- Read freeze-frame data and live fuel trims with your OBD-II adapter; note whether trims are high at idle but improve at 2,500 rpm (points to a vacuum leak)
- Listen for hissing and inspect vacuum hoses, PCV hose, and the intake boot after the MAF for cracks
- Clean the MAF sensor with dedicated MAF cleaner (never touch the element) and recheck trims
- Check for exhaust leaks near the exhaust manifold and upstream O2 sensor
- If trims stay high at all speeds, have fuel pressure tested with a gauge
- Clear the code and road-test to see if it returns
FRED reads freeze frame and live data, so you can see what the engine was doing when P0171 set, before you buy any parts.
Typical repair costs
| Repair | Typical range |
|---|---|
| Replace cracked vacuum or PCV hose | $50–$250 |
| Clean or replace MAF sensor | $20–$400 |
| Replace intake manifold gasket | $200–$700 |
| Replace fuel pump or fuel filter | $150–$1,200 |
| Smoke test to locate vacuum leak | $100–$200 |
Typical US independent-shop ranges, parts and labor. Your price varies by vehicle, region and shop.