The Most Beautiful Medieval Places in Africa

7 places in 4 countries ยท updated 14 October 2026

In short: By our ranking, the most beautiful medieval places in Africa are Koutoubia Mosque (Morocco), al-Azhar Mosque (Egypt) and Mosque of Ibn Tulun (Egypt). The list covers 7 medieval places in 4 countries. Egypt has the most, with 3. Last updated 14 October 2026.

Medieval Africa was a world of trade and learning that tied the Mediterranean, the Sahara, the Niger bend and the Indian Ocean together. Gold, salt, ivory and books moved along caravan routes and monsoon winds, and the wealth they brought paid for great mosques, fortified gates and stone towns. The architecture that resulted is strikingly varied: cut stone in Cairo and Marrakesh, sun-dried mud and timber in the Sahel, coral rag on the Swahili coast.

The Koutoubia Mosque in Marrakesh, built under the Almohads in the 12th century, has a square minaret that served as a model for the Giralda in Seville and the Hassan Tower in Rabat; nearby, Bab Agnaou, the carved stone gate of the Almohad kasbah, frames its horseshoe arch in bands of inscription. In Cairo, the Mosque of Ibn Tulun, completed in 879, wraps a vast courtyard in pointed arcades and has an external spiral staircase on its minaret, while Bab Zuweila, a Fatimid gate of the late 11th century, still guards the old walled city with twin towers later topped by minarets. Timbuktu's Djinguereber Mosque, commissioned by Mansa Musa of Mali after his pilgrimage to Mecca, is built of earth and wood. On the coast of Tanzania, the island ruins of Kilwa Kisiwani preserve the Great Mosque and palace of a Swahili sultanate that grew rich on the gold trade.

In this list

#PlaceTypeCountryUNESCO
1Koutoubia MosqueMosqueMoroccoโœ“
2al-Azhar MosqueMosqueEgypt
3Mosque of Ibn TulunMosqueEgyptโœ“
4Djinguereber MosqueMosqueMali
5Kilwa KisiwaniIslandTanzaniaโœ“
6Bab ZuweilaCity gateEgyptโœ“
7Bab AgnaouCity gateMoroccoโœ“
  1. 01 Koutoubia Mosque

    Morocco ยท 1.2 km from Marrakesh31.624ยฐ N 7.994ยฐ W

    • UNESCO World Heritage
    Koutoubia Mosque, Morocco
    Image by DEZALB from Pixabay

    The minaret of the Koutoubia is the landmark by which Marrakesh has measured itself for eight centuries. It rises about 77 m, its main square shaft almost 13 m wide, built of rubble masonry and sandstone that takes on a pink-gold tone in the evening.

    Did you know? In 1157 a celebrated Qur'an attributed to Caliph Uthman was brought here from the Great Mosque of Cรณrdoba.

    More about Koutoubia Mosque โ†’

  2. 02 al-Azhar Mosque

    Egypt ยท 1.6 km from Cairo30.046ยฐ N 31.263ยฐ E

    al-Azhar Mosque, Egypt
    Image by lapping from Pixabay

    Al-Azhar is the oldest mosque of Fatimid Cairo and one of the most influential places of learning in the Islamic world. Work began in 970, a year after the Fatimid general Jawhar al-Siqilli founded a new royal city beside the older settlement of Fustat, and the first Friday prayers were held in 972.

    Did you know? It was the first mosque built in Cairo, the city later called the City of a Thousand Minarets.

    More about al-Azhar Mosque โ†’

  3. 03 Mosque of Ibn Tulun

    Egypt ยท 2.6 km from Cairo30.029ยฐ N 31.250ยฐ E

    • UNESCO World Heritage
    Mosque of Ibn Tulun, Egypt
    Image by Makalu from Pixabay

    The Mosque of Ibn Tulun is the oldest mosque in Egypt that survives largely in its original form, and one of the largest in Egypt by area: with its outer enclosure it covers more than 26,000 square metres.

    Did you know? In the nineteenth century the mosque served in turn as a military hospital, a salt warehouse and a blacksmith's workshop, then from 1846 as an asylum and a poorhouse.

    More about Mosque of Ibn Tulun โ†’

  4. 04 Djinguereber Mosque

    Mali ยท 0.9 km from Timbuktu16.771ยฐ N 3.010ยฐ W

    Djinguereber Mosque, Mali
    Angeline A. van Achterberg ยท CC BY-SA 4.0

    Built almost entirely of earth, straw and timber, the Djinguereber Mosque has stood in Timbuktu for nearly seven centuries. Its sloping mud walls, studded with projecting wooden beams, and its tapering minaret make it a classic of Sudano-Sahelian architecture.

    Did you know? The qadi al-Aqib's rebuilding from 1570 added the entire southern part of the mosque and the wall around the cemetery to the west.

    More about Djinguereber Mosque โ†’

  5. 05 Kilwa Kisiwani

    Tanzania8.982ยฐ S 39.517ยฐ E

    • UNESCO World Heritage
    Kilwa Kisiwani, Tanzania
    Richard Mortel from Riyadh, Saudi Arabia ยท CC BY 2.0

    Kilwa Kisiwani is a small island off the southern coast of Tanzania whose ruins mark what was once the most powerful city on the Swahili Coast. Local tradition holds that a prince from Shiraz named Ali ibn al-Hasan bought the island from its inhabitants and founded the sultanate in the 10th or 11th century, although the site was already settled.

    Did you know? Radiocarbon dating has placed the founding of the town at the start of the 9th century AD, well before the sultanate of the traditions.

    More about Kilwa Kisiwani โ†’

  6. 06 Bab Zuweila

    Egypt ยท 1.4 km from Cairo30.043ยฐ N 31.258ยฐ E

    • UNESCO World Heritage
    Bab Zuweila, Egypt
    Marwa elchazly ยท Public domain

    Two massive rounded towers of dressed stone, crowned by a pair of slender minarets, make Bab Zuwayla one of the most striking silhouettes of medieval Cairo. It is one of only three gates surviving from the city walls of the Fatimid capital, and the last of them on the south side; from its upper platform the view runs over the domes and rooftops of the historic city, which as a whole is a UNESCO World Heritage Site.

    Did you know? The original Zuwayla gate of 969 stood about 100 metres further north; Badr al-Jamali built his new gate beyond it when he enlarged the walls.

    More about Bab Zuweila โ†’

  7. 07 Bab Agnaou

    Morocco ยท 1.9 km from Marrakesh31.618ยฐ N 7.991ยฐ W

    • UNESCO World Heritage
    Bab Agnaou, Morocco
    John Doyle doyler79 ยท CC BY 3.0

    Bab Agnaou is the ceremonial gate of the old royal kasbah of Marrakesh, a stone arch set into the southern part of the medina just inside the city walls. It was built under the Almohad caliph Abu Yusuf Ya'qub al-Mansur, and completed around 1188โ€“1190, as the formal entrance to the palace quarter he created.

    Did you know? The brick arch that narrows the opening probably dates from the 18th-century Alaouite sultan Sidi Muhammad ibn Abdallah, who rebuilt much of the kasbah.

    More about Bab Agnaou โ†’

How this list is ranked

Places are chosen for how they look, not for how famous they are: each one has its own description and a photograph credited to its author. The order is a single world ranking that weighs the beauty of the place in curated photography together with how widely it is documented โ€” the number of language editions of its encyclopedia article and how often that article is read in a year. The list is rebuilt as places are added, so the order and the counts on this page are always current.

Questions people ask

What are the most beautiful medieval places in Africa?
On our list, Koutoubia Mosque (Morocco) ranks first, followed by al-Azhar Mosque (Egypt) and Mosque of Ibn Tulun (Egypt).
Which country has the most medieval places in Africa?
In our collection, the most come from Egypt (3), Morocco (2) and Mali (1).
Who built the Djinguereber Mosque in Timbuktu?
It was commissioned by Mansa Musa, ruler of the Mali Empire, after his return from the pilgrimage to Mecca in the 1320s, and is traditionally attributed to the architect Abu Ishaq es-Saheli.
What was Kilwa Kisiwani?
Kilwa was a Swahili city-state on an island off the Tanzanian coast that controlled much of the medieval gold trade from southern Africa. Ibn Battuta visited it in the 14th century and praised it as one of the most beautiful towns in the world.
Why is the Koutoubia Mosque important?
Its 12th-century minaret is a defining work of Almohad architecture and became the prototype for the Giralda in Seville and the Hassan Tower in Rabat.
How many medieval places are on this list in Africa?
The list covers 7 medieval places in 4 countries. Egypt has the most, with 3.