Discover whether Hagia Sophia is a church or a mosque, learn its fascinating history, and understand why it remains one of the world's most unique landmarks.
Quick answer
Hagia Sophia has been both a church and a mosque. It was built as a Byzantine cathedral in 537 AD, became an Ottoman mosque in 1453, became a museum in 1935, and has functioned as a mosque again since 2020.
Is Hagia Sophia A Church Or A Mosque?
The short answer is both. Hagia Sophia has served as a church, a mosque, a museum and once again a mosque across nearly 1,500 years of history.
Today, Hagia Sophia is officially Hagia Sophia Grand Mosque, but its Christian, Byzantine and museum-period history remains central to why people visit.
What Does Hagia Sophia Mean?
Hagia Sophia comes from Greek and means Holy Wisdom. It was not named after a saint called Sophia; the name refers to divine wisdom in Christian theology.
The Turkish name Ayasofya preserves the same historic identity, which is why many travelers search for both Hagia Sophia and Ayasofya.
Hagia Sophia As A Church
Hagia Sophia was originally built as a Christian cathedral under Byzantine Emperor Justinian I and completed in 537 AD.
For almost 900 years, it was the most important church of the Byzantine Empire and a symbol of Constantinople's religious and political power.
Why Was It Important To Christianity?
Hagia Sophia was more than a church. It was the ceremonial heart of Eastern Christianity, hosting imperial ceremonies, major religious events and state occasions.
Its enormous dome and luminous interior made it one of the most admired buildings in the medieval world.
Hagia Sophia Becomes A Mosque
After Sultan Mehmed II conquered Constantinople in 1453, Hagia Sophia was converted into a mosque. Minarets were added, Islamic calligraphy was introduced and worship spaces changed.
Much of the Byzantine architecture remained intact, which is why Christian mosaics and Ottoman Islamic elements can still be understood together today.
Was Hagia Sophia Ever A Museum?
Yes. In 1935, Hagia Sophia became a museum and remained one of Turkey's most famous museum monuments for decades.
Many travelers still remember it as Hagia Sophia Museum because it held museum status until 2020.
Is Hagia Sophia A Mosque Today?
Yes. Since 2020, Hagia Sophia has functioned as an active mosque. Visitors are still welcome, but prayer times, dress code and worship areas affect the visitor experience.
This is why planning your visit is different from planning a normal museum visit.
Can You Still See Christian Mosaics?
Yes. Several Christian mosaics remain visible, including images associated with the Virgin Mary, Christ and Byzantine imperial figures.
The coexistence of mosaics and Islamic calligraphy is one of the clearest reasons Hagia Sophia feels unlike any other landmark in Istanbul.
Why The Debate Continues
People keep asking whether Hagia Sophia is a church or a mosque because it does not fit neatly into one category. It tells the story of Istanbul itself: Byzantine, Ottoman, religious, imperial and modern.
Rather than choosing one label, visitors understand it best as a layered monument with multiple identities.
Local Tips From Istanbul
- Visit early in the morning if this topic matters to your experience.
- Look up often; many of Hagia Sophia's most important details are above eye level.
- Use the Upper Gallery for better context, photos and architectural perspective.
- Book with enough time around prayer periods and Sultanahmet crowds.
FAQ
Was Hagia Sophia originally a church?
Yes. It was built as a Christian cathedral in 537 AD.
Is Hagia Sophia a mosque now?
Yes. It currently functions as an active mosque.
Was Hagia Sophia ever a museum?
Yes. It was a museum from 1935 to 2020.
Why is Hagia Sophia famous?
It combines Byzantine architecture, Christian history, Ottoman heritage and Islamic culture in one building.
Can tourists visit Hagia Sophia?
Yes. Tourists can visit, with access adjusted around prayer times and visitor rules.
Final Thoughts
Hagia Sophia is not just one attraction or one historical label. It is a layered landmark where Byzantine, Ottoman, Christian, Islamic and modern Istanbul stories meet under the same dome.

Hagia Sophia Ticket & Visitor Guide
Skip-the-line entry · AR experience · audio commentary in 23 languages · from €28.00
