OBD fault code guide

P0171 Code Meaning UK

P0171 means β€œSystem Too Lean Bank 1”. In plain English, the engine computer believes the engine is getting too much air or not enough fuel on bank 1. Common causes include vacuum leaks, split intake pipes, dirty MAF sensors, weak fuel pressure, exhaust leaks, injector issues and oxygen sensor problems.

βœ“ P0171 meaning βœ“ Air and fuel causes βœ“ UK repair costs βœ“ MOT-aware advice
Quick answer

What does P0171 mean?

P0171 means the engine is running too lean on bank 1. A lean mixture means there is too much air, not enough fuel, or a sensor reading that makes the ECU believe the mixture is lean. The ECU tries to correct this by adding fuel, but when the correction becomes too large, it stores P0171.

The most important thing is not to replace the oxygen sensor straight away. The oxygen sensor may only be reporting a genuine lean condition caused by an air leak, intake pipe split, MAF sensor issue, fuel pressure fault or exhaust leak.

Most likely area

Vacuum leak, intake leak, MAF sensor, fuel pressure, injector issue, exhaust leak or oxygen sensor reading.

Urgency

Moderate if mild. Higher if the car hesitates, stalls, misfires, overheats or loses power.

MOT risk

Can affect emissions and may cause an engine warning light concern before an MOT.

Code meaning

P0171 β€” System Too Lean Bank 1

The full description is usually P0171 System Too Lean Bank 1. Bank 1 means the side of the engine containing cylinder 1. On many four-cylinder engines, bank 1 is the only bank, so P0171 usually refers to the main engine mixture control.

The ECU monitors the fuel mixture using sensors such as the MAF sensor and oxygen sensors. If it sees too much oxygen in the exhaust, or if it has to add too much fuel to correct the mixture, it stores a lean fault code.

Mechanic view

Why P0171 gets misdiagnosed

A common mistake is replacing the oxygen sensor straight away. The oxygen sensor may only be reporting the lean condition, not causing it. Many P0171 faults are caused by air leaks, split intake pipes, dirty MAF sensors, fuel pressure problems or exhaust leaks before the sensor.

A proper diagnosis checks the air, fuel and exhaust system before replacing expensive parts. Fuel trim data and smoke testing are usually more useful than guessing.

Symptoms

Common symptoms of a P0171 code

Some cars with P0171 still drive fairly normally. Others hesitate, idle badly, stall or lose power because the engine mixture is too lean.

Engine management light

A steady engine warning light is one of the most common signs of P0171.

Rough idle

The engine may shake, hunt, dip, surge or feel uneven at idle.

Hesitation when accelerating

Lean running can cause hesitation, flat spots, jerking or delayed throttle response.

Stalling

A large air leak or fuel delivery issue may cause the car to stall, especially at idle.

Whistling or hissing noise

A vacuum leak or split intake hose can sometimes make a noticeable hissing sound.

Poor fuel economy

The ECU may add extra fuel to correct the lean condition, increasing fuel use.

Common causes

What causes a P0171 fault code?

P0171 is usually caused by unmetered air entering the engine, not enough fuel being delivered, or incorrect sensor readings.

Very common

Vacuum leak

Split vacuum pipes, perished hoses, leaking intake gaskets or loose connections can let extra air in.

Common

Split intake hose

A cracked intake pipe after the MAF sensor allows unmeasured air into the engine.

Sensor-related

Dirty or faulty MAF sensor

A contaminated MAF sensor can under-read airflow and cause the ECU to deliver too little fuel.

Fuel system

Weak fuel pump

Low fuel pressure can make the engine run lean, especially under acceleration or load.

Restriction

Blocked fuel filter

Restricted fuel flow can reduce pressure and cause lean running on some vehicles.

Injector issue

Dirty or restricted injectors

Injectors that do not deliver enough fuel can cause lean mixture faults and misfires.

Exhaust

Exhaust leak before oxygen sensor

A leak before the oxygen sensor can pull in air and make the ECU think the engine is lean.

Sensor

Oxygen sensor fault

A faulty oxygen sensor can give misleading readings, but it should be tested before replacement.

Other issue

PCV valve fault

A stuck or leaking PCV valve can create an air leak and trigger lean running codes.

Diagnosis

How a garage should diagnose P0171

βœ… Scan all stored, pending and permanent codes.

βœ… Record freeze frame data before clearing anything.

βœ… Check short-term and long-term fuel trims.

βœ… Inspect intake pipes, vacuum hoses and PCV pipes for splits.

βœ… Smoke test the intake system for hidden air leaks.

βœ… Check MAF sensor readings and air filter condition.

βœ… Check fuel pressure and fuel delivery under load.

βœ… Inspect for exhaust leaks before the oxygen sensor.

βœ… Test oxygen sensor operation before replacing it.

Real experience

What I would check first

On a real car with P0171, I would first look at fuel trims and check for unmetered air. If the fuel trims improve when the revs are raised, that often points towards a vacuum leak. If the fault gets worse under load, fuel pressure and delivery become more suspicious.

I would also inspect the intake pipe after the MAF sensor. A small split underneath a hose can be missed easily but still cause a strong lean fault.

UK repair cost guide

How much does P0171 cost to fix in the UK?

Costs vary by vehicle, labour rate, engine access and the real cause of the lean fault. These are rough UK guide prices only.

Diagnostic scan and fuel trim check

Typical range: Β£40–£120 depending on the garage and how much testing is included.

Smoke test for air leaks

Typical range: Β£60–£150. Often one of the best tests for P0171.

Vacuum hose or intake pipe repair

Typical range: Β£40–£250 depending on parts, access and labour time.

MAF sensor cleaning or replacement

Typical range: Β£50–£250+ depending on part quality and vehicle.

Fuel pressure or pump repair

Typical range: Β£150–£500+ if fuel pump, filter or pressure regulator work is needed.

Injector diagnosis or cleaning

Typical range: Β£80–£350+ depending on petrol, diesel or direct injection systems.

Safe driving advice

Can you drive with a P0171 code?

If the engine warning light is steady and the car drives normally, short careful driving may be possible. However, lean running should not be ignored because it can lead to hesitation, misfires, overheating, higher combustion temperatures and possible catalyst or engine damage if the fault becomes severe.

βœ… Lower risk: steady engine light, no misfire, normal temperature and normal performance.

⚠️ Medium risk: hesitation, rough idle, poor fuel economy, repeated engine light or hissing air leak.

🚫 High risk: flashing engine light, severe misfire, stalling, overheating, smoke or major loss of power.

Misfire connection

Can P0171 cause misfire codes?

Yes. A lean mixture can cause weak combustion and misfires. If P0171 appears with P0300, P0301, P0302, P0303 or P0304, the lean condition may be one of the reasons the engine is misfiring.

Do not chase individual spark plugs or coils until the air leak, fuel trim and fuel pressure checks have been done.

MOT implications

Will P0171 fail an MOT?

P0171 can lead to an MOT failure if the vehicle fails emissions, runs poorly, has an emissions-related engine warning light, misfires, smokes or has an exhaust leak affecting the test. The MOT tester is not simply testing the code itself, but the lean running fault can affect combustion and emissions.

Emissions failure

Incorrect mixture can affect lambda, CO and hydrocarbon readings during emissions testing.

Warning light issue

An engine warning light linked to emissions should be investigated before the MOT.

Running fault

A car that stalls, misfires or runs badly should be repaired before testing.

Used car buying advice

P0171 on a car you want to buy

If a used car has P0171 stored, treat it as a warning sign until the cause is confirmed. It may be a simple split hose, but it can also point to fuel pressure, injector, exhaust leak or sensor issues.

Before buying, check the MOT history, service history, warning lights, test drive behaviour and whether the engine hesitates, stalls, smells of fuel or has other codes stored.

Buyer tip

Do not accept β€œit just needs a sensor”

A seller may describe P0171 as a simple oxygen sensor fault, but the real cause should be proven. Ask for evidence of diagnosis, not just a cleared engine light.

If the engine light returns after a test drive, or if the car hesitates under load, budget for proper fault finding before committing to the purchase.

Frequently asked questions

Frequently Asked Questions About P0171

Find answers to common questions about P0171 lean mixture faults, driving safety, repair costs and MOT implications.

What does P0171 mean?

P0171 means the engine computer has detected that bank 1 is running too lean. This usually means there is too much air, not enough fuel, or a sensor reading that makes the ECU believe the mixture is lean.

Can I drive with a P0171 code?

You may be able to drive short distances if the car runs normally and the engine light is steady, but lean running should not be ignored because it can cause hesitation, misfires, overheating and possible engine or catalyst damage.

Will P0171 fail an MOT?

P0171 can lead to an MOT failure if it causes high emissions, poor running, an emissions-related engine warning light, misfire, smoke or an exhaust leak issue.

What causes a P0171 code?

Common causes include vacuum leaks, split intake hoses, dirty or faulty MAF sensors, weak fuel pumps, blocked fuel filters, exhaust leaks, injector problems or oxygen sensor faults.

Is P0171 always an oxygen sensor fault?

No. The oxygen sensor often reports the lean condition rather than causing it. Air leaks, MAF faults, low fuel pressure, exhaust leaks and injector issues should be checked first.

Should I clear a P0171 code?

Record the code, freeze frame data and fuel trim information before clearing it. Clearing P0171 without diagnosis can hide useful evidence and the fault may return.

About this guide

Based on practical mechanic-style diagnostic experience

Motor Vehicle Expert publishes practical UK vehicle guidance based on real-world mechanical knowledge and hands-on diagnostic experience. This P0171 guide is written to help drivers understand lean mixture faults before replacing sensors or fuel system parts.

Fault codes should always be treated as a starting point for diagnosis. If your car has a flashing engine light, severe misfire, stalling, overheating, smoke or major power loss, stop driving and get professional help.