Skip to main content

Mertaydintr, CC BY-SA 4.0, Wikimedia Commons

The independent guide to the Hagia Sophia in Istanbul

Hagia Sophia Istanbul: tickets, opening hours and visitor guide

The Hagia Sophia in Istanbul is the great Byzantine church completed in 537 for Emperor Justinian. It became a mosque in 1453, a museum in 1934 and an active mosque again in 2020. Today foreign visitors see it from the upper gallery on a separate visitor route that costs €25 per person, while worshippers enter the prayer hall below for free.

This independent guide explains how that visit works in practice: which ticket you need, when the gallery is open, what to wear, what you can and cannot see during the current restoration, and how to fit the Hagia Sophia into a day in Sultanahmet. Compare the tickets and tours below once you know what kind of visit suits you.

The Hagia Sophia at a glance

  • Built: 532–537 for Justinian I, by the architects Anthemius of Tralles and Isidore of Miletus.
  • Dome: about 31 m across, with its crown 55.6 m (182 ft) above the floor.
  • Status: an active mosque, officially the Hagia Sophia Grand Mosque (Ayasofya-i Kebir Cami-i Şerifi).
  • Ticket price: €25 per person for foreign visitors, for the upper-gallery route only.
  • Opening hours: open daily, roughly 9 am to 7 pm; times change with the season and the prayers, so check on the day.
  • Prayer closures: the route pauses around each of the five daily prayers and closes at midday on Friday, about 12:00–14:30.
  • Tram: T1 to Sultanahmet, about 2 minutes' walk.
  • How long: about 60–90 minutes, up to 2 hours.
  • Dress code: women cover their hair and wear clothing that covers most of the body; men wear long trousers and no sleeveless tops.

What to expect in 2026: an active mosque under restoration

The Hagia Sophia is first of all a place of worship. The carpeted ground floor is a prayer hall for worshippers, and tourists do not walk there. Since 15 January 2024 visitors use their own entrance and climb to the upper gallery, from where you look down into the nave and see the famous Byzantine mosaics up close.

The building is also in the middle of its largest restoration in modern times, which started in 2025 and is planned to finish mostly in 2027. In 2026 scaffolding fills much of the nave, and the inside of the main dome is covered by a printed canvas that shows its shape. You will not see the dome itself. The apse mosaic of the Virgin and Child is behind a white curtain. The gallery mosaics, the Marble Door and the views over the prayer hall are still well worth the visit, but it helps to know this before you go.

Hagia Sophia tickets: which visit should you choose?

There are three common ways to experience the Hagia Sophia. Which one suits you depends on how much context you want and how much time you have.

The visitor route ticket

The standard ticket costs €25 and gives access to the upper-gallery route. You can buy it at the ticket booth or online from DEM Museums, the ministry-authorised seller. A free audio guide in 23 languages plays on your own phone through headphones. Read the full details on our Hagia Sophia tickets page.

A guided tour

Licensed guides still lead tours of the Hagia Sophia. Many tours start with a briefing outside, and inside everyone keeps their voices low out of respect for worshippers. Tours and combos from partners usually cost more than the ticket alone, because they include a guide, other sights or easier booking. Check exactly what is included before you book.

The History and Experience Museum

Across Sultanahmet Square, the Hagia Sophia History and Experience Museum tells the building's story with immersive rooms and around 300 objects. It needs a separate €25 ticket; a combined ticket costs about €50.

Hagia Sophia opening hours and prayer times

No official visitor timetable is published. Recent sources give the gallery route as open daily from roughly 9 am to 7 pm, with last entry about an hour before closing. The route pauses around each prayer, and on Friday it closes at midday for the Friday prayer. See opening hours and prices for the details and the best times to go.

Dress code and respect

Because the Hagia Sophia is a working mosque, a modest dress code applies to everyone on the route. Headscarves and body covers are sold at the ticket booth if you forget. Keep your voice down, use headphones for the audio guide and leave the route when staff ask before a prayer. Our page on the dress code and visiting rules has a checklist.

Explore this guide

Getting to the Hagia Sophia

The Hagia Sophia stands on Sultanahmet Square in Istanbul's old city. The easiest way to get there is the T1 tram to the Sultanahmet stop, about 2 minutes' walk away. The tourist ticket window is opposite the Fountain of Ahmed III, near the Imperial Gate of Topkapı Palace, not at the main gate on Hagia Sophia Square, which is used by worshippers.

Expect a ticket queue and a security check. At busy times the wait can add up to 30–90 minutes, so arrive before opening or come in the late afternoon, and avoid Friday midday.

Book tickets and tours

Prices and availability come from Viator. When you book through these links, we may earn a commission at no extra cost to you.

Frequently asked questions

Is the Hagia Sophia a mosque or a museum?
The Hagia Sophia has been an active mosque since 24 July 2020. It was a museum from 1934 until 2020, and tourists can still visit it on a separate paid route through the upper gallery.
Is the Hagia Sophia free to enter?
Not for tourists. Foreign visitors pay €25 per person for the upper-gallery route, while worshippers who come to pray enter the prayer hall for free.
Can tourists go inside the Hagia Sophia?
Yes, tourists go inside on the visitor route through the upper gallery. The ground-floor prayer hall is reserved for worshippers.
Can I see the dome of the Hagia Sophia in 2026?
Not really. During the restoration the inside of the main dome is covered by a printed canvas and much of the nave is filled with scaffolding.
How much time do I need for the Hagia Sophia?
Plan about 60 to 90 minutes on the gallery route, up to 2 hours if you take your time. Add time for the ticket queue and the security check.
Which tram stop is closest to the Hagia Sophia?
The Sultanahmet stop on the T1 tram line, about 2 minutes' walk away. Gülhane on the same line is about 5 to 10 minutes on foot.

More sights in Istanbul