In a miraculous story of survival, a working dog has survived a three-hour, 250-kilometre trip in the cramped and incredibly hot engine bay of a truck.

Cassie the kelpie lives on the Wills family’s property near Streatham in south-west Victoria.

On Thursday, during stormy weather, it is believed she took refuge on the back of a ute belonging to a worker on the farm.

The worker travelled home that night, 60 kilometres west to near Glenthompson, where it is thought Cassie made her way to the local service station where a K&S Freighters truck was pulled up for the night.

There, it seems she went under the truck and crawled up into the engine bay.

The next morning the truck travelled from Glenthompson to the K&S workshop in Truganina to be serviced.

A miraculous scene

While you might think a horror scene confronted the workers at K&S, the opposite was true.

Diesel mechanic Roman Cruz spoke to ABC Rural about discovering Cassie in the engine bay.

“When the boys in the service bay tilted the cab over they found the dog wagging her tail, got her down straight away, and she started walking,” he said.