Home › Guides › Fuel

P0171 Code: System Too Lean (Bank 1)

Updated October 2026 By RepairCostLab Editorial Team
Quick answer

P0171 means the engine computer is adding the maximum amount of fuel it can on bank 1 and the mixture is still too lean: too much air or not enough fuel. The most common causes are a vacuum leak, a dirty mass air flow (MAF) sensor, and low fuel pressure from a weak pump or clogged filter.

What "too lean" means

Gasoline engines run best at about 14.7 parts air to 1 part fuel. The computer constantly adjusts fuel using "fuel trims". When it has to add more than about 25% extra fuel to keep the mixture right, it sets P0171.

If both sides of a V6 or V8 are lean, you will also see P0174 (bank 2). Lean on both banks usually points to something shared, like the MAF sensor, a large vacuum leak or fuel pressure.

Symptoms

What does it cost to fix?Mass Air Flow Sensor Replacement: $100–$380 See the full estimate →

Common causes

CauseCluesCost level
Vacuum leak (cracked hose, intake gasket, PCV valve)Hissing, worse at idle, fuel trims improve at higher rpmLow
Dirty MAF sensorFuel trims high at all speeds; often fixed by cleaningLow
Failing MAF sensorCleaning does not help; implausible airflow readingsMAF sensor replacement
Low fuel pressureLean worse under load or at high speedFuel pump or filter
Clogged fuel injectorsLean on one bank, misfiresMedium
Exhaust leak before the upstream O2 sensorOutside air fools the sensor into reading leanLow to medium

How to diagnose P0171

Can you drive with P0171?

Short term, usually yes. Over time, a lean engine runs hotter, can misfire, and may damage the catalytic converter or, in extreme cases, pistons and valves. Address it within days or weeks, not months.

Frequently asked questions

Can a dirty air filter cause P0171?

Rarely. A clogged air filter restricts air, which tends to make the mixture richer, not leaner. An oiled filter can contaminate the MAF sensor, though.

Can a bad oxygen sensor cause P0171?

Occasionally, but most of the time the oxygen sensor is correctly reporting a real lean condition. Look for vacuum leaks and MAF problems first.

Will a fuel additive fix P0171?

Only if the cause is slightly dirty injectors. It will not fix a vacuum leak, a bad MAF sensor or a weak fuel pump.

Related repair costs

Mass Air Flow Sensor Replacement$100–$380Fuel Pump Replacement$365–$1,340Oxygen Sensor Replacement$85–$360

More guides

Sources and methodology

Estimates combine typical book labor times, current aftermarket and OEM parts prices, and 2026 US shop labor rates. See exactly how we calculate them.

Found a price that looks wrong for your area? Tell us: we review every correction.