However the train driver and the guard were safe, he added.
The incident occurred in the afternoon on the Ambala-Saharanpur rail route, Ambala's Divisional Railway Manager Dinesh Kumar told PTI over phone.
"A few bogies of a goods train, which had started from Ambala and was running on the Ambala-Saharanpur route, derailed near Kesri station, close to Ambala," he said.
The cause of the accident could not be ascertained immediately.