BMW P1087 Error Code: How to Fix It

Medium 2-4 hours Medium Severity Verified June 2026
Error Code
P1087
Brand
BMW
Product Type
automotive
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
2-4 hours
BMW error code P1087 indicates a fuel control mixture adaptation issue on Bank 2, Sensor 1, meaning your engine's computer is struggling to maintain the proper air-fuel ratio. This can cause poor performance, increased emissions, and reduced fuel economy.
Ad

Tools You'll Need

How to Fix Error Code P1087

  1. Connect OBD2 Scanner and Record Data

    Ensure the engine is cool before starting any diagnostic work.
  2. Inspect Air Intake System

    Never touch the MAF sensor wires with your hands or use regular cleaners.
  3. Check Fuel System Components

    Fuel system work involves fire hazard - ensure no smoking or open flames nearby.
  4. Test Oxygen Sensors

    Allow engine to reach operating temperature before testing oxygen sensors for accurate readings.
  5. Inspect Vacuum Lines and PCV System

  6. Check for Exhaust Leaks

    Allow exhaust system to cool completely before inspection to avoid burns.
  7. Reset Adaptations and Test Drive

Parts You May Need

Ad

When to Call a Professional

Contact a BMW specialist or qualified mechanic if the code persists after following these steps, if you're uncomfortable working with fuel systems, or if multiple oxygen sensors need replacement. Professional diagnosis may be needed for internal engine problems or complex fuel injection issues.

Frequently Asked Questions

What causes BMW P1087 error code?
P1087 is typically caused by faulty oxygen sensors, vacuum leaks, dirty mass airflow sensor, clogged fuel injectors, exhaust leaks, or a failing fuel pump affecting the air-fuel mixture.
Can I drive my BMW with P1087 code?
You can drive short distances, but prolonged driving with P1087 can damage your catalytic converter and cause poor fuel economy. Address the issue promptly to avoid more expensive repairs.
How much does it cost to fix BMW P1087?
Repair costs range from $100-800 depending on the root cause. Simple fixes like cleaning the MAF sensor cost $20-50, while oxygen sensor replacement can cost $200-400, and fuel injector service ranges $300-600.
Will P1087 cause my BMW to fail emissions testing?
Yes, P1087 will likely cause your BMW to fail emissions testing since it indicates the fuel mixture is not properly controlled, leading to increased pollutant output.
How do I prevent BMW P1087 from returning?
Maintain your BMW regularly by replacing air filters every 30,000 miles, using quality fuel, cleaning the MAF sensor annually, and addressing vacuum leaks promptly. Regular fuel system cleaning also helps prevent this code.