DTC P0171 System Too Lean (Bank 1) |
DTC P0172 System Too Rich (Bank 1) |
| DTC No. | DTC Detection Condition | Trouble Area |
| P0171 | With a warm engine and stable air fuel ratio feedback, the fuel trim is considerably in error to the lean side (2 trip detection logic). |
|
| P0172 | With a warm engine and stable air fuel ratio feedback, the fuel trim is considerably in error to the rich side (2 trip detection logic). |
|

| Related DTCs | P0171: Fuel trim lean P0172: Fuel trim rich |
| Required Sensors/Components (Main) | Fuel system |
| Required Sensors/Components (Related) | Air fuel ratio sensor Mass air flow meter sub-assembly Crankshaft position sensor |
| Frequency of Operation | Continuous |
| Duration | Within 10 seconds |
| MIL Operation | 2 driving cycles |
| Sequence of Operation | None |
| Monitor runs whenever the following DTCs are not stored | P0010 (VVT oil control valve) P0011 (VVT system - advance) P0012 (VVT system - retard) P0016 (VVT system - misalignment) P0013 (Exhaust VVT oil control valve) P0014 (Exhaust VVT system - advance) P0015 (Exhaust VVT system - retard) P0017 (Exhaust VVT system - misalignment) P0031, P0032, P101D (Air fuel ratio sensor heater) P0102, P0103 (Mass air flow meter) P0115, P0117, P0118 (Engine coolant temperature sensor) P0120, P0121, P0122, P0123, P0220, P0222, P0223, P2135 (Throttle position sensor) P0125 (Insufficient coolant temperature for closed loop fuel control) P0335 (Crankshaft position sensor) P0340, P0342, P0343 (Camshaft position sensor) P0365, P0367, P0368 (Exhaust camshaft position sensor) P0351 - P0354 (Igniter) P0500 (Vehicle speed sensor) P219A (Air fuel ratio imbalance) |
| Fuel system status | Closed loop |
| Battery voltage | 11 V or higher |
| Either of the following conditions is met | 1 or 2 |
| 1. Engine speed | Less than 800 rpm |
| 2. Engine load | 12% or higher |
| Catalyst monitor | Not executed |
| Purge-cut | Executing |
| Either of the following conditions is met | 1 or 2 |
| 1. Average between short-term fuel trim and long-term fuel trim | 35% or higher (varies with engine coolant temperature) |
| 2. Average between short-term fuel trim and long-term fuel trim | -35% or less (varies with engine coolant temperature) |
| Purge-cut | Executing |
| Either of the following conditions is met | 1 or 2 |
| 1. Average between short-term fuel trim and long-term fuel trim | 48% or higher (varies with engine coolant temperature) |
| 2. Average between short-term fuel trim and long-term fuel trim | -35% or less (varies with engine coolant temperature) |

| 1.CHECK ANY OTHER DTCS OUTPUT (IN ADDITION TO DTC P0171 OR P0172) |
Connect the Techstream to the DLC3.
Turn the ignition switch to ON.
Turn the Techstream on.
Enter the following menus: Powertrain / Engine and ECT / Trouble Codes.
Read the DTCs.
| Result | Proceed to |
| DTC P0171 or P0172 is output | A |
| DTC P0171 or P0172 and other DTCs are output | B |
|
| ||||
| A | |
| 2.CHECK PCV HOSE CONNECTIONS |
Check the PCV hose connections (Click here).
|
| ||||
| OK | |
| 3.CHECK INTAKE SYSTEM |
Check the intake system for vacuum leaks .
|
| ||||
| OK | |
| 4.PERFORM ACTIVE TEST USING TECHSTREAM (CONTROL THE INJECTION VOLUME) |
Connect the Techstream to the DLC3.
Start the engine.
Turn the Techstream on.
Warm up the engine and run the engine at an engine speed of 2500 rpm for approximately 90 seconds.
Enter the following menus: Powertrain / Engine and ECT / Active Test / Control the Injection Volume / Gas AF Control / AFS Voltage B1S1 and O2S B1S2.
Perform the Control the Injection Volume operation with the engine idling (press the RIGHT or LEFT button to change the fuel injection volume).
Monitor the voltage outputs of the air fuel ratio sensor and the heated oxygen sensor (AFS Voltage B1S1 and O2S B1S2) displayed on the Techstream.
| Techstream Display (Sensor) | Injection Volume | Status | Voltage |
| AFS Voltage B1S1 (Air fuel ratio) | +12% | Rich | Below 3.1 V |
| -12% | Lean | Higher than 3.4 V | |
| O2S B1S2 (Heated oxygen) | +12% | Rich | Higher than 0.55 V |
| -12% | Lean | Below 0.4 V |
| Status AFS Voltage B1S1 | Status O2S B1S2 | Air Fuel Ratio Condition and Air Fuel Ratio Sensor Condition | Suspected Trouble Area | Proceed to |
| Lean/Rich | Lean/Rich | Normal | - | A |
| Lean | Lean | Actual air fuel ratio lean |
| A |
| Rich | Rich | Actual air fuel ratio rich |
| A |
| Lean | Lean/Rich | Air fuel ratio sensor malfunction |
| B |
| Rich | Lean/Rich | Air fuel ratio sensor malfunction |
| B |
|
| ||||
| A | |
| 5.READ VALUE USING TECHSTREAM (COOLANT TEMP) |
Connect the Techstream to the DLC3.
Turn the ignition switch to ON.
Turn the Techstream on.
Enter the following menus: Powertrain / Engine and ECT / Data List / Primary / Coolant Temp.
Read the Data List twice, when the engine is both cold and warmed up.
| Techstream Display | Condition | Specified Condition |
| Coolant Temp | Cold engine | Same as ambient air temperature |
| Warm engine | Between 75 and 100°C (167 and 212°F) |
|
| ||||
| OK | |
| 6.READ VALUE USING TECHSTREAM (MAF) |
Connect the Techstream to the DLC3.
Turn the ignition switch to ON.
Turn the Techstream on.
Enter the following menus: Powertrain / Engine and ECT / Data List / Primary / MAF, Coolant Temp and Engine Speed.
Allow the engine to idle until Coolant Temp reaches 75°C (167°F) or higher.
Read MAF with the engine speed at 3000 rpm.
| Techstream Display | Condition | Specified Condition |
| MAF | Shift lever position: N A/C: Off Engine Speed: 3000 rpm | Between 8 gm/sec and 22 gm/sec |
|
| ||||
| OK | |
| 7.CHECK FUEL PRESSURE |
Check the fuel pressure .
|
| ||||
| OK | |
| 8.CHECK FOR EXHAUST GAS LEAK |
Check for exhaust gas leaks.
|
| ||||
| OK | |
| 9.CHECK FOR SPARK (SPARK TEST) |
Perform a spark test .
| NEXT | |
| 10.INSPECT FUEL INJECTOR ASSEMBLY (INJECTION AND VOLUME) |
Check the injection and volume.
|
| ||||
|
| ||||
| 11.INSPECT AIR FUEL RATIO SENSOR (HEATER RESISTANCE) |
Inspect the air fuel ratio sensor (Click here).
|
| ||||
| OK | |
| 12.CHECK TERMINAL VOLTAGE (POWER SOURCE OF AIR FUEL RATIO SENSOR) |
![]() |
Disconnect the air fuel ratio sensor connector.
Turn the ignition switch to ON.
Measure the voltage according to the value(s) in the table below.
| Tester Connection | Switch Condition | Specified Condition |
| E19-2 (+B) - Body ground | Ignition switch ON | 11 to 14 V |
| *a | Front view of wire harness connector (to Air Fuel Ratio Sensor) |
|
| ||||
| OK | |
| 13.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.
| Tester Connection | Condition | Specified Condition |
| E19-1 (HA1A) - E26-23 (HA1A) | Always | Below 1 Ω |
| E19-3 (A1A+) - E26-133 (A1A+) | Always | Below 1 Ω |
| E19-4 (A1A-) - E26-134 (A1A-) | Always | Below 1 Ω |
| E19-1 (HA1A) or E26-23 (HA1A) - Body ground | Always | 10 kΩ or higher |
| E19-3 (A1A+) or E26-133 (A1A+) - Body ground | Always | 10 kΩ or higher |
| E19-4 (A1A-) or E26-134 (A1A-) - Body ground | Always | 10 kΩ or higher |
|
| ||||
| OK | |
| 14.REPLACE AIR FUEL RATIO SENSOR |
Replace the air fuel ratio sensor (Click here).
| NEXT | |
| 15.CHECK WHETHER DTC OUTPUT RECURS (DTC P0171 OR P0172) |
Connect the Techstream to the DLC3.
Turn the ignition switch to ON.
Turn the Techstream on.
Clear the DTCs (Click here).
Turn the ignition switch off and wait for at least 30 seconds.
Turn the ignition switch to ON.
Turn the Techstream on.
Start the engine and warm it up.
Drive the vehicle in accordance with the driving pattern described in Confirmation Driving Pattern.
Enter the following menus: Powertrain / Engine and ECT / Trouble Codes.
Read the DTCs.
| Result | Proceed to |
| DTC P0171 or P0172 is output | A |
| DTC is not output | B |
|
| ||||
| A | |
| 16.CHECK HARNESS AND CONNECTOR (MASS AIR FLOW METER SUB-ASSEMBLY CONNECTOR CONNECTION) |
Check the connection and terminal contact pressure of connectors and wire harnesses between the mass air flow meter sub-assembly and ECM (Click here).
| NEXT | |
| 17.CHECK WHETHER DTC OUTPUT RECURS (DTC P0171 OR P0172) |
Connect the Techstream to the DLC3.
Turn the ignition switch to ON.
Turn the Techstream on.
Clear the DTCs (Click here).
Turn the ignition switch off and wait for at least 30 seconds.
Turn the ignition switch to ON.
Turn the Techstream on.
Start the engine and warm it up.
Drive the vehicle in accordance with the driving pattern described in Confirmation Driving Pattern.
Enter the following menus: Powertrain / Engine and ECT / Trouble Codes.
Read the DTCs.
| Result | Proceed to |
| DTC P0171 or P0172 is output | A |
| DTC is not output | B |
|
| ||||
| A | |
| 18.CHECK HARNESS AND CONNECTOR (MASS AIR FLOW METER SUB-ASSEMBLY - ECM) |
Disconnect the mass air flow meter sub-assembly connector.
Disconnect the ECM connector.
Measure the resistance according to the value(s) in the table below.
| Tester Connection | Condition | Specified Condition |
| E14-5 (VG) - E26-91 (VG) | Always | Below 1 Ω |
| E14-4 (E2G) - E26-92 (E2G) | Always | Below 1 Ω |
| E14-5 (VG) or E26-91 (VG) - Body ground | Always | 10 kΩ or higher |
|
| ||||
| OK | |
| 19.REPLACE MASS AIR FLOW METER SUB-ASSEMBLY |
Replace the mass air flow meter sub-assembly (Click here).
| NEXT | |
| 20.CONFIRM WHETHER MALFUNCTION HAS BEEN SUCCESSFULLY REPAIRED |
Connect the Techstream to the DLC3.
Turn the ignition switch to ON.
Turn the Techstream on.
Clear the DTCs (Click here).
Turn the ignition switch off and wait for at least 30 seconds.
Turn the ignition switch to ON.
Turn the Techstream on.
Start the engine and warm it up.
Drive the vehicle in accordance with the driving pattern described in Confirmation Driving Pattern.
Enter the following menus: Powertrain / Engine and ECT / Trouble Codes.
Read the DTCs.
| Result | Proceed to |
| DTC is not output | A |
| DTC P0171 or P0172 is output | B |
|
| ||||
| A | ||
| ||
| 21.CHECK HARNESS AND CONNECTOR (AIR FUEL RATIO SENSOR - NO. 1 INTEGRATION RELAY) |
Disconnect the air fuel ratio sensor connector.
Remove the No. 1 integration relay from the engine room relay block and junction block assembly.
Measure the resistance according to the value(s) in the table below.
| Tester Connection | Condition | Specified Condition |
| E19-2 (+B) - 1A-7 | Always | Below 1 Ω |
| E19-2 (+B) or 1A-7 - Body ground | Always | 10 kΩ or higher |
|
| ||||
| OK | |
| 22.CHECK TERMINAL VOLTAGE (POWER SOURCE OF NO. 1 INTEGRATION RELAY) |
![]() |
Remove the No. 1 integration relay from the engine room relay block and junction block assembly.
Measure the voltage according to the value(s) in the table below.
| Tester Connection | Condition | Specified Condition |
| 1D-1 - Body ground | Always | 11 to 14 V |
| *a | Front view of wire harness connector (to No. 1 Integration Relay) |
|
| ||||
| OK | ||
| ||