P0171 Moderate

System Too Lean (Bank 1)

Severity4/10

In short

P0171 means the engine is running lean on Bank 1 — there's too much air relative to fuel, and the computer has run out of room trying to add fuel to compensate. The two most common real-world causes are an unmetered air (vacuum) leak after the mass-airflow sensor, or a dirty/failing MAF sensor under-reporting airflow. It's usually a cheap fix once you find the leak, but a long-running lean condition can damage the engine over time.

Severity
4/10
Typical shop cost
$80–$900
Most likely cause
Vacuum / intake air leak after the MAF (cracked PCV hose, intake boot, brake booster line, gasket)
Cheapest likely fix
Replace cracked vacuum / PCV / intake hose · DIY $10-80

Is it safe to drive with P0171?

Generally safe to drive in the short term — the car will run, though you may notice a rough idle or hesitation. Don't ignore it for long: a lean mixture runs hotter and can cause misfires, lean-related detonation, and accelerated wear on pistons and valves. If a lean code is paired with misfire codes, fix it promptly.

Symptoms

  • Check engine light on
  • Rough or surging idle, sometimes stalling at stops
  • Hesitation or stumble on light acceleration
  • Slightly reduced power
  • Hard starting in some cases
  • Often no obvious symptom at all besides the light

Common causes (most → least likely)

Vacuum / intake air leak after the MAF (cracked PCV hose, intake boot, brake booster line, gasket)
Very common
$10-300
Dirty or failing mass-airflow (MAF) sensor under-reporting airflow
Very common
$15-350
Weak fuel delivery — clogged fuel filter, failing pump, or dirty injectors
Common
$30-700
Leaking or stuck-open PCV valve
Common
$10-120
Faulty upstream oxygen sensor skewing the mixture reading
Occasional
$120-400
Low fuel pressure from a clogged sock/regulator
Occasional
$50-500

How to diagnose it (before buying parts)

  1. 1 Read live fuel-trim data with a scan tool. High positive Short-Term and Long-Term Fuel Trims (e.g. +15% to +25%) on Bank 1 confirm the engine is adding fuel to fight a lean condition.
  2. 2 Note whether the lean trim is worst at idle (points to a vacuum leak) or worst at higher RPM/load (points to a MAF or fuel-delivery problem).
  3. 3 Hunt for vacuum leaks: inspect every intake hose, the PCV system, and the intake boot for cracks. Spraying carb cleaner or using a smoke machine around the intake will make the idle change when it hits a leak.
  4. 4 Inspect/clean the MAF sensor element with MAF-specific cleaner (never touch it). Compare the MAF's grams-per-second reading against spec at idle.
  5. 5 If idle vacuum and MAF check out, test fuel pressure and fuel-trim behavior under load to rule out weak fuel delivery.
  6. 6 Check the PCV valve — a stuck-open PCV is essentially a calibrated vacuum leak.

Repair options & cost

Replace cracked vacuum / PCV / intake hose Easy · 20-60 min
DIY $10-80 Shop $80-250
Clean or replace MAF sensor Easy · 15-45 min
DIY $10-350 Shop $120-450
Replace intake manifold gasket Moderate-Hard · 2-4 hrs
DIY $30-200 Shop $250-700
Replace fuel filter / pump Moderate-Hard · 1-3 hrs
DIY $30-400 Shop $200-900

By manufacturer

Ford

Extremely common on 4.0/4.6/5.4 and EcoBoost engines, usually from a torn PCV hose, a cracked intake boot, or a dirty MAF. Often appears together with P0174 (Bank 2). Check the rubber intake elbow first.

Toyota / Lexus

Frequently a dirty MAF or a brittle PCV hose on 1MZ/2GR V6s. Clean the MAF and inspect vacuum lines before replacing parts.

GM / Chevrolet

Cracked intake manifold gaskets and PCV issues are common lean-code sources on older V6/V8s.

BMW

Cracked plastic intake boots, valve-cover/PCV (CCV) failures, and split charge-pipe seals are classic lean-code causes; inspect all the brittle plastic crankcase-vent parts.

Frequently asked questions

What does 'system too lean' mean?

It means there's more air in the air-fuel mixture than the computer expects, so it's been forced to add extra fuel (high positive fuel trim) to keep the engine running correctly. P0171 fires when it runs out of room to compensate on Bank 1.

What's the most common cause of P0171?

Unmetered air getting into the engine — a vacuum leak somewhere after the mass-airflow sensor (a cracked hose, PCV line, or intake gasket) — or a dirty MAF sensor reading low. Both are usually inexpensive fixes.

Can I drive with P0171?

For a short time, yes. But a lean mixture burns hotter and can lead to misfires and long-term engine wear, so diagnose it soon — especially if you also have misfire codes.

Will cleaning the MAF sensor fix it?

Often, yes — a MAF coated in dirt or oil reads low and leans out the mixture. Clean it with MAF-specific spray (not carb cleaner) and recheck fuel trims. If trims are still high, look for a vacuum leak next.

Related codes