The engine oil pressure switch opens and the safety relay kills the engine. This is a clean, abrupt shutdown -- the safety system doing its job. Could be genuinely low oil pressure or a faulty sensor/switch.

What you'll see

The engine starts normally but shuts down cleanly after a few seconds. When you press the start button, the safety switches are overridden to allow the engine to start and build oil pressure. The moment you release the start button, the safety circuit takes over. If the oil pressure switch is open (low oil pressure or faulty switch), the safety relay drops out and the fuel shutoff solenoid closes, stopping the engine instantly. The shutdown is clean -- no sputtering or rough running.
Before you assume this is the problem

If the engine sputters and dies rough, this is a fuel problem, not oil pressure. See: Fuel Starvation. If the engine runs for 30+ minutes before shutting down, oil pressure likely built up fine at startup -- the problem is more likely temperature-related. See: Overheating.

See all causes of engine starts then shuts down →

How to diagnose

  1. Check engine oil level

    Pull the dipstick. Oil level should be between the MIN and MAX marks. If it is low or empty, top up before any further testing. Low oil level is the simplest explanation and the first thing to check.
    Result: Oil level OK = switch/sensor may be faulty. Oil low = top up and retest.
  2. Check the oil pressure switch

    The oil pressure switch is usually mounted on the engine block near the oil filter. It has 1 or 2 wires. It should be closed (conducting) when oil pressure is above approximately 1.5-2.5 bar. With the engine stopped (no oil pressure), the switch should be open. Disconnect the wire(s) and bridge the connection -- if the engine now stays running, the switch is the problem (either faulty or the oil pressure is genuinely too low).
    Result: Engine stays running with switch bypassed = switch faulty or low oil pressure. Still shuts down = problem elsewhere in safety circuit.
  3. Verify actual oil pressure

    If you suspect genuinely low oil pressure, remove the oil pressure switch and install a mechanical pressure gauge in its place. Start the engine and read the actual pressure. Normal oil pressure for most diesel engines is 2-4 bar at idle and 3-6 bar at full speed. Below 1.5 bar at idle indicates a real oil pressure problem (worn oil pump, blocked pickup, thin oil, or worn bearings).
    Result: Pressure above 2 bar at idle = switch was faulty. Below 1.5 bar = genuine low oil pressure.

How to fix it

  1. Replace a faulty oil pressure switch

    If the oil level and actual pressure are OK, replace the switch. They are inexpensive and commonly fail. Use the correct part for the engine model -- the pressure setpoint varies between engines. Apply thread sealant (not PTFE tape) when installing.

  2. Address genuinely low oil pressure

    If oil pressure is genuinely low: check that the correct oil viscosity is being used (too thin = low pressure). Check the oil pickup screen in the sump for blockage. On high-hour engines, the oil pump may be worn or the bearings may have excessive clearance. This is engine overhaul territory -- consult a diesel mechanic.

Common mistakes

Bypassing the oil pressure switch permanently to keep the compressor running is extremely dangerous. The switch exists to protect the engine from catastrophic bearing failure. If you bypass it for testing, reconnect it immediately afterward. Also: make sure you identify the right switch -- some engines have both an oil pressure switch (safety) and an oil pressure sensor (gauge display). The safety switch is the one in the safety relay circuit.

Parts & tools

Engine oil and dipstick. Multimeter for testing switch continuity. Mechanical oil pressure gauge for verification. Replacement oil pressure switch (engine-specific). Thread sealant.

Review safety precautions before starting →

Safety

Low engine oil pressure is a serious condition. If the oil level is genuinely low or the oil is degraded, running the engine even briefly can cause bearing damage. Check the oil level before repeated start attempts.

This issue can also cause