P0171 Code: System Too Lean (Bank 1) – Causes and Fixes
Quick answer: P0171 means the engine on bank 1 is getting too much air or too little fuel, and the computer has reached the limit of what it can add to correct it. The most common causes are a vacuum leak, a dirty or faulty mass air flow sensor, a weak fuel pump or clogged fuel filter, and leaking intake gaskets.
What P0171 means
The engine computer uses the upstream oxygen sensor to keep the air-fuel mixture balanced. When it sees a lean mixture it adds fuel (positive fuel trim). If it has to add more than its limit allows, it sets P0171. Bank 1 is the side of the engine with cylinder 1. If P0174 is set at the same time, the cause usually affects both banks, such as a MAF sensor, fuel pressure or a large vacuum leak.
Symptoms
- Check engine light.
- Rough or high idle.
- Hesitation or stumble when accelerating.
- Misfires, sometimes with P0300 series codes.
- Hard starting.
Common causes
- Vacuum leaks: cracked hoses, a leaking intake manifold gasket, a PCV valve or hose, or a brake booster hose.
- A dirty or faulty mass air flow (MAF) sensor reading low.
- Low fuel pressure: a weak fuel pump, clogged filter or faulty pressure regulator.
- Clogged or leaking fuel injectors.
- An exhaust leak ahead of the upstream oxygen sensor, which pulls in outside air.
- A faulty upstream oxygen sensor.
Before you replace parts
- Read the codes with an OBD-II scanner and write down every code, not just this one. Several codes together often point to one cause.
- Look at the freeze frame data: engine temperature, speed and load when the code set.
- Check for technical service bulletins (TSBs) for your vehicle; some codes have known fixes or software updates.
- Clear the code and drive. If it returns quickly, the fault is current; if it takes days, it may be intermittent.
How to diagnose it
- Look at fuel trims with a scan tool. High positive trims at idle that drop as engine speed rises point to a vacuum leak; high trims at all speeds point to fuel delivery or the MAF sensor.
- Listen for hissing and inspect vacuum hoses and the intake.
- Do a smoke test of the intake to find hidden vacuum leaks.
- Check fuel pressure against the specification for your engine.
- Inspect and clean the MAF sensor with MAF cleaner, then compare its readings with the specification.
How to fix it
- Replace cracked vacuum hoses or the PCV valve.
- Replace leaking intake manifold gaskets (see the intake gasket leak guide).
- Repair fuel delivery: fuel pumps or fuel injectors.
- Clean or replace the MAF sensor.
- Replace a faulty oxygen sensor.
Related codes
- P0174: lean on bank 2.
- P0101 and P0102: MAF sensor codes.
- P0300: random misfire, often set by a lean mixture.
- P0087: low fuel pressure.
About this guide
Code definitions here are the generic OBD-II meanings. Manufacturers can add their own details, and the same code can have different common causes on different engines, so use a service manual or a qualified technician for a full diagnosis. Parts named are ones we list; check the vehicle, engine and part number in each listing, or send us your year, make, model and engine and we will check before you order.
Questions
Can I drive with P0171?
Short distances are usually fine, but a lean engine runs hotter and can misfire, which can damage the catalytic converter. Find the cause soon.
What is the most common cause of P0171?
A vacuum leak is the most common cause, followed by a dirty or faulty MAF sensor and low fuel pressure.
Can a bad oxygen sensor cause P0171?
It can, but it is less common. The sensor usually reports a real lean condition rather than causing it.
What does bank 1 and bank 2 mean?
Bank 1 is the side of the engine with cylinder 1. Inline engines have only bank 1; V engines have two banks.
Will cleaning the MAF sensor fix P0171?
Sometimes. A dirty MAF sensor under-reads airflow, so the engine runs lean. Clean it with MAF cleaner only, never touch the wires, and clear the code to see if it returns.