The Afterlife of a Building

Hagia Sophia has had more career changes than your cousin who “finds himself” every summer, and unlike him, it has never once moved out. For nearly 1,500 years, Istanbul’s most famous landmark has been handed from one community to the next. Each one found a new purpose for it without tearing it down.

537 CE: An Imperial Cathedral

Emperor Justinian I commissioned the building after riots destroyed its predecessor. His architects, Anthemius of Tralles and Isidore of Miletus, crowned it with a dome so vast it seemed to float. For centuries it was the spiritual heart of the Byzantine Empire and the seat of the Patriarch of Constantinople.

1204–1261: A Crusader Detour

The Fourth Crusade sacked Constantinople and stripped the church of many treasures. For about six decades it served as a Latin Catholic cathedral, until the Byzantines retook the city.

1453: Minarets on the Skyline

After the Fall of Constantinople, Sultan Mehmed II converted the cathedral into a mosque. The Ottomans added minarets, a mihrab and a minbar. They eventually plastered over the figural mosaics, which ironically helped preserve many of them. The building also became the model for later imperial mosques across the city.

1935: A Museum for a Secular Republic

Under Mustafa Kemal Atatürk, the young Turkish Republic reopened Hagia Sophia as a museum. Restorers uncovered Byzantine mosaics beside Ottoman calligraphy, putting both pasts on display at once. In 1985, UNESCO listed it as part of the Historic Areas of Istanbul.

2020: Back to Prayer

A Turkish court annulled the museum decree in 2020. Today the building is officially the Hagia Sophia Grand Mosque and has been a working mosque again since 2020. Worship is free, while foreign visitors pay 25 EUR for the upper-gallery route, a fee introduced in January 2024. Restoration work is ongoing, and the mosque stays open to visitors under controlled conditions. According to Anadolu Agency, more than 30 million people have visited since it reopened for worship.

What the Walls Remember

Hagia Sophia shows that a building’s meaning is never fixed. Each community adapted the space it inherited, adding minarets here and uncovering mosaics there, instead of starting from scratch. If you’re planning a visit, give yourself time to read the layers. Most of us struggle to repurpose a spare bedroom. Istanbul has been repurposing the same one for fifteen centuries.