# P0171 — System Too Lean (Bank 1)

> ClearTheCode diagnostic code reference (not OEM service data).

Source: https://clearthecode.com/codes/P0171

**System:** Powertrain · Fuel & Air Metering

**Severity:** moderate

## Description

The engine is running with too much air relative to fuel on Bank 1. Top causes: vacuum leak, dirty MAF sensor, weak fuel pump, clogged fuel filter, faulty oxygen sensor, leaking intake manifold gasket.

## Diagnostic snapshot

- **Difficulty:** 6/10 — Intermediate diagnostics
- **Est. repair cost:** $40 – $450
- **Common symptoms:** Check engine light (MIL), Rough idle, Poor fuel economy

## Diagnostic workflow

1. Confirm P0171 with a live scan — note pending vs stored and freeze frame data.
2. Verify reported symptoms: Check engine light (MIL), Rough idle, Poor fuel economy.
3. Inspect wiring/connectors and related sensors before replacing modules.
4. Most likely fixes: Diagnose and repair vacuum / air leak; Replace oxygen sensor(s); Clean or replace MAF sensor.
5. Clear codes and road-test; re-scan after two drive cycles if the monitor must set.

## Likely fixes

1. **Diagnose and repair vacuum / air leak** (moderate)
2. **Replace oxygen sensor(s)** (easy)
3. **Clean or replace MAF sensor** (easy)

## Related articles

- [Engine Vacuum Leak Causing Rough Idle & Lean Codes 2019 Toyota Prius Prime](https://clearthecode.com/articles/engine-vacuum-leak-rough-idle-lean-toyota-prius-prime-phev-2019)
- [Engine Vacuum Leak: Rough Idle & Lean Codes on 2020 Highlander](https://clearthecode.com/articles/engine-vacuum-leak-rough-idle-lean-toyota-highlander-2020)
- [Engine Runs Lean with Check Engine Light 2017 Toyota Rav4](https://clearthecode.com/articles/engine-runs-lean-check-engine-toyota-rav4-2017)
- [Engine Running Lean Diagnosis 2018 Toyota Corolla Im](https://clearthecode.com/articles/engine-running-lean-diagnosis-toyota-corolla-im-2018)
- [Engine Running Lean Diagnosis 2019 Toyota 86](https://clearthecode.com/articles/engine-running-lean-diagnosis-toyota-86-2019)
- [Engine Running Lean with Check Engine Light 2020 Toyota Mirai](https://clearthecode.com/articles/engine-runs-lean-check-engine-light-toyota-mirai-2020)
- [Engine Running Lean Diagnosis 2019 Toyota Camry](https://clearthecode.com/articles/engine-running-lean-diagnosis-toyota-camry-2019)
- [Engine Vacuum Leak Symptoms 2001 Toyota Corolla](https://clearthecode.com/articles/engine-vacuum-leak-symptoms-8642-toyota-corolla-2001)
- [Engine Vacuum Leak Causing Hissing Sound 1999 Ford F-450](https://clearthecode.com/articles/engine-vacuum-leak-hissing-sound-ford-f-450-1999)
- [Engine Vacuum Leak Symptoms 1999 Ford Crown Victoria](https://clearthecode.com/articles/engine-vacuum-leak-symptoms-8642-ford-crown-victoria-1999)
- [Engine Running Lean Diagnosis: 1997 Ford At8513 Troubleshooting](https://clearthecode.com/articles/engine-running-lean-diagnosis-ford-at8513-1997)
- [P0171 field guide: system too lean (Bank 1)](https://clearthecode.com/articles/p0171-system-lean-bank1-field-guide)
