P0171

P0171: System too lean, bank 1

For your specific vehicle: P0171 on a 2017–2018 Alfa Romeo Giulia · 2006–2018 BMW 3 Series · 2015–2019 BMW X6 · 2015–2022 Chevrolet Trax · 2016–2021 Honda Civic · 2019–2024 Toyota RAV4

DIY difficulty 2/5

Print shop one-pager Take this page to the shop — causes, fair prices, and sharp questions on one sheet.

At a glance

What it meansYour engine is running lean on bank 1 - too much air or too little fuel. Usually a vacuum leak. Drivable, but don't ignore it: lean running overheats the catalytic converter and can damage it over time.
Most common causeVacuum leak (cracked breather/PCV hoses - very common with age)
Can you drive?Short trips and gentle driving only, until you know the cause.
SeverityModerate
DIY cost (parts only)$10 – $1000
Shop cost (parts + labor)$10 – $2100
DIY difficulty2 of 5 — Finding the leak is the work; fixing it is usually a hose or gasket.

Can I drive with P0171?

Can I drive with a P0171 code?

Short trips and gentle driving only, until you know the cause. Safe to drive to a shop, but diagnose soon - prolonged lean running damages the catalytic converter. If the check-engine light starts flashing, the engine shakes badly, or the car loses significant power, pull over safely and have it towed.

How serious is P0171?

Moderate. WrenchFair rates this one “Diagnose soon” — the car can usually get you home, but driving on it can turn a cheap fix into an expensive one. Safe to drive to a shop, but diagnose soon - prolonged lean running damages the catalytic converter.

Will P0171 go away on its own?

The warning light can turn off by itself after clean drive cycles, but the code stays stored in the computer's memory and the fault is still there. Clearing it without fixing the cause just buys time — it will come back when the computer re-runs the self-test. Exception: a loose gas cap — tighten it and drive a few days.

More detail: can I drive with P0171? →

Your engine is running lean on bank 1 - too much air or too little fuel. Usually a vacuum leak. Drivable, but don't ignore it: lean running overheats the catalytic converter and can damage it over time.

VW/Audi note (VCDS): Compare long-term fuel trim at idle vs 2500 RPM - high at idle that improves with RPM means a vacuum leak; high everywhere means MAF or fuel delivery.
Model notes: Bank 1 is the bank containing cylinder 1; on inline engines there is only bank 1. Smoke-testing the intake tract is the fastest way to find the leak.

Key facts

Symptoms

Likely causes

Owner notes linked to P0171: 6 across 3 repairs — these are counts of owner-written notes, not odds of fixing your car.

Too many suspects? Answer 4–6 quick questions and this page's published cause list re-orders itself for your situation — plus the cheapest test to run next. Start the elimination wizard →

Before you buy the part — 4 checks

Work these checks before spending money — each one rules a cause in or out, cheapest first.

  1. Smoke-test the intake tract - the fastest way to find the leak Tests: Vacuum leak - cracked breather/PCV hoses, intake boots, gaskets (very common with age)
  2. Check fuel trims at idle vs under load: high at idle that improves with RPM = vacuum leak; high everywhere = MAF or fuel delivery Tests: Vacuum leak - cracked breather/PCV hoses, intake boots, gaskets (very common with age)
  3. Inspect the PCV system and all breather hoses for cracks Tests: Vacuum leak - cracked breather/PCV hoses, intake boots, gaskets (very common with age)
  4. Check the MAF reading against spec in live data

No scan tool yet? The Veepeak OBDCheck (~$32) reads and clears codes from your phone in about two minutes.

Typical price range

Parts$10 – $1000
Labor$0 – $1100

Three paths, very different prices: hose, PCV, or vacuum leak — or a MAF cleaning — $10-$280; intake manifold gaskets $300-$1,200 at an independent shop; fuel pump $400 DIY to $2,100 at a dealer (common Prius numbers). A smoke test to find the leak runs $40-$100. The ranges above span all paths; match the tier to your situation. National-average estimate. Actual quotes vary by vehicle, region, and shop — get a local written estimate. Corrected 2026-10-09 against real-world price evidence (Phase 2 adversarial audit).

Dealer vs independent shop: these ranges reflect typical independent-shop prices. A dealer will usually quote higher — higher labor rates plus OEM-only parts — so a dealer quote at the top of (or a bit above) this range isn't automatically a rip-off. For a big dealer number, get a second quote from an independent shop before authorizing the work.

Got a shop quote? Grade it →

What will this cost to fix? A code doesn’t name the repair — run the code-first estimator to see the most likely fixes for P0171 ranked, each with a price range.
They handed you a printout at the parts store? Decode it before you buy.

DIY difficulty

2 of 5 — Finding the leak is the work; fixing it is usually a hose or gasket.

Watch this repair on YouTube

Parts & tools

Fuel system toolkit — what the job actually takes

Torque specs: Fuel rail bolts: typically 8–12 Nm — verify spec.

Pro tip: Relieve fuel pressure first (pull the pump fuse, run the engine until it stalls). Work cold, battery disconnected, extinguisher within reach — no power tools near open fuel.

As an Amazon Associate, WrenchFair earns from qualifying purchases.

Related codes

🔍 Seeing multiple codes? Combinations mean something different than codes alone. How to read code combinations →
🔌 Read your spark plugs This code names the unhappy system; your plugs show what the combustion actually looks like. Pull one and match it to the visual chart — how to read your spark plugs →
Check another code
Got a quote?Grade it →Shop one-pagerPrint it →Another code?Look it up →
Who's behind this guide? WrenchFair is built by a fellow DIYer, not a repair shop. Code meanings follow the SAE J2012 standard; cause rankings come from real-world repair evidence (service bulletins, owner reports, NHTSA records); prices are typical US ranges, not quotes. Read the full methodology →