CG Corbay GlobalExcavator Technical Hub

Why an excavator engine keeps running after the key is off

A diesel engine stops because fuel is cut, not because a spark stops. So an engine that keeps running with the key off has one specific problem: something in the fuel stop path never operated.

Short answer

Trace the stop path in order. First identify how the machine stops: a fuel shutoff solenoid on the injection pump, an electronic governor actuator returning to the stop position, or an ECU that simply quits injecting. Then watch and listen at that device while an assistant cycles the key: a click means movement and no signal means a circuit fault. Finally measure voltage at the solenoid during the off command, because the direction the voltage moves tells you whether the coil, the wiring or the switch is at fault. Do not repeatedly stall the engine under load while diagnosing; it works as an emergency measure and nothing more.

What you will notice

SymptomWhat it usually points to
Engine runs on until it runs out of fuel or is stalledThe stop solenoid or actuator never moved. This is the classic complete failure and the easiest to trace.
Key off does nothing, but the engine dies after a minute or two of idlingA partial fuel cut somewhere in the supply side, or an actuator that creeps back slowly. Time the shutdown and compare with normal.
Engine shuts down with a shudder or a knockThe plunger is cutting fuel late or only partly. The shutdown is working but not cleanly.
It refuses to shut off only occasionallyAn intermittent circuit fault: a corroded connector, a tired relay or a worn key switch. Intermittent faults are wiring faults far more often than solenoid faults.
Engine stops but warning lights, pumps or glow system stay liveA separate accessory relay is sticking. The engine stop circuit and the accessory circuits share little more than the key switch.

Most likely causes

CauseHow to confirm it
Stop solenoid stuck openThe most common cause. Debris, corrosion or a worn plunger spring keeps the valve open. Solenoids on machines that work in dust and heat fail far more often than the wiring behind them.
No stop signal in the wiringA corroded connector, a broken conductor or a failed shutdown relay means the solenoid is healthy and never told to act. Test the voltage before buying a solenoid.
Key switch not passing the off positionA switch that no longer completes the off contact produces symptoms identical to a dead solenoid, and costs a fraction of one.
Electronic governor not returning to stopOn engines with a throttle actuator controlling the fuel rack, the actuator has to drive back to the stop position. A binding linkage or a lost calibration produces an engine that idles on.
Wrong or badly fitted replacement solenoidA solenoid installed without its gasket or spacing washers loses plunger travel and cannot fully close the fuel passage, even though it clicks convincingly.

How to confirm it

  1. Plan how the engine will be stopped before you start

    Diagnose with the machine on level ground, no attachment in the air, and the area around it clear. Know your emergency stop method: stalling against a load or blocking the intake works, but both are last resorts, so arrange the test so neither is needed.

  2. Identify the stop system type

    Consult the service documentation for the engine: a shutoff solenoid on the injection pump, an ECU that cuts injection, or an actuator that returns the rack. The test voltage behavior differs between types, and guessing it is how wrong parts get ordered.

  3. Listen at the solenoid while cycling the key

    Key on, then key off, with an assistant at the switch and your ear or a screwdriver on the solenoid body. A distinct click on shutdown means the device moves; silence means either no signal or a dead coil.

  4. Measure voltage at the solenoid during the off command

    Backprobe the connector and watch the meter while the key turns off. On a de-energized-to-run system the feed must drop to zero; on an energized-to-stop system it must appear. Whatever the design, the reading either matches or it does not, and that single comparison splits the fault in two.

  5. Test the coil and the plunger travel

    With the solenoid removed or unplugged, measure coil resistance against specification and slide the plunger by hand: it must move freely and return fully. A coil that reads open or a plunger that binds settles the question.

  6. Work backward through the circuit if the voltage is wrong

    Key switch output, shutdown relay, inline connector, then the harness. Measure at each point in the off position and the fault is wherever the correct voltage first disappears.

What to do about it

No voltage at the solenoid during shutdown: the circuit is the fault, not the solenoid. Repair the switch, relay or wiring. A new solenoid fitted to a dead circuit will click exactly as rarely as the old one.

Correct voltage present and the solenoid silent: the coil has failed. Replace the solenoid, matching coil voltage and mounting style exactly.

Solenoid clicks but the engine still runs on: plunger travel is the problem. Check for a missing gasket or spacing washer, debris in the bore, or a spring too weak to seat the plunger, and replace if travel cannot be restored.

On an ECU-governed machine that keeps injecting, do not start by replacing parts. Read the fault codes and verify the shutdown command with the diagnostic tool; the fault is frequently a sensor input or a power-down fault rather than a fuel component.

Once it is repaired, record what failed and how it was proven. A shutdown circuit that has failed once tends to have been repaired once, and the next owner of the machine benefits from the note.

When a stop solenoid, relay or switch is needed, Guangzhou Shenyue Machinery Technology Co., Ltd. supplies engine electrical and fuel system parts from Guangzhou, where we hold 3,000+ part types on the shelf and 100,000+ part numbers available to order through original supply channels.

Parts you may need, by grade

PartGrades commonly quoted
Fuel shutoff solenoidGenuine; OEM-quality. Match coil voltage, plunger direction and gasket exactly.
Solenoid gasket and spacing washersGenuine; OEM-quality. Missing spacers quietly remove plunger travel.
Shutdown relayGenuine; OEM-quality. Cheap, common and worth testing before anything else in the circuit.
Key switchGenuine; OEM-quality. Match terminal arrangement to the machine generation.
Connector and terminal repair partsGenuine; OEM-quality. Corrosion here is the usual root cause of intermittent refusal to stop.

Need the parts this covers?

Send the machine model, serial number and the part numbers you need. We confirm fitment before payment and state the grade of every line — genuine, OEM-quality or aftermarket.

Request a quote

Frequently asked

Is it harmful to stop the engine by stalling it?

Occasionally, no. Repeatedly, yes: stalling under load shocks the driveline and the accessory drives, and an engine stopped this way at high idle is harder on everything than one shut down by its fuel circuit. Use it in an emergency and fix the stop path promptly.

Could a clogged fuel filter cause this?

No. Restriction in the fuel supply produces power loss and stalling under load, never an engine that refuses to stop. A diesel that will not shut off is a fuel control problem, and the fuel control is upstream of the filter question entirely.

Where is the stop solenoid on my excavator?

On mechanically governed engines it is mounted on the injection pump, usually the largest single-wire device on it. On electronically governed engines there may be no solenoid at all, because the ECU simply stops injecting, and the diagnosis moves to the shutdown command and its inputs.