P0171 — System Too Lean (Bank 1)
ModerateQuick answer
P0171 means the engine computer is adding as much fuel as it can on bank 1 and the mixture still reads lean. The most common cause by far is unmetered air — a vacuum leak — followed by a dirty MAF sensor and weak fuel delivery.
What it means
Your engine constantly fine-tunes its air-fuel mixture using oxygen sensor feedback (“fuel trim”). P0171 sets when the computer has pushed that correction to its limit on bank 1 and the exhaust still reads too lean (too much air for the fuel). Bank 1 is the side of the engine containing cylinder 1; on inline engines there’s only one bank.
A lean condition almost always means air is sneaking in after the MAF sensor measures it — a vacuum leak — so the computer fuels for less air than the engine actually receives. The other big causes: a dirty MAF under-reading airflow, and fuel delivery that can’t keep up.
If P0171 and its sibling P0174 (the other bank) appear together, the cause is shared — think MAF sensor, fuel pressure, a big vacuum leak at the intake, or exhaust leaks before the sensors — rather than something on one side of the engine.
Common causes
Ordered from most to least likely.
- 1.
Vacuum leak after the MAF sensor
The #1 cause: cracked intake boot, brittle vacuum hoses, intake manifold gasket, or a stuck/failed PCV valve.
- 2.
Dirty MAF sensor
Contaminated sensing wire under-reports airflow. A $10 can of MAF cleaner is the cheapest possible first fix.
- 3.
Weak fuel delivery
Tired fuel pump, clogged filter, or a failing pressure regulator — lean shows up under load first.
- 4.
Clogged fuel injectors
Restricted spray on the affected bank.
- 5.
Exhaust leak before the upstream O2 sensor
Outside air reaching the sensor mimics a lean mixture.
- 6.
PCV system fault
A failed valve or torn diaphragm (common on some European engines) is a built-in vacuum leak.
How to diagnose it, step by step
Cheapest and most likely checks first.
-
1 Read fuel trims in live data
Confirm long-term trim strongly positive on bank 1. Watch trims at idle vs. 2,500 RPM: a vacuum leak shows big positive trim at idle that improves with RPM; weak fuel delivery shows the opposite.
-
2 Hunt the vacuum leak
Inspect the intake boot end to end (cracks open up when flexed), every vacuum hose, and the PCV valve and hose. Spray carb cleaner around the intake gasket at idle — an RPM change marks the spot. Smoke testing finds the stubborn ones.
-
3 Clean the MAF sensor
Ten minutes and a can of MAF cleaner. If trims improve noticeably afterward, you found it.
-
4 Test fuel pressure under load
Healthy at idle but sagging under acceleration condemns the pump or filter.
-
5 Check for exhaust leaks
Listen cold-start ticking near the manifold; a leak upstream of the O2 sensor falsifies the lean reading.
Parts & tools you may need
- OBD-II scanner (code reader with freeze frame / live data)
- MAF sensor cleaner (MAF-specific — never carb cleaner on the MAF)
- Carb/brake cleaner (vacuum leak testing)
- Fuel pressure gauge
- Smoke machine (or shop smoke test)
- Vacuum hose assortment / intake gasket as found
Disclosure: some links are affiliate links. If you buy through them, we may earn a commission at no extra cost to you.
Related codes
Frequently asked questions
- Can I drive with P0171?
- Usually yes for a while — but a lean engine runs hotter, risks misfires and pinging, and long-term can damage the catalytic converter. Fix it soon, especially if drivability suffers.
- What’s the difference between P0171 and P0174?
- Same condition, other side of the engine: bank 1 contains cylinder 1, bank 2 is the opposite side. Both codes together = shared cause (MAF, fuel pressure, big vacuum leak); one code = look on that bank.
- What should fuel trim numbers look like?
- Healthy long-term trims live within about ±5–8%. Beyond ±10% the computer is compensating for something real; ±25% is typically where the code sets.
- Why is my idle rough but the highway fine?
- A vacuum leak is a fixed amount of extra air, so it dominates at idle (low airflow) and fades at speed (high airflow). That idle-only pattern is practically a vacuum-leak signature.