P2187 BMW: Find the Cause of a Lean Idle and Fix It
16 min read · by Nicole Bennett · Last updated: November 25, 2026
The p2187 bmw fault code means the engine is running too lean at idle on Bank 1, usually because of unmetered air, insufficient fuel delivery, or incorrect air-fuel sensor information. BMW’s Digital Motor Electronics (DME) detects that the mixture needs more fuel than its normal correction strategy can provide. The check engine light may illuminate, and the engine may idle roughly, hesitate, or lose power.
The most common places to investigate include the crankcase ventilation system, intake boots, vacuum hoses, intake manifold seals, mass airflow meter, fuel supply, and oxygen sensors. A smoke test and live fuel-trim readings can help distinguish an air leak from a fuel delivery problem. Replacing the oxygen sensor or mass airflow sensor without testing can waste money.
The exact diagnostic procedure depends on the BMW’s model year, engine, and DME version. An N52 six-cylinder, an N54 or N55 turbocharged engine, and an N62 V8 do not necessarily share identical fault conditions or repair procedures. The following guide explains what the code means, what to inspect, how to use an OBD2 scanner, and when professional diagnosis is necessary.
What P2187 Means on a BMW
P2187 identifies a lean air-fuel mixture at idle on Bank 1. The DME monitors fuel correction and recognizes when the engine needs more fuel than expected to maintain the commanded mixture. This is an idle-specific fault, not automatic proof that an oxygen sensor has failed.

The generic SAE definition is Fuel Control System A Too Lean at Idle (Bank 1). The first character, P, identifies a powertrain fault. The second character, 0, identifies a generic standardized code. The remaining digits identify the particular diagnostic condition. Bank 1 means the side of the engine containing cylinder number one.
How the DME Detects a Lean Mixture
A gasoline engine needs an appropriate balance of air and fuel for stable combustion. The DME calculates fuel delivery using information from the air-mass meter, engine sensors, oxygen sensors, and other inputs. During closed-loop operation, oxygen sensor feedback helps the computer adjust injector operation.
When extra air enters the engine without being measured, the actual mixture becomes leaner than expected. The DME responds by increasing fuel delivery. This correction appears in short-term fuel trim (STFT) and long-term fuel trim (LTFT). If the correction exceeds the applicable monitoring limit during idle conditions, P2187 can be stored.
BMW service information uses several related diagnostic descriptions. For example, documented N55 applications associate P2187 with mixture adaptation at idle. The DME may also store a BMW-specific fault number alongside the generic code. These additional numbers help identify the particular monitoring function and should be recorded before clearing anything.
Why Bank 1 Matters
On a V-engine, Bank 1 identifies one cylinder bank. A problem affecting only that side may point toward a localized intake leak, exhaust leak, injector issue, or oxygen sensor problem. On an inline BMW engine, all cylinders occupy one bank, so a common air or fuel supply problem can affect the entire engine.
Do not assume that every BMW with P2187 has the same defective component. Engine layout, intake design, crankcase ventilation arrangement, and fuel system architecture all influence the diagnostic process. The same code can behave differently on other vehicles, so it helps to compare it with P2187 Ford.
Symptoms of a Lean Idle Condition
A BMW with P2187 may show a warning light without obvious driving problems. Other vehicles develop rough idle, hesitation, stalling, or reduced engine output. Symptoms depend on how severe the mixture problem is and whether another fault is present.

Common Warning Signs
- Check engine light: The emissions warning illuminates after the DME recognizes a qualifying lean condition.
- Rough idle: Engine speed may fluctuate while the vehicle is stopped or idling in Park.
- Hesitation: The engine may respond slowly when the accelerator is pressed from a stationary position.
- Stalling: A substantial air leak or fuel supply problem can make it difficult to maintain stable idle speed.
- Reduced acceleration: The engine may feel weaker during acceleration or when climbing a hill.
- Misfires: Lean combustion can cause irregular firing and trigger additional cylinder-specific misfire codes.
- Increased fuel consumption: The DME may compensate for excess air by increasing injector delivery.
- Difficult starting: Some underlying fuel supply or intake problems can affect starting as well as idle operation.
Symptoms That Help Narrow the Cause
Pay attention to when the engine behaves poorly. If idle is rough but the engine becomes smoother when the throttle opens slightly, an intake or crankcase ventilation leak deserves attention. A vacuum leak often has a greater effect at idle because the additional air represents a larger proportion of total airflow.
If the engine struggles during acceleration as well as idle, investigate fuel delivery, air measurement, and other engine management problems. Low fuel pressure can affect several operating conditions. A contaminated air-mass meter can also produce incorrect calculations across different engine speeds.
Multiple warning codes provide additional clues. P0171 may indicate a broader Bank 1 lean condition, while P0300 or individual P0301-series codes indicate detected misfires. P2187 combined with fuel pressure faults deserves a different diagnostic approach from P2187 accompanied by crankcase ventilation or intake leakage symptoms.
Common Causes of P2187 on BMW Vehicles
The leading causes involve air entering without being measured, inadequate fuel delivery, or inaccurate sensor feedback. BMW diagnostic documentation identifies several of these components directly, but the likely failure points differ between engines.
1. Vacuum Leaks and Intake System Damage
A vacuum leak allows additional air into the intake system without the DME accounting for it correctly. Common inspection areas include cracked intake boots, loose clamps, damaged vacuum hoses, manifold gaskets, and connections around the throttle body.
Plastic intake components can become brittle through repeated heating and cooling. A small crack may be difficult to see from above the engine. Some leaks only become noticeable when the engine is warm or when vacuum conditions change.
2. Faulty PCV or CCV Crankcase Ventilation
BMW crankcase ventilation systems regulate pressure inside the engine while directing crankcase gases back into the intake. A damaged diaphragm, leaking hose, failed oil separator, or defective valve can introduce unmetered air.
Depending on the engine, the ventilation equipment may be integrated into the valve cover or use separate components. A failed system can produce rough idle, excessive crankcase vacuum, whistling noises, or abnormal oil consumption. These symptoms are useful clues but do not independently confirm a failed PCV component.
3. Dirty or Defective Mass Airflow Sensor
BMW commonly refers to its hot-film air-mass meter as the HFM. This sensor measures incoming air so the DME can calculate appropriate fuel delivery. Contamination, electrical problems, damaged wiring, or an internally defective sensor can produce inaccurate airflow information.
A sensor that underreports incoming air can contribute to a lean mixture. However, replacing it immediately is not a sound diagnostic method. Compare live airflow readings with engine speed and operating conditions, inspect the connector, and check the intake system for leaks first.
4. Low Fuel Pressure or Injector Problems
The fuel system must supply the quantity of gasoline required by the engine. A weak fuel pump, restricted filter where separately serviceable, defective pressure regulator, failing pressure sensor, or injector problem can interfere with fuel delivery.
BMW engines with direct injection have additional high-pressure fuel system components. Their low-pressure and high-pressure circuits must be evaluated separately. A pressure problem should be confirmed using the correct BMW specifications and diagnostic equipment rather than assumptions based on a generic scanner.
BMW service bulletin SI B12 05 16 describes a specific fuel vapor formation problem on certain N55-powered vehicles. It identifies low-pressure fuel delivery concerns, associated lean mixture faults, and particular production and fuel conditions. This bulletin is not a universal P2187 repair instruction. It demonstrates why vehicle configuration and additional DME codes matter. The affected-vehicle details and diagnostic procedure are documented in the BMW N55 fuel-system technical service bulletin hosted by NHTSA.
5. Oxygen Sensor or Exhaust Leak Problems
The pre-catalyst oxygen sensor provides feedback about exhaust oxygen content. If its signal is inaccurate, the DME may calculate fuel corrections incorrectly. A damaged sensor, wiring fault, connector problem, or exhaust leak ahead of the sensor can produce misleading readings.
An exhaust leak can draw outside oxygen into the exhaust stream and affect the sensor’s interpretation of combustion. Inspect exhaust joints, gaskets, and relevant connections before deciding that the sensor itself has failed. Seeing the code on another make? Start with P2187 Audi Code Meaning.
Cause Comparison
| Possible cause | Typical clue | Recommended check |
|---|---|---|
| Vacuum leak | Positive fuel trims at idle | Intake smoke test |
| PCV or CCV failure | Whistling or abnormal crankcase vacuum | Ventilation system inspection |
| MAF or HFM fault | Implausible airflow readings | Live data and electrical checks |
| Low fuel pressure | Pressure below specified range | Fuel pressure testing |
| Injector problem | Cylinder-specific mixture or misfire symptoms | Injector and cylinder diagnosis |
| Oxygen sensor fault | Implausible sensor feedback | Sensor response and wiring tests |
| Exhaust leak | Leak noise or abnormal oxygen readings | Exhaust system inspection |
How to Diagnose P2187 with an OBD2 Scanner
An OBD2 scanner can show whether the lean condition is limited to idle, identify related faults, and provide useful sensor information. A BMW-capable diagnostic tool is preferable because it can access manufacturer-specific DME codes and adaptation information beyond basic generic OBD2 data.
Step 1: Read All Stored and Pending Codes
Connect the scanner to the 16-pin diagnostic connector, normally located beneath the dashboard on the driver’s side. Switch the ignition on and establish communication with the engine control module.
Record stored, pending, and permanent diagnostic codes. Do not clear them yet. Look for related codes such as P0171, P0300, P0101, or fuel pressure faults. These additional findings can indicate whether the problem involves air measurement, combustion, or fuel supply.
If the scanner supports BMW-specific diagnostics, retrieve the complete DME fault descriptions and environmental information. A generic reader may display P2187 without showing the BMW-specific fault information needed for a more precise diagnosis.
Step 2: Examine Freeze-Frame Data
Freeze-frame data records selected operating conditions when the DME stores a qualifying fault. Review engine speed, coolant temperature, calculated load, vehicle speed, fuel-system status, and available fuel-trim readings.
If the code appeared at a warm idle with low engine load, investigate components that influence idle mixture. If other fuel-related faults appeared during acceleration, include fuel delivery and air measurement in the investigation.
Step 3: Check Short-Term and Long-Term Fuel Trims
Fuel trims are among the most useful measurements for diagnosing a lean mixture. STFT shows immediate corrections, while LTFT represents longer-term adaptation. Positive values mean the DME is adding fuel. Negative values mean it is removing fuel.
As a general diagnostic guideline, combined short-term and long-term fuel trim beyond approximately plus or minus 10 percent deserves investigation. Readings beyond roughly 25 percent can contribute to lean or rich fault conditions, although BMW-specific thresholds vary by engine and operating state.
Compare readings at warm idle with readings at a steady elevated engine speed. If positive trims are considerably higher at idle and decrease when engine speed increases, an intake or crankcase ventilation leak becomes more likely. If they remain high across operating conditions, investigate fuel supply and air measurement.
Step 4: Review Live Airflow and Oxygen Sensor Data
Check the mass airflow reading against engine speed and load. A reading that does not respond plausibly to throttle changes may indicate a sensor, wiring, or airflow problem. Always compare the result with the correct engine-specific reference information.
For a conventional narrowband upstream oxygen sensor, the signal normally switches approximately between 0.1 and 0.9 volts during closed-loop operation. The downstream sensor should generally remain more stable when the catalytic converter is functioning correctly. Some BMW engines use wideband air-fuel sensors, which require different data interpretation. Do not apply narrowband voltage expectations to a wideband sensor.
Step 5: Check Mode $06 and Related Monitor Results
Mode $06 provides results from supported onboard diagnostic monitor tests. Depending on the vehicle and scanner, it may expose test values and limits for emissions-related systems. These results can help establish whether a monitor is passing, failing, or approaching its threshold.
Mode $06 information is not identical across BMW generations. Some generic scanners display incomplete descriptions or unsupported test identifiers. Use BMW-specific diagnostic software when the available generic information does not explain the result.
Step 6: Perform Physical Inspections and Confirm the Fault
After reviewing the scan results, inspect intake connections, crankcase ventilation hoses, electrical connectors, and accessible vacuum lines. A professional smoke test can identify small leaks that are difficult to locate visually. Check fuel pressure using the correct procedure for the engine’s fuel system.
After repairing the confirmed cause, follow the appropriate BMW adaptation reset and relearn procedure. Clear the faults only after preserving the original information. Then run the engine through the required operating conditions and confirm that fuel trims return to a reasonable range and P2187 does not return.
Tip: Do not disconnect the battery or erase DME faults before recording freeze-frame information. BMW mixture adaptations and manufacturer-specific fault details can help identify the original problem. Also, never replace a MAF sensor, oxygen sensor, or fuel pump solely because P2187 is present. Codes often appear in groups on this vehicle, so P2196 BMW may also apply.
Repair Options and Factors Affecting Cost
Repairing P2187 means correcting the underlying mixture problem, not simply clearing the warning light. The final repair depends on the defective component, access requirements, engine configuration, and whether additional diagnostic work is necessary.
Repairing Intake and Vacuum Leaks
A damaged intake boot or disconnected vacuum hose may require a straightforward component replacement. A leaking intake manifold gasket or hard-to-reach connection can require considerably more labor.
The repair should include inspection of nearby hoses, seals, and clamps. Replacing only one visibly damaged connection without checking the remaining intake system can leave another leak unresolved.
Repairing the Crankcase Ventilation System
A failed PCV or CCV diaphragm, hose, oil separator, or valve cover assembly may require replacement. Some BMW designs integrate ventilation components into larger assemblies, which affects both parts requirements and labor time.
The technician should verify crankcase pressure and confirm the source of the leak before selecting replacement components. Excessive crankcase vacuum can produce symptoms that resemble other intake problems.
Repairing Fuel and Sensor Problems
A defective MAF or oxygen sensor may require replacement after its readings and electrical circuit have been checked. Fuel system repairs may involve the low-pressure pump, high-pressure pump, pressure sensor, or injectors, depending on the vehicle’s design and test results.
Direct-injection BMW engines require particular care because high-pressure fuel systems operate at pressures that can cause serious injury. Fuel pressure testing, injector work, and high-pressure line removal should be performed using approved procedures and equipment.
What Determines the Total Repair Expense?
- Parts requirements: A simple hose differs substantially from a complete valve cover, fuel pump assembly, or injector replacement.
- Labor hours: Components buried beneath the intake manifold or other assemblies require additional disassembly and reassembly.
- Diagnostic time: Smoke testing, electrical measurements, fuel pressure testing, and BMW-specific software diagnosis add labor.
- Engine configuration: Inline-four, inline-six, and V8 BMW engines have different layouts and access requirements.
- Parts quality: Original BMW components, approved replacement parts, and lower-quality aftermarket components have different costs and reliability.
- Software work: Some repairs require DME programming, adaptation resets, or manufacturer-specific initialization procedures.
- Additional faults: Misfires, damaged wiring, fuel pressure problems, or exhaust leaks may require separate repairs.
A DIY repair can reduce labor expenses when the problem is a clearly identified accessible hose or connection. However, specialist BMW diagnosis is often more economical than replacing several expensive components through trial and error. Request a diagnostic report identifying the failed component, supporting readings, and required repair work.
Is It Safe to Drive a BMW with P2187?
A BMW displaying P2187 may remain drivable if the engine runs smoothly and there are no severe warning signs. However, the condition should be diagnosed promptly because prolonged lean operation can affect combustion, performance, and emissions control.
A mild lean condition with a steady check engine light and normal engine behavior may allow a short, cautious trip to a repair facility. Avoid aggressive acceleration, high engine loads, and prolonged high-speed driving until the cause is understood.
When to Stop Driving
Stop driving when the engine runs severely rough, repeatedly stalls, loses substantial power, or develops serious misfires. A flashing check engine light indicates an active misfire that can damage the catalytic converter. Reduce engine load immediately and arrange prompt professional assistance. If the engine cannot run safely, have the vehicle towed.
Also pay attention to abnormal mechanical noises, strong fuel odors, smoke, or signs of overheating. These symptoms may indicate problems beyond the original lean code. Do not continue driving simply because the vehicle still starts.
Why Ignoring the Code Is a Bad Idea
An unresolved lean condition can contribute to unstable combustion, misfires, poor performance, and increased emissions. Severe or prolonged abnormal combustion may place additional thermal stress on engine and exhaust components.
An emissions inspection may also be affected. Clearing the check engine light does not guarantee that the underlying problem has disappeared. Permanent diagnostic codes remain until the fault is repaired and the appropriate onboard monitor completes successfully.
For these reasons, arrange diagnosis even if the BMW appears to drive normally. Early detection of a cracked hose or ventilation leak can prevent a relatively simple problem from developing into a more expensive repair. To repeat this test at home, the tools in BMW Scanner 1.4 Pasoft Owners Review are worth a look.
Frequently Asked Questions
1. Can P2187 cause a BMW to fail an emissions inspection?
Yes. An active emissions-related check engine fault can cause an OBD-based inspection failure. Even after the warning is cleared, incomplete readiness monitors or a permanent fault code can prevent the vehicle from passing until the required diagnostic checks complete.
2. Does P2187 always mean Bank 1 has a bad oxygen sensor?
No. P2187 identifies a lean mixture condition, not a specific failed sensor. An intake leak, crankcase ventilation fault, fuel delivery problem, or exhaust leak can create the same diagnostic result.
3. Can a loose oil cap trigger P2187 on a BMW?
Yes. BMW diagnostic information identifies the oil cap as a possible induction leak location. A damaged cap seal or improperly seated cap can allow unmetered air into the crankcase ventilation system and affect mixture adaptation.
4. Will P2187 disappear after disconnecting the battery?
Disconnecting the battery is not a repair. It may affect stored information and learned adaptations, but the original mechanical or electrical fault can remain. Permanent OBD-II codes also require the underlying fault to be corrected and the relevant monitor to pass.
5. What is the difference between P2187 and P2189?
P2187 identifies a lean condition at idle on Bank 1, while P2189 identifies a lean condition at idle on Bank 2. The distinction helps technicians determine whether the problem affects one cylinder bank or potentially involves a shared engine air or fuel supply system.
P2187 on a BMW means the DME is detecting an excessively lean mixture at idle on Bank 1. Start with fuel-trim readings, intake smoke testing, and crankcase ventilation inspection before replacing sensors or fuel system components. Confirm the actual cause using BMW-specific diagnostic information, repair the underlying fault, and verify that the mixture adaptations return to normal.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP2196 BMW: Find the Cause of a Rich O2 Sensor Signal
LearnP2195 BMW: Diagnose the Lean Oxygen Sensor Fault
LearnP2188 BMW: Diagnose and Fix a Rich Idle Condition
LearnP2138 BMW: Diagnose Accelerator Pedal Sensor Faults and Reduced Power
LearnP2187 Code: What It Means and How to Fix It
Learnp0242 code: Diagnose the Boost Sensor Circuit and Restore Engine Performance