P0170 Generic (SAE)

Fuel Trim (Bank 1)

Updated 2026-10-15 · Fuel & air metering

Severity
Medium
Typical repair cost
30 – 500 EUR
System
Powertrain

What it means

The ECU continuously corrects the base fuel calculation using lambda sensor feedback and stores the long-term correction as fuel trim. P0170 sets when the combined short- and long-term trim on bank 1 reaches the calibration limit, typically more than ±20-25 %, in either direction, without the ECU being able to attribute it specifically to lean (P0171) or rich (P0172). It is common on VAG, BMW and Mercedes engines and means the air-fuel model no longer matches reality: an air leak, a wrong air mass reading, a fuel delivery fault or an exhaust leak before the sensor.

Advertisement728 × 90

Symptoms

  • Check engine light, often appearing after a cold start or at idle
  • Rough or hunting idle, stalling when coming to a stop
  • Hesitation and surging on light throttle
  • Increased fuel consumption or, if rich, black smoke and fuel smell
  • Hissing or whistling intake noise if a vacuum leak is the cause

Common causes

  1. Unmetered air: cracked intake boot, leaking intake manifold gasket, failed PCV valve or crankcase breather hose, leaking brake booster hose
  2. Mass air flow sensor contaminated or drifted, under- or over-reporting air mass
  3. Fuel delivery out of range: weak pump, clogged filter, faulty pressure regulator, leaking or restricted injectors
  4. Exhaust leak upstream of the lambda sensor letting in oxygen
  5. Aged lambda sensor with a lean or rich bias
  6. Purge valve stuck open flooding the intake with fuel vapour, or a clogged air filter

How to diagnose

  1. Read long-term and short-term fuel trim at idle and at 2500 rpm: positive values of +15 % or more mean the ECU is adding fuel (lean condition), negative values of -15 % or more mean it is removing fuel (rich); the pattern tells you where to look
  2. If trim is high positive at idle but near zero at 2500 rpm, suspect a vacuum leak; smoke-test the intake with the engine off and check the PCV system and breather hoses
  3. Compare MAF reading with the expected value: a warm 2.0 L engine should show roughly 2-5 g/s at idle; as a rule of thumb about 1 g/s per 100 cc displacement at 1000 rpm. A reading 20-30 % low with correct idle rpm points to a dirty or drifted MAF
  4. Check fuel pressure at idle and under load: typically 3.5-4.0 bar on port injection; verify it holds after shut-off (drop under 0.5 bar in 10 minutes), otherwise a leaking injector or regulator is suspect
  5. Watch the upstream lambda sensor: it should switch 0.1-0.9 V quickly; a slow or biased sensor with good fuel pressure and no leaks is the likely culprit
  6. Inspect the exhaust manifold and flex pipe for cracks; a leak before the sensor adds oxygen and forces positive trim. After repairs reset adaptations and drive 10-15 minutes to confirm trims return to within ±5 %

Frequently asked questions

What is the difference between P0170, P0171 and P0172?

P0171 means the mixture is too lean and P0172 too rich; P0170 is the generic version used mainly by German manufacturers when the trim limit is exceeded in either direction. The diagnosis follows the sign of the fuel trim values.

Can I just replace the lambda sensor for P0170?

Not without checking first. In most P0170 cases the sensor is correctly reporting a real air or fuel fault; a new sensor will show the same trim values until the leak or MAF problem is fixed.