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.

SeverityModerate
Safe to drive?Usually safe to drive short-term if the engine runs smoothly, but get it checked soon because a prolonged lean condition can cause misfires and overheat the catalytic converter; stop driving if the check-engine light flashes.

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)

  1. Vacuum leak (cracked hose, intake gasket, PCV hose)
  2. Dirty or faulty mass airflow (MAF) sensor
  3. Weak fuel pump or clogged fuel filter
  4. Low fuel pressure from a faulty pressure regulator
  5. Clogged or leaking fuel injectors
  6. Exhaust leak ahead of the upstream O2 sensor
  7. Leaking brake booster or its vacuum hose

What you can check yourself

  1. 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)
  2. Listen for hissing and inspect vacuum hoses, PCV hose, and the intake boot after the MAF for cracks
  3. Clean the MAF sensor with dedicated MAF cleaner (never touch the element) and recheck trims
  4. Check for exhaust leaks near the exhaust manifold and upstream O2 sensor
  5. If trims stay high at all speeds, have fuel pressure tested with a gauge
  6. 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

RepairTypical 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.

Get a second opinion from your own car. Plug a $15–30 OBD-II adapter into the port under your dash, open FRED and ask “Fred, what are my codes?” Get the free beta →
Which adapter?

P0171 FAQ

Rarely. A clogged air filter tends to restrict air, not add it. A dirty MAF sensor or a vacuum leak is a far more common cause.
When both banks are lean, the cause is usually shared by the whole engine, such as a MAF sensor problem, a large vacuum leak, or low fuel pressure, rather than a single injector.

Related codes