Business: business@xtoolonline.com
Social Media Cooperation: Media@xtoolonline.com
Support: support@xtoolonline.com
Your engine starts idling roughly, the RPM keeps fluctuating, or you notice occasional hesitation while driving. A diagnostic scan reveals the P2187 trouble code, indicating that the engine is running too lean at idle on Bank 1. But what causes this condition, and how can you fix it?
In this guide, we'll break down the common symptoms and causes of P2187, walk you through the diagnostic process, and explain how to identify the right repair.
The P2187 code stands for System Too Lean at Idle (Bank 1). It means the engine is receiving too much air or not enough fuel at idle, resulting in a lean air-fuel mixture.
To better understand this code, let's break down two key terms:
At idle, the throttle is nearly closed, so the engine takes in relatively little air. Even a small vacuum leak can introduce enough unmetered air to make the mixture too lean. A faulty PCV valve, EVAP purge valve, or fuel delivery problem can also cause this condition.
The ECU uses oxygen sensor feedback and fuel trim data to monitor the air-fuel mixture. When it detects a lean condition, it attempts to compensate by adding more fuel. If the fuel trim exceeds the allowable limit and the lean condition persists, the ECU may set the P2187 code.

Depending on how severe the lean condition is, a P2187 code may cause the following symptoms:
The P2187 code is commonly related to air leaks, worn engine components, or fuel delivery problems. Some issues develop gradually as parts age, while others may occur after maintenance or repairs.
Cracked vacuum hoses, loose intake connections, and leaking intake manifold gaskets can allow extra air into the engine, causing a lean condition at idle.
These leaks often develop as rubber hoses and seals age due to heat and engine vibration. They can also occur if an intake hose or vacuum line is not properly reconnected after an air filter replacement or engine repair.
The PCV valve and its hoses are exposed to engine heat, oil vapor, and normal wear. Over time, the valve may become stuck open, or the hoses may crack and leak.
This can allow too much air into the intake system. If your vehicle has high mileage or you have noticed a rough idle that gradually gets worse, the PCV system is worth checking.
The EVAP purge valve controls when fuel vapors from the charcoal canister enter the engine. If it fails to close properly, unwanted airflow and fuel vapors can enter the intake while the engine is idling.
A faulty purge valve may cause rough idle or difficulty starting, particularly after refueling. If the engine runs unevenly or takes longer to start after filling the gas tank, the EVAP system is worth inspecting.
A dirty MAF sensor may measure incoming air incorrectly, causing the engine to receive an improper amount of fuel.
Dust and oil contamination can build up over time, especially if the air filter is damaged, poorly fitted, or overdue for replacement. An incorrectly installed aftermarket air filter can also contribute to MAF contamination on some vehicles.
A lean condition can also occur when the engine does not receive enough fuel. Common causes include:
Fuel delivery problems may become more noticeable during acceleration or under load, although P2187 itself specifically identifies a lean condition at idle.
An exhaust leak near the upstream oxygen sensor, a faulty oxygen sensor, or damaged sensor wiring can affect air-fuel ratio readings and trigger P2187. These issues should be checked if no obvious intake or fuel system problem is found.

The best way to fix P2187 is to identify what is causing the lean condition at idle before replacing any parts. Follow these steps to narrow down the problem and address the actual fault.
Connect an OBD2 scanner and read all stored and pending trouble codes. Do not clear the codes yet, as this may erase useful diagnostic information.
Besides P2187, look for related codes that may point to the source of the problem:
Next, open the freeze frame data for P2187 and check the engine RPM, coolant temperature, vehicle speed, and engine load. These readings help you determine when the fault occurred. For example, low RPM and zero vehicle speed suggest the code was recorded at idle, making vacuum leaks, PCV problems, and EVAP purge issues worth checking first.
With the engine fully warmed up and running in closed loop, use your scanner to monitor Short-Term Fuel Trim (STFT) and Long-Term Fuel Trim (LTFT). Record both readings at idle, then hold the engine at approximately 2,500 RPM and compare them.
As a general guide, combined fuel trim (STFT + LTFT) is usually expected to stay within about ±10%. Sustained positive corrections above +10% deserve attention, while readings around +20% or higher indicate a more significant lean correction. Exact limits vary by vehicle.
Pay particular attention to these patterns:
These values are examples, not universal fault thresholds. Compare your readings with the manufacturer's specifications.
With the engine off, inspect the intake hose, vacuum lines, PCV hoses, and visible connections for cracks, loose fittings, or disconnected hoses. Also check around the intake manifold for signs of leakage.
If you cannot find an obvious leak, a repair shop can perform an intake smoke test to locate hidden leaks. This test requires specialized equipment and is not usually a basic DIY check.
If the intake and PCV systems appear intact, check whether the EVAP purge valve seals properly when commanded closed. A valve stuck open may allow unwanted airflow into the intake at idle.
A compatible bidirectional scanner may let you command the purge valve open and closed. If the valve continues to pass air when it should be closed or does not respond correctly, test it according to the vehicle manufacturer's procedure and replace it if faulty.
This is particularly worth checking if rough idle or hard starting occurs shortly after refueling.
If fuel trims remain high at both idle and higher RPM, check whether the engine is receiving enough fuel.
These tests usually require professional diagnostic equipment. Do not replace the fuel pump or injectors based on P2187 alone.
If no intake leak or fuel delivery problem is found, check the sensor readings and exhaust system for faults that could cause an incorrect air-fuel mixture reading.
Once the underlying problem has been repaired, clear the trouble codes with your OBD2 scanner and start the engine. Let it reach normal operating temperature, then check whether the idle is stable and the fuel trim readings have returned to a reasonable range.
Take the vehicle for a test drive under conditions similar to those shown in the original freeze frame data. Rescan the vehicle afterward to see whether P2187 has returned or any related codes have appeared.
In the US, fixing common P2187-related problems typically costs $90–$1,550, depending on the faulty component. Diagnostic fees generally add another $55–$250.
Typical repair costs include:
You can start with a few basic checks yourself. Inspect visible vacuum hoses, intake connections, and PCV hoses for cracks or loose fittings. You can also use an OBD2 scanner to read related codes and compare fuel trim readings at idle and around 2,500 RPM.
However, seek help from a repair shop if:
A professional can perform an intake smoke test, measure fuel pressure, test injector flow, and check sensor signals against manufacturer specifications.
P2187 has been documented in factory service information for vehicles from brands such as Mercedes-Benz, Audi, Mazda, Honda, Land Rover, and Jaguar. For example, a Mazda technical bulletin reported P2187 and loss of power on certain 2007–2009 CX-7 models with the 2.3L turbocharged engine.
P2187 is generally a moderate-severity fault, but whether you can keep driving depends on how the engine is running.
If you continue driving for weeks with an unresolved lean condition, poor engine performance and increased fuel consumption may persist. If the problem causes repeated misfires or abnormal combustion, it can also increase the risk of engine and catalytic converter damage.
The XTOOL D7 helps you investigate P2187 with OE-level full-system diagnostics, live data graphing, and bidirectional control.
With these diagnostic features, the D7 helps you narrow down potential causes of P2187 and make more informed repair decisions. Available functions and data parameters vary by vehicle and ECU.



Yes. P2187 has been reported on some VW and Audi models, often involving intake leaks, PCV faults, or EVAP purge valve problems.
Yes. A vacuum leak allows unmetered air into the engine, creating a lean mixture, especially at idle.
Yes. A faulty upstream oxygen sensor can send inaccurate readings to the ECU. However, check for actual air leaks and fuel delivery problems before replacing it.
P2187 indicates a lean condition specifically at idle on Bank 1, while P0171 indicates a lean condition on Bank 1 under broader operating conditions.
No. Clearing the code only erases the fault record. If the underlying problem remains, P2187 will likely return.



