P0171
System too Lean (Bank 1)P0171 is a generic OBD-II powertrain diagnostic trouble code: System too Lean (Bank 1). It is logged by the engine control unit when the o2/lambda monitor detects that a specific fault threshold has been exceeded — typically resulting in the malfunction-indicator lamp (MIL / check-engine light) being illuminated.
What P0171 means
P0171 — System Too Lean (Bank 1) — is set when the Powertrain Control Module (PCM) detects that the air/fuel mixture on Bank 1 (the engine bank containing cylinder #1) is running excessively lean for approximately 20 consecutive seconds. A lean condition means the mixture contains too much air relative to fuel, deviating significantly from the stoichiometric ideal of 14.7:1. The PCM determines this by monitoring the upstream oxygen (or air/fuel ratio) sensor's feedback and observing that fuel trim corrections have reached their maximum limit without restoring the target ratio.
The root cause is almost always either too much unmetered air entering the intake tract (such as through a vacuum leak or cracked intake hose) or insufficient fuel being delivered (due to low fuel pressure, a weak fuel pump, or clogged injectors). A contaminated or failing Mass Air Flow sensor can also report incorrect airflow, causing the PCM to command too little fuel. P0171 is the Bank 1 counterpart to P0174 (Bank 2); if both codes appear simultaneously, a shared cause such as a failed fuel pump or large vacuum leak is strongly indicated.
While the vehicle may remain driveable in mild cases, ignoring P0171 carries real risk: a chronically lean mixture runs hot, which can damage the catalytic converter and, over time, lead to engine misfires, valve damage, or pre-ignition. Prompt diagnosis is recommended.
Common causes
Most-frequently reported root causes when P0171 is logged.
-
1
Vacuum leak — cracked or disconnected intake hose, manifold gasket, or vacuum line
-
2
Defective or contaminated Mass Air Flow (MAF) sensor
-
3
Low fuel pressure due to a weak fuel pump or clogged fuel filter
-
4
Leaking or stuck-open PCV valve introducing unmetered air
-
5
Faulty or clogged fuel injector(s) on Bank 1
-
6
Failed fuel pressure regulator causing insufficient fuel delivery
-
7
Exhaust leak upstream of the Bank 1 oxygen sensor skewing feedback
-
8
Defective upstream oxygen or air/fuel ratio sensor on Bank 1
Symptoms drivers notice
How to diagnose P0171
A typical diagnostic flow when this code is present.
-
1
Connect an OBD-II scanner, record all stored codes and freeze frame data, and resolve any additional codes before addressing P0171
-
2
Inspect the entire intake tract from air filter to throttle body for cracks, splits, loose clamps, or disconnected hoses
-
3
Check all vacuum lines, the PCV valve hose, and brake booster hose for cracks or improper seating; use a manual vacuum pump to test check valves
-
4
Clean or test the MAF sensor — a contaminated sensor is a very common cause; use MAF-safe cleaner and retest
-
5
Perform a fuel pressure test at idle and under load to rule out a weak pump or failing fuel pressure regulator
-
6
Inspect upstream Bank 1 oxygen sensor wiring and connector for damage; verify sensor response is not lazy or flatlined with live data
-
7
Check for exhaust leaks near the Bank 1 pre-cat oxygen sensor bung, which can introduce false lean readings
Vehicles where we've handled P0171
Platforms in our catalogue with confirmed P0171 coverage.
Related powertrain codes
- P0040 — Upstream Oxygen Sensors Swapped From Bank To Bank
- P0041 — Downstream Oxygen Sensors Swapped From Bank To Bank
- P0130 — O2 Sensor Circuit Malfunction (Bank 1 Sensor 1)
- P0131 — O2 Sensor Circuit Low Voltage (Bank 1 Sensor I)
- P0132 — O2 Sensor Circuit High Voltage (Bank 1 Sensor 1)
- P0133 — O2 Sensor Circuit Slow Response (Bank 1 Sensor 1)
Frequently asked questions
Can I drive with a P0171 code?
Short distances are possible if the vehicle is idling and accelerating smoothly, but continued driving risks overheating the catalytic converter and causing engine damage. The fault should be diagnosed and repaired promptly.
What is the difference between P0171 and P0174?
Both indicate a lean air/fuel mixture but on different engine banks. P0171 is Bank 1 (the bank containing cylinder #1) and P0174 is Bank 2. If both codes are present simultaneously, the cause is likely shared — such as a failing fuel pump or large intake vacuum leak — rather than a bank-specific component.
Will cleaning the MAF sensor fix P0171?
It often does if a dirty MAF is the cause. A contaminated MAF under-reports airflow, causing the PCM to deliver too little fuel. Cleaning with MAF-safe electrical cleaner is a low-cost first step, but if the sensor is damaged internally it will need replacement.
Can a bad oxygen sensor cause P0171?
Yes. A lazy, slow-responding, or biased upstream oxygen sensor on Bank 1 can send incorrect lean feedback to the PCM, triggering P0171 even when the actual mixture is correct. Live data showing a flatlined or very slow waveform on the Bank 1 sensor is a strong indicator.
Disabling P0171 in software
RaceTune can permanently disable P0171 — and any other OBD-II diagnostic trouble code — on every ECU family we support. The monitor is disabled inside the ECU itself, so the fault stops being logged: the warning light stays off and the engine never enters limp mode for this code. The change is tied to your exact software version.
ECUs with a P0171 disable in our catalogue
Confirmed coverage from our recipe database — we support many more families. Upload your file and our identifier will match it automatically.
- Bosch EDC17C50 verified 1 software version
Software modifications affect emissions compliance and are not road-legal in many jurisdictions. RaceTune service files are intended for motorsport, off-road, and export use.
Got P0171 in your scan?
Upload your ECU file — we'll identify the exact software version and confirm whether a disable is available for your car.
Upload your file