A powerful earthquake killed at least 450 people in northern Morocco yesterday, toppling mud-brick homes and burying residents in their sleep under tons of rubble.

Officials warned the death toll could rise in poor mountain villages around the Mediterranean port city of Al Hoceima.

In the village of Ait Kamara, 18 kilometres to the south, many houses were flattened like cardboard boxes.

"I woke up to a big bang, I don't even remember how I managed to escape from the house," said Abdelkhalek, a teacher who did not want to give his full name.

His parents, three brothers and one sister died in their home reduced to rubble in the nearby hamlet of Ait Abdelaziz where he said 70 per cent of houses were destroyed.

"My sister was shouting, begging me to lift a big, heavy door under which she was trapped. We could not, she died," he said, sobbing.

The US Geological Survey said the quake measured 6.5 on the Richter scale and struck at around 2:30 a.m. (0230 GMT) when people were asleep.

It was the country's worst quake in more than 40 years. But damage in the fishing port and beach resort of about 70,000 inhabitants was limited.

Aftershocks and rain complicated relief efforts in the outlying villages in the foothills of the Rif mountains in a predominantly Berber area.

"It's a total disaster, the world needs to help us," Hassan Hmidouch, head of the town council in the village of Im-Zouren, told Reuters TV.

"We don't have sniffer dogs or any equipment to lift or cut iron bars," he earlier told 2M state television.

Residents, some digging with their bare hands or shovels in their flattened homes, said heavy equipment was missing.

"They sent the military which basically ordered us to stop digging but they couldn't do much themselves for lack of equipment," Abdelkhalek said.

Authorities in Al Hoceima struggled to cope with hundreds of victims.

"As soon as we think we've seen all the dead and injured, more keep coming in ambulances," said a doctor at the main Mohammed V hospital, where dozens of corpses lay.

Many of the injured were being treated in an army barracks, health centres and charity homes. Others were airlifted to the capital Rabat, Casablanca and Meknes.

Josephine Shields, an official with the International Federation of Red Cross and Red Crescent Societies (IFRC) in Tunis, said six villages within 15 kilometres of Al Hoceima had been hit.

"We've been told that the entire affected area has between 300,000 and 400,000 people. It is a remote area, very mountainous, so it is a bit difficult to access."

She said victims needed blankets, warm clothing, food and water. "There is possibly a need for a field hospital as local health facilities are basically saturated," she added.

Morocco's state MAP news agency said a rescue operation involving the army and navy was under way and King Mohammed planned to visit the disaster area.

A member of the royal palace said the king had cancelled appointments to supervise operations.

North Africa's last major earthquake hit neighbouring Algeria last May. It measured 6.8 on the Richter scale and killed 2,300 people near the capital Algiers.

Morocco's worst recorded quake was on February 29, 1960. It destroyed the Atlantic city of Agadir, killing 12,000 people.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.