Ouirgane Marrakech Guide logo

Tinmel Mosque: The Almohad Mosque of the High Atlas

By · · Updated · 5 min read
Tinmel mosque, Almohad monument in the High Atlas
In short: The Tinmel mosque is a 12th-century Almohad mosque built around 1148 in Tinmel, the movement's spiritual home, about 100 km south of Marrakech and 30 to 35 km from Ouirgane. It was badly damaged in the 2023 earthquake and is under restoration, so check access before visiting with a local guide.

Deep in the Nfis gorges, upstream from Ouirgane, stands one of the most important monuments of medieval Morocco. The Tinmel mosque was built in the 12th century in the village where the Almohad movement was born, a dynasty that went on to rule an empire stretching from Al-Andalus to Tunisia. Few visitors make it this far, which is exactly why the journey is so memorable.

This guide covers its history, the effects of the 2023 earthquake and current restoration, how to get there from Marrakech and Ouirgane, and how to visit respectfully.

What is the Tinmel mosque?

The Tinmel (also spelled Tin Mal) mosque is a 12th-century Almohad mosque in the village of Tinmel, in the High Atlas about 100 km south of Marrakech. It was built around 1148 under the caliph Abd al-Mu'min, in honour of Ibn Tumart, the spiritual founder of the Almohad movement, who had made Tinmel his base in the early 12th century. Its architecture, with horseshoe arches, carved stucco and a sober, fortress-like exterior, influenced later Almohad monuments such as the Koutoubia in Marrakech. The site is on Morocco's UNESCO World Heritage tentative list.

Unusually, it was one of the very few historic mosques in Morocco that non-Muslim visitors could enter, as it no longer served as an active place of worship.

Tinmel mosque in the Nfis valley south of Ouirgane
The Almohad mosque of Tinmel, set above the Nfis river.

A short history of Tinmel

  • Early 12th century: Ibn Tumart, a religious reformer from the Souss region, settles in Tinmel and gathers followers among the Masmuda tribes of the High Atlas.
  • Around 1130: after Ibn Tumart's death, his disciple Abd al-Mu'min leads the Almohads in their campaign against the Almoravids.
  • 1147: the Almohads take Marrakech, which becomes their capital.
  • Around 1148: the mosque is built at Tinmel, the movement's spiritual home.
  • 13th century onwards: after the decline of the Almohads, Tinmel loses its importance, but the mosque survives in its mountain setting.
  • September 2023: the Al Haouz earthquake, whose epicentre was in the nearby mountains, severely damages the mosque.

The 2023 earthquake and restoration

The earthquake of 8 September 2023 struck the region around Ouirgane, Talat N'Yaaqoub and the Nfis valley particularly hard. Many villages were damaged and the Tinmel mosque suffered major structural collapse. Moroccan authorities announced a restoration programme soon afterwards, and work has been under way since. Access to the interior may be restricted or closed depending on the progress of the works, so check the latest situation with your guide before travelling. Even with restrictions, the site and the surrounding village are deeply moving, and visitors contribute to the local economy through guides, cafés and guesthouses.

How to get to Tinmel

Starting pointDistance (approx.)Drive time (approx.)Route
MarrakechAbout 100 km2 – 2.5 hoursTahanaout, Asni, Ouirgane, R203
Ouirgane30 – 35 km40 – 45 minR203 along the Nfis gorges
ImlilAbout 65 km1h30Via Asni and Ouirgane
TaroudantAbout 120 km3 hoursOver the Tizi n'Test pass

The R203 road is paved but winding. Avoid driving it after dark, and check conditions after storms, when rockfalls can occur.

Tinmel and the Almohad legacy

To understand why a mosque in a remote mountain village matters so much, it helps to look at what the Almohads achieved. From their base in the Nfis valley, they united much of North Africa and Muslim Spain under a single caliphate. Their capital, Marrakech, gained the Koutoubia mosque, the Kasbah and many of the city gates still visible today. In Seville they built the Great Mosque whose minaret survives as the Giralda, and in Rabat they began the Hassan Tower. Tinmel is the beginning of that story: a modest but powerful building where the movement's ideals of simplicity and reform were first expressed in stone.

For travellers who have already visited the Koutoubia, seeing Tinmel completes the picture. The proportions, the arch forms and the restrained decoration echo each other across the mountains and the plain, about 100 km apart.

The Nfis gorges: the journey itself

The drive from Ouirgane to Tinmel is one of the most scenic short routes in the western High Atlas. The road follows the Nfis upstream, between steep slopes of red and grey rock, passing terraced fields, walnut trees and small villages, many of them rebuilt or still rebuilding since 2023. Ijoukak, a village where the valley widens, is a natural stop for tea. Beyond Tinmel, the road continues to climb towards the Tizi n'Test pass, so the mosque can also be a stop on a longer journey to Taroudant.

How to visit Tinmel in 5 steps

  1. Check access with your guide or with us before setting off, as restoration works may limit entry.
  2. Base yourself in Ouirgane to cut the drive to under an hour.
  3. Leave early and enjoy the Nfis gorges in the morning light.
  4. Visit with a local guide who can explain the history and the reconstruction.
  5. Have lunch in the valley on the way back, supporting local families.
Nfis valley on the road from Ouirgane to Tinmel mosque
The R203 follows the Nfis river from Ouirgane to Tinmel.

The architecture: what to look for

From outside, the mosque looks like a fortress, with thick walls and a squat minaret placed unusually above the mihrab, on the qibla wall. Inside, the prayer hall is organised in naves of horseshoe and lobed arches, with a wider central aisle leading to the mihrab. Decoration is restrained, in line with the Almohad emphasis on austerity, but the carved stucco around the mihrab and the muqarnas-style details show great craftsmanship. If interior access is closed, ask your guide to explain these features using the parts visible from outside.

Respectful visiting

  • Dress modestly, covering shoulders and knees.
  • Follow any barriers or instructions linked to the restoration.
  • Ask before photographing residents, especially in homes affected by the earthquake.
  • Hire local guides and eat in the valley to support recovery.
  • Leave no litter on the riverbanks or the site.

Combining Tinmel with Ouirgane

Tinmel pairs perfectly with a stay in our home valley. Start with our guides to things to do in Ouirgane and day trips from Ouirgane. You can read more on our Ouirgane page, join the Ouirgane day trip from Marrakech or ask us via the contact page to add Tinmel to a private itinerary. For more Atlas ideas, see our Atlas Mountains tours.

Key takeaways

  • Tinmel mosque was built around 1148 in the spiritual home of the Almohad dynasty.
  • It lies about 100 km from Marrakech and 30 to 35 km from Ouirgane.
  • It was badly damaged in the 2023 earthquake; restoration is ongoing and access may be limited.
  • Visit with a local guide and support the valley's recovery.

Discover Tinmel and the Nfis valley with guides who live here.

Explore Ouirgane and the Nfis valleyPlan a private trip to Tinmel

Frequently asked questions

Can you visit the Tinmel mosque now?

The mosque was severely damaged in the September 2023 earthquake and has been under restoration since. Interior access may be restricted or closed depending on the progress of the works. The site, village and Nfis gorges remain worth the journey. Check the current situation with a local guide before you set off.

Why is the Tinmel mosque important?

Tinmel was the spiritual base of Ibn Tumart, founder of the Almohad movement, which built an empire across North Africa and Al-Andalus in the 12th and 13th centuries. The mosque, built around 1148, is a key example of early Almohad architecture and influenced later monuments such as the Koutoubia in Marrakech.

How long does it take to get to Tinmel from Marrakech?

Around 2 to 2.5 hours for roughly 100 km, via Tahanaout, Asni and Ouirgane, then the R203 along the Nfis gorges. Staying overnight in Ouirgane cuts the drive to about 40 minutes and lets you visit in the cool morning light.

Can non-Muslims enter the Tinmel mosque?

Historically, yes: because it was no longer used for regular worship, Tinmel was one of the few historic mosques in Morocco open to non-Muslim visitors. Current access depends on the restoration works. Dress modestly and follow any instructions from caretakers or guides on site.

Ouirgane Marrakech Guide Editorial Team — Local guides & travel planners from Ouirgane and Marrakech. Written by the local team behind Ouirgane Marrakech Guide, who run day trips, Atlas treks and private tours from Marrakech and the Ouirgane valley.

Related guides