Plain-English fault code explainer
P0171

P0171 Fault Code: What It Means and What To Do

System Too Lean (Bank 1)

Urgency: Medium Book it in within the next week or two and watch for new symptoms

What does P0171 mean?

P0171 means the engine management system has detected that the air/fuel mixture on bank 1 is running lean — there is too much air relative to the amount of fuel being burned. The ECU monitors the mixture using oxygen sensors; when it detects lean conditions persistently and has to add extra fuel (called "positive fuel trim") to compensate, it logs P0171.

Bank 1 refers to the side of the engine containing cylinder 1. On a four-cylinder engine there's only one bank, so P0171 affects the whole engine. On a V6 or V8, bank 2 has its own code (P0174). P0171 is one of the most common fault codes seen in the UK — it appears regularly on petrol engines from Ford, Vauxhall, Toyota, Volkswagen, Audi and BMW.

Common symptoms include rough or unstable idle, hesitation when accelerating, increased fuel consumption, and occasionally a slight popping sound from the exhaust when you lift off the throttle.

What causes P0171?

  • Vacuum leak: A cracked intake hose, split vacuum pipe, or failed intake manifold gasket lets unmetered air into the engine, leaning out the mixture. This is the single most common cause, especially on higher-mileage cars where rubber hoses deteriorate.
  • Dirty or faulty MAF sensor: The mass airflow sensor measures how much air is entering the engine. A dirty or failing MAF under-reports airflow, so the ECU injects too little fuel. It is one of the most replaced parts for P0171.
  • Faulty PCV (positive crankcase ventilation) system: A stuck-open PCV valve or a split crankcase breather hose draws extra, unmetered air into the intake. Very common on higher-mileage engines and often overlooked.
  • Weak fuel pump or low fuel pressure: If the pump can't maintain adequate pressure, injectors can't deliver enough fuel, especially under load. Fuel pressure drops typically cause P0171 to appear only at higher revs or under hard acceleration.
  • Clogged fuel filter: Restricts fuel flow, reducing the pressure available at the injectors. Fuel filters are often overlooked at service intervals on modern cars.
  • Exhaust leak before the upstream O2 sensor: A small exhaust leak between the engine and the first oxygen sensor lets air in, tricking the sensor into reporting a lean mixture. The engine may run perfectly, but the code keeps returning.

What are the symptoms of P0171?

  • Rough or unsteady idle
  • Hesitation or flat spots when you accelerate
  • Engine feels like it's struggling
  • Higher fuel consumption

Is it safe to drive with P0171?

With caution. Mild lean running often causes no immediate safety issue, but it makes the engine run hotter, which can damage the pistons, valves and catalytic converter over time. If you notice rough idling or hesitation, get it checked without delay.

Will P0171 fail my MOT?

If P0171 has turned on your engine management light (EML), yes. The DVSA MOT inspection manual lists an engine management light that is on and showing a fault as a major defect, and a major defect is an MOT fail. Not every code turns the light on straight away, so check your dashboard before the test. See the MOT inspection manual.

How much does P0171 cost to fix in the UK?

Vacuum leak trace and repair£60 – £150
MAF sensor cleaning (DIY with cleaner spray)£5 – £15
MAF sensor replacement (fitted)£80 – £250
Fuel filter replacement (fitted)£50 – £120
Fuel pump replacement (fitted)£200 – £500
Upstream O2 sensor (fitted)£80 – £200

UK labour rates are typically £80–£120 per hour. Costs vary by vehicle and region.

What should I tell my garage about P0171?

Show your garage this list, filled in for your car. It helps them find the cause faster.

  • The code: P0171 (System Too Lean (Bank 1))
  • Which warning lights are on, whether they are steady or flashing, and when they first came on
  • Any symptoms you have noticed, and whether they come and go
  • Any other fault codes stored at the same time
  • Any recent work on the car, such as a service, a new battery or a repair
  • Whether the code has been cleared before, and how quickly it came back

What to do next

Start with the cheapest possibilities. Check all vacuum hoses visually for cracks, splits, or loose connections — paying particular attention to the large intake hose between the air filter box and throttle body, and the PCV breather hose. If you have access to an OBD scanner, check the short-term and long-term fuel trim values: positive values above +10% confirm the ECU is struggling to compensate.

If hoses look fine, try cleaning the MAF sensor with proper MAF cleaner spray before paying for a replacement. A smoke test — where a garage pressurises the intake with smoke and watches for it escaping — is the most reliable way to find a vacuum or exhaust leak, and typically costs £50–£80.

Get an explanation specific to your exact car

Enter your registration plate and Motorclue will factor in your vehicle's make, model, year, engine, and MOT history to explain P0171 in plain English, with likely causes and UK repair costs.

Explain P0171 for my car →

P0171: common questions

What causes a P0171 fault code?

The most common causes are a vacuum leak (cracked intake hose, loose connection, failed intake manifold gasket), a dirty or faulty mass airflow (MAF) sensor giving a low reading, a faulty PCV system drawing in unmetered air, a weak fuel pump or clogged fuel filter, or a faulty upstream oxygen sensor. An exhaust leak before the sensor can also cause false lean readings.

How much does a P0171 repair cost in the UK?

A vacuum leak is often the cheapest fix — tracing and repairing the leak typically costs £60–£150 depending on where it is. Cleaning a dirty MAF sensor can sometimes be done for under £15 with MAF cleaner spray; replacing the sensor costs £80–£250 fitted. A new fuel pump is £200–£500 fitted. A clogged fuel filter is £50–£120. Diagnosis to find the root cause is typically £50–£80.

What is bank 1 on my car?

Bank 1 is the side of the engine that contains cylinder number 1. On a four-cylinder engine there is only one bank, so P0171 affects the whole engine. On a V-shaped engine (V6, V8), the two banks are the two rows of cylinders — bank 1 is the row with cylinder 1, and bank 2 is the opposite row. If you get both P0171 and P0174, both banks are running lean, which usually points to a shared cause such as a vacuum leak on the intake manifold.

P0171 and P0174 together: what does that mean?

Getting P0171 (bank 1 lean) and P0174 (bank 2 lean) at the same time almost always means the problem is upstream of both banks — typically a faulty MAF sensor, a large vacuum leak on the intake manifold, a failing fuel pump, or a clogged fuel filter. If only P0171 is set, the fault is more likely specific to bank 1.