P0171 System Too Lean (Bank 1)
Diagnostic trouble codes · Vehicles built from Nov 2006
Also covers:
- P0172 System Too Rich (Bank 1)
DESCRIPTION
The fuel trim is related to the feedback compensation value, not to the basic injection time. The fuel trim consists of both the short-term and long-term fuel trims.The short-term fuel trim is fuel compensation that is used to constantly maintain the air-fuel ratio at stoichiometric levels. The signal from the Air-Fuel Ratio (A/F) sensor indicates whether the air-fuel ratio is rich or lean compared to the stoichiometric ratio. This triggers a reduction in the fuel injection volume if the air-fuel ratio is rich and an increase in the fuel injection volume if it is lean.
Factors such as individual engine differences, wear over time and changes in operating environment cause short-term fuel trim to vary from the central value. The long-term fuel trim, which controls overall fuel compensation, compensates for long-term deviations in the fuel trim from the central value caused by the short- term fuel trim compensation.
If both the short-term and long-term fuel trims are lean or rich beyond predetermined values, it is interpreted as a malfunction, and the ECM illuminates the MIL and sets a DTC.
| DTC No. |
DTC Detection Conditions |
Trouble Areas |
| P0171 |
With warm engine and stable air-fuel ratio feedback, fuel trim considerably in error to lean side (2 trip detection logic) |
|
| P0172 |
With warm engine and stable air-fuel ratio feedback, fuel trim considerably in error to rich side (2 trip detection logic) |
|
- HINT:
- When DTC P0171 is set, the actual air-fuel ratio is on the lean side. When DTC P0172 is set, the actual air-fuel ratio is on the rich side.
- If the vehicle runs out of fuel, the air-fuel ratio is lean and DTC P0171 may be set. The MIL is then illuminated.
- When the total of the short-term and long-term fuel trim values is within the malfunction threshold (and the engine coolant temperature is more than 75°C [167°F]), the system is functioning normally.
- When DTC P0171 is set, the actual air-fuel ratio is on the lean side. When DTC P0172 is set, the actual air-fuel ratio is on the rich side.
MONITOR DESCRIPTION
Under closed-loop fuel control, fuel injection volumes that deviate from those estimated by the ECM cause changes in the long-term fuel trim compensation value. The long-term fuel trim is adjusted when there are persistent deviations in the short-term fuel trim values. Deviations from the ECM's estimated fuel injection volumes also affect the average fuel trim learning value, which is a combination of the average short-term fuel trim (fuel feedback compensation value) and the average long-term fuel trim (learning value of the air- fuel ratio). If the average fuel trim learning value exceeds the malfunction thresholds, the ECM interprets this a fault in the fuel system and sets a DTC.Example:
The average fuel trim learning value is more than +35 % or less than -35 %, the ECM interprets this as a fuel system malfunction.


WIRING DIAGRAM
Refer to DTC P2195 (Click here).INSPECTION PROCEDURE
- HINT:
- Intelligent tester only:
- Malfunctioning areas can be identified by performing the Control the Injection Volume for A/F sensor function provided in the Active Test. The Control the Injection Volume for A/F sensor function can help to determine whether the Air-Fuel Ratio (A/F) sensor, Heated Oxygen (HO2) sensor and other potential trouble areas are malfunctioning.
- The following instructions describe how to conduct the Control the Injection Volume for A/F sensor operation using the intelligent tester.
- Connect the intelligent tester to the DLC3.
- Start the engine and turn the tester on.
- Warm up the engine at an engine speed of 2500 rpm for approximately 90 seconds.
- On the tester, enter the following menus: Powertrain / Engine and ECT / Active Test / Control the Injection Volume for A/F sensor.
- Perform the Active Test operation with the engine in an idling condition (press the RIGHT or LEFT button to change the fuel injection volume.)
- Monitor the output voltages of the A/F and HO2 sensors (AFS B1 S1 and O2S B1 S2) displayed on the tester.
- Connect the intelligent tester to the DLC3.
- HINT:
- The Control the Injection Volume for A/F sensor operation lowers the fuel injection volume by 12.5% or increases the injection volume by 25%.
- Each sensor reacts in accordance with increases and decreases in the fuel injection volume.
- The Control the Injection Volume for A/F sensor operation lowers the fuel injection volume by 12.5% or increases the injection volume by 25%.
| Tester Display (Sensor) |
Injection Volume |
Status |
Voltage |
| AFS B1 S1 (A/F) |
+25% |
Rich |
Less than 3.0 V |
| AFS B1 S1 (A/F) |
-12.5% |
Lean |
More than 3.35 V |
| O2S B1 S2 (HO2) |
+25% |
Rich |
More than 0.55 V |
| O2S B1 S2 (HO2) |
-12.5% |
Lean |
Less than 0.4 V |
- NOTICE:
- The air fuel ratio sensor has an output delay of a few seconds and the heated oxygen sensor has a maximum output delay of approximately 20 seconds.
| Case |
A/F Sensor (Sensor 1) Output Voltage |
HO2 Sensor (Sensor 2) Output Voltage |
Main Suspected Trouble Area |
| 1 |
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
- |
| 2 |
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
|
| 3 |
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
|
| 4 |
![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
|
- Following the Control the Injection Volume for A/F sensor procedure enables technicians to check and graph the voltage outputs of both the A/F and HO2 sensors.
- To display the graph, enter the following menus: Powertrain / Engine and ECT / Active Test / Control the Injection Volume for A/F Sensor / A/F Control System / AFS B1 S1 and O2S B1 S2.
- HINT:
- Read freeze frame data using an intelligent tester. Freeze frame data records the engine condition when malfunctions are detected. When troubleshooting, freeze frame data can help determine if the vehicle was moving or stationary, if the engine was warmed up or not, if the air-fuel ratio was lean or rich, and other data from the time the malfunction occurred.
- Read freeze frame data using an intelligent tester. Freeze frame data records the engine condition when malfunctions are detected. When troubleshooting, freeze frame data can help determine if the vehicle was moving or stationary, if the engine was warmed up or not, if the air-fuel ratio was lean or rich, and other data from the time the malfunction occurred.
| 1. CHECK ANY OTHER DTCS OUTPUT (IN ADDITION TO DTC P0171 OR P0172) |
Connect an intelligent tester to the DLC3.
Turn the ignition switch on (IG).
Turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / DTC.
Read DTCs.
- Result:
Result
Proceed to
P0171 or P0172
A
P0171 or P0172, and other DTCs
B
- HINT:
- If any DTCs other than P0171 and P0172 are output, troubleshoot those DTCs first.
|
|
||||
| A | |
| 2. CHECK PCV HOSE CONNECTIONS |
- OK:
- PCV hose is connected correctly and is not damaged.
|
|
||||
| OK | |
| 3. CHECK AIR INDUCTION SYSTEM |
Check the air induction system for vacuum leak.
- OK:
- No leak from air induction system.
|
|
||||
| OK | |
| 4. PERFORM ACTIVE TEST USING INTELLIGENT TESTER (INJECTION VOLUME) |
Connect an intelligent tester to the DLC3.
Start the engine.
Turn the tester on.
Warm up the engine at an engine speed of 2,500 rpm for approximately 90 seconds.
Select the following menu items: Powertrain / Engine and ECT / Active Test / Control the Injection Volume for A/F Sensor.
Perform the Control the Injection Volume for A/F Sensor operation with the engine in an idling condition (press the RIGHT or LEFT button to change the fuel injection volume).
Monitor the voltage outputs of the air fuel ratio sensor and heated oxygen sensor (AFS B1S1 and O2S B1S2) displayed on the tester.
- HINT:
- The Control the Injection Volume for A/F Sensor operation lowers the fuel injection volume by 12.5 % or increases the injection volume by 25 %.
- Each sensor reacts in accordance with increases and decreases in the fuel injection volume.
- The Control the Injection Volume for A/F Sensor operation lowers the fuel injection volume by 12.5 % or increases the injection volume by 25 %.
- Standard:
Tester Display
(Sensor)
Injection Volumes
Status
Voltages
AFS B1S1
(A/F)
+25 %
Rich
Less than 3.0 V
AFS B1S1
(A/F)
-12.5 %
Lean
More than 3.35 V
O2S B1S2
(HO2)
+25 %
Rich
More than 0.55 V
O2S B1S2
(HO2)
-12.5 %
Lean
Less than 0.4 V
Lean: During Active Test, the air fuel ratio sensor output voltage (AFS) is consistently more than 3.35 V, and the heated oxygen sensor output voltage (O2S) is consistently less than 0.4 V.Rich: During Active Test, the AFS is consistently less than 3.0 V, and the O2S is consistently more than 0.55 V.Lean/Rich: During Active Test, the output voltage of the air fuel ratio sensor and heated oxygen sensor alternates correctly.Result: Status
AFS B1S1
Status
O2S B1S2
A/F Condition and
A/F Sensor Condition
Misfire
Suspected Trouble Area
Proceed to
Lean/Rich
Lean/Rich
Normal
-
-
C
Lean
Lean
Actual air fuel ratio lean
May occur
- PCV valve and hose
- PCV hose connections
- Fuel injector blockage
- Gas leak from exhaust system
- Air induction system
- Fuel pressure
- Mass air flow meter
- Engine coolant temperature sensor
A
Rich
Rich
Actual air fuel ratio rich
-
- Fuel injector leak or blockage
- Gas leak from exhaust system
- Ignition system
- Fuel pressure
- Mass air flow meter
- Engine coolant temperature sensor
Lean
Lean/Rich
Air fuel ratio sensor malfunction
-
- Air fuel ratio sensor
B
Rich
Lean/Rich
Air fuel ratio sensor malfunction
-
- Air fuel ratio sensor
|
|
||||
|
|
||||
| A | |
| 5. READ VALUE USING INTELLIGENT TESTER (COOLANT TEMP) |
Connect an intelligent tester to the DLC3.
Turn the ignition switch on (IG).
Turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / Data List / Coolant Temp.
Read the Coolant Temp twice, when the engine is both cold and warmed up.
- Standard:
- With cold engine: Same as ambient air temperature.
With warm engine: 80°C to 100°C (176°C to 212°F).
|
|
||||
| OK | |
| 6. INSPECT MASS AIR FLOW METER |
Read values using an intelligent tester (MAF).
- NOTICE:
- Turn the ignition switch off.
- Perform the inspection with the vehicle indoors and on a level surface.
- Perform the inspection of the mass air flow meter while it is installed in the air cleaner case (installed on the vehicle).
- During the test, do not use the exhaust air duct to perform suction on the exhaust pipe.
- Turn the ignition switch off.
Turn the ignition switch on (IG) (do not start the engine).
Turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / Data List / MAF.
Wait for 30 seconds, and read the values on the intelligent tester.
- Standard:
- Less than 0.19 g/sec
Inspect the mass air flow meter.
Remove the mass air flow meter (Click here).
Using a work light, check that the platinum filament (heater portion) in the mass air flow meter has no foreign matter attached.

- Standard:
- No foreign matter attached.
Reinstall the mass air flow meter.
|
|
||||
| OK | |
| 7. CHECK FUEL PRESSURE |
Check the fuel pressure (Click here).
|
|
||||
| OK | |
| 8. CHECK EXHAUST GAS LEAK |
- OK:
- No gas leak.
|
|
||||
| OK | |
| 9. CHECK SPARK AND IGNITION |
- HINT:
- Refer to the ignition system inspection procedure (Click here).
- If the spark plugs or ignition system malfunctions, engine misfire may occur. The misfire count can be read using an intelligent tester. Select the following menu items: Powertrain / Engine and ECT / Data List / Cylinder #1 Misfire Count - Cylinder #4 Misfire Count.
- Refer to the ignition system inspection procedure (Click here).
|
|
||||
| OK | |
| 10. INSPECT FUEL INJECTOR (INJECTION AND VOLUME) |
- HINT:
- Refer to the fuel injector inspection procedure (Click here).
- If the fuel injectors malfunction, engine misfire may occur. The misfire count can be read using an intelligent tester. Select the following menu items: Powertrain / Engine and ECT / Data List / Cylinder #1 Misfire Count - Cylinder #4 Misfire Count.
- Refer to the fuel injector inspection procedure (Click here).
|
|
||||
| OK | |
| 11. INSPECT AIR FUEL RATIO SENSOR (HEATER RESISTANCE) |
Disconnect the air fuel ratio sensor connector.

Measure the resistance according to the value(s) in the table below.
- Standard resistance:
Tester Connection
Condition
Specified Condition
1 (HA1A) - 2 (+B)
20°C (68°F)
1.8 to 3.4 Ω
1 (HA1A) - 3 (A1A-)
Always
10 kΩ or higher
Reconnect the air fuel ratio sensor connector.
|
|
||||
| OK | |
| 12. CHECK HARNESS AND CONNECTOR (AIR FUEL RATIO SENSOR - ECM) |
Disconnect the air fuel ratio sensor connector.

Disconnect the ECM connector.
Measure the resistance according to the value(s) in the table below.
- Standard resistance (Check for open):
Tester Connection
Condition
Specified Condition
C73-1 (HA1A) - C20-109 (HT1A)
Always
Below 1 Ω
C73-3 (A1A+) - C20-112 (A1A+)
Always
Below 1 Ω
C73-4 (A1A-) - C20-113 (A1A-)
Always
Below 1 Ω
- Standard resistance (Check for short):
Tester Connection
Condition
Specified Condition
C73-1 (HA1A) or C20-109 (HT1A) - Body ground
Always
10 kΩ or higher
C73-3 (A1A+) or C20-112 (A1A+) - Body ground
Always
10 kΩ or higher
C73-4 (A1A-) or C20-113 (A1A-) - Body ground
Always
10 kΩ or higher
Reconnect the ECM connector.
Reconnect the air fuel ratio sensor connector.


|
|
||||
| OK | |
| 13. REPLACE AIR FUEL RATIO SENSOR |
Replace the air fuel ratio sensor (Click here).
| NEXT | |
| 14. PERFORM CONFIRMATION DRIVING PATTERN |
-


- (a) Connect an intelligent tester to the DLC3.
- (b) Turn the ignition switch on (IG).
- (c) Turn the tester on.
- (d) Clear DTCs (Click here).
- (e) Switch the ECM from normal mode to check mode using the tester (Click here).
- (f) Start the engine and warm it up with all the accessories switched off.
- (g) Drive the vehicle at between 60 km/h and 120 km/h (38 mph and 75 mph) and at an engine speed of between 1,400 rpm and 3,200 rpm for 3 to 5 minutes.
- HINT:
- If the system is still malfunctioning, the MIL will be illuminated during step (g).
- NOTICE:
- If the conditions in this test are not strictly followed, no malfunction will be detected.
| NEXT | |
| 15. CHECK WHETHER DTC OUTPUT RECURS (DTC P0171 OR P0172) |
Connect an intelligent tester to the DLC3.
Turn the ignition switch on (IG).
Turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / DTC.
Read DTCs.
- Result:
Result
Proceed to
No output
A
P0171 or P0172
B
|
|
||||
| A | ||
| ||




