Greater Manchester Fire and Rescue Service said around 40 firefighters were called to the derailed train that caught fire close to Wilburn Street in Salford on the edge of Manchester city centre.
Fire engines from Salford, Moss Side, Broughton and Manchester Central fire stations were involved.
Four people, a driver, engineer and two others were on board the train and walked off safe and well.
The fire is believed to have involved an engine at the back of the train.
British Transport Police (BTP) have confirmed the train was a charter service run by West Coast Railways.
Station Manager Paul Etches said: "Crews quickly brought the fire under control to stop it spreading to the other carriages using jets and foam branches.
“Firefighters will remain on the scene dampening down and assisting BTP with their enquiries."
More top news
A lucky road worker who scooped £1 million on a £5 lottery scratchcard has promised to go back to work - but this time without the overtime.
A 50-year-old man has been arrested after he was seen wearing a T-shirt in a pub that mocked the victims of the Hillsborough disaster.
Spots of rain reaching the region on Tuesday evening with some showers on Wednesday. High pressure building from Thursday