P2187: System Too Lean at Idle

P2187 means the engine computer is seeing a lean air-fuel mixture at idle, usually because unmetered air is getting in or the fuel system is not keeping up. The most common fix is repairing a vacuum leak or cleaning/replacing a dirty mass airflow sensor, typically $100 to $450 at an independent shop.

Severity
Moderate
Can I drive?
Drive with caution
DIY?
Possible with some experience
Repair cost range
$100 – $900

Get the answer for your exact car

Add your car and a few details. DashClue asks up to 3 questions, then tells you the most likely cause and what it should cost.

FreeNo card neededAnswer in about 2 minutes

What does P2187 mean?

P2187 sets when the engine runs too lean at idle, meaning there is too much air or not enough fuel compared with what the computer expects. At idle, engines are especially sensitive to vacuum leaks, dirty sensors, and small fuel delivery problems, so this code often points to an issue that shows up most clearly when the engine is not under load. It can also happen if the positive crankcase ventilation system, intake gasket, or EVAP purge valve is leaking air into the engine. Because the computer can usually add fuel to compensate, the problem may be worse at idle than while driving.

Common symptoms

  • Check engine light on
  • Rough idle
  • Car stalls at stop
  • Hesitation off the line
  • Bad gas mileage
  • May run better at higher RPM

Causes, fixes and costs

DashClue diagnosis

P2187: System Too Lean at Idle

General guide for most cars. Your car may differ.

Severity: ModerateDrive with caution

If it gets worse, the engine may stall at stoplights or when pulling away. Stop driving if the check engine light starts flashing, the engine runs very rough, or it stalls repeatedly.

Most likely causes

  1. 1

    Vacuum leakHigh

    A vacuum leak is the most common cause when the idle is rough, the engine stalls at stops, or the problem is worse at idle than cruising. Leaks often come from cracked hoses, intake boots, or the intake manifold gasket.

    Quick check: Listen for hissing, inspect vacuum hoses and intake tubes for cracks, and look for damaged PCV hoses or loose clamps.

  2. 2

    Dirty or faulty mass airflow sensorMedium

    If the code comes with hesitation, poor throttle response, or a lean condition without an obvious air leak, the MAF sensor may be underreporting incoming air. Dirty filters or oiled aftermarket filters can contribute to this.

    Quick check: Inspect the air filter and MAF sensor for dirt or contamination, and see whether cleaning the sensor improves idle quality.

  3. 3

    Stuck-open EVAP purge valveMedium

    A purge valve that leaks at idle can act like a vacuum leak and make the engine idle lean or stall. This is more likely if the code appears along with rough idle after refueling or a slight fuel smell.

    Quick check: With the engine idling, pinch or temporarily block the purge line; if idle improves, the purge valve may be leaking.

  4. 4

    Low fuel pressure or weak fuel pumpLow

    Fuel delivery problems are more likely if the engine lacks power under load as well as at idle, or if there is hard starting. A lean code alone does not prove a bad pump, but it can happen when pressure is low.

    Quick check: Have fuel pressure tested with a gauge and compare it to factory specs.

Can you fix it yourself?

Possible with some experience

Difficulty: Moderate. Basic checks like inspecting hoses, the air filter, and the MAF sensor are reasonable for many owners. More advanced testing may require a scan tool, smoke test, or fuel pressure gauge.

Show the steps
  1. Check for loose or cracked vacuum hoses and intake tubes
  2. Inspect the air filter and air intake ducting
  3. Clean the MAF sensor with proper MAF cleaner only
  4. Look for fuel trim data if you have a scan tool
  5. Check the PCV and EVAP purge hoses for leaks
  6. Clear the code and see whether it returns at idle

Estimated repair cost

$100 – $300

Vacuum hose or intake boot replacement: parts and labor for small leaks

  • MAF sensor cleaning or replacement$100 – $400
  • EVAP purge valve replacement$150 – $350
  • Intake manifold gasket repair$300 – $700
  • Fuel pressure diagnosis and repair$200 – $900

Prices vary by vehicle, engine layout, and local labor rates.

Frequently asked questions

Can I drive with code P2187?

Usually yes for a short time, but drive gently and get it checked soon. If the engine stalls, idles very rough, or the check engine light starts flashing, stop driving.

What is the most common fix for P2187?

A vacuum leak is often the first thing to find and repair. On some cars, cleaning or replacing the MAF sensor or replacing a leaking purge valve is also common.

Will P2187 clear itself?

It may go away for a while if the condition is intermittent, but the underlying problem usually remains. If the leak or sensor issue is still there, the code will come back.

Can I fix P2187 myself?

You may be able to handle simple checks like replacing a cracked hose, cleaning the MAF sensor, or tightening a loose intake clamp. If smoke testing or fuel pressure testing is needed, a shop is the better choice.

Will P2187 fail an emissions test?

Yes, in many states a stored or pending check engine code will fail inspection. Even if the car seems to run okay, the lean condition should be repaired first.

Related codes

  • P0171 System Too Lean (Bank 1)
  • P0174 System Too Lean (Bank 2)
  • P0101 Mass or Volume Air Flow Circuit Range/Performance
  • P2195 O2 Sensor Signal Stuck Lean (Bank 1 Sensor 1)
  • P2196 O2 Sensor Signal Stuck Rich (Bank 1 Sensor 1)

Related problems

This guide covers most cars and is general advice, not an inspection. Prices are typical US independent-shop ranges and vary by region, car and shop. If your brakes, steering or a warning light feel unsafe, stop driving and contact a mechanic.