Imperial Gate mosaics in the former basilica Hagia Sophia of Constantinople (Istanbul, Turkey)
The emperor Leo VI the Wise is bowing down before Christ Pantocrator.  In medallions: on the left of Chri
Imperial Gate mosaics in the former basilica Hagia Sophia of Constantinople (Istanbul, Turkey) The emperor Leo VI the Wise is bowing down before Christ Pantocrator. In medallions: on the left of… © Photograph: Myrabella, Public domain, via Wikimedia Commons

There are buildings that mark history, and then there is Hagia Sophia — a structure so consequential that history has returned to it, again and again, to remake itself. Standing at the heart of Istanbul for nearly fifteen centuries, it has absorbed the prayers of Byzantine Christians and Ottoman Muslims, survived earthquakes and conquests, and outlasted every empire, ideology, and regime that thought it belonged to them. To visit Hagia Sophia is not merely to see an old building; it is to stand inside a palimpsest — a document written over, repeatedly, by civilizations that left their marks without quite erasing what came before.

Explore Hagia Sophia

Top Photos

See Hagia Sophia in our curated photo essay.

Take Quiz

Think you know Hagia Sophia? Take our 10-question quiz and find out.

The Emperor Justinian I commissioned the current structure in 532 AD, and when it was consecrated in 537, it was the largest interior space in the world — a distinction it held for nearly a thousand years. Justinian, legend says, entered the finished cathedral and declared: “Solomon, I have surpassed thee.” The engineering was audacious to the point of impossibility: a dome 31 meters wide suspended on a ring of forty arched windows, flooding the nave with light so theatrically that Byzantine writers described it as hanging from heaven on a golden chain. The architects, Anthemius of Tralles and Isidore of Miletus, were mathematicians more than builders, and the structure they produced has confounded imitators ever since. For nine centuries it served as the spiritual and ceremonial heart of the Byzantine Empire — the site of coronations, councils, and the formal schism between Eastern and Western Christianity in 1054.

Imperial Gate mosaics in the former basilica Hagia Sophia of Constantinople (Istanbul, Turkey) The emperor Leo VI the Wise is bowing down before Christ Pantocrator.  In medallions: on the left of Chri
Imperial Gate mosaics in the former basilica Hagia Sophia of Constantinople (Istanbul, Turkey) The emperor Leo VI the Wise is bowing down before Christ Pantocrator. In medallions: on the left of…© Hagia_Sophia_Imperial_Gate_mosaic.jpg: Photograph: Myrabella derivative work: Myrabella, Public domain, via Wikimedia Commons

The Ottoman conquest of Constantinople in 1453 changed everything, and almost nothing about the building itself. Sultan Mehmed II, entering the church just hours after the city fell, ordered it converted to a mosque and famously stopped a soldier who was prying up the marble floor tiles: the land was his, but the building was not to be plundered. The minarets went up, Christian iconography was plastered over or hung with gilded medallions bearing the names of Allah and the Prophet, and Hagia Sophia became the template for every great Ottoman mosque that followed — Sinan’s Süleymaniye, the Blue Mosque just across the square. For nearly five centuries it anchored the skyline of the Islamic world’s most powerful capital.

What makes Hagia Sophia breathtaking is precisely its layers. The dome interior shimmers with gold mosaic work, and in the upper galleries, Byzantine mosaics peer out where plaster was chipped away during the museum years: the solemn Deësis Christ, the imperial portraits of Constantine IX and Empress Zoe, their faces grave and enormous against fields of gold tesserae. Nearby, a Viking runic inscription scratched into the gallery railing reads, in rough translation, “Halvdan was here” — carved by a Varangian Guard soldier sometime in the ninth century, history’s most ancient form of graffiti. The logic of accumulation is dizzying: every era left its mark without erasing the last.

Chart comparing measurements of ancient temples, cathedrals and mosques, including Hagia Sophia of Istanbul - Dallaway Jacques - 1799
Chart comparing measurements of ancient temples, cathedrals and mosques, including Hagia Sophia of Istanbul - Dallaway Jacques - 1799© James Dallaway, Public domain, via Wikimedia Commons

In 1934, Atatürk’s secular republic converted Hagia Sophia into a museum, a deliberate act of symbolic neutrality that made it the most visited site in Turkey for much of the twentieth century. In 2020, President Erdoğan reversed that decision, reconverting it to an active mosque — a move that pleased conservative Muslims and dismayed UNESCO and Orthodox Christians alike. The building remains open to non-Muslim visitors outside prayer times, though the Byzantine mosaics of Christ and the Virgin are now curtained during the five daily prayers, then unveiled again. The building, characteristically, absorbed this too.

Visiting Hagia Sophia today rewards patience and timing. The site is free to enter, immensely popular, and best experienced in the early morning when the crowds are thin and the light through those forty windows falls at a low, golden angle that makes the dome seem to float exactly as Justinian’s architects intended. The surrounding Sultanahmet quarter rewards an afternoon of wandering — the Blue Mosque, Topkapı Palace, the Basilica Cistern, and the Hippodrome are all within a five-minute walk. But it is Hagia Sophia itself that lingers, not as a relic of any single civilization but as proof that some structures transcend the people who built them and become something shared, contested, and irreducibly human.

Explore Hagia Sophia