# OBD2 Scanner for P0171 Code

What a P0171 code from your OBD2 scanner means, how fuel trim readings point to a lean fuel mixture, and which checks to run before replacing parts.

A P0171 code on an OBD2 scanner reports that the engine is running a lean fuel mixture on the first bank of cylinders. The code is the factory label for system too lean, so the scanner is telling you the engine received more air than the fuel it measured could match. This page explains what the scan tool shows, how fuel trim numbers guide the diagnosis, and where to start checking before you buy parts. 

## What the P0171 code actually reports 

The P0171 code means the powertrain control module has added fuel beyond its allowed limit to fix a lean fuel mixture on bank one. The module watches the oxygen sensor and adjusts injector pulse width to hold the air-fuel ratio, a correction called fuel trim. When that correction stays at its positive limit, the module sets system too lean. Bank one is the cylinder group that contains cylinder number one, so a V engine can log this code on one side only. 

## Fuel trim numbers that point the way 

Fuel trim readings on a live data screen separate an air leak from a fuel supply fault. Positive long-term fuel trim near its limit shows the module is adding fuel to correct a lean condition. If the positive trim drops toward zero when engine speed rises, unmetered air is entering after the mass airflow sensor. If trim stays high across the range, suspect weak fuel delivery or a sensor reading low. Short-term trim moves quickly, so read it alongside the long-term value before judging. 

## Checks before you replace parts 

A lean mixture on bank one can come from a vacuum leak, a dirty mass airflow sensor, a weak fuel pump or a clogged filter. Inspect intake hoses and gaskets for cracks, and check the PCV hose and intake manifold seals for leaks. Compare live fuel trim with a propane or smoke test to confirm where extra air enters. Fuel pressure testing and a look at the sensor reading confirm whether fuel delivery or air measurement is at fault, and a trained technician should handle pressure tests on a high-pressure fuel system. 

## Questions About the P0171 Code 

### Can a basic OBD2 scanner read code P0171? 

Yes, a basic OBD2 scanner can read code P0171 because it is a standard powertrain code available through the diagnostic link connector. The tool shows the code and freeze-frame data captured when the fault was set. A scanner with live data adds fuel trim values, which help you see how far the mixture leans. Reading the code alone does not confirm the cause, so plan on further checks. 

### Does P0171 mean I need a new oxygen sensor? 

No, P0171 does not by itself mean the oxygen sensor has failed. The code reports a lean fuel mixture that the engine control module could not correct, and a vacuum leak or weak fuel delivery causes it just as often. A sensor that reads low can set the code, so compare its signal with fuel trim readings before replacing it. Test the sensor rather than swapping it on the code alone. 

### Can I drive with a P0171 code showing? 

A vehicle showing P0171 can often be driven, but a lean fuel mixture raises combustion temperature and strains engine components. Drive gently and keep the trip short until you find the cause, and stop if the engine misfires or loses power. A lean condition left unrepaired can damage valves and pistons over time. Have the fault diagnosed promptly to avoid a larger repair. 

### What does system too lean mean on a scan tool? 

System too lean means the engine control module measured more air in the exhaust than the fuel it injected should produce. The module responds by adding fuel, and the P0171 code appears when that correction reaches its limit. Extra air from a leak or too little fuel from a weak pump produces the same reading. Track which side of the engine sets the code to narrow the search.
