Meknes — Morocco’s Imperial City of Palaces, Gates and Granaries
Meknes is one of the four imperial cities of Morocco. It grew from a Berber settlement into the capital of Sultan Moulay Ismail. Meknes lies on the Saïs plain in the north of Morocco, between the Middle Atlas mountains to the south and the Rif to the north, a fertile region of olive groves and vineyards, and Moulay Ismail ruled from 1672 to 1727. Meknes is the Historic City of Meknes, a UNESCO World Heritage property since 1996, ref 793, inscribed under criterion (iv), and it is famous for the Bab Mansour gate, the Heri es-Souani granaries and the long walls of Moulay Ismail. Meknes is less visited than Fès or Marrakech, which makes it one of the most authentic imperial cities in Morocco.
Quick Facts
- Name: Meknes, in Arabic Miknas, an imperial city on the Saïs plain in the north of Morocco.
- Founded: 1061, by the Almoravids, on the site of older Berber Meknassa villages.
- People: 551,503 at the 2024 census, making Meknes the sixth largest city in Morocco.
- Coordinates: 33 degrees 53 minutes north, 5 degrees 33 minutes west.
- Elevation: About 550 metres above sea level.
- World Heritage: The Historic City of Meknes, ref 793, inscribed 1996 under criterion (iv).
- Signature gate: Bab Mansour, finished in 1732 by Moulay Abdallah, the grand entrance to the imperial city.
- Signature building: The Mausoleum of Moulay Ismail, built in 1703, where the sultan who ruled from 1672 to 1727 is buried.
- Neighbours: Fès about 63 kilometres east, Rabat about 130 kilometres west.
- Nearest other property: Volubilis, ref 836, about seventeen and a half kilometres north in a straight line, about 30 kilometres by road.
Geography of Meknes
Meknes lies on the Saïs plain in the north of Morocco, between the Middle Atlas mountains to the south and the Rif to the north. The city stands at about 550 metres above sea level, and the plain around it is one of the most fertile regions in Morocco, with olive groves, vineyards and fruit trees. The landscape around Meknes is flat, with rolling hills and wide fields, a marked contrast to the mountains that ring the plain, and the fertile land is why the city grew into an imperial capital.
The city has two parts: the medina, the old city, and the ville nouvelle, the new city built in the twentieth century under the French protectorate. The medina lies on a hill above the plain, with walls and gates surrounding it, and it holds the palaces, the mausoleum, the mosques and the markets of the imperial city. The ville nouvelle lies to the east of the medina, with wide avenues, modern buildings and hotels, and it is where most visitors stay. The two parts of Meknes are different in character, with the medina holding history and the ville nouvelle holding modern life.
The old city of Meknes is divided into two zones: the medina and the imperial city. The medina lies on a hill, with mosques, madrasas, markets and houses, and it holds the oldest part of Meknes, dating from the eleventh century. The imperial city lies to the south of the medina, with the palace of Dar el-Kebira, the mausoleum of Moulay Ismail, the granaries of Heri es-Souani and the long walls built by Moulay Ismail. The imperial city covers a large area, with palaces, gardens and administrative buildings, and it is the most important part of Meknes, with the monuments that make it a World Heritage property.
The land around Meknes holds two layers of history within a short drive. The Romans built Volubilis on a fertile ridge north of the city, and the town of Moulay Idriss Zerhoun grew on a hill nearby, around the tomb of Idriss I, the founder of the first Moroccan dynasty. One place speaks of an empire that came from across the sea, the other of a dynasty that began here, and the two together show how the Saïs plain has drawn rulers for two thousand years. Both lie close enough for a single day trip, and most visitors to Meknes see them together.
The climate of Meknes is Mediterranean, with hot summers and mild winters. Summer, from June to August, brings heat above 30 degrees Celsius, with a dry wind from the plain, while winter, from December to February, brings rain and temperatures around 15 degrees Celsius. The rain falls mostly in winter, feeding the olive groves and vineyards of the Saïs plain, and the city sees little rain from May to September. Mornings in winter can be cold, with mist over the plain, while summer evenings stay warm long after sunset.
The plain around Meknes is watered by streams from the Middle Atlas, and the Oued Boufekrane runs through the city, separating the medina from the imperial city. The river gives the city its water and its gardens, and the fertile soil of the plain supports olive groves, vineyards and fruit trees. The Saïs plain is one of the breadbaskets of Morocco, and Meknes, as its main city, has always been a market town as well as an imperial capital, with the souks of the medina drawing farmers from the surrounding villages.
The Saïs plain is watered by springs and streams from the Middle Atlas, and the olive groves around Meknes are among the oldest in Morocco, with trees that have stood for centuries. Vineyards cover the hills to the south, and the wine of Meknes, made since the French period, is still sold across the country. The city also draws water from the Oued Boufekrane, which runs through the medina and the imperial city, feeding gardens and fountains.
This water and this soil are why Meknes could support a sultan’s court and a garrison of thousands, and why the markets of the medina still fill with produce from the surrounding villages. Visitors who walk the souks in the morning see that abundance directly, with stalls of olives, oranges and bread from the plain.

Aerial view over the west side of Meknes Médina, with Bab Berdaine Gate — CC BY-SA 4
History of Meknes
The history of Meknes begins with the Meknassa, a Berber tribe that settled the area in the tenth century, with several villages around the Saïs plain. In 1061, the Almoravids founded the city of Meknes on the site of these villages, and the city grew as a military and trading post on the route between the north and the south of Morocco. Meknes became a place where the tribes of the Middle Atlas met the towns of the plain, and the city grew slowly, with walls, mosques and markets, through the Almoravid and Almohad periods.
The Marinids, who ruled Morocco from the thirteenth to the fifteenth century, built the Bou Inania Madrasa in Meknes in 1336, one of the finest madrasas in Morocco, with carved plaster and wood, a tiled minaret and a courtyard with a fountain. The madrasa is the oldest monument in Meknes that survives intact, and it shows that Meknes was already an important city under the Marinids, with scholars, mosques and markets. The Marinids also built the city walls, and Meknes became a centre of learning and trade, with the madrasa drawing students from across the region.
Meknes reached its height under Moulay Ismail, who ruled Morocco from 1672 to 1727, a reign of 55 years, the longest in the history of the Moroccan sultans. Moulay Ismail made Meknes his capital and built an imperial city on a vast scale, with palaces, granaries, stables, walls and gates, using thousands of workers, among them Christian prisoners captured at sea. The imperial city of Meknes, with its walls nearly 40 kilometres long, up to 15 metres high, nine monumental gates, 25 mosques and 10 hammams, was the largest building project in Morocco, and it made Meknes one of the most impressive cities in the Islamic world.
The most famous monuments of Meknes date from the reign of Moulay Ismail. Bab Mansour, the grand gate of the imperial city, was begun under Moulay Ismail and completed in 1732 by his son Moulay Abdallah, and it is one of the finest gates in Morocco, with marble columns, zellij tiles and carved plaster. The Mausoleum of Moulay Ismail was built in 1703, with a tomb chamber of marble and zellij, and it is one of the few mausoleums in Morocco open to non-Muslim visitors. Heri es-Souani, the granaries and stables of Moulay Ismail, was built from 1721 to 1725, with vaults, columns and an underground water reservoir, and it was damaged in the earthquake of 1755, when the vaults collapsed.
After the death of Moulay Ismail in 1727, Meknes lost its status as capital, and the imperial city fell into decline, with palaces abandoned and walls crumbling. The next sultan, Mohammed ben Abdallah, who ruled from 1757 to 1790, built Dar Beida, the White Palace, in the imperial city, and restored some of the buildings, but Meknes never regained its former glory. The city remained a provincial town, with the medina and the imperial city slowly decaying, until the French protectorate began in 1912, when a ville nouvelle was built to the east of the medina, with wide avenues and modern buildings.
In 1996, the Historic City of Meknes was inscribed on the UNESCO World Heritage List, ref 793, under criterion (iv), as an outstanding example of a seventeenth-century Maghreb capital, with its palaces, granaries, stables, walls and gates. The inscription recognised Meknes as a unique combination of Islamic and European styles, with its monumental architecture and urban planning. Today, Meknes is the sixth largest city in Morocco, with 551,503 people at the 2024 census, and it is a city of history, with the imperial city attracting visitors from around the world.
Under the French protectorate, from 1912, Meknes gained a ville nouvelle to the east of the medina, with wide avenues, a train station and modern hotels, and the city grew beyond its walls for the first time. After independence in 1956 the city kept growing, with new districts around the old town and the medina slowly restored. The 1996 inscription gave that restoration a focus, and the imperial city is now the reason most visitors come to Meknes.

Meknes, Morocco — CC BY-SA 3
Travel to Meknes
Meknes is reached by train from Casablanca, Rabat and Fès, with several trains each day on the main railway line of Morocco. The train station of Meknes lies in the ville nouvelle, a short taxi ride from the medina, and the journey from Casablanca takes about four hours, from Rabat about two hours, and from Fès about forty minutes. Visitors to Meknes should take the train, since it is comfortable, cheap and reliable, and the train station is well connected to the city centre by taxi and bus, while visitors can also reach Meknes by bus or by car on the motorway from Casablanca, Rabat and Fès.
Choose spring, from March to May, if you can, since the weather is warm, the flowers are in bloom and the city is at its liveliest. Autumn, from September to November, is the quieter choice, with mild temperatures and fewer visitors at the monuments. Summer suits travellers who do not mind heat, but plan the monuments for the morning and carry water, while winter needs a raincoat and an extra layer for cold mornings. Two days is the minimum, with one day for the medina and the imperial city and one day for Volubilis, so book the second day before you arrive.
Visitors to Meknes should start at Bab Mansour, the grand gate of the imperial city, with marble columns, zellij tiles and carved plaster, one of the finest gates in Morocco. From Bab Mansour, visitors can walk to Place el-Hedim, the main square of Meknes, with markets, cafes and restaurants, and to the Mausoleum of Moulay Ismail, built in 1703, one of the few mausoleums in Morocco open to non-Muslim visitors. Visitors should allow at least half a day for Bab Mansour, Place el-Hedim and the mausoleum, since these three places are the heart of Meknes, and they are best visited in the morning, when the light is good and the crowds are small.
Visitors should also visit Heri es-Souani, the granaries and stables of Moulay Ismail, built from 1721 to 1725, with vaults, columns and an underground water reservoir. Heri es-Souani is one of the largest buildings in Meknes, and it shows the scale of the imperial city, with space for grain and horses to supply the sultan’s army. Heri es-Souani is under reconstruction and is not open to visitors, so admire the granaries from outside, and spend the time instead at the Bou Inania Madrasa, built in 1336, with carved plaster and wood, a tiled minaret and a courtyard with a fountain, one of the finest madrasas in Morocco.
Leave Meknes early for Volubilis, since the site opens in the morning and the light on the mosaics is best before midday. A taxi from the city takes under an hour, and a shared taxi or a bus is cheaper if you do not mind waiting. The ruins need about two hours on foot, with the forum, the basilica and the mosaic houses, and the Triumphal Arch of Caracalla as the landmark to find first. From Volubilis, continue to Moulay Idriss Zerhoun for lunch, dress modestly, and do not photograph inside the mosque.
Visitors to Meknes should stay in the ville nouvelle, with hotels and restaurants, or in a riad in the medina, with traditional Moroccan architecture and courtyards. The ville nouvelle has modern hotels, with wide avenues and easy access to the train station, while the medina has riads, with courtyards, fountains and rooftop terraces, and it is the best place to experience the old city. Visitors should book accommodation in advance in the high season, since Meknes has fewer hotels than Fès or Marrakech, and rooms can fill up in spring and autumn.
Notable Places in Meknes
Bab Mansour — the Grand Gate of the Imperial City
Bab Mansour is the grand gate of the imperial city of Meknes, begun under Moulay Ismail and completed in 1732 by his son Moulay Abdallah, and it is one of the finest gates in Morocco. The gate has marble columns, zellij tiles and carved plaster, with a large central arch and two smaller arches on either side, and it stands at the entrance to the imperial city, facing Place el-Hedim. Visitors to Meknes should start at Bab Mansour, since it is the symbol of the city, and should visit in the morning, when the light on the tiles is at its best.
The Mausoleum of Moulay Ismail
The Mausoleum of Moulay Ismail was built in 1703, with a tomb chamber of marble and zellij, and it is the resting place of the sultan who ruled Morocco from 1672 to 1727. The mausoleum is one of the few mausoleums in Morocco open to non-Muslim visitors, with a courtyard, a mosque and a tomb chamber, and it is a place of pilgrimage for Moroccans, who come to pray at the tomb of the sultan. Visitors should dress modestly and remove their shoes before entering the tomb chamber, and should allow at least one hour for the mausoleum, with a local guide explaining its history.
Heri es-Souani — the Granaries and Stables of Moulay Ismail
Heri es-Souani was built from 1721 to 1725, with vaults, columns and an underground water reservoir, and it is one of the largest buildings in Meknes. The granaries stored grain for the sultan’s army, and the stables housed thousands of horses, with space for grain and horses to supply the army in times of war. The vaults of Heri es-Souani collapsed in the earthquake of 1755, and the building was restored in the twentieth century, with the vaults rebuilt and the columns restored, but the granaries are under reconstruction again and are not open to visitors, so admire them from outside.
The Bou Inania Madrasa
The Bou Inania Madrasa was built in 1336 under the Marinids, with carved plaster and wood, a tiled minaret and a courtyard with a fountain, and it is one of the finest madrasas in Morocco. The madrasa is the oldest monument in Meknes that survives intact, and it shows that Meknes was already an important city under the Marinids, with scholars, mosques and markets. Visitors to the madrasa should allow at least half an hour, with a local guide explaining the carvings and the history of the madrasa, and should visit in the morning, when the light in the courtyard is at its best.
Place el-Hedim — the Main Square of Meknes
Place el-Hedim is the main square of Meknes, with markets, cafes and restaurants, and it is the heart of the city, where people gather in the evening to eat, drink and socialise. The square lies between Bab Mansour and the medina, with views of the gate and the city walls, and it is the best place to watch the life of Meknes, with street vendors, musicians and families. Visitors to Place el-Hedim should come in the evening, when the square is at its liveliest, with food stalls, music and people, and should try the local food, with tagines, couscous and pastries.
Volubilis — the Roman City North of Meknes
Volubilis lies about 30 kilometres north of Meknes by road, a Roman city with mosaics and ruins from the second and third centuries, and it is the most famous Roman site in Morocco. The city has a forum, a basilica, temples and houses with mosaics, among them the House of Orpheus with its mosaic of Orpheus charming the animals, and the Triumphal Arch of Caracalla. Visitors to Volubilis should allow at least half a day, with a taxi or a bus from Meknes, and should visit in the morning, when the light is good and the crowds are small.
Frequently Asked Questions
Is Meknes a UNESCO World Heritage property?
Yes, the Historic City of Meknes, ref 793, inscribed in 1996 under criterion (iv), an outstanding example of a seventeenth-century Maghreb capital.
What is Bab Mansour?
The grand gate of the imperial city, begun under Moulay Ismail and completed in 1732 by Moulay Abdallah, with marble columns and zellij tiles.
How do I get from Fès to Meknes?
By train in about forty minutes, with several trains each day, or by bus or car on the motorway.
Can I visit Volubilis from Meknes in a day?
Yes, Volubilis lies about 30 kilometres north by road, reached by taxi or bus in under an hour, and half a day is enough.
How many days do I need in Meknes?
Allow at least two days, with one day for the medina and the imperial city, and one day for Volubilis and Moulay Idriss Zerhoun.
When is the best time to visit Meknes?
Spring, from March to May, is best, with warm weather and flowers in bloom, while autumn brings mild temperatures and fewer visitors.
Verified
- Meknes was founded in 1061 by the Almoravids, with Berber Meknassa settlements from the tenth century.
- Moulay Ismail ruled Morocco from 1672 to 1727, a reign of 55 years, and made Meknes his capital, building an imperial city with walls nearly 40 kilometres long, up to 15 metres high, nine monumental gates, 25 mosques and 10 hammams.
- Bab Mansour was begun under Moulay Ismail and completed in 1732 by his son Moulay Abdallah.
- The Mausoleum of Moulay Ismail was built in 1703.
- Heri es-Souani was built from 1721 to 1725, and its vaults collapsed in the earthquake of 1755.
- The Bou Inania Madrasa was built in 1336 under the Marinids.
- Meknes has 551,503 people at the 2024 census, the sixth largest city in Morocco.
- Meknes is the Historic City of Meknes, ref 793, inscribed 1996 under criterion (iv).
- Coordinates of Meknes are 33 degrees 53 minutes north, 5 degrees 33 minutes west; Q-ID Q178663 verified live via the Wikidata API: label “Meknes”, description “city in Morocco”, P31 city, P17 Morocco.
- Nearest separate World Heritage property: Volubilis, ref 836, inscribed 1997 under criteria (ii), (iii), (iv) and (vi), with an area of 42 hectares, about 17.5 kilometres to the north in a straight line from Meknes, about 30 kilometres by road.
- The Volubilis site lies about 30 kilometres north of Meknes by road, while Moulay Idriss Zerhoun lies about 25 kilometres to the north.
- Fès lies about 63 kilometres east of Meknes and Rabat about 130 kilometres west.
Sources
- Meknes — Wikipedia — founding, population, Moulay Ismail, gates, checked 24/11/2026.
- Meknes — Wikivoyage — transport, sights, checked 24/11/2026.
- Historic City of Meknes — UNESCO — criterion (iv), 1996, checked 24/11/2026.
- Archaeological Site of Volubilis — UNESCO — criteria (ii), (iii), (iv) and (vi), 42 hectares, checked 24/11/2026.
- Wikidata — Q178663 — verified 24/11/2026.
Unverified
- The population of Meknes, 551,503 people, comes from the 2024 census, the most recent figure published; the article states the date.
- The drive from Fès to Meknes, about 63 kilometres, is a common figure in travel sources; the article gives the road distance, not a straight-line distance.
- The number of workers used to build the imperial city of Meknes is given differently across sources, from thousands to tens of thousands; the article gives no single figure.
- Opening hours and ticket arrangements for the monuments of Meknes change by season; visitors should check on site before visiting.
Illustrations
- Hero: A view of Meknes. Free image: https://upload.wikimedia.org/wikipedia/commons/8/8d/Hamria%2C_Meknes_city.jpg — CC0.
- In body, Meknes: Aerial view over the west side of Meknes Médina, with Bab Berdaine Gate. Free image: https://upload.wikimedia.org/wikipedia/commons/0/06/Meknes-medina-aerial-view.jpg — CC BY-SA 4.
- In body, Meknes: Meknes, Morocco. Free image: https://upload.wikimedia.org/wikipedia/commons/2/29/Meknes.jpg — CC BY-SA 3.








