Safety Warning
DIY auto repair can cause serious injury, fire, or vehicle damage. These guides are for informational purposes only. Always follow OEM torque specs, wear PPE, and consult a certified mechanic if you are unsure. You are solely responsible for your safety.
DTC P0171: Fuel Trim System Lean: Description
The Heated Oxygen Sensor 1 (HO2S1) sends voltage signals that relate difference in oxygen between atmosphere and exhaust gas. Under normal driving conditions, except power enrichment mode, ECM attempts to maintain a 14.7:1 air/fuel ratio. ECM can make corrections from a nominal 128 short/long term fuel trim value (zero percent correction) within a maximum window of 70 to 165 (-45 to 29 percent correction) without setting DTC P0171 or DTC P0172. If ECM determines a rich condition exists (HO2S1 voltage more than 600 millivolts), it will decrease injector pulse width to maintain a 14.7:1 air/fuel ratio. Short term fuel trim value will be between 70 and 128. If ECM determines a lean condition exists (HO2S1 voltage less than 300 millivolts), it will increase injector pulse width to maintain 14.7:1 air/fuel ratio. Short term fuel trim value will be between 128 and 165. When certain conditions have been met (ECT and closed loop), ECM will go into learned fuel control mode by updating and using a total of 22 long term fuel trim cells for idle, cruise, accel and decel. These cells update based on short term fuel trim value. If short term fuel trim value goes a certain number of counts in one direction, long term fuel trim value will update in the same direction, in the cell that corresponds with drive condition vehicle was in. After approximately 2 minutes of being in each of the long term fuel cells, ECM will enable EVAP purge solenoid (pulling fuel from EVAP canister) and a new set of long term fuel trim cells called purge long term fuel trim cells will be used. However, DTC P0171 is run before purge cells are used and sets when combined average or long term fuel cells for idle and cruise is more than calibrated long term fuel trim value.
NO RELATED
Use the Manual With the Right Hardware
Pair factory procedures with proven DIY tools so the instructions are easier to execute.
Affiliate disclosure: We may earn a commission at no extra cost to you.
When to See a Mechanic
Stop DIY work and contact a certified mechanic immediately if any of the following apply:
- β’ You smell fuel, burning insulation, or see smoke.
- β’ Brakes feel soft, pull hard to one side, or make grinding noises.
- β’ The engine overheats, stalls repeatedly, or misfires under load.
- β’ You are missing required tools, torque specs, or safe lifting equipment.
- β’ You are not confident in the next step or safety outcome.