Diesel Engine Error Code P0087: How to Fix It

Hard 2-6 hours Critical Severity Verified June 2026
Error Code
P0087
Brand
Diesel
Product Type
automotive
Severity
Critical
DIY Difficulty
Hard
Estimated Fix Time
2-6 hours
Error code P0087 indicates your diesel engine's fuel rail system pressure is too low, typically caused by a failing lift pump or high-pressure fuel pump (HPFP). This critical error can cause poor performance, hard starting, and potential engine damage if not addressed promptly.
Ad

Tools You'll Need

How to Fix Error Code P0087

  1. Scan for Additional Codes

    Never clear codes until you've recorded them all, as they provide valuable diagnostic information.
  2. Check Fuel Level and Quality

    Contaminated fuel can cause expensive damage to injection pumps and injectors.
  3. Inspect Fuel Filter Condition

    Always relieve fuel system pressure before removing filter components to prevent fuel spray.
  4. Test Lift Pump Operation

    Do not smoke or use open flames when working around fuel system components.
  5. Check High-Pressure Fuel Pump

    High-pressure fuel systems can exceed 25,000 PSI - never attempt to test without proper equipment and training.
  6. Inspect Fuel Lines and Connections

    Replace any damaged fuel lines immediately as leaks can cause fires.
  7. Test Fuel Rail Pressure Sensor

    Disconnect battery before testing electrical components to prevent short circuits.

Parts You May Need

High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
High-pressure fuel pump
Check Price on Amazon
Fuel rail pressure sensor
Check Price on Amazon
Ad

When to Call a Professional

Call a diesel mechanic if you're not comfortable working with fuel systems, if high-pressure fuel pump testing is needed, if you lack proper diagnostic equipment, or if multiple fuel system components require replacement. Professional diagnosis is recommended for intermittent P0087 codes that are difficult to reproduce.

Frequently Asked Questions

Can I drive with P0087 code?
No, P0087 is a critical error that can cause engine damage. Limited driving to a repair facility may be possible, but avoid high loads and monitor engine performance closely. The engine may enter limp mode or stall.
How much does it cost to fix P0087?
Repair costs range from $200-$3000 depending on the cause. Fuel filter replacement costs $50-$150, lift pump replacement $300-$800, and high-pressure fuel pump replacement $1500-$3000 including labor.
What causes P0087 in diesel engines?
Common causes include failed lift pump, clogged fuel filter, contaminated fuel, faulty high-pressure fuel pump, damaged fuel lines, or a malfunctioning fuel rail pressure sensor. Age and high mileage increase the likelihood of pump failures.
Will P0087 clear itself?
P0087 will not clear itself as it indicates an active fuel system problem. The code may disappear temporarily but will return until the underlying issue is repaired. Ignoring it can lead to expensive engine damage.
How do I prevent P0087 from happening again?
Prevent P0087 by changing fuel filters regularly, using quality diesel fuel, keeping the tank at least 1/4 full, using fuel additives in cold weather, and addressing fuel contamination immediately. Regular maintenance is key to fuel system longevity.