P0171: System Too Lean (Bank 1)
Severity
Moderate
Safe to drive?
Short term only
Typical repair
$50–$1,513
What P0171 means
The engine on bank 1 is getting too much air or too little fuel, and the computer has reached its limit trying to correct it.
Ad slot · in-content
Common causes
- Vacuum leak (cracked hose, intake gasket)
- Dirty or faulty MAF sensor
- Weak fuel pump or clogged fuel filter
- Clogged fuel injectors
- Exhaust leak before the front O2 sensor
Symptoms
- Check engine light
- Rough idle
- Hesitation on acceleration
- Misfires
How to approach the fix
- Read every stored code, not just this one. Fix misfire and fuel-trim codes first, they often cause others.
- Check the cheapest likely causes first: connectors, wiring, hoses and leaks.
- Confirm the faulty part with live data or a test before replacing it.
- Clear the code and drive normally to make sure it does not come back.
Repair costs
Typical shop prices in the US, parts and labor, before tax. Start with the cheapest likely fix.
| Repair | Typical cost | Source |
|---|---|---|
| Smoke test to find a leak | $50–$150 | EngineerFix |
| Mass air flow sensor replacement | $262–$406 | RepairPal |
| Intake manifold gasket (vacuum leak) | $683–$834 | RepairPal |
| Fuel injector replacement | $768–$953 | RepairPal |
| Fuel pump replacement | $1,344–$1,513 | RepairPal |
| Check engine light diagnosis | $122–$233 | RepairPal check engine diagnosis, via ThePricer |
National averages, prices checked December 2026. Your price depends on the car and local labor rates.
Is the repair worth it?
Compare the quote with what your car is worth before you pay.