The Most Beautiful Medieval Mosques in the World

12 places in 11 countries · updated 14 October 2026

In short: By our ranking, the most beautiful medieval mosques in the world are Hagia Sophia (Turkey), Koutoubia Mosque (Morocco) and Dome of the Rock (Palestine). The list covers 12 medieval mosques in 11 countries. Egypt has the most, with 2. Last updated 14 October 2026.

The medieval mosque was the meeting point of Islamic civilisation, and its architecture absorbed whatever each conquered land knew best: Byzantine domes and mosaics in Syria and Jerusalem, Mesopotamian brick in Iraq, Persian tilework in Khorasan, Roman columns in Spain, and the mud-brick of the Sahel. Between the 7th and 15th centuries those traditions produced buildings that remain the reference points of Islamic art.

The Dome of the Rock in Jerusalem, completed in 691 to 692, is the oldest surviving major monument of Islamic architecture, its golden dome over an octagon lined with mosaics. The Umayyad Mosque in Damascus followed in the early 8th century on the site of a Roman temple and a Christian basilica. Hagia Sophia in Istanbul, built as a church under Justinian, became a mosque after 1453 and lent its domed form to Ottoman architecture. Córdoba's Mosque-Cathedral is a forest of columns under red-and-white striped arches.

Further afield, the spiral minaret of the Great Mosque of Samarra climbs around its own tower, an idea echoed at the Mosque of Ibn Tulun in Cairo. Marrakesh's Koutoubia set the model for the great Almohad minarets of the Maghreb. In Samarkand, Bibi-Khanym was Timur's attempt at the largest mosque of his empire, and in Herat the Friday Mosque glows with tile mosaic. Timbuktu's Djinguereber, built of earth in the 14th century, carries the story south of the Sahara.

In this list

#PlaceTypeCountryUNESCO
1Hagia SophiaMosqueTurkey✓
2Koutoubia MosqueMosqueMorocco✓
3Dome of the RockMosquePalestine✓
4Umayyad MosqueMosqueSyria✓
5al-Azhar MosqueMosqueEgypt
6Friday Mosque of HeratMosqueAfghanistan
7Great Mosque of SamarraMosqueIraq✓
8Šarena MosqueMosqueNorth Macedonia
9Bibi-Khanym MosqueMosqueUzbekistan
10Mosque of Ibn TulunMosqueEgypt✓
11Djinguereber MosqueMosqueMali
12Mosque-Cathedral of CordobaCathedralSpain✓
  1. 01 Hagia Sophia

    Ayasofya

    Turkey · 1.1 km from Istanbul41.008° N 28.980° E

    • UNESCO World Heritage
    Hagia Sophia, Turkey
    Image by edibejko from Pixabay

    The building that stands today was put up in barely five years. In January 532 the Nika riots burned down the previous church on the site, and within weeks Emperor Justinian I had started a far more ambitious replacement, designed by two scholars rather than master masons: Anthemius of Tralles, a mathematician, and Isidore of Miletus, a geometer. It was dedicated in 537.

    Did you know? In 1054 a papal legate laid a bull excommunicating Patriarch Michael Cerularius on the altar here, a moment usually taken as the start of the East–West Schism.

    More about Hagia Sophia →

  2. 02 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 →

  3. 03 Dome of the Rock

    Palestine · 2.7 km from Jerusalem31.778° N 35.235° E

    • UNESCO World Heritage
    Dome of the Rock, Palestine
    Image by best-biketours from Pixabay

    The Dome of the Rock is the oldest surviving major work of Islamic architecture, and its golden dome is the image most people carry of Jerusalem. The octagonal shrine stands at the centre of the Haram al-Sharif, or Temple Mount, in the Old City.

    Did you know? The smaller Dome of the Chain, which stands beside it on the same platform, was built at the same time, in 691–692.

    More about Dome of the Rock →

  4. 04 Umayyad Mosque

    Syria · 1.3 km from Damascus33.511° N 36.307° E

    • UNESCO World Heritage
    Umayyad Mosque, Syria
    Image by SLPix from Pixabay

    The Umayyad Mosque, the Great Mosque of Damascus, stands in the old city on a site that has been holy for about three thousand years. The Arameans built a temple here to the storm god Hadad; the Romans enlarged it into a vast sanctuary of Jupiter, whose inner enclosure walls still form the outer walls of the mosque; and at the end of the fourth century it became a cathedral.

    Did you know? About 12,000 labourers built the mosque, among them Coptic, Persian, Indian, Greek and North African craftsmen.

    More about Umayyad Mosque →

  5. 05 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 →

  6. 06 Friday Mosque of Herat

    Afghanistan · 2.8 km from Herat34.343° N 62.196° E

    Friday Mosque of Herat, Afghanistan
    Todd Huffman · CC BY 2.0

    Glazed tile mosaic in blues, greens, turquoise and ochre covers the courtyard façades of Herat's Friday Mosque, framing a vast paved court with four great arched halls facing one another across it.

    Did you know? The bronze basin cast in 1375 for the last Kart ruler has outlived every later demolition and earthquake with nothing worse than minor scratches.

    More about Friday Mosque of Herat →

  7. 07 Great Mosque of Samarra

    Iraq · 1.4 km from Samarra34.206° N 43.880° E

    • UNESCO World Heritage
    Great Mosque of Samarra, Iraq
    Chris Hoare · CC BY 2.0

    In the 9th century the Abbasid caliphs left Baghdad and built a new capital upstream on the east bank of the Tigris. Samarra was founded by al-Mu'tasim in 836 and remained the seat of the caliphate until 892, and in those few decades it filled with palaces and mosques. Its grandest monument was the Great Mosque raised by Caliph al-Mutawakkil between 848 and 851.

    Did you know? The caliph who built the mosque, al-Mutawakkil, was assassinated in 861, only a decade after its completion.

    More about Great Mosque of Samarra →

  8. 08 Šarena Mosque

    North Macedonia · 0.5 km from Tetovo42.006° N 20.967° E

    Šarena Mosque, North Macedonia
    Pudelek (Marcin Szala) · CC BY-SA 3.0

    In the old quarter of Tetovo, beside the Pena river that tumbles down from the Šar Mountains, stands a small mosque covered inside and out in painted ornament. Its local names all point to the same thing: Šarena Džamija in Macedonian and Alaca Cami in Turkish mean the colourful or decorated mosque, while the city's Albanian residents mostly call it Xhamia e Pashës, the Pasha's Mosque.

    Did you know? Some accounts name Isak Bey as the architect of the original fifteenth-century mosque.

    More about Šarena Mosque →

  9. 09 Bibi-Khanym Mosque

    Uzbekistan · 3.2 km from Samarkand39.661° N 66.980° E

    Bibi-Khanym Mosque, Uzbekistan
    Image by LoggaWiggler from Pixabay

    The Bibi-Khanym Mosque was meant to be the greatest mosque in the world, and for a while it may have been. Timur ordered it in 1399, on his return from the Indian campaign, to crown his new capital of Samarkand; the work was nearly finished when he came back from his next campaign in 1404, and, displeased, he had the main dome altered on the spot.

    Did you know? About 500 people built the mosque, including some 200 architects, artists and masons drawn from across Timur's empire, helped by 95 Indian elephants.

    More about Bibi-Khanym Mosque →

  10. 10 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 →

  11. 11 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 →

  12. 12 Mosque-Cathedral of Cordoba

    Mezquita-catedral de Córdoba

    Spain · 0.8 km from Córdoba37.879° N 4.779° W

    • UNESCO World Heritage
    Mosque-Cathedral of Cordoba, Spain
    Image by clarbner from Pixabay

    What stands today began in 785–786 as a mosque built by Abd al-Rahman I, expanded three times over the following two centuries into the largest mosque in the western Islamic world — the famous forest of over 800 double-arched columns dates from this period, roughly seven and a half centuries before anyone connected to the building's later Renaissance work was even born.

    Did you know? In the 990s the regent al-Mansur carried off the bells of Santiago de Compostela, reportedly to be melted into lamps; after 1236 Ferdinand III sent them back.

    More about Mosque-Cathedral of Cordoba →

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 mosques in the world?
On our list, Hagia Sophia (Turkey) ranks first, followed by Koutoubia Mosque (Morocco) and Dome of the Rock (Palestine).
Which country has the most medieval mosques in the world?
In our collection, the most come from Egypt (2), Afghanistan (1) and Iraq (1).
Is the Dome of the Rock a mosque?
Strictly speaking it is a shrine built over a sacred rock, not a congregational mosque. It stands on the same platform as the al-Aqsa Mosque in Jerusalem's Old City.
What is the oldest mosque in Cairo that survives in its original form?
The Mosque of Ibn Tulun, completed in 879, is the oldest mosque in Cairo that keeps its original form. Its courtyard and spiral-stair minaret are among the city's landmarks.
Why does the Mosque-Cathedral of Córdoba have a cathedral inside it?
After the Christian conquest of Córdoba in 1236 the mosque was consecrated as a church, and in the 16th century a Renaissance cathedral nave was built in the middle of the prayer hall.
How many medieval mosques are on this list in the world?
The list covers 12 medieval mosques in 11 countries. Egypt has the most, with 2.