At least fourteen migrants have died after being hit by an international passenger train in central Macedonia as they walked through a canyon along an increasingly well-trodden Balkan route for migrants trying to reach western Europe.

The accident happened at night near the central city of Veles.

Rescue efforts were hampered by difficult terrain, with the site of the accident accessible only by foot or railway.

Macedonia's state prosecutor said that from interviewing survivors it appeared most of the group were from Somalia and Afghanistan.

Migrants fleeing war, poverty and repression in the Middle East and Africa are increasingly turning to the Balkans as a land route to western Europe.

Although the route is longer, it is deemed safer than trying by boat across the Mediterranean.

Up to 900 migrants drowned when their boat capsized its way from Libya to Italy on Sunday.

The Macedonian prosecutor confirmed the 14 deaths and said rescue services found no injured migrants at the site, an area called Pcinja north of Veles and near the Vardar river.

Local media reported that the group numbered around 50.

They were hit by an international train travelling from the southern Macedonian border town of Gevgelija to the Serbian capital, Belgrade, the same route taken by migrants trying to get from Greece to Hungary.

"The driver saw a large group, dozens of people," the prosecutor said in a statement.

"At that moment, he took action to stop the train and engage the siren, at which point some people left the tracks. The train was unable to stop before hitting and running over some of them."

Emergency service workers described a "scene of horror with body parts scattered some 150 metres along the railroad".

The bodies were taken to a chapel at the local cemetery in Veles, police said.

Eight migrants were detained, while others fled the scene, police spokeswoman Anita Stojkovska said.

Already, more than 1,750 migrants have died crossing the Mediterranean this year — 30 times more than the same period in 2014.

Reuters/AFP