On this page
P0171 means “System too lean (Bank 1)”. The engine computer has been adding more and more fuel to keep the air-fuel mixture correct, and it has reached its limit. In other words, the engine is getting more air than the ECM measured, or less fuel than it commanded. The most common causes are a vacuum leak (cracked hose, intake gasket, PCV or crankcase breather), a dirty or faulty MAF sensor that under-reads, low fuel pressure (weak pump, clogged filter, faulty regulator) and an exhaust leak before the front oxygen sensor.
Bank 1 is the side with cylinder 1. P0174 is the same fault on bank 2. If you have both P0171 and P0174 on a V6 or V8, the cause is shared by both banks (MAF, fuel pressure, a central vacuum leak), not something on one side.
The number that solves P0171: fuel trim
The ECM shows how much it is correcting the fuel as a percentage. Short-term fuel trim (STFT) changes many times a second. Long-term fuel trim (LTFT) is what it has learned over time. Add them together for the total correction. Positive numbers mean the ECM is adding fuel because the mixture is lean. A healthy engine usually stays within about ±10 % total. P0171 typically sets when the total goes past roughly +25 %, though the exact limit depends on the manufacturer.
Read the trims in three conditions with a warm engine: at idle, at a steady 2,500 rpm, and under load on a drive. The pattern tells you where to look:
| Fuel trim pattern | Most likely cause | Why |
|---|---|---|
| High at idle, close to normal at 2,500 rpm | Vacuum leak | A small leak is a big share of the little air an engine uses at idle, but a tiny share at higher rpm |
| High at all rpm and load | MAF sensor under-reading, or low fuel pressure | The error is proportional to how much air or fuel is flowing |
| Normal at idle, high under heavy load | Fuel supply that cannot keep up: weak pump, clogged filter, restricted pickup | Fuel demand is highest under load |
| Only bank 1 high on a V engine | Leak or injector problem on that bank, or an exhaust leak at that bank’s oxygen sensor | Shared causes would affect both banks |
What you will notice
- Check engine light, often with no obvious driving problem
- Rough or hunting idle, sometimes stalling when coming to a stop
- Hesitation when accelerating
- Misfire codes such as P0300, because lean cylinders misfire
- A hissing sound from the engine bay with the engine running (vacuum leak)
How to diagnose P0171 step by step
- Read the fuel trims as described above, and note the pattern. This one step usually halves the list of suspects.
- Smoke test the intake. A smoke machine finds vacuum leaks far faster than spraying cleaner around the engine. Check intake hoses after the MAF sensor, the PCV valve and its hoses, the brake booster hose, the intake manifold gasket and the dipstick and oil filler seals.
- Check the MAF sensor reading. As a rough guide, a healthy engine at warm idle draws about 1 gram per second for every litre of engine size, so about 2 to 3 g/s on a 2.0-litre engine. A much lower reading suggests a dirty or failing MAF. Clean it only with MAF sensor cleaner, never touch the element, and check the reading again.
- Measure fuel pressure with a gauge at idle and under load, and compare with the specification. On direct-injection engines also check the low-pressure supply, because a weak in-tank pump starves the high-pressure pump.
- Look for an exhaust leak before the front oxygen sensor. Air pulled in at a leaking manifold makes the sensor read lean, so the ECM adds fuel the engine did not need.
- Clear the adaptations and re-test. After the repair, reset the fuel trims (or let them relearn) and confirm that the total trim returns to near zero at idle and at 2,500 rpm.
Notes for VW and Audi petrol engines
- On VW Group petrol engines you may see P2187 “System too lean at idle” together with or instead of P0171. Treat it the same way, with extra focus on vacuum leaks.
- On many 1.8 and 2.0 TSI/TFSI engines a failed diaphragm in the PCV valve / oil separator on the engine is a well-known cause of lean codes at idle. A whistle from the engine, or strong suction when you open the oil filler cap with the engine running, is a typical sign.
- Check the intake hoses and the connections at the turbo and intercooler on turbo engines, as they can leak under boost and at idle.
Frequently asked questions
Can I drive with P0171?
Usually yes for a short time, if the car drives normally. A lean engine runs hotter and can misfire, so do not leave it for weeks, especially if misfire codes appear or the engine stumbles.
Can a dirty MAF sensor cause P0171?
Yes. A dirty MAF sensor reads less air than the engine really takes in, so the ECM injects too little fuel and then has to correct with a large positive fuel trim. That pattern shows at all rpm, not only at idle.
Will a new oxygen sensor fix P0171?
Rarely. The front oxygen sensor is usually correctly reporting a lean mixture. Replace it only if testing shows it is slow or stuck, or if there is an exhaust leak near it that cannot be fixed.
What is the difference between P0171 and P0174?
Both mean too lean. P0171 is bank 1, P0174 is bank 2. On an engine with one bank (most four-cylinders) you only see P0171. Both at once points to a cause shared by the whole engine.
Related codes: P0101 (MAF sensor range/performance), P0300 (random misfire) and P0420 (catalyst efficiency). More codes are in the fault code library.
Learn to read live data
Fuel trims are the most useful numbers a scan tool shows, and few people know how to read them. Our Car Electronics & Car Hacking course teaches you to use live data, test sensors and find the cause before you buy parts.


