Skip to main content
OBD-II Diagnostic Trouble Code
P0170

Fuel Trim Bank 1

P
Powertrain
engine / trans
0
Generic
SAE standard
1
Fuel & air metering
70
Fuel Trim Bank 1
Severity · general guide
Moderate
The vehicle usually still drives, but a bank-1 mixture stuck rich or lean hurts economy and can foul the catalytic converter, so repair it promptly.
Code type
Generic
System
Powertrain
Standard
ISO/SAE Controlled
Fault type
General
Quick answer

Drivable short-term; fix trim before it harms the cat. P0170 is a powertrain code meaning the engine computer's fuel-trim correction for bank 1 has run past its allowed limit in one direction or the other. In other words the mixture on the cylinder bank with cylinder #1 is drifting so far rich or so far lean that the trim can no longer keep it at the ideal air-fuel ratio.

What P0170 means

As the engine runs in closed loop, the powertrain control module reads the upstream oxygen or air-fuel sensor and constantly adjusts injector pulse width to hold a stoichiometric mixture. That adjustment has two parts: short-term fuel trim (STFT), the instant correction that swings up and down, and long-term fuel trim (LTFT), the learned average the module stores in its adaptive tables. When their combined value for bank 1 climbs beyond the calibrated window — broadly around plus or minus 25 percent on most applications — and stays there, the module can no longer bring the mixture back to target and sets P0170. Unlike P0171 (bank 1 too lean) and P0172 (bank 1 too rich), which name the direction of the fault, P0170 is the general "fuel trim malfunction" code: it flags that trim is out of range without committing to rich or lean, so live STFT/LTFT data is what tells you which way the mixture has gone. Bank 1 is simply the cylinder bank that contains cylinder number one. It is typically a two-trip code, illuminating the check-engine light after the fault repeats.

Symptoms

  • Check-engine light on, often with P0171 or P0172 stored alongside it
  • Rough or unstable idle that may surge or nearly stall
  • Hesitation, stumble or a flat spot when accelerating
  • Noticeably worse fuel economy
  • Possible stalling at idle or when coming to a stop
  • Black exhaust smoke or a fuel smell if the bank has gone rich

Common causes

  • An unmetered air or vacuum leak (intake gasket, split hose, PCV or brake booster) pulling the bank lean
  • A contaminated or drifting mass air flow (MAF) sensor mis-reporting incoming airflow
  • Fuel-delivery problems — low or high fuel pressure, a weak pump, clogged filter or faulty regulator
  • Leaking, dirty or restricted fuel injectors on bank 1 skewing the mixture
  • A lazy, biased or contaminated upstream oxygen / air-fuel sensor feeding bad data to the trim loop
  • An exhaust leak ahead of the upstream sensor that lets in air and reads as a false lean condition

Severity & driving advice

Severity: Moderate — The vehicle usually still drives, but a bank-1 mixture stuck rich or lean hurts economy and can foul the catalytic converter, so repair it promptly.

Can I drive? Drivable short-term; fix trim before it harms the cat.

Diagnostic approach

  1. Read live fuel trim and fix the directionWith the scan tool in closed loop, watch STFT and LTFT for bank 1 at warm idle and again near 2500 rpm. Large positive totals (roughly +20 to +25 percent or more) mean the module is adding fuel to fight a lean condition; large negative totals mean it is pulling fuel to fight a rich one. This single reading decides whether you chase a leak/underfueling or overfueling, and mirrors the direction split behind P0171 and P0172.
  2. Hunt for unmetered air if trim is positive (lean)Smoke-test the intake and vacuum system and inspect the PCV, hoses and intake gaskets. Note whether the positive trim shrinks as engine speed rises — that pattern points to a vacuum leak, because the extra unmetered air matters less at higher airflow. Also confirm no exhaust leak sits upstream of the oxygen sensor, which can mimic a lean bank.
  3. Check the MAF and fuel deliveryCompare MAF airflow against expected values (a rough guide is near 0.8 to 1 g/s per litre of displacement at warm idle) and clean or substitute a suspect sensor. Put a gauge on the fuel rail and verify pressure and volume against the vehicle specification; low pressure drives a lean trim while a leaking regulator or injector drives a rich one.
  4. Evaluate injectors and the upstream sensorIf delivery pressure is correct, look at the bank-1 injectors for leakage or restriction using balance or flow data. Then scope the upstream oxygen / air-fuel sensor: it should switch or track smoothly and respond to forced rich and lean events. A slow or biased sensor corrupts the trim math and can set P0170 on its own.
  5. Repair, relearn and confirmAfter the fault is fixed, clear the adaptive fuel tables so the module relearns from a clean baseline, then road-test through idle, cruise and light load. Confirm STFT and LTFT for bank 1 settle back within roughly plus or minus 10 percent and that P0170 does not return over a couple of drive cycles.

Make & model notes

Toyota: Toyota engines run a wideband air-fuel sensor as the bank-1 upstream sensor and lean on its signal for trim, so most fuel-mixture faults surface as the direction-specific P0171 or P0172. Where P0170 appears, check first for intake or PCV leaks after valve-cover or gasket work and for a dirty MAF, which are the common triggers on Camry, Corolla and Tacoma.

Ford: Ford's adaptive fuel strategy exposes bank-1 correction through the LONGFT1 PID, and on V-engines like the 5.0L and 3.5L it usually logs P0171/P0174 for lean or P0172/P0175 for rich rather than the general P0170. When trim is out of range, Ford diagnosis points to the air-measurement system and vacuum/unmetered-air leaks for lean, and the fuel and intake-air systems for rich — verify the MAF transfer and intake gaskets.

FAQ

What is the difference between P0170, P0171 and P0172?

All three concern bank-1 fuel trim, but they differ in how much they tell you. P0170 is the general code: it means the combined short- and long-term trim has exceeded its limit without stating a direction. P0171 specifically means bank 1 is running too lean (too much air or not enough fuel), and P0172 means it is running too rich (too much fuel). If you see P0170, read live STFT and LTFT to work out which way the mixture has drifted, because the repair path is the same as for P0171 or P0172 once you know the direction.

Can I drive with a P0170 code?

For a short time, usually yes — the engine still runs and steering and brakes are unaffected. The problem is that a bank-1 mixture stuck too rich or too lean wastes fuel, can cause rough running and stalling, and over time can overheat and damage the catalytic converter. Treat it as a soon-not-now repair: get the trim fault diagnosed before it turns into a much more expensive converter job.

What most often causes P0170?

The two most common roots are an unmetered air or vacuum leak that drives the bank lean, and a contaminated or drifting mass air flow sensor that mis-reads incoming air. Fuel-delivery issues (low or high pressure, a weak pump or a leaking injector) and a lazy upstream oxygen/air-fuel sensor are the next suspects. Which one it is depends on whether live fuel trim is strongly positive (lean) or strongly negative (rich).

Will P0170 clear itself after I fix the problem?

Not immediately. Even after the mechanical fault is repaired, the module keeps the learned long-term trim it stored while the fault was present, so it helps to reset the adaptive fuel tables and let it relearn. Clear the code, then drive through idle, cruising and light-load conditions. If the repair was correct, bank-1 trim settles back within a normal band and P0170 stays off over the next couple of drive cycles.