IstanbulHagia Sophia (Ayasofya)
Hagia Sophia is the 6th-century domed church of Justinian, a mosque since 1453 and again since 2020, and still the building that explains Istanbul best. Foreign visitors pay €25 for the upper gallery route, where the Byzantine mosaics are.
Tours that visit Hagia Sophia
Best of Istanbul Private Tour, 1-3 Days with Professional Guide
A licensed private guide for 1, 2 or 3 days in Istanbul: the Old City, the Bosphorus and the Golden Horn, planned around your interests.
Istanbul Private City Tour by Mercedes Vito, 1-6 People
Explore Istanbul's top sights at your own pace in a private Mercedes Vito with a professional driver, for up to 6 people.
The first thing to know about Hagia Sophia in 2026 is that there are two ways in. Worshippers use the ground-floor prayer hall for free. Foreign visitors follow a separate route that climbs to the upper galleries, and that route costs €25 per person. From the galleries you look down into the main hall and stand next to the mosaics that made the building famous.
Quick facts
| Item | Details |
|---|---|
| Opening hours | Roughly 09:00-19:00 for the visitor route, with an earlier start in the summer season; last entry about 30 minutes before closing (as of October 2026) |
| Closed | No closed day, but the visitor route pauses at each of the five daily prayers and on Fridays from about 12:00 to 14:30 |
| Ticket for foreign visitors | €25 per person, children under 8 free (as of October 2026). Payment by card at the ticket office or through authorised sellers |
| Time needed | 45-75 minutes inside; add queue time from late morning onwards |
| Location | Sultanahmet Square, Fatih. Tram T1 to Sultanahmet stop, then a three-minute walk |
| Dress code | Shoulders and knees covered; women cover their hair. Scarves and wraps are handed out at the entrance |
Prayer times move every day with the sun, so a closure that starts at 12:50 in October will start earlier in winter. Check the day's schedule before you go.

A short history
Emperor Justinian built the present church between 532 and 537, after riots had burned the earlier one. Its dome, about 31 metres across, was a structural gamble that partly collapsed in 558 and was rebuilt higher. For nine centuries it was the cathedral of Constantinople. After the Ottoman conquest in 1453 Mehmed II turned it into a mosque, and later sultans added the minarets, the mihrab and the huge calligraphy roundels. In 1934 the Turkish Republic made it a museum. In July 2020 it became a mosque again, which is why the visitor experience today is shaped around prayer times.
What to see inside
The paid route takes you up a stone ramp to the galleries. Take the ramp slowly; the worn paving is part of the building's story.
- The Deesis mosaic in the south gallery: Christ between the Virgin Mary and John the Baptist, from the 13th century. The lower half is lost, but the faces are among the finest Byzantine work anywhere.
- The imperial mosaics at the east end of the south gallery, including Empress Zoe with Constantine IX, where the emperor's face was changed when Zoe changed husbands.
- The view down into the nave: the eight calligraphy roundels, the marble floor and the light coming through the 40 windows at the base of the dome.
- The Viking graffiti scratched into a balustrade in the upper gallery, the runic name of a man called Halfdan.
- The Omphalos, the circle of coloured stone in the floor where emperors were crowned, can be seen from above.
Some mosaics on the ground floor are covered with curtains or lighting effects during prayers. The apse mosaic of the Virgin and Child is partly screened, so do not count on a clear view of it.

Best time to visit and how to skip the queue
The ticket line is shortest in the first hour after opening and again after 16:00. Between 11:00 and 14:00 cruise groups and day tours arrive together, and on Fridays the midday closure pushes everyone into the afternoon. Tuesday is also busy, because Topkapi Palace is closed that day and tour groups shift here.
Tickets bought online in advance save the ticket queue but not the security check. A licensed guide cannot take you through a different door, but guided groups with pre-booked tickets move through faster. Our Istanbul Half-Day Private Old City Tour & Hagia Sophia Fast-Track is built around this: four hours with hotel pick-up, Hagia Sophia first, then the Blue Mosque and the square. If you want Topkapi Palace on the same day, the Private Istanbul Heritage Tour runs six to eight hours and can start from your hotel or the Galataport cruise terminal. On a smaller budget, the Hagia Sophia (Ticket Included), Blue Mosque & Grand Bazaar Group Tour is a six-hour small-group tour from US$120 per person, with entrance tickets and pick-up from central hotels included.
Practical tips
- Bring a card. Cash in Turkish lira is not the smooth option here.
- Visitors in shorts get wraps at the door, but the queue for wraps adds time. Dress for it in advance.
- The galleries have steps and a long sloping ramp; there is no lift on the visitor route. People with limited mobility may find the ascent tiring.
- Photography without flash is allowed. Do not photograph people praying.
- Hagia Sophia and the Blue Mosque face each other across a park, so combine them in one morning. The Basilica Cistern is two minutes away.
- Evening visits are possible in summer, and the building looks best from the park after dark, when both it and the Blue Mosque are lit.
Is the €25 worth it?
For most first-time visitors, yes. The ground floor alone gives you the scale of the dome, but the mosaics are upstairs, and they are the reason Hagia Sophia matters to art history. If you are short on money or time and only want the atmosphere, entering as a worshipper through the prayer hall entrance is free, but you will see less and you must follow mosque etiquette fully.
More on the city and its other landmarks is on our Istanbul destination page.
Frequently Asked Questions
Is Hagia Sophia free to enter?
It is free only for worshippers entering the ground-floor prayer hall. Foreign visitors who want to see the building as tourists pay €25 for the upper gallery route, which is where the Byzantine mosaics are. Children under 8 enter free.
How long do you need at Hagia Sophia?
Plan on 45 to 75 minutes inside the building. On a busy day the queue can add another 30 to 60 minutes, so leave about two hours if you arrive between late morning and early afternoon.
Can you visit Hagia Sophia on Friday?
Yes, but not at midday. The visitor route closes for Friday prayers from about 12:00 to 14:30. Go in the morning or come back in the late afternoon.
What should I wear to Hagia Sophia?
Cover your shoulders and knees. Women need to cover their hair with a scarf. Loose trousers or a long skirt and a light scarf in your bag solve the problem; wraps are also handed out at the entrance.
Is Hagia Sophia still a museum?
No. It has been a working mosque since July 2020. The upper galleries operate as a paid visitor route, and the building stays open to tourists outside prayer times.
More places to see in Istanbul
- Balat and Fener (Fener and Balat)
- Basilica Cistern (Yerebatan)
- Beylerbeyi Palace
- Blue Mosque (Sultanahmet Mosque)
- Bosphorus Strait (Bosphorus Cruise)
- Camlica Hill and Camlica Mosque
- Chora Church (Kariye Mosque)
- Dolmabahce Palace
- Emirgan Park
- Fatih Mosque
- Fener Greek Orthodox Patriarchate (Aya Yorgi)
- Galata Bridge and Eminonu
- Galata Tower
- Grand Bazaar (Kapalıçarşı)
- Hagia Irene (Aya Irini)
- Hippodrome of Constantinople (Hippodrome Square)
- Istanbul Archaeology Museums
- Istanbul Modern
- Istiklal Avenue and Taksim (Istiklal Street)
- Kadikoy and Moda
- Little Hagia Sophia (Kucuk Ayasofya)
- Maiden's Tower (Kız Kulesi)
- Miniaturk
- Nuruosmaniye Mosque
- Ortakoy Mosque (Buyuk Mecidiye Mosque)
- Pera Museum
- Pierre Loti Hill and Eyup Sultan Mosque
- Princes' Islands (Adalar)
- Rumeli Fortress (Rumelihisarı)
- Rustem Pasha Mosque
- Spice Bazaar (Egyptian Bazaar)
- Suleymaniye Mosque
- Sultanahmet Square
- Topkapi Palace
- Turkish-Islamic Arts Museum (Ibrahim Pasha Palace)
- Yildiz Palace and Yildiz Park