Zellige-covered tombs in al-Mutamid’s mausoleum at Aghmat, August 2022

MOROCVIA · Ghmate travel guide

Ghmate: guide to Aghmat, an Almoravid city

Zellige-covered tombs in al-Mutamid’s mausoleum at Aghmat, August 2022 · Ahlamine · CC BY-SA 4.0 · Wikimedia Commons. Converted to WebP and resized; cropped for display.
By MOROCVIA

Guide to Ghmate (Aghmat), near Marrakech: archaeological site of a medieval city, al-Mutamid's mausoleum, Almoravid history, population and tips.

Contents

Ghmate, known as Aghmat in old texts, is a rural commune in Al Haouz province, in the Marrakech-Safi region. It is home to one of the most important historic sites in southern Morocco: the remains of a great Berber trading city of the Middle Ages.

Today the archaeological site is known as Joumâa Aghmat. Our ideas for visits are gathered in Things to do in Ghmate.

Where is Ghmate?

The site lies at about 31°25′ north and 7°48′ west, some thirty kilometres southeast of Marrakech, on the road to the Ourika valley.

As the crow flies, Tahannaout is about 16 kilometres to the west-southwest. To the south, the road leads towards the Ourika valley and the first peaks of the High Atlas.

A leading medieval city

Aghmat was for a long time a rich and busy town. In the eleventh century, the geographer al-Bakri reported that 100 cattle and 1,000 sheep were slaughtered there every Sunday for the souk, a sign of its importance.

He distinguished two Aghmats: Aghmat Ourika, the commercial and political centre, and Aghmat Aylan, eight miles away. The town's port lay three days' walk to the west.

The Almoravids and Zaynab

The Almoravids entered the town on 27 June 1058. Zaynab an-Nafzawiyya, widow of the town's lord, married their leader Abu Bakr ibn Umar and then, after his return to the Sahara in 1071, his successor Yusuf ibn Tashfin.

Abu Bakr founded Marrakech in 1070. From then on, Aghmat slowly declined in favour of the new capital.

The poet-king of Seville

Al-Mutamid ibn Abbad, former king of Seville and Cordoba and a celebrated poet, ended his days in exile in Aghmat. Abdallah ibn Buluggin, former king of Granada, also wrote his memoirs there.

Al-Mutamid's tomb is still a place of pilgrimage. It is sheltered by a modern mausoleum built in 1970, topped with a dome in the Almoravid style.

After the Almoravids

The Almohads took Aghmat without a fight on 27 June 1146. The town remained inhabited: in 1860 the consul Beaumier still counted 5,500 inhabitants there, including 1,000 Jews.

On 18 November 1950, a demonstration linked to the Istiqlal party took place in front of al-Mutamid's tomb before being put down.

What remains of the city?

The visible remains include part of the ramparts, a hammam, the ruins of houses and khettaras, the underground irrigation channels of southern Morocco. An archaeological team, the Aghmat Archaeological Mission, has carried out excavations on the site.

The commune today

According to the High Commission for Planning, the commune of Ghmate had 20,460 inhabitants in 1994, 22,805 in 2004, 25,220 in 2014 and 28,674 in 2024. The small urban centre had only 1,208 residents in 2014: most people live in the douars, the rural hamlets around it.

Tips for your visit

  • Combine the visit with the Ourika valley.
  • Come in the morning to avoid the heat.
  • Dress modestly near the mausoleum.
  • Do not walk on fragile remains.

For access, accommodation and the best season, see our practical information on Ghmate.

Sources and useful information

Explore your Ghmate stay further

Other stops in Morocco

Written by MOROCVIAAn independent travel guide to Morocco, published in five languages. Each guide relies on identified sources; opening hours, prices and access change, so check them before your visit.About us · Report an error