Home › Fault codes › P0171 / P0174 (lean)

BMW P0171 and P0174: system too lean

The engine computer is adding more fuel than it expects to, usually because unmetered air is getting in. Most often a vacuum or crankcase ventilation leak on a BMW.

Last updated

Codes on this page

CodeDefinitionSource
P0171System too lean (bank 1)Generic OBD-II
P0174System too lean (bank 2)Generic OBD-II
29E0DME: fuel mixture control (BMW E-series)BMW SI B07 03 14
29E1DME: fuel mixture control 2BMW SI B07 03 14
2882DME: mixture control bank 1BMW SI B07 03 14
2883DME: mixture control bank 2BMW SI B07 03 14
118001Mixture control: fuel-air mixture too lean (F-series)SI B12 13 15 (PDF)
118101Mixture control 2: fuel-air mixture too leanSI B12 13 15 (PDF)

P-codes are the generic OBD-II codes any reader shows. Six-character and four-character hex codes are BMW's own, read with a BMW-capable scanner; the wording is BMW's, from the source shown.

What it means

The oxygen sensors report a lean mixture, so the engine computer (DME) adds fuel through its fuel trims. When the correction passes its limit, it stores P0171 (bank 1) and, on six-cylinder engines with two oxygen-sensor banks or on V8s, P0174 (bank 2). BMW scan tools show their own mixture-control codes for the same condition. On inline sixes, "bank 1" is cylinders 1–3 and "bank 2" is cylinders 4–6. Both banks lean at once points to something shared, such as a crankcase ventilation (PCV) leak, the intake boot or a fuel supply problem; one bank alone points to something on that side.

Can I keep driving?

Usually yes, get it fixed soon. If the engine runs normally, it is generally safe to drive while you book a diagnosis. A lean engine can run rough, hesitate and, if left long enough, misfire. If the check engine light flashes or the car shakes, stop driving and have it checked.

Usual causes on BMWs

CauseCars most affectedWhat you noticeEvidenceRepair prices (national average)
Valve cover / crankcase ventilation (PCV) leakN52, N54, N55 (valve cover and PCV), B58 (valve cover with built-in PCV)Lean codes on both banks, a whistle or hiss at idle, sometimes oil leaks from the same cover.—N55 valve cover / valve cover gasket (PCV)
Indie $1,225–$1,547
Dealer $2,017–$2,557
Indie owners paid $930–$1,625
Dealer owners paid $1,450–$2,076

B58 valve cover / PCV failure
Indie $1,248–$2,352
Dealer $3,128–$5,052
Dealer owners paid $3,049–$4,450
Intake leaks: intake boot, charge pipe, gasketsAll, turbo engines especiallyLean codes plus boost faults on turbo engines; a smoke test finds the leak.—N55 charge pipe (intercooler to throttle) replacement
Indie $578–$922
Dealer $1,287–$1,744
Over-sensitive mixture check (software)F80 M3, F82/F83 M4 (S55) built to 2/28/2015118001 and/or 118101 with no change in how the engine runs. BMW's fix is reprogramming after correcting any mechanical fault found.SI B12 13 15 (PDF)—
Fuel supply or injectorsAllLean under load rather than at idle; low fuel pressure codes may be stored too.——
Valvetronic faults can trigger mixture codes as a side effectN52 and other Valvetronic enginesAn owner's N52K in limp mode had 29E0 and 29E1 alongside Valvetronic power supply faults; the mixture codes cleared once the Valvetronic motor and relay were replaced.Owner report—

A bulletin isn't a recall and doesn't mean your car has the problem; open it for the exact models and build dates. Estimates are national averages built from BMW warranty labor time, regional shop rates and parts prices; open a repair for your ZIP. "Owners paid" is the middle half of sourced prices, shown where we have at least 3.

What to do

  1. Read the fuel trims (short and long term) at idle and at 2,500 rpm. Lean at idle that improves with revs points to a vacuum leak.
  2. Ask for a smoke test of the intake and crankcase ventilation before any parts are replaced.
  3. Fix any other stored codes first, especially misfire or Valvetronic faults.

Warnings it can bring up

Check engine light, no message

Want a heads-up when prices or bulletins change for your BMW?

About one short email a week, with BMW news. Unsubscribe anytime.