← All articles

Engine & warning lights

P0171/P0174 Codes: Lean Air-Fuel Mixture and How to Pinpoint the Leak Source

Explaining lean mixture codes P0171 and P0174, the difference between bank 1 and bank 2, and how to precisely locate an air leak.

DriveMet editorial teamLast reviewed 2026-08-318 min readOur methodology & sources
OBD2 scan tool plugged in under a car dashboard showing diagnostic data
Illustrative photo: a fault code is a starting point for diagnosis, not a verdict on which part failed.

The short version

Fixing a cracked vacuum hose usually costs $13-$48 (SAR 50-180), while replacing a full intake manifold gasket ranges $80-$240 (SAR 300-900) including labor due to difficult acces…

  • 5 symptoms you can check yourself
  • 6 diagnosis steps in order
  • 4 FAQs answered directly
  • Last editorial review: 2026-08-31 · 8 min read

The problem in brief

Code P0171 (bank 1 too lean) and P0174 (bank 2 too lean) appear when the oxygen sensor detects more air entering than fuel injected, prompting the computer to compensate by increasing fuel trim up to a certain limit — once exceeded, the code gets stored. The source is often an unmetered air leak located right after the mass airflow sensor (MAF), since any air entering past that point isn't measured, throwing off the mixture calculation, while a leak before the sensor has less impact since it gets accounted for in the reading.

Root technical cause

  • Cracked or partially disconnected vacuum hose right after the mass airflow sensor (MAF)
  • Oil dipstick not seated tightly, allowing unmetered air in
  • Damaged valve cover or intake manifold gasket allowing a slight leak
  • Dirty MAF sensor giving a reading lower than actual incoming air
  • Weak or partially clogged fuel injector reducing actual injected fuel despite correct computer command

Real-world symptoms

  • Check engine light on with P0171 and sometimes P0174 together in V6 or V8 engines
  • Slight idle vibration that becomes more noticeable with the A/C running
  • Hesitation or stumbling on sudden acceleration from low speed
  • A faint 'sucking' or whistling sound from the intake manifold area in some obvious leak cases
  • Slightly higher fuel consumption than usual despite unchanged driving pattern

How it is repaired correctly

  1. Monitor live short/long-term fuel trim data with an OBD tool at idle and acceleration to gauge severity
  2. Spray a small amount of brake cleaner or leak detection fluid around vacuum connections and the manifold while the engine runs, watching for any change in idle
  3. Check the tightness of the oil dipstick, air box lid, and valve cover
  4. Clean the MAF sensor with a dedicated cleaner only, avoiding any other substance that could damage its sensitive wire
  5. Visually inspect the intake manifold gasket if the code persists after ruling out prior causes
  6. Clear the code after each repair and test drive while monitoring fuel trim to confirm it returns to normal range (roughly within ±10%)

Reducing the chance of recurrence

Make sure the oil dipstick cap and air box lid are seated tightly after any service, avoid using strong air cleaners on the MAF sensor unless specifically labeled for it, and visually inspect vacuum hoses at every routine service, especially after 5 years of vehicle age when rubber starts hardening and cracking.

What to expect to pay

Fixing a cracked vacuum hose usually costs $13-$48 (SAR 50-180), while replacing a full intake manifold gasket ranges $80-$240 (SAR 300-900) including labor due to difficult access on some engines. Cleaning the MAF sensor with a dedicated cleaner costs under $13 (SAR 50) and is worth trying first before full replacement, which can reach $105-$215 (SAR 400-800).

Figures are a guidance range calculated with a published method — read the methodology.

Run your own estimate

Q&A

What's the difference between P0171 and P0174?

P0171 indicates a lean mixture on engine bank 1 while P0174 indicates the same issue on bank 2; both appearing together suggests a shared cause like a bad MAF sensor or a leak at a point affecting both banks, such as a central intake manifold.

Why does the location of an air leak matter relative to the MAF sensor?

Because the MAF sensor only measures air entering before a certain point; any additional air entering after it isn't counted in the equation, throwing off the balance, while a leak before the sensor gets measured within the reading and usually doesn't cause the same error.

Can the code be caused by a fuel issue rather than air?

Yes, a weak fuel injector or low-pressure fuel pump reduces the actual fuel delivered despite the computer sending the correct command, making the code appear as if there's excess air when the real cause is fuel shortage.

Can I keep driving for long with an active P0171 code?

You can drive for a short period, but long delay isn't advised, since a sustained lean mixture raises combustion temperature and increases the risk of exhaust valve or catalytic converter damage over the medium term.

DriveMet review

Fixing a cracked vacuum hose usually costs $13-$48 (SAR 50-180), while replacing a full intake manifold gasket ranges $80-$240 (SAR 300-900) including labor due to difficult access on some engines. Make sure the oil dipstick cap and air box lid are seated tightly after any service, avoid using strong air cleaners on the MAF sensor unless specifically labeled for it, and visually inspect vacuum hoses at every routine service, especially after 5 years of vehicle age when rubber starts hardening and cracking.

What we verified

  • Cross-checked 5 warning signs against 5 likely causes before publishing.
  • Reviewed 6 repair steps and confirmed the order a shop would follow.
  • Compared the cost range with our published methodology and refreshed it on 2026-08-31.
  • Answered 4 questions people actually search for on this topic.

Reviewed by the DriveMet editorial team on 2026-08-31 under our editorial policy. This is an editorial review of the page, not visitor ratings.

Related tools

Apply what you just read to your own car with your own numbers.

Reference sources

  • NHTSA vPIC vehicle specifications and manufacturer recalls
  • EPA fueleconomy.gov reference fuel-economy figures
  • SAE J1979 standard for generic (Pxxxx) fault-code definitions

Related articles

Search this site

Ready-made searches that surface the guides, calculators, and cost pages tied to this topic.