Skip to main content

Zach1055, CC BY-SA 4.0, Wikimedia Commons

Hagia Sophia

Plan your visit to the Hagia Sophia: getting there, best time and a one-day route

To visit the Hagia Sophia, take the T1 tram to Sultanahmet, about 2 minutes' walk away, and go to the visitor ticket window opposite the Fountain of Ahmed III. Arrive before opening or in the late afternoon, avoid Friday around noon and check the prayer times for the day. Plan about 60–90 minutes inside, plus time for the ticket line and security.

How to get to the Hagia Sophia

The Hagia Sophia stands on Sultanahmet Square in Istanbul's historic peninsula, the old city.

  • By tram: the T1 tram stops at Sultanahmet, about 2 minutes' walk from the Hagia Sophia. The Gülhane stop on the same line is about 5–10 minutes away on foot.
  • On foot from Eminönü or the Galata Bridge: about 15–20 minutes, uphill.

Where is the tourist entrance?

The visitor ticket window is opposite the Fountain of Ahmed III, near the Imperial Gate of Topkapı Palace. The main gate on Hagia Sophia Square is used by worshippers who come to pray. If you already have an online ticket from DEM Museums, you still enter here. Our page on the upper gallery visit describes the route from the entrance to the exit.

Security and queues

All visitors go through a security check. At busy times the ticket line and the security check together can take 30 to 90 minutes. An online ticket saves you the ticket line, but not security; no ticket or tour can skip the security check. Travel with a small bag, and have your ticket ready on your phone.

When is the best time to visit the Hagia Sophia?

  • Early: be at the entrance before opening, roughly 9 am, to be near the front of the line.
  • Late afternoon: often a good second choice, but keep in mind that last entry is roughly an hour before closing.
  • Avoid Friday midday: the route closes for the Friday prayer, about 12:00–14:30.
  • Plan around prayers: the route pauses around each of the five daily prayers. Check Diyanet's prayer times for Istanbul on the day.

Full details are on our page on opening hours and prices.

One day in Sultanahmet: Hagia Sophia, Blue Mosque, Basilica Cistern and Topkapı

The Hagia Sophia, the Blue Mosque, the Basilica Cistern and Topkapı Palace are all within a few minutes' walk of each other. A practical order for one day:

  1. Hagia Sophia, first thing in the morning. Be there before opening to keep the queue short.
  2. Basilica Cistern. About 2–3 minutes' walk from the Hagia Sophia.
  3. Blue Mosque. Across Sultanahmet Square, 3–5 minutes on foot. It is free, but it closes to tourists around each prayer, and the same kind of dress code applies. On a Friday, visit outside the midday prayer.
  4. Lunch break, ideally while the mosques pause for the midday prayer.
  5. Topkapı Palace. The Imperial Gate is about 5 minutes' walk from the Hagia Sophia, right next to the Hagia Sophia's visitor entrance.

Want more ideas? See our list of things to do nearby. If you prefer to have it all organised, compare the tickets and tours below; combos usually cost more than separate tickets, so check what is included.

Visiting the Hagia Sophia with children

Children under 8, with an adult and with ID, are generally reported to enter free; this is not published officially, so bring their passport and check at the booth. The ramps up to the gallery are long, which is easier with a sling or carrier than with a pushchair. Explain beforehand that the Hagia Sophia is a place of prayer where everyone keeps their voice low. Older children who like a more visual story may enjoy the History and Experience Museum on Sultanahmet Square.

Accessibility

The upper gallery is reached by long, uneven stone ramps, and no lift has been reported. The visitor route is therefore difficult for wheelchair users and tiring for people with limited mobility. No official accessibility information has been published.

Dress code

Women cover their hair and wear clothing that covers most of the body and is not see-through. Men wear long trousers, or shorts as far below the knee as possible, and no sleeveless tops. Headscarves and body covers are sold at the ticket booth. Read our page on the dress code and visiting rules.

Toilets and water

There are public toilets around Sultanahmet Square. Use them before you queue, as there is no information about facilities on the visitor route.

Checklist for your Hagia Sophia visit

  1. Buy your ticket online from DEM Museums, or bring cash for the booth.
  2. Check the prayer times for Istanbul and avoid Friday midday.
  3. Dress modestly; women bring a headscarf.
  4. Bring your phone and headphones for the free audio guide.
  5. Bring ID for children under 8.
  6. Wear comfortable shoes for the stone ramps.
  7. Travel light for the security check.
  8. Go to the visitor entrance opposite the Fountain of Ahmed III.

Not booked yet? Start with our Hagia Sophia tickets page.

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

Can I walk to the Hagia Sophia from the Galata Bridge?
Yes. From Eminönü or the Galata Bridge it is about 15 to 20 minutes on foot, uphill. The T1 tram to Sultanahmet is the easier option.
Can I visit the Hagia Sophia, Blue Mosque and Topkapı Palace in one day?
Yes. They are only a few minutes' walk apart. Start at the Hagia Sophia early, then visit the Basilica Cistern and the Blue Mosque, and end at Topkapı Palace.
How long are the queues at the Hagia Sophia?
At busy times the ticket line and security together can take 30 to 90 minutes. Arriving before opening helps most.
Is the Hagia Sophia suitable for wheelchair users?
The gallery is reached by long, uneven stone ramps and no lift has been reported, so the route is difficult for wheelchairs.
Can I bring a pushchair to the Hagia Sophia?
The long, uneven ramps make a pushchair hard work. A baby carrier is easier on the visitor route.
Are there toilets at the Hagia Sophia?
There are public toilets around Sultanahmet Square. Use them before you queue.