← Decode another code

P0171

Moderate severity

Fuel System Too Lean (Bank 1)

Can I keep driving?Yes — with care.

Drivable short-term, but a lean mixture runs hot and can cause damage over time. Get it checked within a week; sooner if you feel rough idle, hesitation or stalling.

Severity
Moderate
Drivable?
Yes, with care
Typical cost
$75–$700

What does the P0171 code mean?

The P0171 code means the engine on Bank 1 is running “lean” — there is too much air or not enough fuel in the mixture. The computer notices it is adding fuel to compensate beyond its normal limit, so it sets the code.

“Bank 1” is the side of the engine with cylinder 1. On V6/V8 engines this code often appears together with P0174 (the same problem on Bank 2), which usually points to a shared cause.

Can you keep driving with a P0171 code?

Yes, with care. A short-term lean condition usually won’t strand you, but over time it raises combustion temperatures and can cause misfires or damage. Get it checked within a week, and sooner if the car idles rough, hesitates, or stalls.

What causes a P0171 code?

  • Vacuum leak (cracked hose or intake gasket)~35%
  • Dirty or failing MAF sensor~30%
  • Weak fuel delivery (pump, filter, injectors)~20%
  • Faulty O2 sensor or PCV problem~15%

How to diagnose a P0171 (check these first)

  • Inspect vacuum hoses and the intake boot for cracks or loose connections.
  • Clean the MAF sensor with MAF-safe cleaner (never touch the wire).
  • Check the gas cap and the PCV valve.
  • Scan for P0174 — if both appear, suspect a shared cause like a big vacuum leak or the MAF.

P0171 repair cost

Typical US ranges including parts and labor (varies by vehicle):

Vacuum hose / intake gasket$75 – $300
MAF sensor$80 – $250
Fuel pump / filter$200 – $700

Tools & parts that help

Read the code yourself first Affiliate

Start cheap: a can of MAF sensor cleaner and a $20 scanner often reveal the problem before you replace anything expensive.

See MAF cleaners & scanners ›

P0171 — Frequently asked questions

Is it safe to drive with a P0171 code?

Short-term yes, but check it within a week. A lasting lean condition runs hot and can cause misfires or engine damage.

What causes a lean code like P0171?

Most often a vacuum leak or a dirty mass air flow (MAF) sensor; sometimes weak fuel delivery or a bad O2 sensor.

Can a dirty MAF sensor cause P0171?

Yes. A dirty MAF under-reports airflow, so the computer adds too little fuel and the mixture goes lean. Cleaning it often fixes the code.

Why do P0171 and P0174 appear together?

Because both banks read lean, the cause is usually shared – typically a large vacuum leak or a MAF sensor problem.

Related codes

General guidance based on the standard definition of the P0171 code. A real diagnosis depends on your make, model, mileage and other symptoms. When in doubt, have a professional confirm the cause before replacing expensive parts.