Codes › P0171
P0171: System too lean (bank 1)
Powertrain (engine and transmission) · Fuel and air metering · Standard code (the same on every make)
What it means
The engine is getting more air than the computer can balance with fuel, so it's adding a lot of extra fuel (high positive fuel trim) and has hit its limit. P0171 is bank 1, P0174 is bank 2; both together usually point to something shared, like a vacuum leak or low fuel pressure.
This guide also covers: P0174 (System too lean (bank 2)); P2187 (System too lean at idle (bank 1)); P2189 (System too lean at idle (bank 2)); P0170 (Fuel trim malfunction (bank 1)); P0173 (Fuel trim malfunction (bank 2)); P2279 (Intake air system leak)
Symptoms
- Check engine light
- Rough or hunting idle, hesitation
- Sometimes misfire codes along with it
Common causes
- Vacuum leak: cracked hose, intake gasket, PCV valve or hose
- Dirty or failing mass air flow (MAF) sensor reading low
- Weak fuel pump, clogged filter or failing pressure regulator
- Exhaust leak before the front oxygen sensor
- Clogged fuel injectors
How to diagnose it
- Watch short- and long-term fuel trims in live data. If trims are high at idle but improve at 2,500 rpm, suspect a vacuum leak.
- If trims are high everywhere and worse under load, suspect fuel delivery or the MAF sensor.
- Listen for hissing and smoke-test the intake for leaks.
- Check the MAF reading: at idle it should be roughly 2 to 3 grams per second per liter of engine size.
Calculators that help with this code
Diag Hive tools that put numbers on the diagnosis.
Fuel trim analyzerFree →MAF & volumetric efficiency calculatorPro plans →Lambda & air-fuel ratio converterPro plans →
Is it safe to drive?
Usually yes for a short time, but a lean engine runs hotter and can misfire. Fix it soon.
Got this code right now? Diag Hive reads your car's codes with an OBD-II adapter, shows the freeze frame, and its AI tells you what to check first on your vehicle.
Other guides
P0420Catalyst system efficiency below threshold (bank 1)P0300Random / multiple cylinder misfire detectedP0172System too rich (bank 1)P0442EVAP system leak detected (small leak)P0128Coolant temperature below thermostat regulating temperatureP0401Exhaust gas recirculation (EGR) flow insufficient
More tools in Diag Hive
Read the codes on your carPlug in an OBD-II adapter and Diag Hive reads stored, pending and permanent codes, with their meanings.In Diag Hive →Ask the AI about your codesThe AI explains what your codes mean for your exact vehicle and what to check first.In Diag Hive →ABS, airbag & transmission codesScan the other modules too, not just the engine (beta).In Diag Hive →Freeze frame & readinessSee the conditions when a code set, and whether the car is ready for an emissions inspection.In Diag Hive →MAF & volumetric efficiency checkCompare your MAF reading with what the engine should be breathing, from live data.Coming soon to Diag HiveCam & crank timing calculatorTurn a scope's cam/crank offset in milliseconds into crankshaft degrees.Coming soon to Diag Hive
Other free tools
- acdiagnostics.app: AC pressure diagnosis & PT chart
- gearratio.app: Gear ratio, RPM & tire size