PERKINS-1239-31 critical Perkins ECM / PowerWizard ›

Common-Rail Fuel Leak Detected, ECM Derate or Shutdown

The PERKINS-1239-31 (Perkins ECM / PowerWizard) diesel fault code means: Common-Rail Fuel Leak Detected, ECM Derate or Shutdown. This is a critical severity code.

My Garage →
Keep driving?
No -- stop driving
DIY difficulty
moderate
Estimated cost
DIY: $15-$80 for O-rings, filter seals, or a leak-off pipe you can replace yourself. Professional repair: $300-$2,500 depending on root cause. A loose fitting or failed seal is at the low end. Injector replacement runs $400-$900 per injector on larger Perkins units. High-pressure pump replacement can reach $2,500 or more including labor.
Built for Diesel — Not a Car Reader
ANCEL HD7000 Heavy-Duty Diesel Scanner

A $30 car code reader can't do diesel. The HD7000 reads full-system codes and does parked DPF regen, idle/speed-limit, and service resets from the cab — on everything from a 6.7 Cummins/Power Stroke/Duramax pickup to Class-8 trucks (Detroit, Paccar, CAT, Volvo, Mack, International).

Check Price on Amazon

Affiliate link -- we earn a commission at no extra cost to you.

Lower-Cost Diesel Option
FOXWELL HD301 Diesel Truck Scanner

Full-system 6/9/16-pin diesel scan tool for Cummins, Paccar, CAT, Detroit and more — plug-and-play, no subscription. A cheaper way to read heavy-duty codes a basic OBD2 scanner skips entirely.

Check Price on Amazon

Affiliate link -- we earn a commission at no extra cost to you.

Common Symptoms

  • Generator shuts down suddenly and displays fault code 1239-31 on the PowerWizard 1.1 or 2.0 panel
  • Red STOP or alarm light illuminates on the control panel immediately before or after shutdown
  • Engine loses power noticeably before shutting down, as the ECM derates fuel delivery
  • Visible diesel fuel dripping or pooling beneath the generator enclosure or on the engine block
  • Smell of diesel fuel in or around the generator enclosure
  • Generator cranks normally during an emergency start but immediately shuts down again
  • Weekly exercise cycle starts but the unit trips off before completing the run

Probable Causes (Ranked by Likelihood)

  • High-pressure fuel line cracked, chafed, or fitting loose on the common-rail system Very Likely
  • Fuel return line or low-pressure leak-off pipe disconnected or split, causing ECM to detect abnormal return flow Very Likely
  • Injector leak-off rate too high due to worn or stuck-open injector, causing rail pressure loss that ECM interprets as a leak Likely
  • Fuel rail pressure sensor giving false low reading due to wiring fault or sensor failure, triggering a ghost leak fault Likely
  • Fuel filter housing O-ring or bowl seal weeping under pressure, creating a measurable pressure drop Possible
  • High-pressure fuel pump internal bypass valve worn, unable to maintain rail pressure, mimicking a leak condition Possible
  • ECM software fault or corrupted fuel map causing erroneous rail-pressure deviation alarm Less Likely

Step-by-Step Diagnostic Procedure

  1. Step 1. With the generator OFF and cooled down, open the enclosure and use a flashlight to do a full visual inspection. Look for any wet spots, staining, or dripping along every fuel line from the lift pump through the high-pressure pump, fuel rail, injectors, and return lines. Diesel leaves an oily film even when dry. If you see fuel anywhere on the engine, mark that location before moving on.

  2. Step 2. Check all fuel line fittings by hand. Common-rail fittings use a banjo or compression design. Do not attempt to tighten high-pressure fittings while the engine is running. At this stage just check for obvious looseness or disconnection on the low-pressure side.

  3. Step 3. Inspect the fuel filter housing. Remove the filter and check the O-ring on the bowl and the housing sealing face. A swollen, cracked, or pinched O-ring is a common low-cost cause of pressure loss. Replace O-rings if in any doubt. Replacement O-ring kits typically cost under $15.

  4. Step 4. Check the fuel leak-off (return) line from the injectors. On most Perkins 1100 and 1104 series engines this is a black rubber pipe running across the top of the head. A split or loose clip here causes high return-flow readings that the ECM flags as a leak. Squeeze the pipe and look for cracks.

  5. Step 5. If no visible leak is found, suspect an injector leak-off issue. This requires a specialist leak-off test kit (a set of calibrated collection tubes fitted in place of the return line). If you do not have this kit, this is the point to call a Perkins-certified technician or your FG Wilson service dealer.

  6. Step 6. Inspect the wiring harness to the fuel rail pressure sensor (located on the end of the fuel rail). Look for chafed insulation, corroded connector pins, or a connector that has worked loose from vibration. A faulty sensor signal can trigger 1239-31 without any real fuel leak. Use a multimeter set to DC volts: with the key ON the sensor signal wire should read approximately 0.5 V at low pressure. Consult your wiring diagram for the exact pin.

  7. Step 7. Attempt a reset using the PowerWizard 1.1 or 2.0 panel: navigate to the fault menu, acknowledge the fault, and try to run the generator. If the code returns within seconds of start, the ECM is detecting a real or persistent pressure deviation. Do not continue running. Shut down and escalate to a technician with Perkins EST (Electronic Service Tool) to perform a live rail-pressure log and injector return-flow test.

  8. Step 8. If a Perkins EST technician is engaged, ask them to check for any related ECM software updates. On some early 1104D and 1106D ECM firmware versions, a known calibration drift in the rail-pressure deviation threshold has been corrected by a software reflash.

Frequently Asked Questions

What does Perkins code 1239-31 mean?

It means the ECM (engine control module) has detected that fuel pressure in the common-rail system is behaving in a way that indicates a leak. The common rail is the high-pressure fuel gallery that feeds all injectors. When pressure drops faster than expected, the ECM raises this fault to protect the engine and prevent a potential fire. It does not always mean fuel is visibly spraying. A worn injector, a failed seal, or even a faulty pressure sensor can trigger the same code.

Can my generator still run with this code?

No. The ECM is programmed to shut the engine down or severely derate it when this code is active. Even if you manage to get the engine running briefly, it will trip again quickly. More importantly, a real fuel leak near a hot exhaust manifold is a fire risk. Do not attempt to force the generator to keep running until the cause has been found and fixed.

How much does it cost to fix?

It depends on the cause. If the problem is just a cracked leak-off return pipe or a filter O-ring, a DIY repair with basic tools costs $15 to $80 in parts. If an injector needs to be tested and replaced, expect $400 to $900 per injector plus labor. High-pressure pump failure is the most expensive outcome, potentially $2,000 to $2,500 all-in for a larger Perkins unit. Have a technician perform a Perkins EST diagnostic before authorising expensive parts.

Will the generator start the next time the power goes out?

Almost certainly not. Code 1239-31 is a shutdown fault, which means the PowerWizard controller will block or immediately abort any start attempt, including emergency starts triggered by an ATS during an outage. You need to clear the root cause and reset the fault before the generator will respond to an automatic transfer switch signal. This is a high-priority repair.

Explore More