Home › DTC code guides › P0171

Fuel trim

P0171: System Too Lean (Bank 1)

Title: SAE J2012 generic definition. Manufacturer-specific definitions and enhanced codes can differ; check service information for the exact vehicle.

What P0171 means

The engine computer is adding as much fuel as it is allowed to on bank 1 and the mixture is still lean.

What sets it

The ECM uses the upstream oxygen (or air-fuel) sensor to adjust fuel delivery with short-term and long-term fuel trim. When it has to add fuel up to its calibrated limit for long enough, it sets P0171. Bank 1 is the side of the engine with cylinder 1; inline engines only have bank 1.

Symptoms

  • Often none apart from the light
  • Hesitation or surge, rough idle
  • Possible misfire codes if the lean condition is severe

Is it safe to drive?

General guidance, not a guarantee: Usually OK to drive short-term if the engine runs normally, but a lean engine can misfire and run hot. Get it diagnosed soon, and stop if misfires or a flashing light appear. If in doubt, have it towed and diagnosed.

Common causes

Listed roughly from most to least common in general practice. The real order varies by vehicle, mileage and history.

  1. Vacuum or intake leak after the airflow sensor: cracked hoses, PCV, intake gaskets, brake booster hose
  2. Dirty or faulty MAF sensor reading low: the ECM under-estimates airflow and under-fuels
  3. Low fuel pressure or volume: weak pump, restricted filter, regulator
  4. Exhaust leak ahead of the upstream O2 sensor: outside air drawn in makes the sensor read lean
  5. Restricted injectors

Test before you replace: diagnostic sequence

General guidance only. Always follow the vehicle manufacturer's service information, specifications and safety procedures. Any figures below are general guidelines that defer to the manufacturer's specification.

  1. Record freeze frame. Note whether it set at idle or under load.
  2. Read short- and long-term fuel trims at idle, at about 2,500 rpm, and under a load (road test). General guideline only: many techs treat combined short-term + long-term fuel trim within roughly ±10% as normal and look harder beyond that. The ECM's own limits are manufacturer-calibrated; use the manufacturer's data.
  3. If trims are high at idle and improve as rpm rises, suspect a vacuum leak: smoke-test the intake and PCV system.
  4. If trims get worse under load, suspect fuel delivery: test fuel pressure and volume against the manufacturer specification.
  5. If trims are lean everywhere, check MAF readings against known-good data or the manufacturer's values, and inspect for contamination.
  6. Check for exhaust leaks upstream of the O2 sensor (listen, smoke, or inspect manifold and flex joints).
  7. After repair, clear codes and watch long-term trim return toward normal over a drive.

Bench note: The idle-vs-2,500-rpm trim comparison is the most useful two-minute test for this code. It points you toward air or toward fuel before you spend anything.

How-to guides for this code

Related codes

FAQ

What is bank 1?

The side of the engine that contains cylinder 1. Four-cylinder and other inline engines only have bank 1.

Should I just clean the MAF?

Cleaning a contaminated MAF can help, but many P0171s are vacuum leaks. Check fuel trims and do a smoke test first so you fix the real cause.

Can a bad O2 sensor cause P0171?

Less often than people think. The upstream sensor is usually reporting a real lean condition. Test the sensor's response before replacing it.

Sources

Written with AI assistance and reviewed for accuracy; not a substitute for OEM service information. Shop Docs Studio is not affiliated with SAE, EPA, CARB or any vehicle manufacturer.

Get notified when the DTC flowchart pack is on sale

We use Buttondown to send email. See our privacy page.