Lokali
Aghmat
Free audio guide

Aghmat

31.4225° N · 7.8011° W · Archaeological Site

Photo: Rui Ornelas from Lisboa, Portugal · CC BY 2.0 · Wikimedia Commons

Aghmat is an archeological site in Morocco. Aghmat was a major town before Marrakesh was founded. The free Lokali audio guide runs 6 minutes.

✓ Published October 2026 · how we write these guides

At a glance

Visitor facts

Lokali audio guide6 min · free
TypeArchaeological Site
LocationAl Haouz, Morocco
Coordinates31.4225, -7.8011
Languages50+, in the Lokali app
The guide

The story

Stand still for a moment and listen. Wind moves through olive trees. A dog barks somewhere in the village. To the south, the High Atlas rises in folds of ochre and grey, with snow on the peaks in the colder months. The ground under your feet is dry, reddish earth. It looks like an ordinary Moroccan farming village... but beneath these fields lie the remains of one of the most important towns in medieval North Africa.

This is Aghmat. It sits on the plain of Al Haouz, southeast of Marrakesh, close to where the Ourika Valley opens toward the mountains. Today it is quiet. A small cluster of houses, a road, a few shops. Long before Marrakesh existed, though, this was the place where caravans stopped, where traders met, and where rulers held court. Marrakesh is the younger city. Aghmat came first.

The town grew because of its position. It stood at the edge of the plain, at the foot of the mountain passes. Water came down from the Atlas in streams and channels, so the land around it could be farmed. Routes ran north toward the Mediterranean and south across the mountains toward the Sahara. Goods, people and ideas passed through here. Medieval geographers wrote about Aghmat as a wealthy market town with fertile gardens.

In the eleventh century, a new power arrived. The Almoravids were a movement of Amazigh tribes from the Sahara — Amazigh is the name for the Indigenous peoples of North Africa, often called Berbers. They were led by religious reformers and warriors. Around the middle of that century, they took control of Aghmat. For a time, the town became their base in the north, before they pushed on to build an empire.

Here is the first surprise. One of the most powerful figures in this story was a woman from Aghmat. Her name was Zaynab al-Nafzawiyya. She had been married to the local ruler of the town. Later she married the Almoravid leader Abu Bakr ibn Umar, and after him, his cousin Yusuf ibn Tashfin, who became the great Almoravid sultan. Chroniclers describe her as intelligent, wealthy and politically skilled. Some say Yusuf relied on her advice in many of his decisions.

As the Almoravids grew stronger, Aghmat became crowded. Their camps and followers needed more space. So, in the second half of the eleventh century, they founded a new settlement out on the open plain. That settlement became Marrakesh. Over time, the new city drew power, trade and people away from the old one. Aghmat slowly faded, while Marrakesh became a capital that gave its name to the whole country in many languages.

The second surprise involves a king from Spain. Al-Mutamid ibn Abbad ruled Seville, in Muslim Spain, which was known then as al-Andalus. He was also one of the finest Arabic poets of his age. When Christian kingdoms pressed south, he asked the Almoravids for help. Yusuf ibn Tashfin crossed the sea and won. But in the end, Yusuf removed Al-Mutamid from power and sent him into exile — here, to Aghmat.

The poet-king spent his final years in this town, far from the palaces and gardens of Seville. He lived in poverty and captivity. His wife, Itimad, shared his exile. During these years, he wrote poems about loss, chains, his daughters spinning wool for money, and the life he had left behind. Those verses are still read and studied across the Arabic-speaking world. He died here in the last years of the eleventh century.

Today, his tomb is the most visited spot in Aghmat. The mausoleum is a modern building from the twentieth century, built to honour him. It is simple and calm, with white walls, a garden and a domed chamber. Inside, his grave lies beside that of his wife. Visitors from Morocco and from Spain come here, and poets sometimes leave verses or recite lines in his memory. Lines of his poetry are displayed on the walls.

For centuries, much of old Aghmat was hidden under farmland. That changed in the early twenty-first century, when a joint Moroccan and American team of archaeologists began excavating here. They found the remains of a large mosque, parts of a palace area, and a public bathhouse, called a hammam. The hammam is one of the oldest known in Morocco, and its rooms are still clear to read on the ground.

If you visit the excavations, look at how the bathhouse was organised. Like Roman baths before it, a hammam moved people from cool rooms to warm rooms to hot rooms. Fires heated the air under raised floors, and the warmth rose through the stone. You can trace this sequence in the walls and channels. It is a rare chance to see the bones of daily life in a medieval Moroccan town — not a fortress or a palace, but a place where ordinary people washed and talked.

As you walk, notice the building materials. Much of the old construction used rammed earth, a technique where damp soil is packed tightly between wooden frames to form thick walls. You still see this method in villages across the Atlas. Fired brick and stone also appear in places that needed strength or resistance to water. The colour of the walls is the colour of the fields around them. The town was built from its own ground.

Before you leave, turn toward the mountains one more time. The same peaks looked down on caravans, sultans and an exiled poet. Now they look down on olive groves and a quiet village road. Listen again to the wind in the trees. Somewhere under the earth near your feet, there may still be walls that no one has seen for nine hundred years. Aghmat keeps most of its story underground... and lets you stand on top of it.

Good to know

Key facts

Aghmat was a major town before Marrakesh was founded.
The Almoravids took Aghmat in the eleventh century.
Zaynab al-Nafzawiyya, an influential Almoravid queen, came from here.
Seville's poet-king Al-Mutamid died here in exile.
Excavations uncovered one of Morocco's oldest known public bathhouses.
Look closer

What to look for

Al-Mutamid's grave lying beside his wife's tomb.
Poetry lines displayed on the mausoleum walls.
Hot and cool room sequence in the bathhouse ruins.
Thick rammed-earth walls matching the colour of the fields.
High Atlas peaks rising directly south of the village.
Before you go

Practical tips

Combine your visit with a trip into the Ourika Valley.
Come in the morning for clearer views of the Atlas.
Bring water and sun protection for the open excavation site.
Dress modestly when visiting the mausoleum and its garden.
Read a few of Al-Mutamid's poems before you arrive.
Questions

Common questions

Is there a free audio guide to Aghmat?

Yes — the Lokali app narrates Aghmat free of charge in 50+ languages. The guide runs about 6 minutes, covers the history, what to look for on site and practical tips, and works offline once downloaded.

Where is Aghmat?

Aghmat is near Al Haouz, Morocco, at 31.4225, -7.8011. Tap the map link on this page for directions from where you are.

What is Aghmat known for?

Aghmat was a major town before Marrakesh was founded. The Almoravids took Aghmat in the eleventh century.

What should you look for at Aghmat?

Al-Mutamid's grave lying beside his wife's tomb. Poetry lines displayed on the mausoleum walls. Hot and cool room sequence in the bathhouse ruins.

What should you know before visiting Aghmat?

Combine your visit with a trip into the Ourika Valley. Come in the morning for clearer views of the Atlas.

When is the best time to visit Aghmat?

Come in the morning for clearer views of the Atlas.

Location

On the map

Opens directions to Aghmat from your location.

Nearby

More to see near Aghmat

Free · 50+ languages · offline

Hear Aghmat in your language

The full story, narrated, in 50+ languages. Download it before you go and it plays offline, at your own pace, with no ticket and no tour group.

Google PlayGet the app