Can you keep driving?
Can you keep driving?
Stop driving if any of these apply
- !The check-engine light is flashing.
- !The engine is running badly enough that traffic safety or engine damage becomes a concern.
What to check first
Step-by-step checks
- 1
Free - no tools
Check for vacuum leaks, split intake hoses, or anything recently left disconnected
- 2
Free - no tools
Inspect the airflow sensor and intake tract for dirt, contamination, or a loose connector
- 3
Basic tool needed
Look for fuel-trim codes, misfire codes, or other signs that point to the same root cause
- 4
Basic tool needed
If scan data is available, compare fuel trims at idle and under light throttle
- 5
Basic tool needed
If the engine runs smoother after a simple repair, recheck before replacing sensors blindly
If the code returns
- -If trims stay positive after the basic checks, fuel pressure and injector flow deserve more attention.
- -If the airflow sensor signal looks unstable, clean or test it before buying other parts.
- -If the code returns with no visible leak, a smoke test or fuel-supply test becomes more useful.
Background
What this code means
P0171 is a generic OBD-II lean-running code for bank 1.
A lean code can come from too much air, not enough fuel, or sensor data that makes the ECU command the wrong mixture.
Diagnosis
Common causes
Vacuum leak
Unmetered air entering the engine is one of the most common causes.
Airflow sensor bias
A dirty or inaccurate MAF signal can make the ECU command too little fuel.
Fuel pressure issue
Low pressure can leave the bank short of fuel under load or at idle.
Injector or intake issue
A clogged injector or intake fault can create a lean condition on the bank.
Avoid these mistakes
What not to do
- xDo not replace major parts before checking the simple causes first.
- xDo not ignore a flashing check-engine light or obvious drivability symptoms.
Parts
Parts that may need replacing
See also
Related OBD codes
P0174
P0174 usually means bank 2 is running too lean.
P0101
P0101 usually means the mass airflow signal is outside the expected range or performance window.
P0300
P0300 usually means the engine is detecting random or multiple-cylinder misfires.
P0420
P0420 usually means the catalytic converter efficiency is below the threshold the ECU expects.
Source notes
Prototype Hyundai overlay for lean-condition guidance.
- -Hyundai intake leaks, vacuum-hose faults, and airflow-sensor issues are still sensible first checks before assuming fuel-delivery trouble.
This guide is written with Hyundai vehicles in mind, but bulletin history, engine variants, and component locations can still change the best repair path.
This is generic OBD-II guidance and should not override vehicle-specific service information. Fuel-trim thresholds, intake layouts, and repeat failure points vary by make and engine family.
Last reviewed: 2026-04-11