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
Ad
Tools You'll Need
- OBD2 scanner
- Multimeter
- Fuel pressure gauge
- MAF cleaner spray
- Basic hand tools
- Flashlight
- Safety glasses
How to Fix Error Code P1087
-
Connect OBD2 Scanner and Record Data
Ensure the engine is cool before starting any diagnostic work. -
Inspect Air Intake System
Never touch the MAF sensor wires with your hands or use regular cleaners. -
Check Fuel System Components
Fuel system work involves fire hazard - ensure no smoking or open flames nearby. -
Test Oxygen Sensors
Allow engine to reach operating temperature before testing oxygen sensors for accurate readings. -
Inspect Vacuum Lines and PCV System
-
Check for Exhaust Leaks
Allow exhaust system to cool completely before inspection to avoid burns. -
Reset Adaptations and Test Drive
Parts You May Need
Oxygen sensor
Check Price on Amazon
Mass airflow sensor
Check Price on Amazon
Air filter
Check Price on Amazon
Vacuum hoses
Check Price on Amazon
Fuel injector cleaning kit
Check Price on Amazon
PCV valve
Check Price on Amazon
Oxygen sensor
Check Price on Amazon
Mass airflow sensor
Check Price on Amazon
Air filter
Check Price on Amazon
Vacuum hoses
Check Price on Amazon
Fuel injector cleaning kit
Check Price on Amazon
PCV valve
Check Price on Amazon
Oxygen sensor
Check Price on Amazon
Mass airflow sensor
Check Price on Amazon
Air filter
Check Price on Amazon
Vacuum hoses
Check Price on Amazon
Fuel injector cleaning kit
Check Price on Amazon
PCV valve
Check Price on Amazon
Oxygen sensor
Check Price on Amazon
Mass airflow sensor
Check Price on Amazon
Air filter
Check Price on Amazon
Vacuum hoses
Check Price on Amazon
Fuel injector cleaning kit
Check Price on Amazon
PCV valve
Check Price on Amazon
Oxygen sensor
Check Price on Amazon
Mass airflow sensor
Check Price on Amazon
Air filter
Check Price on Amazon
Vacuum hoses
Check Price on Amazon
Fuel injector cleaning kit
Check Price on Amazon
PCV valve
Check Price on Amazon
Oxygen sensor
Check Price on Amazon
Mass airflow sensor
Check Price on Amazon
Air filter
Check Price on Amazon
Vacuum hoses
Check Price on Amazon
Fuel injector cleaning kit
Check Price on Amazon
PCV valve
Check Price on Amazon
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.