Twenty six wagons of the train derailed at a place between Bhagua and Durgawati stations at around 2115 hours but there was no casualty or injury to drivers or guard of the train, Additional Divisional Railway Manager of Mughalsarai Ramesh Chandra said.
The goods train was coming from Dhanbad to Mughalsarai junction.
As the derailed wagons fell on both up and down tracks, the movement of trains on routes between New Delhi and Howrah and New Delhi and Sealdah was severely affected.
Rajdhani Express trains from Howrah and Sealdah, which pass through the area at night, have been diverted via Patna and Gaya, Chandra said.
Trains going from New Delhi to Howrah, Sealdah and Puri have also been asked to take Patna-Gaya routes.
A relief train has been sent to the accident spot from Mughalsarai.
Chandra said efforts are on to clear at least one track so that train movement can be partially resume.