Hagia Sophia: Visiting Hours, Tickets and How to Actually See It
A former basilica, then a mosque, then a museum, now a mosque again, standing in the same square for close to fifteen centuries.
Hagia Sophia's main prayer floor is free and open daily, closing briefly for each of the five prayers. The upper gallery, home to the Byzantine mosaics, needs a separate paid ticket.
Step into the square just after sunrise and Hagia Sophia is almost quiet. The great dome catches the first light, a few gulls wheel over the buttresses, and the stone still holds the cool of the night. This is the building at its most generous, before the coach groups arrive. It was completed in 537, first as a cathedral of the Byzantine world, later an imperial mosque, for decades a museum, and today an active mosque once more. Knowing how it works now will save you a good deal of standing around.
An Active Mosque, Open to Visitors
The most useful thing to understand is that Hagia Sophia is a working mosque, not a ticketed museum in the usual sense. That shapes everything about a visit. The main prayer floor is open to anyone who wishes to enter, free of charge, outside of the five daily prayer times. During prayers, and around the busier midday prayer on Fridays, the prayer hall closes to visitors for a while and reopens once worshippers have finished.
Because prayer times shift through the year with the sun, there is no single timetable to memorise. The practical approach is to arrive early in the day and to treat Friday around midday as the one window to avoid. If you find the doors closed when you arrive, it usually means a prayer is underway, and a short wait in the square is all that stands between you and the interior.
Tickets, the Upper Gallery, and What Is Free
Here is the part that confuses many visitors. Entering the main floor to see the dome and the great space beneath it does not require a ticket. What does require a ticket is the upper gallery, the raised level that holds some of the finest Byzantine mosaics and the wide view down over the prayer hall. That gallery is run as a separate visitor route with its own entrance and its own timed ticket, aimed at tourists rather than worshippers.
If mosaics and the long history of the building are what draw you, the gallery ticket is worth it. If you simply want to stand inside and take in the scale, the free main floor already gives you the dome overhead and much of the wonder. Buying the gallery ticket in advance online tends to spare you the longest queue, though the systems and prices are adjusted from time to time.
Prices and hours change, and we would rather you checked than trusted an old page. Confirm the current gallery ticket on the official ticket office site and the prayer schedule before you go. Last verified July 2026.
Dress, Shoes, and Simple Etiquette
As a place of worship, Hagia Sophia asks for a little care in how you enter, and the staff are used to helping visitors get it right. Shoulders and knees should be covered for everyone. Women are asked to cover their hair, and a light scarf does the job nicely; if you arrive without one, coverings are usually available at the entrance to borrow. You will remove your shoes before stepping onto the carpet of the prayer area, so shoes that slip on and off make the whole thing easier, and a small bag to carry them in is handy.
Inside, speak softly, keep to the visitor areas, and be mindful of anyone at prayer. Photographs of the space are welcome, though it is kind to avoid pointing a camera directly at people praying. None of this is difficult, and a moment of quietness is part of what makes the visit stay with you.
The Quietest Time to Go
If you take one piece of advice, let it be this: go early. The calmest hour is right at the morning opening, before the tour groups reach Sultanahmet and while the light is still low and soft. Late afternoon can settle down again as the day trippers leave, but mornings are the surer bet. Midday is the busiest and the hottest, and Friday midday brings the largest prayer gathering of the week.
There is a small advantage to staying where we are. From our side of the square we can see how the queue is building, and we send our guests across to join it right as the doors open, coffee finished, scarf packed. It is one minute to one of the most remarkable interiors on earth.
