P0171 indicates system too lean (bank 1). The exact repair depends on whether the underlying issue is a sensor fault, wiring problem, mechanical wear, or a related system problem on the vehicle being diagnosed.
This guide is reviewed against current UK fault-code usage patterns, MOT guidance, and indicative repair-cost context. It is educational guidance for P0171, not a substitute for live data, workshop testing, or a final quote.
This page explains the code in plain English and gives indicative UK repair and MOT context. It does not confirm the exact failed part. Vehicle age, engine, related codes, live data, and workshop inspection can all change the final diagnosis and quote.
P0171: Bank 1 running lean (too much air, not enough fuel). Check for vacuum leaks first — often cheaper than sensors (£50-£350). When this fault is detected, the ECU (Engine Control Unit) stores the code and usually illuminates the check engine light on the dashboard.
In practice, P0171 should be treated as a fuel trim and mixture problem first, not as proof that one named part has failed. The value of the code is in narrowing the system, checking related data, and avoiding the usual misdiagnosis before parts are ordered.
These are the most common symptoms UK drivers report when this code is active:
Note that some vehicles show no drivability symptoms at all — the check engine light may be the only sign. This is why scanning the fault code is essential rather than guessing at the cause.
These are typical causes to check first:
It is important to diagnose the root cause before replacing parts. Many unnecessary and expensive repairs happen because the most expensive component is replaced first without proper testing. Always work through the diagnostic steps systematically.
Work through these steps in order to avoid unnecessary parts replacement:
After any repair, clear the fault code with an OBD-II scanner and carry out a test drive. If the code returns, continue to the next diagnostic step. For a personalised repair guide specific to your vehicle's make, model, year and engine, use our AI Diagnostic Report below.
These are examples of UK-market cars where garages frequently see this code:
This code can appear on OBD-II compatible vehicles. OBD-II is standard on most UK petrol cars from 2001 and diesel cars from 2004, with many later-1990s vehicles also compatible. The models listed above are examples where owners and garages often encounter this fault, but they are not an exhaustive or ranked list.
Difficulty: Easy to medium — vacuum leaks and MAF cleaning are DIY. Fuel system work is better left to a garage.
UK repair cost estimate: £50–£350 including parts and labour at average UK workshop rates (inc. VAT). Independent garages are typically 30–50% cheaper than main dealers. Always get at least two quotes.
Prevention: Inspect intake hoses annually, replace the fuel filter every 30,000 miles, and use quality air filters.
Lean-running codes are especially common on UK petrol engines that have aging intake hoses, PCV faults, or dirty MAF sensors. The symptom pattern usually gets worse at idle or light throttle before it becomes obvious under load.
The common mistake is replacing the oxygen sensor because the code sounds fuel-related. P0171 more often starts with air leaks, MAF errors, or weak fuel delivery.
Fault code P0171 is likely to cause an MOT failure. A stored code does not automatically fail an MOT, but if it keeps the malfunction indicator lamp (MIL / check engine light) on where MIL inspection applies, or affects emissions, it can cause a failure.
Even if the light is not currently on, if the fault is intermittent it could reappear during the test. Use our AI Diagnostic Report to understand the MOT risk specific to your vehicle and get advice on whether it is safe to proceed to your test.
This guide is informed by the following authoritative UK sources:
Repair cost estimates are based on UK labour rates and parts pricing from AA, RAC and independent garage surveys, reviewed quarterly. All content is for educational purposes and is not a substitute for professional mechanical diagnosis.
Specific to your vehicle — year, make, model and engine.
Includes step-by-step repair guide, exact UK labour costs and MOT impact.
What does P0171 mean in plain English?
P0171 is a fuel trim and mixture fault code. In practice, P0171 should be treated as a fuel trim and mixture problem first, not as proof that one named part has failed. The code helps narrow the system, check related data, and avoid misdiagnosis before parts are ordered.
Will P0171 fail an MOT?
P0171 is likely to affect MOT outcome if the fault is active, keeps the warning light on, or causes emissions failure.
Can I keep driving with P0171?
Short distances are usually fine, but a lean condition can damage the engine over time.
How much does it usually cost to fix P0171 in the UK?
Typical UK repair costs for P0171 range from £50–£350, depending on the underlying fault, your exact vehicle, and local labour rates.
Does P0171 usually mean a bad oxygen sensor?
Usually not. P0171 more often starts with an intake leak, PCV fault, dirty MAF sensor, or weak fuel delivery than a failed oxygen sensor.
What check saves the most money on P0171?
A smoke test or careful intake-leak inspection usually gives the highest value first. On many UK petrol engines, unmetered air is the real reason the code appears.
Use these supporting pages to compare likely repair paths, warning-light behaviour, MOT risk, and the questions to ask before approving work.
Compare P0171 with closely related faults, nearby codes in the same family, and adjacent module or sensor faults that often need to be ruled out during diagnosis.
Last updated: August 2026. AI-Diagnostics-Pro provides AI-generated information for educational purposes only. It is not a substitute for professional automotive advice. Always consult a qualified mechanic before carrying out vehicle repairs. Repair cost estimates are approximate and may vary by region and vehicle.