Hyper & Co.Hyper & Co.GarageUSA
Euro GarageVW · Audi · BMW · Mercedes · Porsche

As an Amazon Associate I earn from qualifying purchases. Part links may earn a commission.

P0171 System Too Lean (Bank 1)

Wrong make? See P0171 for GM · Mopar · Ford · Toyota / Lexus.

Fix Soon

VolkswagenAudiBMWMercedes-BenzPorscheVW / Audi / BMW / Mercedes-Benz / Porsche

The Real German-Car Quirk

Lean codes on these engines frequently trace to a cracked PCV / oil separator or a boost-hose leak, especially on turbo models.

5-Minute Driveway / Counter Check

  1. Inspect the PCV / oil separator and intake boots.
  2. Compare fuel trims at idle and under light load.
  3. Check for unmetered air after the MAF (where fitted).
Watch 2-Min Fix on YouTube

Verified OEM Specs & Parts for P0171

Mass Air Flow Sensor (MAF) (P0100–P0104) — 330e / 330i / 430iGenuine BMW
Exact OEM Fitment VerifiedFits: 2021–2024 BMW 330e / 2021–2024 BMW 330e xDrive / 2019–2025 BMW 330i — G20 / 2019–2025 BMW 330i xDrive — G20 / 2021–2025 BMW 430i / 2022–2024 BMW 430i Gran Coupe / 2021–2025 BMW 430i xDrive / 2023–2024 BMW 430i xDrive Gran Coupe / 2021–2023 BMW 530e / 2021–2023 BMW 530e xDrive / + 30 more models in the BMW catalog

⚠ Genuine-parts catalog fitment for the vehicles shown (catalog description: “Hot-Film Air Mass Meter”). Common codes: P0100–P0104, P0171/P0174. Sensor position (bank / upstream / downstream / wheel) and engine matter — the code's definition tells you which one. Catalog rows group trims/engines by year range — confirm your exact vehicle by VIN before ordering.

Verified against: BMW genuine parts catalog fitment (OEM EPC data via bmwpartsdeal.com): https://www.bmwpartsdeal.com/parts/bmw-hot_film_air_mass_meter-13628583496.html. Confirm by VIN before ordering.

Mass Air Flow Sensor (MAF) (P0100–P0104) — 330e / 330i / 330i GTGenuine BMW
Exact OEM Fitment VerifiedFits: 2016–2018 BMW 330e — F30 / 2017–2018 BMW 330i — F30 / 2017–2019 BMW 330i GT xDrive — F34 / 2017–2019 BMW 330i xDrive — F30 / F31 / 2016–2018 BMW 340i — F30 / 2017–2019 BMW 340i GT xDrive — F34 / 2016–2018 BMW 340i xDrive — F30 / 2017–2020 BMW 430i — F33 / F32 / 2017–2020 BMW 430i Gran Coupe — F36 / 2017–2020 BMW 430i xDrive — F33 / F32 / + 28 more models in the BMW catalog

⚠ Genuine-parts catalog fitment for the vehicles shown (catalog description: “Hot-Film Air Mass Meter”). Common codes: P0100–P0104, P0171/P0174. Sensor position (bank / upstream / downstream / wheel) and engine matter — the code's definition tells you which one. Catalog rows group trims/engines by year range — confirm your exact vehicle by VIN before ordering.

Verified against: BMW genuine parts catalog fitment (OEM EPC data via bmwpartsdeal.com): https://www.bmwpartsdeal.com/parts/bmw-hot_film_air_mass_meter-13628605565.html. Confirm by VIN before ordering.

Mass Air Flow Sensor (MAF) (P0100–P0104) — 320i / 328i / 328i GTGenuine BMW
Exact OEM Fitment VerifiedFits: 2013–2018 BMW 320i — F30 / 2013–2018 BMW 320i xDrive — F30 / 2012–2016 BMW 328i — F30 / F31 / 2013–2015 BMW 328i GT — F34 / 2014–2016 BMW 328i GT xDrive — F34 / 2013–2016 BMW 328i xDrive — F30 / F31 / 2014–2016 BMW 428i — F33 / F32 / 2015–2016 BMW 428i Gran Coupe — F36 / 2014–2016 BMW 428i xDrive — F33 / F32 / 2015–2016 BMW 428i xDrive Gran Coupe — F36 / + 16 more models in the BMW catalog

⚠ Genuine-parts catalog fitment for the vehicles shown (catalog description: “Hot-Film Air Mass Meter”). Common codes: P0100–P0104, P0171/P0174. Sensor position (bank / upstream / downstream / wheel) and engine matter — the code's definition tells you which one. Catalog rows group trims/engines by year range — confirm your exact vehicle by VIN before ordering.

Verified against: BMW genuine parts catalog fitment (OEM EPC data via bmwpartsdeal.com): https://www.bmwpartsdeal.com/parts/bmw-hot_film_air_mass_meter-13627602038.html. Confirm by VIN before ordering.

⚡ Open P0171 in the code lookup

P0171 FAQ

What does P0171 mean on a VW / Audi / BMW / Mercedes-Benz / Porsche engine?
P0171 is "System Too Lean (Bank 1)". Lean codes on these engines frequently trace to a cracked PCV / oil separator or a boost-hose leak, especially on turbo models.
How do I check P0171 before buying parts?
Inspect the PCV / oil separator and intake boots. Compare fuel trims at idle and under light load. Check for unmetered air after the MAF (where fitted).
MAF first?
Only after leaks and PCV are ruled out.

Related codes

P2187System Too Lean at Idle (Bank 1)

Next steps for P0171

  1. Work through the driveway check above.
  2. Find the verified part for your car — confirm by VIN before ordering.
  3. See related symptoms and likely codes
  4. Oil & coolant lookup if this started after a service.
Scanner picks
Scanner pick

Read the code yourself before you buy parts

Affiliate links: as an Amazon Associate I earn from qualifying purchases. Picks are hand-chosen by tier, not ranked by price — prices change, so check the current price on Amazon. Confirm it supports your vehicle before buying.