P0171 System Too Lean (Bank 1) means the engine computer has added as much extra fuel as it is allowed to and the mixture is still reading lean on the bank 1 side of the engine. It is a symptom code, not a part number: the cause is usually unmetered air (a vacuum leak), a mass airflow (MAF) sensor that under-reads, or not enough fuel getting to the injectors. The quickest way to tell these apart is to read short-term and long-term fuel trims in live data at idle and at about 2,500 rpm, then test the cause the trims point to before you replace anything.
Launch Dealer SA is based in Midrand, South Africa, and supplies LAUNCH diagnostic tools to workshops in South Africa and across Africa. This guide is for petrol engines with closed-loop fuel control. If you are new to reading data streams, start with our live data guide.
What P0171 means
On a petrol engine, the upstream oxygen sensor (or air-fuel ratio sensor) tells the engine control unit whether the exhaust is rich or lean. The ECU corrects the injector pulse to hold the mixture near the ideal ratio. That correction is the fuel trim.
When the ECU has to add fuel beyond its limit for long enough, it sets P0171 for bank 1. Its twin, P0174, is the same fault on bank 2 of a V6 or V8. The distinction matters:
- P0171 and P0174 together point to something common to both banks: a MAF fault, low fuel pressure, a leak in the intake after the MAF, or a large vacuum hose leak.
- P0171 alone on a V engine points to something on that bank only: an intake manifold gasket, a leaking injector seal or a blocked injector on bank 1, or an exhaust leak before that bank's oxygen sensor.
On an inline four-cylinder there is only bank 1, so P0171 on its own tells you less. The exact trim limit and how long it must be exceeded before the code sets vary by manufacturer, so treat the code as "the ECU ran out of correction", not as a fixed number.
Symptoms can be mild: a rough or hunting idle, hesitation, a lean misfire under load (sometimes with P0300-series misfire codes) or just the check engine light. Always note the freeze frame data before clearing: engine speed, load, coolant temperature and the trims at the moment the code set tell you whether it happened at idle, cruise or full load.
Short vs long term fuel trim
Two numbers do the work, both shown as a percentage in a scan tool's live data:
- Short-term fuel trim (STFT) is the instant correction. It moves quickly, swinging either side of zero as the oxygen sensor switches.
- Long-term fuel trim (LTFT) is the learned correction the ECU stores and keeps. When short-term trim sits on one side for a while, the ECU moves that amount into long-term trim.
A positive number means the ECU is adding fuel because it sees lean. A negative number means it is taking fuel away. So on a P0171 car you expect positive trims.
Read the total (short plus long term) rather than either number alone. Long-term trim of +18% with short-term at -2% means the engine still needs about +16% extra fuel. As a working rule, a healthy engine sits within roughly ±10% total. Beyond that, start looking for the cause, even if no code has set yet.
The idle vs 2,500 rpm test. With the engine warm and in closed loop:
- Note total trim at idle.
- Hold the engine at about 2,500 rpm for a minute and note it again.
What the change tells you:
- High at idle, close to normal at 2,500 rpm: a vacuum leak. A fixed leak is a big share of the small airflow at idle and a tiny share at higher rpm.
- High at idle and at 2,500 rpm, or worse as load rises: suspect fuel delivery (pump, filter, regulator) or a MAF that under-reads.
- Lean on one bank only: something on that bank: injectors, manifold gasket, or an exhaust leak before that sensor.
Then drive the car and watch the same numbers under light and heavy load. Fuel delivery problems often get worse under load, when the engine needs the most fuel.
Vacuum leaks
Unmetered air is the most common cause of P0171. Any air that enters after the MAF sensor is never measured, so the ECU injects too little fuel for it. Common places to check:
- Cracked or split intake boots between the MAF and the throttle body.
- Perished vacuum hoses and brake booster hoses.
- Intake manifold gaskets and throttle body gaskets.
- PCV valves, hoses and oil filler caps that don't seal.
- Leaking injector O-rings.
A smoke test is the most reliable way to find a leak: seal the intake, feed in smoke, and watch where it escapes. Listening for a hiss works for big leaks but misses small ones.
Two traps to avoid:
- Exhaust leaks before the upstream oxygen sensor pull in outside air on the exhaust pulses. The sensor reads lean although the engine is not, and the ECU adds fuel. Check manifold gaskets and cracked manifolds, especially on older cars.
- Speed density engines (with a MAP sensor and no MAF) react to leaks differently, because they calculate airflow from manifold pressure. A leak still shows as a lean trim, but the idle vs 2,500 rpm pattern can be less clear-cut. Check the MAP reading against a known-good value for that engine.
MAF and fuel pressure
MAF sensor. If the MAF reports less air than the engine actually takes in, the ECU injects too little fuel and the trims go positive, often worse at higher airflow. A dirty sensor element, a damaged element, or air entering after the sensor all cause this. In live data, compare the MAF reading at idle and at 2,500 rpm with the expected value for that engine size; a common rough check on many petrol engines is a few grams per second at idle, rising steadily with rpm, but the correct figure depends on the engine, so use the vehicle's repair data where you have it. Clean the sensor only with a cleaner made for MAF sensors, never touch the element, and re-test. If the trims come back to normal, you have the answer.
Fuel pressure. A weak pump, a blocked filter, a faulty pressure regulator or a restricted pickup all starve the injectors. Test with a mechanical fuel pressure gauge at the rail and compare with the specification for that vehicle, at idle and under load. Some vehicles also report a fuel pressure value in live data, but a gauge reading is still the proof. Check fuel quality too: water in the fuel or a contaminated tank can cause lean running.
Injectors. A blocked or sticking injector leans out one cylinder. Look for a misfire count on one cylinder alongside lean trims. On vehicles where the scan tool supports it, injector actuation tests help confirm the injector circuit works, but flow problems still need a flow test or a swap test.
Confirming the repair
A P0171 repair is only confirmed when the trims say so:
- Clear the codes. On many vehicles this also resets the learned long-term trim; on others there is a separate adaptation reset in the scan tool.
- Let the engine warm up into closed loop and repeat the idle and 2,500 rpm checks. Total trim should now sit close to zero.
- Road test under the same conditions recorded in the freeze frame.
- Check that the readiness monitors have completed and that no pending code has returned.
If trims improve but stay high, there may be a second fault. Old cars often have a small vacuum leak and a tired MAF at the same time.
What a scan tool can't do: it won't find the leak or measure fuel volume for you. It shows you where to look. Smoke machines, fuel pressure gauges and a multimeter still finish the job. If the car also has a catalyst code, fix the lean condition first and see our P0420 catalyst efficiency guide.
Tools
Any scan tool that reads generic OBD2 data will show fuel trims, so the tool choice is about speed and depth:
- [LAUNCH CRP129X Plus V3](/products/launch-crp129x-plus-v3-all-systems-diagnostics) (R5,500 at the time of writing): reads and clears codes on all systems and shows live data, with eight reset functions including throttle matching. A sensible first tool for reading fuel trims and freeze frame data.
- [LAUNCH CRP919X/E BT](/products/launch-crp919x-e-bt-obd2-scanner) (R9,650 at the time of writing): a 7-inch Android tablet with Bluetooth connection, so you can watch trims from the driver's seat on a road test without a cable across the cabin.
- [LAUNCH X-431 PROS Elite](/products/launch-x-431-pros-elite-professional-diagnostic-scanner) (R11,590 at the time of writing): adds bi-directional active tests. Depending on the vehicle, that includes testing fuel pumps and injectors, plus throttle adaptation after you have cleaned or replaced a throttle body.
Coverage of specific live data values and active tests depends on the vehicle. Send us the make, model, year and engine and we'll confirm before you buy. Tools are sold for your sales territory, and LAUNCH restricts software updates by territory.
Can't get to Midrand? Book a WhatsApp video demo and we'll show the fuel trim screens on the tool you're considering. Or visit us at Shop AG008, Midrand Motor City.
FAQ
What causes P0171? Most often a vacuum leak (unmetered air after the MAF sensor), a MAF sensor that under-reads, or low fuel pressure from a weak pump, blocked filter or faulty regulator. Leaking injector seals, a blocked injector and an exhaust leak before the upstream oxygen sensor can also set it.
Can a dirty MAF cause a lean code? Yes. A dirty MAF sensor reports less air than the engine takes in, so the ECU injects too little fuel and the trims go positive, often more so at higher rpm. Clean it with a MAF-specific cleaner and re-check the trims before replacing it.
What fuel trim is normal? As a working rule, total fuel trim (short plus long term) within about ±10% is healthy. Higher positive numbers mean the ECU is adding fuel to correct a lean mixture. The exact limit at which a code sets varies by manufacturer.
Questions we get asked
What causes P0171?
Most often a vacuum leak (unmetered air after the MAF sensor), a MAF sensor that under-reads, or low fuel pressure from a weak pump, blocked filter or faulty regulator. Leaking injector seals, a blocked injector and an exhaust leak before the upstream oxygen sensor can also set it.
Can a dirty MAF cause a lean code?
Yes. A dirty MAF sensor reports less air than the engine takes in, so the ECU injects too little fuel and the trims go positive, often more so at higher rpm. Clean it with a MAF-specific cleaner and re-check the trims before replacing it.
What fuel trim is normal?
As a working rule, total fuel trim (short plus long term) within about ±10% is healthy. Higher positive numbers mean the ECU is adding fuel to correct a lean mixture. The exact limit at which a code sets varies by manufacturer.


