Fuel trim, lean and rich codes
Lean and rich codes mean the engine computer has corrected the fuel mixture as far as it is allowed and still cannot hit its target. Fuel trims tell you which way, how far and when.
How these codes work
Short term fuel trim reacts within seconds to the oxygen sensor. Long term fuel trim learns the average correction and stores it. Positive numbers mean the computer is adding fuel because it sees a lean mixture; negative numbers mean it is taking fuel away.
Lean codes (P0171 bank 1, P0174 bank 2, P2187 at idle) usually come from extra air after the MAF sensor, a MAF that reads low, or low fuel pressure. Rich codes (P0172, P0175) point the other way: a leaking injector, high fuel pressure, a MAF that reads high or a purge valve stuck open.
On a V engine, both banks lean at once points to something they share, such as the MAF, a large intake leak or fuel pressure. One bank only points to that bank: an injector, an intake gasket or an exhaust leak ahead of that sensor.

Codes in this group
Fuel Trim (Bank 1)
The engine computer has adjusted the fuel mixture on bank 1 as far as it is allowed and still cannot reach the correct air fuel ratio.
Urgency: Moderate to highP0171System Too Lean (Bank 1)
The engine computer is adding more fuel than it is allowed to on bank 1 and still sees a lean mixture, meaning there is too much air or too little fuel.
Urgency: ModerateP0172System Too Rich (Bank 1)
The engine computer has removed as much fuel as it is allowed to on bank 1 and the upstream oxygen sensor still reports a rich mixture.
Urgency: Moderate to highP0174System Too Lean (Bank 2)
The engine computer has added as much fuel as it is allowed to on bank 2 and the upstream oxygen sensor still reports a lean mixture.
Urgency: Moderate to highP0175System Too Rich (Bank 2)
The engine computer has removed as much fuel as it can on bank 2 and the upstream oxygen sensor on that bank still sees a rich mixture.
Urgency: Moderate to highP2187System Too Lean at Idle (Bank 1)
The engine computer found the bank 1 mixture too lean at idle, beyond what its fuel trim could correct.
Urgency: Moderate to highP2096Post Catalyst Fuel Trim System Too Lean (Bank 1)
The engine computer uses the oxygen sensor after the catalytic converter to fine tune fuel, and it reached its limit trying to correct a lean reading on bank 1.
Urgency: ModerateP2279Intake Air System Leak
The engine computer found that more air is entering the engine than the airflow sensor measured, which points to a leak in the intake system.
Urgency: Moderate to highP0087Fuel Rail/System Pressure - Too Low
The engine computer has detected that fuel rail or fuel system pressure is lower than the value it expects for the operating conditions.
Urgency: HighP0191Fuel Rail Pressure Sensor "A" Circuit Range/Performance
The engine computer found that the signal from fuel rail pressure sensor "A" is erratic or does not match what it expects.
Urgency: Moderate to highP0193Fuel Rail Pressure Sensor "A" Circuit High
The engine computer found that the signal from the fuel rail pressure sensor "A" is higher than its allowed limit.
Urgency: Moderate to highHow to narrow it down with a scanner
- Warm the engine fully and read short and long term trims at idle, then hold about 2,500 rpm. Add the two to get the total correction.
- High positive correction at idle that drops at 2,500 rpm suggests a vacuum leak. High correction at every speed points more at fuel delivery or MAF readings.
- Compare banks on a V engine and note which codes appear together.
- Check freeze frame for the load and temperature when the code set.
A code tells you which self test failed, not which part to replace. Follow the service information for your vehicle before buying parts.
Guides for this group
Read these codes on your own car
OBD Master Pro works with a generic ELM327 adapter on Android: read stored, pending and permanent codes, freeze frame and live data, and clear codes after a repair.
Other code groups
Published . General information for generic SAE codes. Always follow the service information for your specific vehicle.
