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
| # | Place | Type | Country | UNESCO |
|---|---|---|---|---|
| 1 | Hagia Sophia | Mosque | Turkey | ✓ |
| 2 | Koutoubia Mosque | Mosque | Morocco | ✓ |
| 3 | Dome of the Rock | Mosque | Palestine | ✓ |
| 4 | Umayyad Mosque | Mosque | Syria | ✓ |
| 5 | al-Azhar Mosque | Mosque | Egypt | |
| 6 | Friday Mosque of Herat | Mosque | Afghanistan | |
| 7 | Great Mosque of Samarra | Mosque | Iraq | ✓ |
| 8 | Šarena Mosque | Mosque | North Macedonia | |
| 9 | Bibi-Khanym Mosque | Mosque | Uzbekistan | |
| 10 | Mosque of Ibn Tulun | Mosque | Egypt | ✓ |
| 11 | Djinguereber Mosque | Mosque | Mali | |
| 12 | Mosque-Cathedral of Cordoba | Cathedral | Spain | ✓ |
Ayasofya
Turkey · 1.1 km from Istanbul41.008° N 28.980° E

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.
Morocco · 1.2 km from Marrakesh31.624° N 7.994° W

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.
Palestine · 2.7 km from Jerusalem31.778° N 35.235° E

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.
Syria · 1.3 km from Damascus33.511° N 36.307° E

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.
Egypt · 1.6 km from Cairo30.046° N 31.263° E

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.
Afghanistan · 2.8 km from Herat34.343° N 62.196° E

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.
Iraq · 1.4 km from Samarra34.206° N 43.880° E

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.
North Macedonia · 0.5 km from Tetovo42.006° N 20.967° E

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.
Uzbekistan · 3.2 km from Samarkand39.661° N 66.980° E

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.
Egypt · 2.6 km from Cairo30.029° N 31.250° E

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.
Mali · 0.9 km from Timbuktu16.771° N 3.010° W

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.
Mezquita-catedral de Córdoba
Spain · 0.8 km from Córdoba37.879° N 4.779° W

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