P0170: Fuel Trim Malfunction (Bank 1)
P0170 Code: Fuel Trim Issue on Bank 1 Explained. See symptoms, common causes, driving risk and checks that help confirm the fault before parts are replaced.

Save all codes and freeze-frame data. The code tells you what the control module detected, not which component must be replaced.
Quick answer
OBD2 code P0170 indicates a fuel trim malfunction on Bank 1, meaning the engine control module (ECM) has detected an imbalance in the air-fuel mixture that it cannot correct with normal fuel trim adjustments. This is triggered when the ECM's long-term and short-term fuel trim values exceed their calibrated limits, signaling a persistent lean or rich condition on the affected bank.
What the P0170 Code Means: Fuel Trim Malfunction in Bank 1
How Fuel Trim Works and Why P0170 Triggers
The ECM continuously monitors the air-fuel ratio using oxygen (O2) sensors in the exhaust stream. When the mixture deviates from the ideal 14.7:1 ratio, the ECM adjusts fuel delivery via short-term fuel trim (STFT) for immediate corrections and long-term fuel trim (LTFT) for sustained adjustments. These trims are expressed as percentages: positive values add fuel (richening the mixture), while negative values reduce fuel (leaning the mixture).
P0170 is set when the LTFT (and often STFT) for Bank 1 exceeds the ECM's programmed thresholds; typically around ±25%; indicating the system can no longer compensate for an underlying issue. Bank 1 refers to the side of the engine containing cylinder #1, which on most inline engines is the only bank, and on V-engines is one side (often the left or right, depending on the manufacturer).
What the ECM Detects
The code is primarily triggered by the upstream O2 sensors (before the catalytic converter) reporting a lean condition that persists despite the ECM's attempts to compensate. In most cases, P0170 reflects a lean condition on Bank 1, though a rich condition can also trigger it if the ECM's fuel trim limits are exceeded in the opposite direction. The ECM does not distinguish between "lean" or "rich" in the code itself; only that the trim values are out of range.
Common scenarios include a vacuum leak introducing unmetered air, a faulty mass airflow (MAF) sensor under-reporting airflow, or a weak fuel pump unable to deliver sufficient fuel. The ECM's inability to maintain the target air-fuel ratio with standard trim adjustments is what ultimately sets P0170.
Sensor and System Involvement
The upstream O2 sensors are the primary input for fuel trim calculations. The MAF sensor, manifold absolute pressure (MAP) sensor, and throttle position sensor (TPS) also provide critical data the ECM uses to determine base fuel delivery. If any of these sensors provide inaccurate readings, the ECM's fuel trim adjustments may become excessive. Additionally, the fuel system; including injectors, fuel pressure regulator, and fuel pump; must deliver the correct amount of fuel for the ECM's commands to be effective.
Why the Code Appears
P0170 commonly appears when unmetered air enters the intake system, such as through a cracked vacuum line, faulty intake manifold gasket, or leaking PCV hose. A clogged fuel filter or failing fuel pump can also starve the engine of fuel, forcing the ECM to max out its fuel trim. Less commonly, a contaminated or faulty MAF sensor can cause the ECM to miscalculate airflow, leading to incorrect fuel delivery and excessive trim values. In rare cases, an exhaust leak before the upstream O2 sensor can introduce outside air, skewing the sensor's readings and triggering the code.
Common Symptoms of P0170
Drivers may notice rough idling, hesitation during acceleration, or a slight loss of power, especially under load. The check engine light is the most consistent symptom, and fuel economy may worsen as the ECM struggles to maintain the correct air-fuel ratio. Some vehicles exhibit no noticeable drivability issues, particularly in early stages of the problem.
Can You Still Drive With Code P0170?
Yes, you can typically drive with P0170 in the short term, as it usually does not pose an immediate safety risk. However, prolonged driving with a fuel trim malfunction can lead to poor engine performance, increased emissions, and potential damage to the catalytic converter over time. If symptoms like severe misfiring or stalling occur, the vehicle should be inspected promptly.
Details that improve the diagnosis
Compare the reported value with engine temperature, barometric pressure, throttle position and related sensors. A signal that is electrically valid can still be implausible. Fuel trims at idle and at a steady higher speed help separate an intake leak from a fuel-delivery or measurement problem.
Before clearing anything, record whether the code is current, pending, history or permanent. Save companion codes and freeze-frame conditions, then note recent repairs, a weak battery, weather changes and the exact moment the symptom appears. After a confirmed repair, clear only the erasable codes and complete the appropriate drive cycle. A permanent code normally clears only after the onboard monitor verifies that the fault is gone.
Related trouble codes
Information to record before any repair
Write down the exact code, its status and every companion code reported by a complete vehicle scan. Save the freeze-frame values, including engine speed, load, coolant temperature, vehicle speed, battery voltage and fuel trims when available. Note whether the warning appeared during a cold start, at idle, under acceleration, after refueling, in wet weather or immediately after other work. These details help separate an intermittent electrical problem from a repeatable mechanical or operating-condition fault.
Identify the exact year, make, model, engine, transmission and market version before using a wiring diagram or specification. Connector pinouts, monitor thresholds, component locations and test procedures can change within the same model line. Check current manufacturer service information and relevant technical service bulletins. A bulletin can improve the test sequence, but it should not be treated as proof that the same fault exists on every vehicle.
How to verify the repair
A warning light that stays off immediately after codes are cleared does not by itself confirm a repair. Recheck live data, repeat the operating condition that originally set the code when it is safe to do so, and confirm that no pending code returns. Some monitors need a specific drive cycle before they run. Permanent codes are normally removed by the control module only after it sees enough successful monitor results. If symptoms remain or the code returns, continue testing instead of replacing another part by guesswork.