A strong earthquake of magnitude 6.8 has struck central Morocco, killing at least 632 people, the country's interior ministry says.
The epicentre was in the High Atlas Mountains, 71km (44 miles) south-west of Marrakesh, at a depth of 18.5km, the US Geological Survey said.
The quake struck at 23:11 local time (22:11 GMT) on Friday. There was a 4.9 aftershock 19 minutes later.
People died in Marrakesh and several areas to the south, the ministry said.
Many of the victims are believed to be in remote areas.
The interior ministry said the earthquake killed people in the provinces and municipalities of al-Haouz, Marrakesh, Ouarzazate, Azilal, Chichaoua and Taroudant, adding that at least 329 people have been injured.
Many people spent the night out in the open as the Moroccan government had warned them not to go back into their homes in case of severe aftershocks.
Hospitals in Marrakesh have seen an influx of injured people, and the authorities have called on residents to donate blood.
There are also reports of families trapped under the rubble of their homes in the city, and damage to parts of the Medina, a Unesco World Heritage Site.
Some buildings have collapsed, one resident told the Reuters news agency. Several clips on X show buildings crashing down, but the BBC has not identified where they were.
Dust could also be seen surrounding the minaret of the historic Kutubiyya mosque in Marrakesh, a major tourist attraction near the old city's main square.
One man described feeling a "violent tremor" and seeing "buildings moving".
"People were all in shock and panic. The children were crying and the parents were distraught," Abdelhak El Amrani told the AFP agency.
He said power and phone lines were down for 10 minutes.
Marrakesh resident Fayssal Badour had been driving when the quake hit.
"I stopped and realised what a disaster it was," he told AFP. "The screaming and crying was unbearable."
The quake's epicentre in a remote area of the High Atlas Mountains was relatively shallow - and tremors were also reportedly felt in the capital Rabat, some 350km away, as well as Casablanca and Essaouira.
Simple buildings in mountain villages near the epicentre may not have survived and, being remote, it may take some time to determine casualties there.
British journalist Martin Jay, who lives in Morocco, was woken by the sound of screams.
He told the BBC Radio 4's Today programme there was "this weird evening of almost every single town in Morocco, most people are sitting on the ground outside of their houses or apartment blocks, because they were afraid of the second earthquake which they predicted would come two hours later. Thank God it didn't".
The quake was also felt in neighbouring Algeria, but officials said it had not caused any damage or casualties.
Speaking at the G20 summit in Delhi, Indian Prime Minister Narendra Modi said the international community would come to Morocco's aid.
Spanish Prime Minister Pedro Sanchez offered "solidarity and support to the people of Morocco". French President Emmanuel Macron said he was "devastated" by the news and offered assistance to Morocco.
Latest Stories
-
Syria’s minorities seek security as country charts new future
51 seconds -
Prof. Nana Aba Appiah Amfo re-appointed as Vice-Chancellor of the University of Ghana
8 minutes -
German police probe market attack security and warnings
8 minutes -
Grief and anger in Magdeburg after Christmas market attack
9 minutes -
Baltasar Coin becomes first Ghanaian meme coin to hit DEX Screener at $100K market cap
59 minutes -
EC blames re-collation of disputed results on widespread lawlessness by party supporters
1 hour -
Top 20 Ghanaian songs released in 2024
2 hours -
Beating Messi’s Inter Miami to MLS Cup feels amazing – Joseph Paintsil
2 hours -
NDC administration will reverse all ‘last-minute’ gov’t employee promotions – Asiedu Nketiah
2 hours -
Kudus sights ‘authority and kingship’ for elephant stool celebration
2 hours -
We’ll embrace cutting-edge technologies to address emerging healthcare needs – Prof. Antwi-Kusi
3 hours -
Nana Aba Anamoah, Cwesi Oteng special guests for Philip Nai and Friends’ charity event
3 hours -
Environmental protection officers receive training on how to tackle climate change
3 hours -
CLOGSAG vows to resist partisan appointments in Civil, Local Government Service
4 hours -
Peasant Farmers Association welcomes Mahama’s move to rename Agric Ministry
4 hours