In short
Hagia Sophia has dominated the skyline of Istanbul for almost fifteen centuries. Built in only five years under Emperor Justinian, it was the largest church in Christendom for nearly a thousand years, became an imperial mosque after 1453, a museum in 1934 and, since 2020, a mosque again.
Worshippers use the ground-floor prayer hall, while visitors follow a dedicated route through the upper galleries, where you see the great dome up close and the most famous Byzantine mosaics.
☰ Table of content
Hagia Sophia opening hours and admission
The visitor route is open every day from 09:00 until the evening, but as an active mosque Hagia Sophia closes to tourists during prayers. On Fridays the route closes around the midday prayer, so plan a morning or late-afternoon visit and check the times for your date.
Hours
-
Every day From 09:00
Visitor route through the upper galleries
-
Prayer times Short closures
About an hour around each prayer
-
Friday Closed at midday
Reopens after the Friday prayer
Prices of visits
-
Gallery route €25
Official price for foreign visitors
-
Skip-the-line options From €28
Online, sometimes with an audio guide
-
Prayer hall Free
For worshippers, at prayer times
What to see inside Hagia Sophia
From the upper galleries you look straight into the great dome and down into the prayer hall. Take time for the mosaics, which are easy to miss in the half-light.
The great dome Must see
About 31 metres across and over 55 metres high, ringed with windows so that it seems to float above the nave.
The Deësis mosaic Must see
A thirteenth-century mosaic of Christ between the Virgin and John the Baptist, one of the masterpieces of Byzantine art.
The imperial mosaics Byzantine
Portraits of emperors and empresses, including Empress Zoe and John II Komnenos, offering gifts to Christ and the Virgin.
The great roundels Ottoman
Huge calligraphic medallions with the names of God, the Prophet and the first caliphs, added in the nineteenth century.
The Empress’s Loge
The gallery where the empress and her court followed the ceremonies, marked by a green stone circle.
Hagia Sophia visit at a glance
A quick summary to plan your visit and choose the right time of day.
Best moment
Early morning or late afternoon, between prayers
Crowd
Very busy at midday and in summer; queues at the visitor entrance
Kid friendly
Children enter the gallery route with their family; strollers are hard on the ramps
Unmissable
The dome, the Deësis mosaic and the view of the prayer hall
Type of experience
A visitor route in an active mosque
What to expect
A ramp up to the galleries, dim light and modest dress
How to visit Hagia Sophia
Allow 45–90 minutes for the gallery route. Visitors use a dedicated entrance and follow a set path up the ramps to the galleries. Dress modestly: shoulders and knees covered, and women cover their hair.
The options below include skip-the-line entry, audio guides and guided visits that combine Hagia Sophia with the Blue Mosque, the Basilica Cistern or Topkapı Palace. Compare the inclusions and the meeting point before booking.

Hagia Sophia: Skip The Line Ticket

Istanbul: Blue Mosque & Hagia Sophia Guided Tour with Tickets

Istanbul: Hagia Sophia Skip-the-Line Ticket & Museum Option
Good to know
- Hagia Sophia is an active mosque: the route closes during prayers.
- On Fridays the route closes around the midday prayer.
- Shoulders and knees must be covered; women cover their hair.
- Visitors use the tourist entrance, not the worshippers’ door.
Practical tips
- Go at opening time or in the late afternoon.
- Bring your own scarf to save time at the entrance.
- Look for the Viking runes scratched into a gallery balustrade.
- Combine the visit with the Basilica Cistern, a few minutes away.
How to reach Hagia Sophia
Hagia Sophia stands between Sultanahmet Square and Topkapı Palace, facing the Blue Mosque across the gardens. The tourist entrance is on the side facing the palace.
Take the T1 tram to Sultanahmet; the entrance is about 3 minutes on foot.
From the Basilica Cistern or the Blue Mosque, walk across the gardens of Sultanahmet Square.
Ferries arrive at Eminönü; from there take the T1 tram uphill or walk for about 20 minutes.
Hagia Sophia, Sultan Ahmet, Ayasofya Meydanı No:1, 34122 Fatih/Istanbul
From Justinian’s church to mosque, museum and mosque again
The present building is the third church on this site. After the Nika riots destroyed the previous one, Emperor Justinian asked the architects Anthemius of Tralles and Isidore of Miletus to build something without equal. It was completed in 537, and its dome astonished visitors for centuries.
Read allShow less
Read allShow less
When Mehmed II took Constantinople in 1453, he converted the church into a mosque. Minarets, a mihrab and later the great calligraphic roundels were added, while many mosaics were plastered over rather than destroyed.
In 1934 the Turkish Republic turned Hagia Sophia into a museum, and restorers uncovered the mosaics. In 2020 it was reconverted into a mosque; since then visitors follow a separate route through the galleries.
Details and stories to look out for
- The dome rests on pendentives, a solution that inspired Ottoman mosque builders for centuries.
- A runic inscription left by a Viking guard can still be read in the galleries.
- The Marble Door in the south gallery once divided the space used for church councils.
- Some columns came from older temples brought to Constantinople.
- The building survived several earthquakes, which led to the massive buttresses outside.
Hagia Sophia tickets and guided tours of the old city
Find your stay near Hagia Sophia
Staying in Sultanahmet puts Hagia Sophia, the Blue Mosque, the Basilica Cistern and Topkapı a few minutes away on foot. You can visit at opening time before the crowds, then rest at your hotel in the middle of the day.
Frequently Asked Questions - FAQ
How much does it cost to visit Hagia Sophia?
Foreign visitors pay €25 for the upper gallery route. Entering the prayer hall to pray is free.
What does the ticket cover?
The visitor route through the upper galleries, with the Byzantine mosaics and views of the dome and the prayer hall.
When is Hagia Sophia closed to visitors?
During prayers, and on Fridays around the midday prayer. Plan a morning or late-afternoon visit.
Is there a dress code?
Yes. Cover shoulders and knees; women cover their hair. Scarves are available at the entrance.
How long does a visit take?
Plan 45–90 minutes for the gallery route, more with a guide.
Can I see the mosaics?
Yes. The most famous mosaics are in the upper galleries, on the visitor route.
Is a guided tour worth it?
A guide helps you read fifteen centuries of history in a building with very few labels.
Can I combine Hagia Sophia with other sights?
Yes. The Blue Mosque, the Basilica Cistern and Topkapı Palace are all within a few minutes’ walk.







































