BMW fault code reference

P0171 — System too lean (Bank 1).

Generic OBD-II code: long-term fuel trim is too far positive (the engine is adding fuel to compensate for a perceived lean condition). On a BMW the usual suspects are a vacuum leak, a failing crankcase-vent valve, a tired MAF sensor, low fuel pressure, or an exhaust leak ahead of the upstream O2 sensor. Read fuel trim live, then look for the underlying cause rather than parts-replacing the sensor.

warnVerifiedSeverity: warnCategory: powertrain

What code P0171 means

Generic OBD-II code: long-term fuel trim is too far positive (the engine is adding fuel to compensate for a perceived lean condition). On a BMW the usual suspects are a vacuum leak, a failing crankcase-vent valve, a tired MAF sensor, low fuel pressure, or an exhaust leak ahead of the upstream O2 sensor. Read fuel trim live, then look for the underlying cause rather than parts-replacing the sensor.

CodeP0171
Severitywarn
Categorypowertrain
Verificationverified

How to read a fuel-trim code

P0171 and P0174 (Bank 1 / Bank 2 system too lean) are evidence, not parts orders. Long-term fuel trim is the DME telling you that it has been adding fuel to compensate for something. The something is the actual diagnosis.

  1. Read short-term and long-term fuel trim live.

    Both should hover near zero at idle and cruise. A persistently positive long-term trim is what raises this code.

  2. Smoke-test the intake.

    The most common cause on a BMW is unmetered air entering the intake after the MAF sensor. Common leak points: crankcase vent valve, valve cover gasket, intake manifold gasket, vacuum lines.

  3. Inspect the MAF sensor.

    A dirty or failing MAF reads lower than actual airflow, driving trim positive. Cleaning is a worthwhile first step on a high-mileage sensor.

  4. Verify fuel pressure.

    An under-pressurised fuel rail makes the DME compensate with trim. Confirm rail pressure before condemning a sensor.

No related codes in this index yet.

Codes are evidence, not parts orders

A DTC tells you what a control module decided is outside its expected range. It does not automatically identify a failed component. Read freeze frames, compare related codes, and inspect live data before changing parts. Service functions and coding operations are write paths — use a battery maintainer where the procedure requires stable voltage and never perform writes you do not understand.

P0171 questions

What does code P0171 mean?

System too lean (Bank 1).

Is P0171 a BMW-specific code?

No — {code} is a generic SAE J2012 code; it applies to every OBD-II vehicle, not just BMW.

How do I read P0171 with Beemuu?

Connect on K+DCAN or ENET/DoIP, run a vehicle scan, and look up P0171 in the fault list. Beemuu preserves the code, description and freeze frame before you clear anything.

What does the severity mean?

Critical means the code is usually associated with drivability or safety; warn means investigate soon; info means it is a state or condition rather than an outright fault.

Read the codes your car is reporting.

Beemuu reads fault memory over K+DCAN or ENET/DoIP and saves it before you clear anything.

Download BeemuuBack to DTC index

Last updated: 2026-08-02 · Beemuu contributors