This article was updated in May 24, 2026 with new products and information by Mark S. Taylor

That check engine light isn’t lying to you. Code P0171 — “System Too Lean, Bank 1” — means your engine’s computer has detected that the air-fuel mixture on one side of the engine is running with too much air and not enough fuel.

It sounds simple. But nine different problems can trigger this exact code, and some are a $15 fix while others require a mechanic and several hundred dollars. The tricky part is knowing which one you’re dealing with.

This guide explains exactly what causes code P0171 means, what causes it, what you’ll feel behind the wheel, and how to diagnose it without guessing. By the end, you’ll know which cause to check first and what it’s going to cost to fix.

What Causes Code P0171

Contents

P0171 means the engine is running lean on Bank 1.

there’s too much air and not enough fuel entering the combustion chamber on one side of your engine. The oxygen sensors detect excess oxygen in the exhaust, signal the ECU, and the ECU logs P0171 when it can’t correct the imbalance through normal fuel trim adjustments.

A healthy engine runs at roughly a 14.7:1 air-to-fuel ratio — called stoichiometric. When this ratio tips toward too much air, combustion becomes incomplete and inefficient. The engine runs rough, loses power, and produces more harmful emissions.

Bank 1 refers to the side of the engine that contains cylinder number 1. On a 4-cylinder engine, there’s only one bank, so P0171 covers the whole engine. On V6 and V8 engines, Bank 1 is one specific side. P0174 covers Bank 2 on those engines.

Not every P0171 throws obvious symptoms. Some vehicles just light the check engine lamp and run almost normally. Others feel noticeably rough. Here’s what to watch for:

  • Check engine light on — the most common and sometimes only symptom
  • Rough or unstable idle — engine hunts or surges at a stop
  • Hesitation or stumble on acceleration — especially from a stop or at low RPM
  • Loss of power — engine feels flat, especially under load
  • Poor fuel economy — the ECU compensates by adding fuel, burning more than normal
  • Hard starts — particularly when the engine is cold
  • Engine misfires — lean mixtures can cause incomplete combustion
  • Stalling — in severe cases, especially at idle

Mechanic’s note: Symptoms are often worse when the engine is cold and improve once it warms up. If you only notice rough running on cold starts, pay close attention to the PCV valve and vacuum hoses — they’re more likely to show leaks when cold rubber contracts.

Blown-Transmission

1. Vacuum Leak

This is the most common cause of P0171 by a wide margin. Your engine has a network of rubber hoses, gaskets, and plastic connectors that carry vacuum pressure. When any of them crack, split, or come loose, unmetered air enters the engine without being detected by the MAF sensor. The ECU sees excess oxygen and logs P0171.

What it feels like: Rough idle, hissing sound from the engine bay, stalling at low speeds. The idle usually improves at higher RPM because the unmetered air represents a smaller percentage of total airflow.

Common vacuum leak locations: Intake manifold gasket, PCV hose, brake booster hose, throttle body gasket, any small rubber vacuum line.

Urgency: Medium-high. A vacuum leak stresses other engine components over time.

Repair cost: $10–$50 (DIY hose replacement) to $200–$600 (intake manifold gasket at a shop)

2. Dirty or Faulty MAF Sensor

The Mass Airflow (MAF) sensor measures the amount of air entering the engine. The ECU uses this reading to calculate how much fuel to inject. A dirty or failing MAF sensor reads less air than is actually entering — so the ECU injects too little fuel, creating a lean condition.

What it feels like: Hesitation during acceleration, rough idle, stalling. Sometimes no noticeable driveability symptoms at all — just a check engine light.

Good news: A dirty MAF sensor can often be fixed with a $7 can of MAF sensor cleaner. Spray it on the sensing wire, let it dry, and retest. Many P0171 codes disappear after a simple MAF cleaning.

Urgency: Medium. A dirty MAF rarely causes immediate damage but reduces fuel economy and performance.

Repair cost: $7–$15 (cleaning) or $150–$400 (MAF sensor replacement)

3. Weak or Failing Fuel Pump

The fuel pump delivers pressurized fuel from the tank to the injectors. When it weakens, fuel pressure drops and the injectors can’t deliver the correct amount of fuel — especially under load. The result is a lean condition that worsens when you accelerate hard or go uphill.

What it feels like: Engine sputters under hard acceleration, surges at highway speed, loses power when climbing hills. P0171 that worsens under load strongly suggests a fuel pump issue.

Urgency: High. A failing fuel pump can leave you stranded without warning and can damage the catalytic converter if the lean condition is severe.

Repair cost: $300–$800 (fuel pump replacement, parts and labor)

4. Clogged Fuel Injectors

Fuel injectors spray a precise mist of fuel into the combustion chamber. Over time, varnish deposits from fuel build up inside the injector tip and restrict flow. A partially clogged injector delivers less fuel than commanded — creating a lean condition on that cylinder or across all cylinders.

What it feels like: Rough idle, hesitation, occasional misfires. May feel like the engine is “missing” on one cylinder.

Try this first: A bottle of fuel injector cleaner added to a full tank of gas sometimes resolves mild clogging. If symptoms persist, professional ultrasonic injector cleaning or replacement is the next step.

Urgency: Medium. Partial clogging rarely causes immediate damage but worsens over time.

Repair cost: $10–$20 (fuel additive) or $150–$500 (professional injector cleaning or replacement)

5. Faulty Oxygen Sensor

The oxygen sensors monitor exhaust gases and report the air-fuel ratio back to the ECU. A failing upstream oxygen sensor (before the catalytic converter) can send an incorrect lean reading — triggering P0171 even when the actual mixture is fine. It can also fail to report a genuinely lean condition accurately, masking the real cause.

What it feels like: Often no noticeable driveability symptoms at all. Check engine light only. On some vehicles, slightly rough idle.

Important note: Always diagnose the underlying cause before replacing the oxygen sensor. Swapping the O2 sensor when the real problem is a vacuum leak or weak fuel pump just wastes money — the code returns immediately.

Urgency: Medium. A faulty O2 sensor affects fuel economy and emissions. It can also cause the ECU to run the engine incorrectly over time.

Repair cost: $150–$400 (oxygen sensor replacement, parts and labor)

6. Bad PCV Valve or Hose

The Positive Crankcase Ventilation (PCV) system routes blow-by gases from the engine crankcase back into the intake to be burned. The PCV valve regulates this flow. When the valve sticks open or the hose cracks, it pulls unmetered air directly into the intake manifold — exactly like a vacuum leak, but often overlooked because the PCV system isn’t the first thing mechanics check.

What it feels like: Rough idle, oil consumption, blue smoke from the exhaust if severe. The idle is often particularly rough because the PCV vacuum port is close to the throttle body.

This is often missed: PCV valves are cheap (often $5–$15) and rarely inspected. On high-mileage engines, a cracked PCV hose is one of the most overlooked causes of P0171.

Urgency: Medium. A stuck-open PCV valve eventually allows oil to be sucked into the intake, causing oil consumption and carbon buildup.

Repair cost: $20–$80 (PCV valve and hose replacement)

7. Clogged Fuel Filter

A clogged fuel filter restricts fuel flow to the injectors, reducing fuel pressure and delivery volume. The symptoms are similar to a weak fuel pump — lean condition that worsens under load. On older vehicles, the fuel filter is a separate serviceable component replaced every 30,000 miles. On many modern vehicles, the filter is integrated into the fuel pump assembly.

What it feels like: Power loss under heavy acceleration, sputtering at highway speed, hard starting. Often improves at idle (when fuel demand is low) and worsens under load.

Urgency: Medium. A severely clogged filter stresses the fuel pump and can cause premature pump failure.

Repair cost: $50–$175 (fuel filter replacement)

8. Faulty Fuel Pressure Regulator

The fuel pressure regulator maintains consistent fuel pressure throughout the fuel system. When it fails, pressure drops too low and the injectors can’t deliver adequate fuel — triggering a lean code. On many modern returnless fuel systems, the regulator is integrated into the fuel pump module inside the tank.

What it feels like: Rough idle, hard starts, engine runs lean especially at idle. Black smoke from a failed regulator stuck open (rich) — but a failed regulator stuck closed or leaking vacuum causes lean conditions.

Urgency: Medium-high. Low fuel pressure damages injectors over time and can cause misfires that damage the catalytic converter.

Repair cost: $150–$400 (standalone regulator) or $300–$800 (if integrated into fuel pump)

9. Exhaust Leak Near Oxygen Sensor

An exhaust leak upstream of the oxygen sensor allows outside air to be drawn into the exhaust stream. The oxygen sensor detects this extra oxygen and reports a lean condition to the ECU — even if the actual air-fuel mixture is perfectly fine. This is one of the most commonly missed causes of P0171.

What it feels like: Ticking or hissing sound from the exhaust, especially when cold. Smell of exhaust fumes in the engine bay. P0171 that appears on cold starts and fades as the engine warms (exhaust expands and seals the leak when hot).

Diagnosis tip: Listen for a ticking sound that disappears after the first few minutes of running. That’s a telltale sign of an exhaust manifold leak or cracked flex pipe near the O2 sensor.

Urgency: Medium. An exhaust leak near the engine causes carbon monoxide buildup in the engine bay and accelerates sensor wear.

Repair cost: $150–$500 (exhaust manifold gasket or flex pipe repair)

bad water pump

If your scan tool shows both P0171 and P0174 at the same time, the lean condition affects both banks of the engine.

On a V6 or V8, this almost always points to a problem that affects the entire engine’s fuel system — not just one side. The most common culprits when both codes appear together are:

  • A large vacuum leak (intake manifold gasket, common on V6 engines)
  • A weak fuel pump (affects fuel delivery to all cylinders)
  • A dirty MAF sensor (reads incorrectly for the whole engine)
  • Low fuel pressure from a clogged filter or failing regulator

Getting both codes simultaneously actually narrows your diagnosis significantly. Focus on MAF sensor, fuel pump, and intake manifold first.

You don’t need a full shop to start diagnosing P0171. Here’s a smart order of operations:

  1. Read the live fuel trim data with an OBD-II scanner. If Short Term Fuel Trim (STFT) is above +10% and Long Term Fuel Trim (LTFT) is above +10%, the lean condition is real and consistent.
  2. Inspect vacuum hoses visually — look for cracks, splits, or disconnected hoses. Squeeze rubber hoses; brittle or hard rubber indicates age-related cracking.
  3. Clean the MAF sensor with MAF cleaner spray. Clear the code and drive for a day. If P0171 doesn’t return, the MAF was the culprit.
  4. Do a smoke test or propane enrichment test for vacuum leaks. A shop smoke test is the most reliable method. DIY alternative: carefully run propane around vacuum lines and intake seams while the engine idles — an RPM increase indicates a leak.
  5. Check fuel pressure with a fuel pressure gauge at the fuel rail. Compare to manufacturer spec. Low pressure points to the pump, filter, or regulator.
  6. Inspect the PCV valve — remove it and shake it. A working PCV valve rattles. A stuck valve doesn’t. Replace if stuck or if the hose is cracked.
  7. Check for exhaust leaks — listen for ticking on cold start. Inspect manifold bolts and flex pipe connections.
SituationSafe to Drive?Action
Check engine light only, no symptomsCautiously, short termDiagnose within 1–2 weeks
Rough idle or hesitationCautionDiagnose within a few days
Stalling or significant power lossNot recommendedDiagnose immediately
Misfires present with P0171NoStop driving — catalytic converter at risk
P0171 + P0174 togetherCautionDiagnose promptly — fuel system issue likely

The real risk of ignoring P0171: A persistent lean condition causes misfires. Misfires send unburned fuel into the catalytic converter, which overheats and fails. Catalytic converter replacement costs $800–$2,500. Fixing P0171 promptly is far cheaper.

RepairDIY Friendly?Average Cost
MAF sensor cleaningYes$7–$15
PCV valve replacementYes$20–$80
Vacuum hose replacementYes$10–$50
Fuel injector cleanerYes$10–$20
Oxygen sensor replacementIntermediate$150–$400
Fuel filter replacementIntermediate$50–$175
Intake manifold gasketMechanic recommended$200–$600
MAF sensor replacementIntermediate$150–$400
Fuel pressure regulatorMechanic recommended$150–$400
Fuel pump replacementMechanic recommended$300–$800

P0171 means the engine is running lean on Bank 1 — there’s too much air and not enough fuel in the combustion mixture. The ECU detects this through oxygen sensor readings and logs the code when it can’t compensate through normal fuel trim adjustments.

It ranges from minor to serious depending on the cause. A dirty MAF sensor is a $7 fix. A failing fuel pump or intake manifold leak can cause misfires and catalytic converter damage if ignored. Address it within a week or two of the light coming on.

You can drive carefully for a short time if the car runs normally. If you experience misfires, stalling, or significant power loss alongside the code, stop driving and diagnose it first — misfires can destroy the catalytic converter quickly.

A vacuum leak is the single most common cause. Check vacuum hoses, the intake manifold gasket, and the PCV hose first. A dirty MAF sensor is a close second and can often be resolved with a $7 can of cleaner.

Yes. Any active check engine light causes an automatic emissions test failure in most US states. Even if the car runs fine, you need to resolve P0171 and clear the code before testing.

P0171 is a lean condition on Bank 1. P0174 is a lean condition on Bank 2. When both codes appear together on a V6 or V8, the problem affects the entire engine — most commonly a dirty MAF sensor, weak fuel pump, or large vacuum leak.

Code P0171 tells you one thing clearly: your engine isn’t getting enough fuel relative to the air coming in. The cause could be something as simple as a dirty MAF sensor or a cracked vacuum hose — or something as serious as a failing fuel pump. The key is diagnosing it in the right order rather than replacing parts randomly.

  • P0171 means “system too lean, bank 1” — too much air, not enough fuel
  • The most common causes are vacuum leaks and dirty MAF sensors — check these first
  • Symptoms include rough idle, hesitation, poor fuel economy, and check engine light
  • P0171 + P0174 together points to a fuel system or MAF sensor issue affecting the whole engine
  • Driving is cautiously acceptable short-term unless misfires are present
  • Ignoring misfires alongside P0171 can destroy the catalytic converter ($800–$2,500)
  • Start diagnosis with MAF cleaning ($7) and vacuum hose inspection before replacing expensive parts