Powertrain code

P0170 Fuel Trim Bank 1

Severity
Fix soon
Typical repair cost
$20–$660
Do it yourself
Possible, medium
Shop time
0.5–3 hours

What P0170 means

With closed-loop control the engine module corrects the injected fuel using the oxygen sensor: short-term fuel trim reacts within fractions of a second, long-term trim stores a learned base correction per load and speed range.

How the engine computer detects it

Positive values mean fuel is being added because the mixture was lean, negative values mean fuel is being removed; around ±10 % is normal. P0170 is the older, direction-neutral code for 'mixture adaptation of bank 1 out of range'; whether lean or rich has to be read from the trim values. Users are Mercedes-Benz gasoline engines, which often set P0170/P0173 instead of P0171–P0175 – a Mercedes-Benz magazine for independent workshops reports that cleaning or replacing the air flow sensor most often cures it – and Ford's 6.7 liter diesel, where it flags a fuel quantity error above 15 % in either direction from its fuel mass observer. GM and Ford gasoline engines do not use it. Two trips.

Written from public technical sources and not yet checked by a mechanic. How we write these pages

Symptoms

  • Check engine light on (after two drive cycles)
  • Rough idle or hesitation
  • Higher consumption
  • Often no symptoms

Common causes

  1. Air flow sensor dirty or drifting Most likely
  2. Air leak or crankcase ventilation leaking Possible
  3. Injection quantity error (diesel: injector drift, rail pressure sensor; gasoline: injectors, fuel pressure) Possible
  4. Oxygen or NOx sensor offset Less likely

How to diagnose P0170

  1. Read every stored code with an OBD-II scanner. If misfire or fuel trim codes are there too, fix those first: they often cause this one.
  2. Inspect the parts involved: oxygen sensor bank1 sensor1, mass air flow sensor, fuel system, intake manifold.
  3. Work through the causes above from most to least likely, cheapest checks first.
  4. Clear the code and drive a full drive cycle to confirm the repair held.

Reading the code

P
Powertrain
0
Generic (SAE) code
1
Fuel and air metering
70
Specific fault

Questions drivers ask

Can I drive with code P0170?

Usually yes for a short time, if the car drives normally, the temperature gauge reads normal and the check engine light is steady. If the light flashes, the engine loses power or overheats, or other warning lights come on, pull over and have it checked.

Will my car pass an emissions inspection with P0170?

Probably not in states that test vehicles with an OBD-II scan: an emissions-related code that keeps the check engine light on is usually an automatic fail. Rules differ by state and county, so check yours.

Will P0170 clear by itself?

The light can go off after several drive cycles without the fault, but the code returns if the cause is still there. After a repair, the readiness monitors need a full drive cycle before an inspection.

Can I fix P0170 myself?

Often yes, with an OBD-II scanner and basic tools. Difficulty: medium. Start with the cheapest checks before replacing expensive parts.

This page is general information, not a substitute for a professional diagnosis. Repair costs are rough estimates for parts and labor and vary by vehicle and region.