Fuel trim — lean condition (Bank 1)
P0171 Code: System Too Lean (Bank 1) Explained
P0171 stands for "System Too Lean (Bank 1)." Bank 1 is the side of the engine that contains cylinder #1. "Too lean" means there is too much air and not enough fuel in the mixture, and the computer has run out of room to add fuel to correct it.
The engine computer constantly fine-tunes fuel using the oxygen sensors, adding or subtracting a little fuel (called fuel trim). When it has to add the maximum amount and the mixture is still lean, it gives up and sets P0171. The code is a symptom — something is letting in extra air or starving the engine of fuel.
P0171 is not usually an emergency, but a lean engine runs hotter and can misfire under load. Left alone it can stress the catalytic converter and cause poor drivability, so it should be diagnosed rather than ignored.
You can usually drive to a shop if the car stays running. Avoid hard acceleration and heavy loads, which make a lean condition worse. If the car stalls at idle, surges badly, or loses power, have it towed rather than risk being stranded.
P0171 symptoms you might notice
- Check engine light on
- Rough or low idle, sometimes a surging idle
- Hesitation or stumble when you press the gas
- Engine may stall at idle or when coming to a stop
- Poor fuel economy (the computer is dumping fuel to compensate)
- Occasionally a lack of power under load
Common causes of P0171
Vacuum leak
A cracked hose, bad PCV valve, leaking intake gasket, or loose air intake tube lets unmetered air in after the MAF sensor, leaning out the mixture. This is the most common cause.
Dirty mass airflow (MAF) sensor
A contaminated MAF under-reads the incoming air, so the computer adds too little fuel and the engine runs lean.
Low fuel pressure
A weak fuel pump, clogged filter, or failing regulator cannot supply enough fuel under load, causing a lean condition that gets worse as rpm rises.
Exhaust leak ahead of the O2 sensor
A leak between the engine and the oxygen sensor lets oxygen in and makes the sensor report a false lean condition.
Dirty or failing fuel injectors
Clogged injectors deliver less fuel than commanded, leaning the mixture across the bank.
Bad oxygen sensor (less common)
A failed upstream O2 sensor can report lean incorrectly, but sensors are often blamed when the real cause is a vacuum leak or fuel delivery.
Before you buy parts
P0171 does not mean your oxygen sensor is bad. A lean code is most often caused by a vacuum leak, a dirty MAF sensor, or low fuel pressure — the O2 sensor is usually just reporting the truth. Replacing the oxygen sensor first, without checking for leaks and fuel pressure, is a common and expensive mistake.
What to check for P0171
- Read all stored codes. P0171 often appears with P0174 (Bank 2 lean) — when both banks are lean together, suspect a shared cause like a dirty MAF, vacuum leak, or low fuel pressure.
- Look and listen for vacuum leaks around the intake, PCV hose, and brake booster. A smoke test is the fastest way to find small leaks.
- Inspect the air intake tube between the MAF and throttle body for cracks or loose clamps that let unmetered air in.
- Clean the MAF sensor with the correct MAF cleaner and check whether fuel trims improve. Do not replace it without testing.
- Check fuel pressure with a gauge and compare to the factory spec. Low pressure points to the pump, filter, or regulator.
Possible repairs for P0171
Repair a vacuum leak
Replacing a cracked hose, PCV valve, or intake gasket stops unmetered air from entering and is the most common real fix for P0171.
Clean or replace the MAF sensor
Cleaning a contaminated MAF with the proper cleaner often restores correct air readings; replacement is only needed if cleaning does not help.
Restore fuel pressure
Replacing a weak fuel pump, clogged filter, or failing regulator returns proper fuel delivery under load.
Fix an exhaust leak
Repairing a leak ahead of the oxygen sensor stops false lean readings.
Service the fuel injectors
Cleaning or replacing clogged injectors restores the correct fuel volume to the bank.
Parts and tools that may help
Enter your year, make and model on the store's site to see parts that fit your car.
GarageGuide may earn a commission if you buy through these links, at no extra cost to you. Always check that a part fits your exact vehicle before buying.
P0171 frequently asked questions
Does P0171 mean my O2 sensor is bad?
Usually not. The oxygen sensor is reporting that the engine is lean, and it is normally correct. The real cause is most often a vacuum leak, dirty MAF sensor, or low fuel pressure.
Can I drive with a P0171 code?
Short, gentle trips are usually fine, but avoid hard acceleration. If the car stalls, surges, or loses power, have it towed to avoid being stranded and to protect the catalytic converter.
Why does P0171 appear with P0174?
When both banks are lean at the same time, the cause is almost always something shared — a dirty MAF sensor, a large vacuum leak, or low fuel pressure — rather than a problem on just one bank.
What is the most common fix for P0171?
Finding and repairing a vacuum leak is the most common fix, followed by cleaning a dirty MAF sensor and restoring fuel pressure.
Will P0171 hurt my engine?
Not immediately, but a lean engine runs hotter and can misfire under load. Over time that can damage the catalytic converter, so it should be fixed rather than ignored.