Can you keep driving?
Can you keep driving?
Stop driving if any of these apply
- !The engine starts stalling, misfiring, or losing power sharply.
- !The check-engine light flashes or the exhaust smell becomes obviously rich or lean.
What to check first
Step-by-step checks
- 1
Free - no tools
Check for intake leaks, loose hoses, or obvious air leaks before buying parts
- 2
Free - no tools
Inspect the MAF or MAP sensor path for contamination, loose connectors, or intake restrictions
- 3
Basic tool needed
Look at short- and long-term fuel trims if scan data is available
- 4
Basic tool needed
Notice whether other lean or rich codes are present with P0170
- 5
Basic tool needed
If the car runs better under certain conditions, note that pattern before replacing anything
If the code returns
- -If the air and fuel side checks out, the upstream oxygen sensor and exhaust leak side become more important.
- -If the code returns after a MAF or hose repair, re-check the trim numbers and the intake tract.
- -If the engine smooths out after the repair, that is more important than the code name alone.
Background
What this code means
P0170 is a generic fuel-trim code for bank 1.
It usually means the ECU has reached the edge of its normal correction range and wants a better air-fuel balance than the current readings allow.
Fuel economy can drop, idle quality can wander, and the engine may run lean or rich depending on what the ECU is trying to correct.
Diagnosis
Common causes
Vacuum leak
Extra unmetered air can push bank 1 trim out of range.
MAF or MAP issue
Bad airflow data can make the ECU chase the wrong mixture.
Fuel pressure problem
Low fuel pressure can make trim corrections run out of range.
Upstream oxygen sensor issue
A biased sensor can mislead the fuel-trim correction.
Avoid these mistakes
What not to do
- xDo not replace the oxygen sensor before checking for air leaks, MAF/MAP issues, or fuel-pressure problems.
- xDo not assume the code is only a sensor fault if the engine is clearly running lean or rich.
Parts
Parts that may need replacing
See also
Related OBD codes
Source notes
Generic OBD-II (SAE J1979 / ISO 15031-5). P0170 was expanded around common bank 1 fuel-trim faults, including vacuum leaks, airflow-meter issues, and fuel-delivery problems.
This guide is written as a generic multi-make reference, so bulletin history, sensor locations, and repair order can still change by manufacturer and engine family.
This is generic OBD-II guidance and should not override vehicle-specific service information. Exact diagnosis and repair steps vary by make, engine family, and model year.
Last reviewed: 2026-04-10
Reference: Open reference