Hagia Sophia has stood at the centre of Istanbul for almost 1,500 years, and it is still in use: since 2020 it has been an active mosque. That shapes how a visit works today. Worshippers and tourists now use different entrances, foreign visitors buy a ticket for the upper galleries, and the building closes to sightseeing around prayer times.
Prices and rules are given as of October 2026; check the sources at the end before you go, as they do change.
A short history
The present building was completed in 537 under the Byzantine emperor Justinian I, designed by Anthemius of Tralles and Isidore of Miletus. For more than 900 years it was the cathedral of Constantinople, and its dome was the largest in the world for centuries.
After the Ottoman conquest in 1453, Sultan Mehmed II converted it into a mosque, and minarets, a mihrab and large calligraphic roundels were added over the following centuries. In 1934 the Turkish Republic made it a museum. In July 2020 it was reopened as a mosque, officially the Ayasofya-i Kebir Camii Şerifi.
Since April 2025 the main dome and half-domes have been under a long restoration to strengthen the structure against earthquakes and renew the lead roofing. The building stays open for worship and visits, but expect scaffolding and a crane on the eastern side, and some areas inside may be screened off.
How a visit works now
Since 15 January 2024, foreign visitors coming to sightsee follow a separate route. You buy a ticket at the booth opposite the Fountain of Ahmed III (the ornate fountain by the outer gate of Topkapı Palace), enter on the south side through a tunnel and ramp under one of the minarets, walk through the upper galleries and leave by a ramp on the north-east side.
From the galleries you look down into the main prayer hall and see the Byzantine mosaics up close, including the Deësis panel in the south gallery. The ground-floor prayer hall itself is reserved for worship. The Imperial Gate on Sultanahmet Square is the worshippers' entrance.
Hagia Sophia at a glance (as of October 2026)
| Details | |
|---|---|
| Ticket (foreign visitors) | €25 for the upper-gallery route |
| Worship | Free, through the worshippers' entrance at prayer times |
| Where to buy | Ticket booth opposite the Fountain of Ahmed III |
| Opening time | Visitor route usually opens around 09:00; closing time varies by season |
| Closed to tourists | Around Friday noon prayer, and briefly at other prayer times |
| Museum Card / Museum Pass | Not part of the Ministry's MüzeKart scheme; reported as not accepted |
| Time needed | About 1 hour |
Tickets and prices
The tourist fee is €25 per person for the gallery route. It was introduced on 15 January 2024, as reported by TRT Haber and CNN Türk at the time, and travel guides checked in October 2026 still list the same amount. We could not find the fee on an official price page, so treat it as the current figure but confirm it at the booth.
There is no free "tourist" entry to the prayer hall outside prayer times. Young children enter free, but published sources disagree on the exact age limit. Headscarves and single-use headsets for the audio information (available in 23 languages through a QR-code app) are sold at the booths.
Be careful with websites that look official and sell "skip-the-line" Hagia Sophia tickets at a mark-up. None of them is the mosque's own ticket office.
Opening hours and prayer times
There is no single official timetable for the tourist route. In practice the gallery route opens around 09:00 and closes in the early evening, earlier in winter. Entry pauses around each of the five daily prayers.
Friday is the day to plan around: the building is closed to tourists from about half an hour before the Friday noon prayer until well after it ends, often into the early afternoon. Prayer times change every day; the Diyanet (Presidency of Religious Affairs) publishes the Istanbul times, linked at the end of this guide.
Dress code and rules
- Everyone: shoulders and knees covered. No shorts, short skirts or sleeveless tops.
- Women: cover your hair with a scarf. Scarves are sold at the entrance, but bringing your own is simpler.
- Shoes: on the gallery route you keep your shoes on; shoes come off only in the carpeted prayer areas.
- Inside: speak quietly, do not photograph people at prayer, and keep out of roped-off areas. Flash is best avoided near the mosaics.
Best time to visit and avoiding queues
Queues build from mid-morning when tour groups arrive. The calmest times are usually right at opening and in the last couple of hours before closing.
Look up the noon (öğle) prayer time for your day and aim to be through the gallery well before it. If Friday is your only day in Sultanahmet, do Topkapı Palace or the Basilica Cistern in the morning and Hagia Sophia later in the afternoon.
A half-day in Sultanahmet
Hagia Sophia sits within a few minutes' walk of the other main sights of the old city, so it combines naturally with them:
- 09:00 Hagia Sophia at opening, about an hour in the galleries.
- 10:15 [Basilica Cistern](/en/blog/basilica-cistern-visitor-guide), just across the road; allow 30–45 minutes.
- 11:00 [Blue Mosque](/en/blog/blue-mosque-visitor-guide), across the square, if you can get in before the noon prayer closure. Otherwise come back in the afternoon.
- Afternoon: [Topkapı Palace](/en/blog/topkapi-palace-visitor-guide) behind Hagia Sophia (closed Tuesdays), or walk on to the Grand Bazaar and the Süleymaniye Mosque.
Getting to Hagia Sophia
Hagia Sophia is in Sultanahmet, the historic peninsula on the European side. The T1 tram stops at Sultanahmet, a short walk away. Most hotels in the old city are within walking distance.
From Istanbul Airport (IST) the drive takes roughly 45 minutes to an hour, depending on traffic. Our Istanbul Airport to Sultanahmet transfer is a fixed $70 for a Private Mercedes Vito or $80 for a VIP Vito, per vehicle for up to 6 passengers, with tolls included and the driver waiting in arrivals. For the other options, from the metro to taxis, see our Istanbul Airport to Sultanahmet guide.
If you want to see more than the old city in one day, a private driver by the hour is often easier than taxis: from $40 per hour, minimum 3 hours, in a Private Mercedes Vito. We can also arrange a private Istanbul day tour. Book a driver online or message us on WhatsApp at +90 507 055 44 36. Istanbul VIP is operated by Regatta Turizm, TÜRSAB licence 10138.
Arriving in Istanbul? Get a fixed price to Sultanahmet

