Code & Cost

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

  1. Vacuum leak (cracked hose, intake gasket)
  2. Dirty or faulty MAF sensor
  3. Weak fuel pump or clogged fuel filter
  4. Clogged fuel injectors
  5. Exhaust leak before the front O2 sensor

Symptoms

  • Check engine light
  • Rough idle
  • Hesitation on acceleration
  • Misfires

How to approach the fix

  1. Read every stored code, not just this one. Fix misfire and fuel-trim codes first, they often cause others.
  2. Check the cheapest likely causes first: connectors, wiring, hoses and leaks.
  3. Confirm the faulty part with live data or a test before replacing it.
  4. 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.

RepairTypical costSource
Smoke test to find a leak$50–$150EngineerFix
Mass air flow sensor replacement$262–$406RepairPal
Intake manifold gasket (vacuum leak)$683–$834RepairPal
Fuel injector replacement$768–$953RepairPal
Fuel pump replacement$1,344–$1,513RepairPal
Check engine light diagnosis$122–$233RepairPal 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.

Repair or sell