Explore all cities

Hagia Sophia: Mosaics, History & Visitor Guide

Justinian’s great church, then an imperial mosque: a dome that seems to float and mosaics in the upper galleries

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.

1

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.

2

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.

3

The imperial mosaics Byzantine

Portraits of emperors and empresses, including Empress Zoe and John II Komnenos, offering gifts to Christ and the Virgin.

4

The great roundels Ottoman

Huge calligraphic medallions with the names of God, the Prophet and the first caliphs, added in the nineteenth century.

5

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.

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.

MOSQUE

Hagia Sophia: Skip The Line Ticket

Bypass the ticket line to Istanbul's most awe-inspiring mosque
Istanbul: Blue Mosque & Hagia Sophia Guided Tour with Tickets

Istanbul: Blue Mosque & Hagia Sophia Guided Tour with Tickets

Get to know Istanbul through three landmarks in its historic Old Town. Begin in Sultanahmet Square, where your expert guide traces the city’s story from Byzantine Constantinople to…
Istanbul: Hagia Sophia Skip-the-Line Ticket & Museum Option

Istanbul: Hagia Sophia Skip-the-Line Ticket & Museum Option

Skip the ticket line for the Hagia Sophia visitor route, with the option to add the Hagia Sophia History and Experience Museum.

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.

Tram

Take the T1 tram to Sultanahmet; the entrance is about 3 minutes on foot.

On foot

From the Basilica Cistern or the Blue Mosque, walk across the gardens of Sultanahmet Square.

Ferry

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.

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.

The visitor route through the upper galleries, with the Byzantine mosaics and views of the dome and the prayer hall.

During prayers, and on Fridays around the midday prayer. Plan a morning or late-afternoon visit.

Yes. Cover shoulders and knees; women cover their hair. Scarves are available at the entrance.

Plan 45–90 minutes for the gallery route, more with a guide.

Yes. The most famous mosaics are in the upper galleries, on the visitor route.

A guide helps you read fifteen centuries of history in a building with very few labels.

Yes. The Blue Mosque, the Basilica Cistern and Topkapı Palace are all within a few minutes’ walk.

More activities and experiences in Istanbul

You might also be interested in...

The journey continues…

Interior of the Hagia Sophia with visitors beneath the dome
Imperial Hall in the Harem of Topkapı Palace, Istanbul
Tourists consulting a map and guidebook
Turkish meze plates served with rakı
Traditional hammam with marble basin in a hotel spa
İbrahim Pasha Palace, home of the Museum of Turkish and Islamic Arts, Istanbul

Must-Do Activities & Tours

Share:
Prev
Blue Mosque: Iznik Tiles, History & Visitor Guide
Next
Beylerbeyi Palace: Summer Palace on the Bosphorus