Engine speed surges at low or high idle

Cause Correction
Fuel level low Check/fill the tank
The condition occurs at idle, the idle speed is set too low for accessories Adjust the idle
Throttle linkage mis-adjusted or damaged Adjust or repair the linkage
High Pressure fuel leak Inspect the high pressure lines, fittings, or delivery valve seals for leaks and repair if necessary.
Air in the fuel system Bleed the fuel system and check for suction leaks and check for malfunctioning supply pump
Injectors worn or malfunctioning Check the injectors and replace any malfunctioning injectors.
Fuel injection pump malfunctioning/delivery valves malfunctioning Remove the fuel injection pump and repair or replace as necessary