Skip to the guide
P0171

fault code guide

P0171: System Too Lean (Bank 1)

This code means the engine is getting too much air or not enough petrol on bank one. Your car may hesitate, idle roughly, or lack power when pulling away.

How it shows up: The amber engine management light will stay on steadily, and you might notice a rough idle or stuttering when accelerating. The specific P0171 code is retrieved by plugging an OBD scanner into your vehicle's diagnostic port.

Updated 9 November 2026

Can I keep driving?

Service soon

Running lean raises internal engine temperatures and can burn exhaust valves or melt your catalytic converter if ignored.

What to do right now

  1. 1Check your instrument cluster: if the engine light begins flashing rather than staying steady, stop immediately in a safe location.
  2. 2Drive gently at moderate speeds, avoiding wide-open throttle, steep climbs, or towing heavy loads.
  3. 3Listen for loud whistling or hissing sounds coming from beneath the bonnet while idling at junctions.

Likely causes

Most likely first.

  1. Likely

    Split intake hose or vacuum leak

    Cracks in rubber intake pipes or disconnected vacuum lines draw unmetered air into the engine behind the airflow sensor.

  2. Likely

    Dirty or faulty mass air flow sensor

    Dust and oil film coat the delicate sensing wire, causing it to under-read the amount of air entering the engine.

  3. Possible

    Faulty PCV or purge valve

    A crankcase breather or fuel vapour valve that sticks open allows uncontrolled air directly into the intake manifold.

  4. Possible

    Weak fuel pump or clogged fuel filter

    Reduced fuel delivery pressure starves the engine cylinders of the petrol needed to balance the incoming air.

  5. Rare

    Exhaust manifold leak before the oxygen sensor

    Cracks or damaged gaskets let outside air into the exhaust, tricking the oxygen sensor into reading a false lean condition.

What you can check yourself

Park somewhere safe and level, engine off, before you start.

  1. 1

    Inspect the rubber air intake duct

    With the engine off and cool, look along the large rubber hose connecting the air filter box to the engine, bending the folds gently to spot hidden splits or loose clips.

  2. 2

    Check vacuum lines and breathers

    Scan the top of the engine for thin rubber or plastic vacuum hoses that have perished, hardened, or slipped off their barbed connectors.

  3. 3

    Confirm oil filler cap and dipstick seals

    Make sure your dipstick is pushed fully into its tube and the oil cap is tightened securely, as worn seals on these parts can pull unmetered air into certain engines.

  4. 4

    Listen for hissing at idle

    Park safely, leave the handbrake on with the engine running, and open the bonnet to listen for distinct sucking or hissing noises around the intake manifold.

Rough cost to fix

Rough estimate

Typical prices in Ireland (€) and the UK (£), from an independent garage up to a main dealer. The total cost depends on whether the issue is a cheap split vacuum pipe or a worn fuel delivery pump inside the fuel tank.

  • Intake boot or vacuum hose replacement

    Do it yourself
    €20–75£15–65 in the UK
    At a garage
    €90–180£75–160 in the UK
  • Mass air flow sensor cleaning or replacement

    Do it yourself
    €15–140£12–120 in the UK
    At a garage
    €100–260£85–220 in the UK
  • PCV valve or purge valve renewal

    Do it yourself
    €30–95£25–80 in the UK
    At a garage
    €110–230£95–200 in the UK
  • Fuel pump replacement

    Do it yourself
    Garage job
    At a garage
    €250–650£210–560 in the UK

When to go to a garage

  • The engine management light starts flashing or the engine begins to judder and misfire heavily.
  • The car cuts out when slowing down at junctions or loses power completely when trying to accelerate.
  • A visual inspection finds no loose pipes, meaning the garage must use a dedicated smoke machine to locate hidden intake leaks.

Questions drivers ask

Can I keep driving my car with code P0171?

You can drive short distances to get home or reach a local repairer, provided the engine light remains steady. Avoid heavy acceleration and long motorway journeys, as lean combustion generates excessive heat that can damage internal components.

Will clearing the P0171 code fix the issue?

Clearing the code will only turn off the warning light for a short period. Once the engine control unit completes its drive cycle and recalculates fuel trims that exceed normal limits, the light will return.

What is the difference between P0171 and P0174?

Both codes signal that the engine is running lean, but P0171 specifies bank one, which contains cylinder one. Code P0174 applies to bank two on V6 or V8 engines, whereas four-cylinder engines only have one bank and can only log P0171.

Will my car pass its MOT or NCT with this code present?

In the UK, an active engine light is an automatic MOT fail for petrol cars registered since July 2003. For the Irish NCT, code P0171 results in an Advisory Pass on its own, but the car will fail if the incorrect fuel mixture causes exhaust emissions to exceed legal limits.

Test rules here are for the National Car Test in Ireland (NCT) and the MOT in the UK. Elsewhere, check the regulations of your own country or state before going for a vehicle test.

All fault codes

Get an answer for your own car

Tell the AI Technician your make, model and what you are seeing. It works out the likely cause, the tests and the fix for your car.

Ask the AI Technician

Free with an AutoQ Pro account. Answers in about ten seconds.

General guidance for most cars, not a diagnosis of yours. Details differ by make, model and year - check your handbook, and if in doubt, don't drive.