P0171 means the computer has reached a lean-correction limit on Bank 1.
The engine is seeing a mixture or sensor pattern that requires more fuel correction than expected. The cause may be extra air, too little fuel, inaccurate airflow information, or another condition that makes the exhaust appear lean.
What does P0171 mean?
P0171: System too lean · Bank 1. P0171 is a fuel trim code. The engine computer is adding fuel to compensate for a lean condition on Bank 1 and the correction has exceeded its calibrated limit. An oxygen sensor reports the result of combustion, so the code does not automatically mean that oxygen sensor is the failed part.
Use caution if drivability is affected
A mild P0171 with a steady check engine light may still allow normal operation for a short time, but severe hesitation, stalling, misfire, or a flashing light deserves prompt attention. A significantly lean condition can affect performance and emissions and may contribute to misfire.
A trouble code is evidence, not a replacement-part instruction.
Use the exact vehicle, companion codes, symptoms, and test results together before deciding what failed.
Common causes of P0171
These are diagnostic possibilities, not a list of parts that should automatically be replaced.
Vacuum leaks, split intake boots, PCV leaks, or intake-manifold leaks
A contaminated or inaccurate mass airflow sensor
Low fuel pressure, a weak fuel pump, restricted fuel delivery, or injector flow problems
An exhaust leak ahead of the upstream oxygen sensor
A purge, EGR, or other air-management problem depending on the vehicle
Sensor, wiring, software, or vehicle specific faults that distort load or mixture calculations
Symptoms that can appear with P0171
- Check-engine light
- Rough or unstable idle
- Hesitation or lack of power
- Misfire or stumbling, especially under certain loads
- Hard starting or stalling in more severe cases
Useful first checks
Start with observations that preserve evidence and separate likely causes before moving to specialized tools.
Fuel-trim behavior is especially useful here. CarCause can start with visual air-leak checks and symptoms, then escalate to live data, smoke testing, fuel pressure, or other measurements only when needed.
What not to replace or assume too early
- Replacing the oxygen sensor simply because the code says lean
- Spraying flammable chemicals around a running engine to hunt for vacuum leaks
- Replacing the mass airflow sensor without checking intake leaks and fuel trim behavior
- Ignoring a companion P0174, because a both-bank lean pattern changes the diagnostic priorities
Other common OBD-II guides
Diagnose P0171 with the actual vehicle and symptoms.
CarCause uses the code as one piece of evidence, then guides you through the next useful check instead of jumping straight to a replacement part.