Advertisement

P0170: Fuel Trim Bank 1

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. Positive values mean fuel is being added because the mixture was lean, ne

Can you drive with P0170?

Severity: Plan the repair. Yes — this is an emissions-system fault. The car will generally drive normally, but it will fail an emissions inspection with the light on.

If you ignore it: Fuel economy and emissions creep up, and some faults in this family (rich/lean running) stress the catalyst over time.

This is the #71 most common code in our top-150 library, in the fuel trim & air metering family (Powertrain system). Severity is Number Nest's editorial triage — if the light is flashing or the car feels unsafe, stop driving it whatever any page says.

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. 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 petrol 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 litre diesel, where it flags a fuel quantity error above 15 % in either direction from its fuel mass observer. GM and Ford petrol engines do not use it. Two trips.

Systems involved: oxygen sensor bank1 sensor1, mass air flow sensor, fuel system, intake manifold.

Advertisement

Causes, ranked by likelihood

#CauseLikelihood
1Air flow sensor dirty or driftingmost likely
2Air leak or crankcase ventilation leakingpossible
3Injection quantity error (diesel: injector drift, rail pressure sensor; petrol: injectors, fuel pressure)possible
4Oxygen or NOx sensor offsetless common

Check them in order — the list is ranked so the likely, cheaper causes come before the expensive part.

Symptoms you may notice

Misdiagnosis traps

(General diagnostic guidance for this code family — no code-specific trap is published for this code.)

How a good shop confirms it

  1. Confirm the code and record any companion codes — companions narrow the system fast.
  2. Inspect the affected components and their wiring/connectors for damage, corrosion and looseness.
  3. Test the top-ranked cause with live data or a multimeter before replacing anything.

(Standard diagnostic path for this family, labeled as general guidance.)

Repair options & costs

RepairShop total (parts + labor)DIY (parts only)Difficulty
Mass air flow (MAF) sensor$158 – $420$120 – $320 (parts only)1/5
Intake / vacuum leak repair (gaskets, hoses)$338 – $838$150 – $400 (parts only)3/5

National ranges from Number Nest's cost model (midsize car, independent shop, US-average labor). Published cross-check — Mass air flow (MAF) sensor: CarMD 2026 national average $346.

OBDex repair data for this code rates the job difficulty medium with a typical labor time in the 0.5–3 hour range and DIY possible: yes.

Price this repair in your state

Estimated total: — (midsize car, independent shop)

Full estimator — vehicle class, dealer & DIY options →

Frequently asked questions

How much does it cost to fix P0170?

The fix most associated with this code — mass air flow (maf) sensor — runs $158 – $420 at an independent shop for a midsize car in our cost model (parts + labor, US average). The code names a system, not a part, so confirm the cause before spending: the ranked causes above are ordered by likelihood.

Can I drive with P0170?

See the can-you-drive verdict above — it is based on the system involved and the cascading-damage risk, and it is our editorial triage, not a manufacturer instruction. If the light is flashing or the car feels unsafe, stop driving it regardless of any code.

Will P0170 clear itself?

If the fault was a one-off (a loose cap, a cold-start glitch), the light can go out after several clean trips and the code ages into history. A fault that is still present re-sets the code as soon as the car runs that self-test again — monitors run under specific conditions, which is why "it hasn't come back in two days" is not proof of a fix.

Will my car fail inspection with P0170?

In states with OBD-based emissions inspection, yes — an illuminated check-engine light or an incomplete readiness monitor fails the test regardless of what the tailpipe would show. C-codes (ABS) fall under safety inspection instead in states that have one.

What should I check first for P0170?

The first item on the ranked-causes list above — it is ranked likelihood-first for exactly this reason — plus the free checks: recent work in the area (connectors left loose are a classic), fluid levels, and the battery and grounds on electrical codes.

Where this data comes from

Code facts, causes and symptoms come from OBDex — an open dataset of independently authored descriptions of the standardized generic OBD-II codes (CC0 1.0, public domain; github.com/foerbsnavi/OBDex). The SAE J2012 document itself is copyrighted and is not reproduced here. Cost ranges are Number Nest's own US planning model: national parts and labor ranges cross-checked against the CarMD Vehicle Health Index 2026 published averages, with labor adjustable by the BLS OEWS May 2025 state wage index for auto technicians (occupation 49-3023) — a wage index, not a surveyed shop rate. Severity and can-you-drive notes are our editorial triage, not a manufacturer instruction.

Advertisement