Wednesday, 2 December 2026
Place guideIstanbul, Istanbul Province, Türkiye

Hagia Sophia: A Complete Guide to Fifteen Centuries Under One Dome

Justinian's church of 537 on Sultanahmet Square, told through its rebuilt dome, Ottoman minarets and gallery mosaics, with the paid east-entrance visitor route, Friday closures and dress code explained.

Updated RELIGIOUS SITE 7 min read
Hagia Sophia Photo: Arild Vågen · CC BY-SA 3.0
📍
WhereIstanbul, Türkiye
🗓️
Best timeApril to June, September to October
⏱️
Time needed2 hours
🎟️
EntryAbout €25 for the gallery

You come in through the visitors' entrance on the east side, climb to the galleries, and then the building opens up beneath you. The great dome hangs over the nave on a ring of 40 windows, so lightly that it seems to rest on the light itself. Gold mosaics glint from the gallery walls, eight enormous round panels of Arabic calligraphy hang below, and from one spot you can take in almost fifteen centuries of the city's story.

Three churches on one site

The building you are standing in is the third on this spot. The first church was consecrated on 15 February 360 under Emperor Constantius II. A second was inaugurated on 10 October 415 under Theodosius II, and it burned on 13 and 14 January 532 during the Nika riots, when the people of Constantinople rose against Justinian I.

Justinian answered by building again on a far grander scale. Work began on 23 February 532, only weeks after the fire, under two men better known as mathematicians than as builders, Anthemius of Tralles and Isidore of Miletus. More than 10,000 workers took part, and the new church was inaugurated on 27 December 537, five years and ten months after the first stones were laid. When it was finished it held the largest interior space in the world, and it was among the first buildings to use pendentives fully, the curved triangles of masonry that allow a round dome to sit on a square plan.

For most of the next nine centuries it was the cathedral of Constantinople. The exception came between 1204 and 1261, when Latin crusaders held the city and made it a Catholic cathedral.

The nave of Hagia Sophia beneath the great dome.
The nave of Hagia Sophia beneath the great dome. Photo: Alexxx1979 · CC BY-SA 4.0

A dome that had to be rebuilt

The dome above you is not quite Justinian's original. Earthquakes in 553 and 557 cracked it, and in 558 part of the structure collapsed. Isidore the Younger rebuilt the vault about 6.25 metres higher, using lighter materials, and the church was dedicated again in 562 (some accounts give 563). Today the dome rises 55.6 metres above the floor and is about 31 metres across, not a perfect circle. The rebuilt dome once had 40 ribs, and 14 of them survive.

The building kept fighting the ground it stands on. A fire in 859 and an earthquake in 869 led to repairs under Basil I. After an earthquake in 989 brought down the western arch of the dome, the architect Trdat directed the work, and the church reopened on 13 May 994. In 1317 Andronicus II had four buttresses added. Those forty windows at the base of the dome were part of the solution from the start: they lightened the structure and created the effect of a dome floating on a band of light.

From church to mosque

Mehmed II took Constantinople on 29 May 1453 and attended the first Friday prayer in Hagia Sophia on 1 June. Minarets followed over the next decades. In 1576 and 1577 the architect Sinan strengthened the old structure with 24 buttresses, added the two large minarets at the western end, each about 60 metres tall, built a new sultan's lodge and raised the tomb of Selim II beside the building. Sultan Suleiman brought two great candlesticks from Hungary to stand on either side of the mihrab.

Later sultans kept adding. In 1739 and 1740 Mahmud I built a madrasa, a soup kitchen, a library and an ablution fountain, making the old church the centre of a full Ottoman complex. The eight huge medallions in the nave, carrying the names of God, the Prophet Muhammad, the four Rashidun caliphs, Hasan and Husayn, were designed by the calligrapher Kazasker Mustafa İzzet Efendi. Hagia Sophia remained the principal mosque of Istanbul until the Sultan Ahmed Mosque rose across the square.

Restorers, museum and mosque again

Between 1847 and 1849 the brothers Gaspare and Giuseppe Fossati, Swiss-Italian architects, led about 800 workers on a major restoration, binding the dome with an iron chain and straightening columns. Sultan Abdulmejid I allowed them to record the Byzantine mosaics they uncovered, and the building reopened on 13 July 1849.

The twentieth century changed its role twice. It closed to the public in 1931 and reopened as a museum in 1935, under a decision taken in 1934. On 10 July 2020 the Council of State annulled that decision, and Friday prayers were held on 24 July 2020. Its design had long outlived these changes, shaping churches in the Byzantine world and, centuries later, great Ottoman mosques such as the Süleymaniye.

The mosaics of the galleries

Most of the figurative mosaics date from the 10th and 12th centuries, after the period of Iconoclasm, when religious images had been removed in 726. Many were plastered over during the Ottoman centuries and uncovered again in later restorations, and the finest are in the upper galleries you now walk through.

The best known is the Deësis, the 'Entreaty', probably from 1261. Christ sits at the centre, with the Virgin Mary and John the Baptist turning toward him to plead for humanity. Large parts of the panel are lost, yet the faces that remain are remarkably tender. On the eastern wall of the southern gallery are two imperial panels: the Empress Zoe mosaic from the 11th century and the Comnenus mosaic of 1122, both showing rulers offering gifts to Christ and the Virgin. Over the Imperial Gate, Emperor Leo VI kneels before Christ, and at the south-western entrance Justinian and Constantine flank the Virgin Mary. The apse mosaic of the Virgin and Child has been covered by white drapes since 2020.

The Deësis mosaic in the upper gallery.
The Deësis mosaic in the upper gallery. Photo: Photograph: Myrabella · Public domain

Small details worth finding

In the middle of the gallery, above the Imperial Gate and facing the apse, a disc of green stone marks where the empress's throne stood in the Loggia of the Empress. In the southern section of the building, a 9th-century inscription in runes reads 'Halvdan was here', thought to be the mark of a Norse mercenary serving the empire.

Most of the ground floor is now kept for worshippers, so some famous features may be out of reach on the visitor route: the omphalion, the patch of marble floor where Byzantine emperors were crowned, and the 'weeping column' in the north-west, whose bronze-covered hole has long been touched in the hope of a cure.

  • The dome 55.6 m high, resting on its ring of 40 windows.
  • The Deësis Christ, the Virgin and John the Baptist, probably from 1261.
  • Zoe and Comnenus panels Imperial portraits on the southern gallery wall.
  • The Loggia of the Empress A green stone disc marks her throne.
  • Halvdan's runes A Viking-age scratch in the southern section.
  • The calligraphy medallions Eight great panels by Kazasker Mustafa İzzet Efendi.

Visiting

Since 15 January 2024, foreign visitors pay to enter. You use a separate entrance on the east side that leads up to the gallery route, where the mosaics are. The fee has been about €25 and the Istanbul Museum Pass is not valid. The route has been open roughly 9 am to 7:30 pm, pauses during prayer times and closes on Fridays from about 12:30 pm to 2:30 pm. The fee and the times are revised now and then, so confirm them for your date, and allow around two hours.

Prayers are held here daily, so come dressed for a mosque: shoulders and knees covered, while women need a headscarf to enter, and you remove your shoes where asked. Keep your voice low, especially near people at prayer. The mild months, April to early summer and again in September and October, feel kindest in Istanbul, and the first hour of the morning or the late afternoon are the quieter times to come.

Around Sultanahmet

The building stands at the heart of the Historic Areas of Istanbul World Heritage Site. The Sultan Ahmed Mosque faces it across the square, Topkapı Palace begins just behind it, and the Basilica Cistern is a few minutes' walk away. With these four together, a full day in this small area is easily filled.

💡 TipBefore you start along the gallery, find the mihrab and the eight calligraphy medallions in the nave below. Once you know where they are, the views across the building make sense of how the church and the mosque share one space.
Hagia Sophia from Sultanahmet.
Hagia Sophia from Sultanahmet. Photo: Julien Maury · Public domain

Church, mosque, museum and mosque again, Hagia Sophia has been reshaped by every age that held the city, and its dome still does what Justinian intended: it makes you look up.

🌤️ Best weather: Apr – Aug
Visiting Hagia Sophia?Check in with the WaTrips app and add Türkiye to your passport.
Directions

Near Hagia Sophia

Trip plans with Hagia Sophia

5 DAYSIstanbul in 5 Days: Mosques, Palaces, Bazaars and the BosphorusIstanbul
7 DAYSEarly Christian Türkiye: Hagia Sophia, the Seven Churches, Myra and CappadociaSelçuk
Share WhatsApp Facebook X

Was this guide helpful?

Comments

Been here, or planning to go? Share a tip or ask a question.

Sign in with Google to comment or vote. Your email is never shown.

Siddiq Nangarath
Siddiq Nangarath

Rider and founder of WaTrips. Places checked on the map; text drafted with AI help and edited by hand. How we make our guides