A cargo train destined for Uganda derailed off the Makupa Causeway as it left Grain Bulk Handlers Limited causing a commotion as looters descended on the wagons to steal wheat it was transporting.
Police had to be called in to control the looters who were determined to make a kill out of the tragedy.
Two of the 19 wagons fell into the ocean while others were trapped by mangrove trees.
It was not immediately revealed what led to the accident as Kenya Railways officials at the scene remained tightlipped as they are not authorised to speak to the media.
However, some locals, on condition of anonymity claimed the poor condition of the rail-lines could be the cause of the incident.
“Just look at this line and you can tell when it was last maintained to hold a train,” said one of the locals.
Police had a hard time controlling the surging crowd of locals and was at one time forced to shoot in the air to disperse them.
Some used canoes to steal sacks of wheat while others carried on their shoulders as police tried to seal-off the wagons.
A rescue engine was deployed to the scene to help in retrieving the wagons and getting them back on rail.