Skip to content
GarageAnswers

What does code P0171 mean?

Get it checked soonUpdated 3 sources2 min read

Short answer

P0171 means "System Too Lean (Bank 1)" — the engine computer is adding as much fuel as it's allowed to and the mixture is still running lean, meaning too much air or too little fuel. The most common causes are a vacuum leak (a cracked intake boot, hose or PCV line), a dirty or failing mass airflow (MAF) sensor, and low fuel pressure, so start there rather than replacing oxygen sensors.

Safety first. A lean engine runs hotter, which can lead to misfires and, over time, engine damage. Edmunds says a short drive may be possible but isn't advisable. If the check engine light starts flashing, or the car stumbles, hesitates or stalls, stop driving it and get it to a shop.

On this page

Step by step

  1. 1

    Read every stored code

    Note whether P0174 (lean on bank 2) or any misfire codes (P0300-P0312) are stored too. P0171 and P0174 together point to something that affects the whole engine, like a vacuum leak, the MAF sensor or fuel pressure, rather than one side.

  2. 2

    Do the basic visual checks

    Make sure the air filter box is closed and clamped, then look over the rubber intake boot between the air box and the throttle body for cracks, and check that vacuum and PCV hoses are connected and not split. A hissing sound with the engine running often gives away a leak.

  3. 3

    Compare fuel trims at idle and 2,500 rpm

    With a scan tool, read short- and long-term fuel trim. Trims high at idle but closer to normal at 2,500 rpm point to a vacuum leak. Trims high at all speeds, or rising under load, point to the MAF sensor or fuel delivery.

  4. 4

    Find the leak with a smoke test

    If trims say vacuum leak but you can't see one, a shop smoke test pushes visible smoke into the intake so leaks show up at cracked hoses, gaskets or the PCV system.

  5. 5

    Check the MAF sensor and fuel pressure

    Compare the MAF reading to what's normal for the engine. Cleaning the sensor with MAF cleaner sometimes fixes it; if not, it needs replacing. If the MAF is fine, a fuel pressure test checks for a weak pump, clogged filter or failing regulator.

What “too lean” means

Your engine wants a precise mix of air and fuel. An oxygen sensor in the exhaust tells the engine computer whether there’s leftover oxygen (lean) or leftover fuel (rich), and the computer adjusts fuel to correct it. Those corrections are called fuel trims.

When the computer has to add more fuel than it’s allowed to — Samarins puts the usual limit around +25% — and the mixture is still lean, it gives up and sets P0171. In other words, the code doesn’t name a broken part. It says something is letting in air the engine didn’t measure, or not delivering the fuel it asked for.

Common causes

Area Usual suspects
Unmetered air (vacuum leaks) Cracked intake boot, split vacuum or PCV hoses, stuck-open PCV valve, leaking intake manifold gasket, brake booster leak, stuck-open purge valve
Airflow measurement Dirty or failing mass airflow (MAF) sensor, oiled aftermarket air filter, poorly installed aftermarket intake
Fuel delivery Weak fuel pump, clogged fuel filter, clogged or leaking injectors
Exhaust Exhaust leak ahead of the oxygen sensor, letting in outside air
Sensors Faulty oxygen or air/fuel sensor (less common than the above)

Reading the fuel trims

Fuel trims are the fastest way to point the search in the right direction:

What the trims do What it suggests
High at idle, closer to normal at 2,500 rpm Vacuum leak. A small leak matters most when little air is flowing.
High at every speed MAF sensor reading low, or a fuel supply problem
Near normal at idle, high under load or higher rpm Low fuel pressure, weak pump, clogged filter, or a MAF problem

Healthy fuel trims sit close to zero. Rick’s Free Auto Repair Advice treats long-term trim up to about +10% as normal and +15% to +25% as a real lean problem.

When to see a pro

Visual checks, closing up the air box and cleaning the MAF sensor are fair DIY jobs. A smoke test, fuel pressure test or intake manifold gasket replacement is shop work for most people. Go sooner rather than later if the car is misfiring or hesitating, because a lean engine runs hot and the problem tends to get worse.

Common follow-up questions

What's the difference between P0171 and P0174?

Both mean the engine is running lean. P0171 is bank 1 (the side of the engine with cylinder 1) and P0174 is bank 2. Inline engines, which include most four-cylinders, have only one bank, so they can only set P0171. When a V6 or V8 sets both, look for a cause shared by the whole engine, such as a vacuum leak, the MAF sensor or low fuel pressure.

Can I drive with a P0171 code?

Briefly, but it's not a good idea to keep going. Edmunds says driving on a lean mixture can lead to misfires, rough idle and, in severe cases, overheating. Get it checked soon, and stop driving if the light starts flashing.

Will a bad oxygen sensor cause P0171?

It can, but it's rarely the first thing to replace. The oxygen sensor is usually reporting a real lean condition correctly. As one mechanic's guide puts it, a lean code is a symptom, not a diagnosis. Rule out vacuum leaks, the MAF sensor and fuel pressure first.

Can cleaning the MAF sensor fix P0171?

Sometimes. A contaminated MAF sensor under-reports how much air is coming in, so the engine gets too little fuel. Cleaning it with MAF sensor cleaner (never touch the wire) is a cheap first try. Samarins notes that cleaning may only help temporarily, and the proper repair for a faulty sensor is replacing it.

Can an aftermarket air filter cause P0171?

Yes. Samarins lists an improperly installed aftermarket intake as a cause, and oiled reusable filters can coat the MAF sensor's hot wire with oil, which throws off its reading.

Are some cars known for P0171?

Yes. Samarins notes service bulletins for leaking intake manifold gaskets on 2003-2008 Toyota Corolla and Matrix (worse in freezing weather) and on Ford Explorer and F-150, a tear-prone rubber vacuum elbow on some Ford and Mazda V6 engines, and cracked intake boots on BMWs. Ask a dealer to check for bulletins on your exact car.

Sources

  1. 1.Edmunds: What does the P0171 error code mean?
  2. 2.Samarins: Code P0171 – System Too Lean: symptoms, causes, diagnostic
  3. 3.Rick's Free Auto Repair Advice: Understanding the P0171 code

General information only, not a diagnosis. Your owner’s manual comes first. How we write these

Related questions