P0171 — System too lean (bank 1)
P0171 is one of the most searched codes in the world and one of the most misdiagnosed. The oxygen sensor is usually the part that reports the problem, not the part that causes it.
What the code actually means
The ECU adds fuel until the oxygen sensor reads stoichiometric. When it reaches the limit of its correction — typically around +25% long-term trim — and the mixture is still lean, it sets P0171. The code literally means "I have run out of adjustment".
That limit is the key to diagnosis. Something is letting in air that the ECU did not measure, or delivering less fuel than it thinks. The oxygen sensor is the messenger.
What you will notice
- A rough or hunting idle, sometimes a stall when coming to a stop
- Hesitation on acceleration and a general lack of power
- Fuel economy that may go up or down depending on the cause
- Long-term fuel trim pinned high on a scanner
- Eventually P0300 misfires and P0420 as the lean mixture damages everything downstream
Our order of checks
| Cause | Our category | Why it is on the list |
|---|---|---|
| Vacuum or intake leak after the MAF | — | The single most common cause. Splits in intake hoses, intake gaskets, brake booster lines and PCV hoses all do it. |
| Dirty or under-reading MAF | Mass air flow sensors | The ECU fuels for less air than enters. Reading low is the same as a leak, from the mixture's point of view. |
| Low fuel pressure | Fuel pumps, Fuel pressure regulators | A weak pump or a leaking regulator delivers less fuel at the same injector pulse. |
| Clogged injectors | Fuel injectors | Partial blockage leans the whole bank. Worse under load. |
| Aged oxygen sensor | Oxygen sensors | A sensor that reads lean when the mixture is fine makes the ECU add fuel until it hits the limit. Less common than people think, and always the last thing to replace. |
| Leaking EVAP purge valve | Canister purge valves | A stuck-open purge valve feeds unmetered fuel vapour — usually rich, but it can confuse trim badly. |
Test before you buy
- Read short-term and long-term fuel trim at idle and at 2,500 rpm. High at idle and normal at speed means a vacuum leak. High at both means fuel delivery or a sensor reading.
- Smoke test the intake. It finds in a minute what hands find in an hour.
- Check fuel pressure under load. A pump that holds pressure at idle can still fall short at 3,000 rpm.
- Only after those check out, compare the upstream oxygen sensor's switching behaviour with the downstream one.
The expensive mistake
Changing the oxygen sensor first because the code is "lean". The sensor is doing its job: it is telling you the engine is lean. If you fit a new sensor and the leak is still there, the code comes back and you have spent the customer's money on the wrong part twice.
Parts we stock for a P0171
Stocked numbers and fitment for these categories are in the catalogue; message us with the car details and we will pick the right one.
| Our category | Part numbers | When |
|---|---|---|
| Mass Air Flow Sensors | 73 | Check the reading, not the part |
| Oxygen Sensors | 748 | Last, not first — the sensor reports lean, it rarely causes it |
| Fuel Injectors | 168 | When fuel delivery is the cause |
| Fuel Pumps | 780 | Pressure under load |
| Fuel Pressure Regulators | 4 | Check for a leaking regulator |
| Canister Purge Valves | 132 | A stuck purge valve skews trim |
Questions we get
Will a new oxygen sensor fix P0171?
Can I drive with a P0171?
What fuel trim number means P0171 is serious?
Contact
广州驭盟扬汽配 · Guangzhou Yumengyang Auto Parts Co., Ltd.
E05, Yiyou (Guangyuan East) Auto Parts City, Baiyun District, Guangzhou, China
Send us the code, the car and the year. If this page points at several parts, we will tell you which one to change first — and which one not to change.