How a visit to Hagia Sophia works now: the free ground-floor prayer hall, the paid upper-gallery route for sightseeing visitors since January 2024, the separate entrance, prayer-time closures, dress code and how to get there.
Two ways in
Hagia Sophia has been a mosque again since 2020. Since January 2024, visits work in two tiers: the ground-floor prayer hall is free and open for worship, while sightseeing visitors from abroad buy a ticket for a separate route through the upper gallery, where the famous Byzantine mosaics are.
The upper-gallery route
Sightseeing visitors use their own entrance on the Topkapı Palace side of the building, then climb historic ramps to the upper gallery and follow a one-way loop past the mosaics, including the Deësis, before leaving by the south-west vestibule. Expect a security check even with a ticket bought online.
Prayer times and dress code
As a working mosque, Hagia Sophia closes to visitors around prayer times, most notably at Friday midday prayer, so avoid Friday late morning. Everyone should cover shoulders and knees; women cover their hair — scarves are sold near the entrance — and shoes come off in carpeted prayer areas.
When to go and getting there
Go shortly after opening or in the last hours before closing for smaller crowds; allow 45–90 minutes. Take the T1 tram to the Sultanahmet stop — the Blue Mosque, the Basilica Cistern and Topkapı Palace are all a short walk away, so you can plan a full day in the old city.
Quick answers
Is Hagia Sophia free to enter?
The ground-floor prayer hall is free for worship. Sightseeing visitors from abroad need a ticket for the upper-gallery route, where the Byzantine mosaics are.
When is Hagia Sophia closed to visitors?
Around prayer times, most notably Friday midday prayer — avoid Friday late morning.
What should I wear to Hagia Sophia?
Cover shoulders and knees; women cover their hair. Scarves are sold near the entrance.