What P0087 Means on a Diesel

P0087 is the generic OBD-II code for Fuel Rail/System Pressure Too Low. The ECM calculates a target rail pressure from pedal position, engine speed, load, and temperature. The rail pressure sensor reports the actual number. When actual pressure stays below desired for longer than the calibration allows, the ECM sets the code, lights the check engine lamp, and often cuts power to protect the engine.

Modern common-rail trucks run roughly 4,000 to 7,000 psi at idle and reach about 29,000 psi at peak on engines like the 6.7L Power Stroke and the L5P Duramax.

Related codes you may see alongside it:

  • P008A: low pressure on the supply side, used on some Ford diesels. Paired with P0087, it points at fuel supply, not the injection pump.
  • P0088: rail pressure too high. When P0087 and P0088 alternate, suspect the pump's fuel control valve or debris reaching it.
  • P0093: large fuel system leak detected
  • P0190 to P0193: rail pressure sensor circuit faults. These point at wiring or the sensor, not a hydraulic problem.

Save every code and the freeze frame data before you clear anything. To brush up on reading them, see our guide on how diesel DTCs are structured.

Common symptoms: long cranking or a no-start, hesitation under throttle, power loss while towing, limp mode, and a check engine light.

Two Sides of the Fuel System

A diesel fuel system has two halves, and P0087 can start in either one. Testing them in the right order saves money.

  Low-pressure (supply) side High-pressure side
What it does Moves fuel from the tank, through filters, to the high-pressure pump Builds rail pressure and feeds the injectors
Main parts Tank pickup, lift pump (if equipped), filters, water separator, lines, fittings High-pressure pump, fuel control valve, rail, relief valve, rail pressure sensor, injectors
Typical failures Clogged filters, weak lift pump, air leaks, water in fuel Worn pump, stuck control valve, leaking injectors or relief valve, bad sensor

Important: Start with the supply side. A starved pump looks like a failed pump on a scan tool.

Supply Systems Differ by Platform

Do not assume every truck has the same lift pump setup.

Platform Supply design
6.7L Power Stroke (2011-present) Electric lift pump in a frame-mounted module, positive pressure
6.7L Cummins Electric lift pump, positive pressure
Duramax LB7 through LML (2001-2016) No factory in-tank electric lift pump. The injection pump draws fuel from the tank by suction
L5P Duramax (2017-present) In-tank electric lift pump, positive pressure

The suction design on older Duramax trucks makes them sensitive to air. A bad filter housing seal or a cracked line pulls air in instead of leaking fuel. Aerated fuel cannot build rail pressure, so P0087 follows.

Causes of P0087, in the Order to Check Them

1. Clogged or Overdue Fuel Filters

Yes, a restricted filter can set P0087. The supply cannot keep up with what the high-pressure pump needs. The truck may idle fine and then lose rail pressure the moment demand climbs, which can also feel like a misfire. Drain the water separator too, since water damages pumps and injectors fast.

2. A Weak Lift Pump or Low Tank Level

On Power Stroke, Cummins, and L5P trucks, a worn lift pump may deliver enough fuel at idle and fall short under load. Test supply pressure with a mechanical gauge during a hard pull and compare it to the factory spec for your engine. A drop under load points at the lift pump or restricted filters.

3. Air in the Fuel

Loose fittings, cracked lines, a worn housing seal, or a filter change without proper priming can let air in. Look for bubbles in a clear test hose. This is the first suspect on LB7 through LML Duramax trucks.

4. A Faulty Rail Pressure Sensor

If the sensor reads low, the ECM may command more fuel and set codes even when real pressure is fine. Read it with the key on and engine off. It should read close to zero. Then check reference voltage, ground, and signal at the connector.

5. A Stuck Fuel Control Valve or Leaking Relief Valve

The pump's fuel control valve meters how much fuel enters the pumping chambers. If it sticks, pressure can surge and drop. The rail's relief valve protects against pressure spikes, and a weak one can bleed rail pressure back to the tank. Both are shop-level checks.

6. A Worn or Failed High-Pressure Pump

Which pump your truck has matters.

  • CP4.2 (Bosch): used on the 6.7L Power Stroke, the 2011-2016 LML Duramax, and 2019-2020 6.7L Cummins trucks
  • CP3 (Bosch): used on earlier 6.7L Cummins trucks and earlier Duramax engines
  • HP4 (Denso): used on the L5P Duramax

The CP4 relies on the diesel itself to lubricate its internals. Low-lubricity fuel, water, or air in the fuel can wear it fast, and a failure can send metal debris through the pump, rail, injectors, and back to the tank. After that kind of failure, replacing only the pump invites a repeat. The tank, lines, rail, and injectors all need inspection and replacement as the damage demands. This is the most expensive outcome of P0087.

The L5P is a different story. It uses a Denso pump, so do not assume metal contamination on an L5P just because it sets P0087. Start with supply and sensors.

Ram owners: 2019-2020 6.7L Cummins trucks were part of NHTSA recall 21V-880, which covered a Bosch CP4 high-pressure pump that could fail and send debris into the fuel system. The remedy includes pump replacement and a software update. Run your VIN through the NHTSA recall lookup before you pay for any fuel system repair.

7. Leaking Injectors

An injector that leaks internally dumps rail pressure back to the return line. A shop can measure return flow against the factory limit for your engine.

How to Diagnose P0087 Step by Step

  1. Scan and record. Save the freeze frame and any companion codes.
  2. Check fuel and filters. Confirm tank level, drain the water separator, and replace overdue filters with proper priming.
  3. Watch live data. Compare desired rail pressure to actual at idle, during a snap throttle, and under load.
  4. Read the pattern. Pressure that drops under load points at supply or the pump. Unstable pressure at idle with normal pressure under load points at the sensor or control valve. Slow pressure build while cranking points at air, a leak, or a worn pump.
  5. Test supply pressure and check for air. Use a gauge where a lift pump exists, and a clear hose on every truck.
  6. Test the sensor circuit. Reference voltage, ground, and signal.
  7. Look for debris. On CP4 trucks, a shop should check for metal in the filters and at the pump before any parts go on.
  8. Go to shop-level tests. Injector return flow and relief valve checks belong there.

High-Pressure Fuel Injury Is a Medical Emergency

Fuel under rail pressure can penetrate skin and cause serious injury. A pinhole leak at these pressures does not spray a visible mist. It can cut a thin, nearly painless wound that looks like a pinprick while diesel is driven deep into the hand or arm. That fuel is toxic to tissue, and these injuries can lead to amputation. Time to surgery matters.

  • Never loosen high-pressure lines with the engine running or cranking, and never pass a bare hand over a suspected leak.
  • Relieve pressure per the factory procedure and wear eye protection.
  • If any fuel is injected into skin, go to an emergency room immediately, even if the wound looks minor.

What Should My Fuel Rail Pressure Be?

There is no single number. It changes with rpm, load, and calibration. Compare desired to actual on the scan tool. A healthy truck tracks the target closely. A truck that sets P0087 shows actual falling and staying below desired.

Can You Drive With P0087?

Short trips to a shop may be possible, but driving on it is a gamble. A starved pump wears faster, and a CP4 that runs short on fuel can fail and contaminate the system.

Do not unplug the rail pressure sensor to see what happens. The ECM falls back to default values, and the truck usually runs worse or will not start. The fix is finding why pressure is low, not hiding the reading.

Clear the code after a repair, not before. Clearing it first erases the freeze frame data you need.

What Does It Cost to Fix?

Prices depend on platform, region, and shop. The tiers look like this:

  • Lower: filters, water separator service, fittings, a rail pressure sensor
  • Mid: lift pump, fuel control valve, fuel lines
  • Higher: high-pressure pump, injectors, and cleanup after a CP4 failure

Ask what testing led to the diagnosis. A quote that jumps straight to a pump without checking supply deserves a second look.

P0087 on a Tuned or Modified Truck

A tune that raises desired rail pressure or injector pulse width asks more from the pump and injectors. A pump that was fine on stock calibration can start setting P0087. A shop can flash the truck back to stock to see whether the code is a hardware failure or a limit of the factory fuel system.

Hardware changes can also trigger codes that look like fuel problems. Our article on codes that can appear after hardware changes covers what to expect, and the comparison of a handheld tuner versus a custom tune helps you pick a calibration approach. Fix the fuel supply first. A tune cannot correct a clogged filter or a weak lift pump.