More than 600 people have been killed after a 7.8-magnitude earthquake struck southern Turkey and northern Syria.

With hundreds injured, the death toll of 641 is expected to rise as rescue workers search through rubble in cities and towns across the area.

On both sides of the border, residents jolted out of sleep by the pre-dawn quake rushed outside as buildings were flattened and strong aftershocks continued.

Rescue workers and residents in multiple cities searched for survivors, working through tangles of metal and giant piles of concrete.

READ MORE: Search ongoing for 11-year-old girl missing overnight from Scots town

Buildings were devastated in the Turkish city of Adana, while further east in Diyarbakir, cranes and rescue teams rushed people on stretchers out of a mountain of pancaked concrete floors that was once an apartment building.

On the Syrian side of the border, the quake smashed opposition-held regions packed with some four million people who were displaced from other parts of Syria by the country’s long civil war.

Dr Muheeb Qaddour said from the town of Atmeh: “We fear that the deaths are in the hundreds.”

Raed Salah, the head of the White Helmets, the emergency organization in opposition areas, said whole neighbourhoods were collapsed in some areas.

The Herald: People search a collapsed building following an earthquake in Azmarin town, Idlib province, northern SyriaPeople search a collapsed building following an earthquake in Azmarin town, Idlib province, northern Syria (Image: AP)

The quake, which was felt as far away as Cairo, struck a region that has been shaped by more than a decade of civil war in Syria.

Millions of Syrian refugees live in Turkey. The swath of Syria affected by the quake is divided between government-held territory and the country’s last opposition-held enclave, which is surrounded by Russian-backed government forces.

The quake was centred about 60 miles from the Syrian border outside the city of Gaziantep, a major Turkish provincial capital.

At least 20 aftershocks followed, some hours later during daylight, with the strongest measuring 6.6, Turkish authorities said.

Turkish President Recep Tayyip Erdogan said on Twitter that “search and rescue teams were immediately dispatched” to the areas hit by the quake.

READ MORE: Moscow vodka giant bids to break whisky boycott of Russia

“We hope that we will get through this disaster together as soon as possible and with the least damage,” he wrote.

Turkey’s Disaster and Emergency Management agency said at least 284 people were killed in seven Turkish provinces. The agency said 440 people were injured.

The death toll in government-held areas of Syria climbed to 237 with more than 630 injured, according to Syrian state media. At least 120 people were killed in rebel-held areas, according to the White Helmets.

Buildings were reported collapsed in a cross-border region extending from Syria’s cities of Aleppo and Hama to Turkey’s Diyarbakir, more than 200 miles to the north-east.

The Herald: The quake was centred about 20 miles from GaziantepThe quake was centred about 20 miles from Gaziantep (Image: PA)

In Turkey, people trying to leave the quake-stricken regions caused traffic jams, hampering efforts of emergency teams trying to reach the affected areas. Authorities urged residents not to take to the roads. Mosques around the region were being opened up as a shelter for people unable to return to damaged homes amid temperatures that hovered around freezing.

The quake heavily damaged Gaziantep’s most famed landmark, its historic castle perched atop a hill in the centre of the city. Parts of the fortresses’ walls and watch towers were levelled and other parts were heavily damaged, images from the city showed.