Skip to content
Turkey eSIM
hagia-sophia istanbul mosque sultanahmet history

Is Hagia Sophia a Mosque or a Museum? What Changed in 2020

Hagia Sophia has been a working mosque since July 2020. What the change from museum means for visitors: entry, dress, prayer times, mosaics and photos.

5 min read By Turkey eSIM Team
Is Hagia Sophia a Mosque or a Museum? What Changed in 2020

15% off your first eSIM — code WELCOMEBuy eSIM →

Hagia Sophia is a mosque. It was a museum from 1935 until July 2020, when a Turkish court annulled the 1934 decision that had made it one and the building was handed back to religious use as the Hagia Sophia Grand Mosque. If your guidebook, a friend’s photos or an old blog post describe a museum with a ticket office and the whole ground floor open to walk, they describe a building that no longer operates that way.

The status change is not just a label. It decides who runs the building, when you can go in, what you wear, and what you can see. Here is the short history and what it means for a visit today.

Four lives of one building

Hagia Sophia was built in the sixth century as the cathedral of Constantinople under Emperor Justinian. After the Ottoman conquest of the city in 1453 it became a mosque, and the minarets, the mihrab and the great calligraphic roundels were added over the following centuries.

In 1934 the government of the young Turkish Republic decided to turn it into a museum, and it opened as one the following year. For more than eight decades, visitors knew it only as a museum. In July 2020, Turkey’s Council of State annulled that 1934 decision, a presidential decree transferred the building to the Presidency of Religious Affairs (Diyanet), and Friday prayers were held there later that month.

What “Grand Mosque” means in practice

The official name now includes “Grand Mosque” — in Turkish, Ayasofya-i Kebir Cami-i Şerifi. That is why search results and signs use both names, and why photos labelled “Hagia Sophia Grand Mosque” show carpets where visitors once walked on stone.

Day to day, it is run as a working mosque. The prayer hall serves worshippers five times a day, the call to prayer sets the rhythm of the building, and visitor access is arranged around worship rather than the other way round. It is also still a UNESCO-listed part of the Historic Areas of Istanbul, which is why the conversion drew international attention.

Museum era vs mosque today

AspectMuseum (1935–2020)Mosque (since July 2020)
Managed byMinistry of Culture and TourismPresidency of Religious Affairs (Diyanet)
Main purposeVisitingWorship, with visitor access
Timing of a visitMuseum opening hoursAround the five daily prayers
DressNo religious dress rulesMosque dress code applies
Floor of the prayer hallOpen stone floorCarpeted, reserved for prayer
Visitor arrangementsFixed museum rulesRevised since 2020 — check the current rule

Entry: what has changed, and what we do not state

The arrangements for visitors — which entrance they use, which part of the building they can reach, and whether foreign visitors pay — have been revised since the conversion. We do not repeat a specific rule, fee or route here, because each of those has changed at least once and a stale version sends people to the wrong door. Check the current arrangement on the official channel and the signs at the entrance on the day (last checked: October 2026).

What has stayed constant is the logic: worship has priority, and visitors fit around it.

Prayer times and planning your visit

Because it is a working mosque, the five daily prayers pause or restrict visitor access, and the times move through the year with the sun. Friday midday prayer is the longest and the busiest. Our guide to Hagia Sophia’s prayer-time closures and visiting hours explains how to read the prayer timetable and pick a slot.

The same logic applies across the square: the Blue Mosque’s tourist entrance and prayer closures follow the same timetable, so plan both visits around one prayer schedule.

Dress, behaviour and photos

The mosque dress code applies: shoulders and knees covered for everyone, and women cover their hair. Shoes come off before entering the carpeted area. Bring a scarf and wear something you can walk in barefoot or in socks.

Visitors photograph the building itself; photographing people at prayer is not polite and may be stopped. Keep voices low and do not walk in front of worshippers. The Byzantine mosaics are still part of the building, but how much of them you can see depends on where visitors are allowed to stand and when — another reason not to rely on museum-era photos.

Hagia Sophia was not the only one

Hagia Sophia was not the only Byzantine building in Istanbul to change status in 2020. The Chora Church, famous for its mosaics and frescoes, was also reconverted to a mosque, and it reopened after restoration. Our guide to visiting the Chora Church (Kariye) today covers what changed there.

For both visits, a working phone helps more than people expect: the prayer timetable changes by the day, and the queue outside is the moment you will want to check it. With Turkey eSIM the plan is installed at home over Wi-Fi before departure, so nothing has to be done on arrival — no QR to hunt, no shop, no passport registration — and the timetable is on your screen in Sultanahmet Square. Setup steps are in our eSIM installation guides, and plan sizes are on the pricing page.

Related posts

View all
New traveler offer

Get 15% off your first eSIM

Pick your Türkiye data plan and enter the code below at checkout. 15% comes off your first plan before you pay.

Promo code
WELCOME

Use code WELCOME at checkout — it works right here on the site.