P0171 (system too lean) and fuel trims explained

Published Updated

Sources checked against the originals on . Not yet reviewed by a licensed mechanic. How we write

What does P0171 mean?

P0171 is the generic code for a lean mixture on bank 1. Manufacturers word it slightly differently:

  • Toyota: "System Too Lean Bank 1" (Toyota, 2023)
  • General Motors: "Fuel Trim System Lean Bank 1" (GM, 2015)
  • Volkswagen: "Fuel Trim Bank 1, System Too Lean" (VW, 2017)

"Lean" means more air than the engine computer wants for the fuel it is injecting. The computer corrects for that by adding fuel. GM's description of the code is the clearest: P0171 sets "when the average long term fuel trim weighted average value is greater than a calibrated value" (GM PI1438). In plain words, the computer has been adding more fuel than it is allowed to, for long enough to log a fault.

P0174 is the same fault on bank 2, on V6 and V8 engines. Bank 1 is the side with cylinder 1.

What are fuel trims?

California's OBD regulation defines fuel trim as "feedback adjustments to the base fuel schedule" (CARB § 1968.2). The engine computer starts from a fuel map, checks the result with the oxygen sensor ahead of the catalytic converter, and corrects.

There are two layers:

  • Short-term fuel trim (STFT): in the regulation's words, "dynamic or instantaneous adjustments". It moves constantly as you drive.
  • Long-term fuel trim (LTFT): "much more gradual adjustments". It is the correction the computer has learned and keeps applying. This is the number that tells you about a persistent problem.

Both are shown as a percentage. GM's service information spells out the sign (GM PI1438):

Reading What the computer is doing What it suggests
Near 0% Little correction needed The base fuel map fits the engine
Positive (+) Adding fuel It is correcting a lean condition
Negative (−) Removing fuel It is correcting a rich condition

So a positive trim does not mean the engine is running rich. It means the computer is fighting a lean condition. A large, steady positive LTFT on bank 1 is what eventually becomes P0171.

What is a normal fuel trim?

There is no single industry number. Each manufacturer calibrates its own limits. What two GM bulletins say, each for specific engines only:

Source (engines covered) Normal range stated, for those engines only
GM PI1438 (2015), 2013–2015 Silverado/Sierra 2500/3500 6.0L bi-fuel V8 STFT and LTFT "between +10 and −10 %", with "0 % being the optimum"
GM PIP5534A (2018), GM 2.0L and 2.5L four-cylinders (a code P2097 bulletin) LTFT "normal range (-13% to +13%)"

Our reading, not a manufacturer's general rule and not from either bulletin: on GM engines like these, trims within about ±10% at a warm idle and at steady cruise are ordinary. A long-term trim that sits well above +10% is worth investigating even before a code appears. Check your own car's service information for its limits.

What causes P0171?

Anything that lets in air the engine doesn't measure, or that delivers less fuel than the computer expects, pushes the trims positive.

Cause What the manufacturer says Source
Intake (vacuum) leaks GM tells technicians to smoke-test for "the usual sources of induction leaks", naming PCV hoses, brake booster hoses and engine cover air intake hoses. On that truck, a leaking brake master cylinder seal could also raise LTFT by more than 5% GM Engineering Information, 2022
Skewed mass airflow (MAF) sensor, damaged air box, non-original air filter Listed together as possible causes when LTFT is high at idle but returns to normal at 2,000 rpm (in a GM bulletin for code P2097) GM PIP5534A
Lean fuel injectors GM gives an injector test for when no leak or airflow fault is found GM PIP5534A
Low fuel pressure or a failing fuel pump On several 2014–2020 Toyota models, P0171/P0174 and/or P0087 (fuel pressure too low) appeared, with positive fuel trims and a hard start Toyota T-SB-0009-23
Too much ethanol in the fuel VW says that if LTFT reads 15–20% with P0171, excessive ethanol is suspect, and gives a fuel test VW Technical Tip, 2017

How fuel trims help find the cause

Trims are most useful when you compare them across conditions, not as one number. GM's procedure for a high LTFT on its 2.0L and 2.5L engines, from a bulletin about code P2097 (GM PIP5534A):

  1. Warm the engine fully, with the air conditioning and defroster off.
  2. Watch LTFT for five minutes each at idle in park, at idle in drive with your foot on the brake, and at a steady 80 km/h (50 mph) or more.
  3. Back in park, hold the engine at about 2,000 rpm for two minutes.

If LTFT was high at idle and then dropped into GM's normal range for those engines (−13% to +13%) at 2,000 rpm and stayed there, GM points to a vacuum leak, a skewed MAF sensor, or a modified or damaged air box or air filter. Our reading of why: at idle the engine draws little air, so a leak is a bigger share of it. If you suspect the MAF sensor, see P0101 (mass airflow sensor range/performance).

Two more patterns from the bulletins above:

  • Positive trims with low fuel pressure point to fuel delivery (Toyota).
  • LTFT around 15–20% on a VW points to fuel with too much ethanol.

Our inference, not a source's: if both P0171 and P0174 are set, look first for something both banks share, such as fuel pressure, the MAF sensor or a large intake leak.

Can you keep driving with P0171?

A lean code is usually not an emergency on its own. The California Air Resources Board says most manufacturers advise having the car serviced "as soon as conveniently possible" when the light is steady. Leaving it for a long time is a poor idea, because the board also warns that extended driving with a fault could damage other components.

Stop driving and get help if:

  • You smell fuel. A fuel leak is a fire risk. Park away from buildings, switch the engine off, and don't restart it until it has been checked.
  • The check-engine light starts flashing. CARB says a blinking light means a malfunction that could damage the catalytic converter. See Check engine light on: can I keep driving?
  • The engine stumbles, hesitates badly or stalls, especially in traffic.

Don't just clear the code and move on. Clearing it resets the readiness monitors, and a lean fault that is still there will come back, often as a pending code first. Our guides to pending, stored and permanent codes and to readiness monitors explain what that means for an emissions test. A lean engine can also upset the catalyst test and help set P0420.

Where Tachwise fits

The Tachwise app beta shows live short-term and long-term fuel trims for bank 1 while you drive. It also reads stored, pending and permanent codes, through your own Bluetooth ELM327 dongle in Chrome on Android or a desktop. That's the data behind the idle-versus-2,000 rpm check above. The Tachwise device, still a prototype, is being built to watch long-term trim drift over weeks, so a slow lean trend could show before the code. Try the app beta or join the waitlist.

Frequently asked questions

What is a normal long-term fuel trim?

There is no universal figure. One General Motors bulletin, for a 6.0L V8 truck engine, says short-term and long-term fuel trims should be between −10% and +10%, with 0% being the optimum, and another, for GM 2.0L and 2.5L engines, uses −13% to +13% as the normal range for long-term trim. Other manufacturers set their own limits, so check the service information for your car.

Does a positive fuel trim mean the engine is running rich?

No, it is the other way round. A positive fuel trim means the engine computer is adding fuel to correct a lean condition, and a negative trim means it is taking fuel away to correct a rich condition.

Can I drive with a P0171 code?

If the check-engine light is steady and the car runs normally, most manufacturers advise servicing as soon as conveniently possible, according to the California Air Resources Board. If the light flashes, the engine runs badly, or you smell fuel, stop driving and have it checked.

Why do I have both P0171 and P0174?

P0174 is the same lean fault on bank 2. When both banks are lean together, a shared cause such as low fuel pressure, a skewed mass airflow sensor or an intake leak is more likely than a problem on one side, which is our inference from how the systems are laid out.

Can a new air filter or intake cause P0171?

It can. A General Motors bulletin lists a modified or damaged air box and a non-original air filter among the possible causes of high long-term fuel trim, along with vacuum leaks and a skewed mass airflow sensor.

Sources

  1. Title 13 CCR § 1968.2, Malfunction and Diagnostic System Requirements (definitions of fuel trim). California Air Resources Board regulation, via Cornell Legal Information Institute. Accessed .
  2. PI1438: Diagnostic Tips For MIL Intermittently Illuminated, DTCs P013B, P013D, P167E, P0171 or P0174 Set (2015). General Motors, via NHTSA. Accessed .
  3. PIP5534A: MIL P2097, LCV/LKW/LTG engines (2018). General Motors, via NHTSA. Accessed .
  4. Engineering Information: MIL Illuminated, DTCs P0171, P0174 Set, 2022 Colorado and Canyon 3.6L (2022). General Motors, via NHTSA. Accessed .
  5. T-SB-0009-23: Fuel Pump (Loss of Fuel Pressure) (2023). Toyota Motor Sales USA, via NHTSA. Accessed .
  6. Technical Tip 01-15-03TT: DTC P0171 and P2177, Gasoline Engines Only (2017). Volkswagen of America, via NHTSA. Accessed .
  7. On-Board Diagnostic II (OBD II) Systems Fact Sheet. California Air Resources Board. Accessed .

Hear first when the Tachwise device is ready

Join the free waitlist: no payment, no deposit. Or try the app beta today; it reads your car's codes through your own ELM327 Bluetooth dongle.