In short
- Foreign visitors need a ticket for the gallery route: a fee applies for foreign visitors, paid at the booths by the Fountain of Sultan Ahmed III. Worshippers enter the prayer hall free.
- Hagia Sophia is open every day, from 9 am in winter and 8 am in summer until 7.30 pm. It is busiest around prayer times, above all at Friday midday.
- The dress code is that of any mosque: shoulders and knees covered for everyone, and a headscarf for women.
- The best time to visit is at opening time on a weekday. Allow about an hour, and add Topkapı Palace next door for a full morning.
Hagia Sophia tickets are simpler than the internet makes them look. The great hall is a working mosque, free for anyone who comes to pray. Visitors who come to see the building follow a separate route up to the galleries, and that route needs a ticket, with a fee for foreign visitors.
This guide explains how the tickets work, the opening hours and prayer times, what to wear, what you will see in the upper gallery and the best time of day to go. These are the details we check when we plan a morning in the old city, so they are the ones that matter on the day.
How do Hagia Sophia tickets work?
Foreign visitors buy a ticket for the visitor route, which has its own entrance and leads up to the gallery floor. Worshippers enter the prayer hall free, through a separate entrance. The system began on 15 January 2024, when the visitor route opened and the two entrances were divided.
- Fee: foreign visitors pay for the gallery route; the current fee is shown at the booths. Museum passes are not valid.
- Where to buy: at the ticket booths near the Fountain of Sultan Ahmed III, between Hagia Sophia and the Imperial Gate of Topkapı Palace. Headscarves are on sale there too.
- Passes: museum passes are not valid at Hagia Sophia.
- Online: many websites with Hagia Sophia in their name are resellers. A "skip-the-line" ticket or a guided tour costs more than the booth price. That can be worth it, but read what is included.
| At a glance | November 2026 |
|---|---|
| Ticket for foreign visitors | A fee applies for the gallery route |
| Worshippers | Free, through the worshippers' entrance |
| Opening hours | Every day, 9 am to 7.30 pm in winter, from 8 am in summer; last tickets at 7 pm |
| Fridays | Very busy around the midday prayer |
| Museum passes | Not valid |
| Time needed | About an hour |
What are Hagia Sophia's opening hours?
Hagia Sophia is open to visitors every day. At the time of writing, the published hours are 9 am to 7.30 pm from October to March and 8 am to 7.30 pm from April to September, with the ticket booths closing at 7 pm.
Because Hagia Sophia is a mosque, the day follows the five daily prayers. The building is at its busiest around prayer times, and on Fridays the midday congregational prayer fills the square. Visitor access can pause for a few hours around it. The two Eids and other religious holidays change the pattern again, so check the hours for your exact date.
Muslim visitors can do both: pray in the great hall at a prayer time through the worshippers' entrance, then return as visitors to see the galleries. Our guide to halal-friendly travel in Türkiye covers prayer times and mosque visits across the country.
What is the dress code for Hagia Sophia?
Dress as you would for any mosque: shoulders and knees covered for everyone, and a headscarf for women. The rules apply to the visitor route as well as the prayer hall.
- Women: a headscarf, long sleeves or a shawl, and a long skirt or loose trousers. Scarves are sold at the booths, but bringing your own is easier.
- Men: trousers rather than shorts, and a shirt that covers the shoulders.
- Children: the same spirit applies, and a light layer is useful in summer.
- Shoes: if you go down to pray on the carpeted floor of the hall, shoes come off at the door, as in every mosque.
What will you see in the upper gallery?
The upper gallery holds Hagia Sophia's great Byzantine mosaics, and the visitor route is built around it. From the entrance, a ramp leads up to the gallery floor. From there you look down into the prayer hall, with its calligraphic roundels and Ottoman additions, before passing through the Marble Door, known as the Gate of Heaven and Hell, into the south gallery.
- The Deesis mosaic: Christ between Mary and John the Baptist, who plead for humanity on the Day of Judgement. Even damaged, it is the most moving image in the building.
- The Empress Zoe mosaic: an eleventh-century panel showing the empress and her husband on either side of Christ.
- The Komnenos mosaic: a twelfth-century panel with the Virgin and Child between the Emperor John II Komnenos and the Empress Irene.
- The grave marker of Enrico Dandolo: the Doge of Venice who led the Fourth Crusade and died in the city in 1205.
- Viking runes: carved into the marble parapet in the middle of the south gallery, a small, very human detail most visitors walk past.
The route ends with a ramp down on the north-east side of the building. Audio commentary in 23 languages is available through a QR-code headset system, which keeps the gallery quiet for those at prayer below.

When is the best time to visit Hagia Sophia?
The best time to visit Hagia Sophia is at opening time, on a weekday, outside the summer peak. The first hour is quieter, cooler and kinder to photographs.
- Morning: be at the booths before opening. Groups arrive from mid-morning.
- Late afternoon: the second-best window, especially in summer, when the light in the galleries turns gold.
- Avoid Friday midday and the first days of the Eid holidays.
- Season: November to March, outside the holidays, is the calmest time of year. Our guide to the best time to visit Istanbul covers each month.
Is Hagia Sophia under restoration in 2026?
Yes. A major restoration is under way, and in summer 2026 the work reached the main dome, which is now under a steel structure and a grey protective cover. The authorities have said that Hagia Sophia stays open for worship and visitors throughout. Expect scaffolding in places, and occasional changes to the route.
Hagia Sophia in five dates
Hagia Sophia has been a cathedral, a mosque, a museum and a mosque again. Five dates explain most of what you see:
- 537: Emperor Justinian's church is completed, the third on the site, after the Nika riots destroyed its predecessor in 532.
- 1453: after the conquest of Constantinople, Sultan Mehmed II converts it into a mosque. Minarets and Ottoman additions follow over the centuries.
- 1934: the young Republic turns it into a museum.
- 1985: it is inscribed by UNESCO as part of the Historic Areas of Istanbul.
- 2020: it reopens for worship as the Hagia Sophia Grand Mosque.
The Hagia Sophia History and Experience Museum
A short walk away, on the Hippodrome, the Hagia Sophia History and Experience Museum tells the building's 1,700-year story in 13 halls, with sound and images in 23 languages. It is a separate attraction with its own ticket, open every day from 9 am to 8 pm, with last tickets at 7 pm. Museum passes are not valid here either.
It works well before the real thing, particularly for children and teenagers, or on a rainy afternoon.
Visiting Hagia Sophia with a private guide
A licensed guide turns the gallery from a row of mosaics into a story: who the figures are, why the Marble Door was there, what the roundels say. Inside a working mosque, a good guide also knows when to speak quietly and when to step outside to explain.
Most first visits pair Hagia Sophia with Topkapı Palace, whose Imperial Gate is just behind it. Our Topkapı Palace guide explains tickets and timing there. Our Historic Peninsula day adds the Blue Mosque, the Cistern and the Grand Bazaar, and our Islamic heritage day is planned around the prayer times. For how to choose a guide, see our guide to private tour guides in Istanbul.
The old city is a maze of one-way streets and pedestrian zones. A car by the hour that drops you at the booths and waits nearby saves a great deal of walking on a hot day. For a wider plan, our Istanbul itinerary for three to five days shows where Hagia Sophia fits.
Arrive early, dress for a mosque and give the galleries time. Hagia Sophia rewards the visitor who looks up slowly.
Checked by the Megis team on 4 November 2026. Opening hours, rules and seasons change; we confirm every detail again when we plan your trip.
Sources


