Hagia Sophia

Istanbul, Turkey · Mosque (former church) · UNESCO World Heritage

Justinian's great domed church, completed in 537, later an Ottoman mosque and a museum, and once again a working mosque at the heart of Istanbul's old city.

Hagia Sophia in Istanbul, with its great dome and four minarets
Photo: Hagia Sophia Mars 2013 (opens in a new tab) by Arild Vågen (opens in a new tab), CC BY-SA 3.0 (opens in a new tab), via Wikimedia Commons

Why go

  • The huge central dome, which seems to float above a ring of windows
  • Byzantine gold mosaics alongside Ottoman calligraphy roundels and minarets
  • It stands at the centre of Istanbul's historic peninsula, a short walk from the Blue Mosque and Topkapı Palace

Hagia Sophia was built as the Church of Holy Wisdom under the Eastern Roman emperor Justinian. After the Ottoman conquest of Constantinople in 1453, Mehmed II turned it into a mosque, and minarets were added over the following centuries, two of them by the architect Mimar Sinan. It became a museum in 1935 and returned to use as a mosque in 2020. A long restoration project, including work on the dome, is under way, so expect scaffolding in places.

What to see at Hagia Sophia

The upper galleries

The wide upper level that runs round the north, west and south sides of the building, once used by the empress and the women of the court and now the main visitor route. From the balustrades you look down into the prayer hall and up into the dome. Allow 45 minutes to an hour for the whole gallery route.

Deesis mosaic

A 13th-century mosaic in the south gallery showing Christ between the Virgin Mary and John the Baptist, asking for mercy for humanity. The lower half is lost, but the faces are among the finest Byzantine mosaic work anywhere; look at the shading of the skin. Allow about 10 minutes.

Empress Zoe and Komnenos mosaics

Two imperial panels at the east end of the south gallery. One shows Christ between the emperor Constantine IX and the empress Zoe (11th century), the other the Virgin and Child between the emperor John II Komnenos and the empress Irene (12th century). Allow 10 minutes.

Loge of the Empress

The centre of the west gallery, where a circle of green stone in the floor is said to mark the place of the empress's seat. It gives the longest view of the interior, along the full length of the building to the apse. Allow 5 minutes.

The dome and the calligraphy roundels

The dome rests on a ring of 40 windows, which is why it seems to float. Below it hang eight large Ottoman roundels with the names of God, the Prophet Muhammad, the first four caliphs and Hasan and Hüseyin, painted in the 19th century by the calligrapher Kazasker Mustafa İzzet Efendi; they are clearest from the galleries. A major restoration of the dome began in 2025, so parts of it may be covered by scaffolding or a printed cover.

How to get there

The T1 tram stops at Sultanahmet, a couple of minutes' walk away. Hagia Sophia faces the Blue Mosque across Sultanahmet Square.

When to visit

Istanbul has hot, humid summers in July and August and cold, wet winters, with occasional snow in January and February; April, May, September and October are the most comfortable months. Queues are usually longest from late morning to mid-afternoon in summer and when cruise ships are in port, so arrive at opening or in the late afternoon. The visitor route is closed for a period around Friday midday prayers, and access can also change during Ramadan and the two Bayram holidays, so check before you go.

Planning your visit

Allow about an hour inside, plus time to queue. Go early, follow the gallery route at your own pace, and then walk to the Hagia Sophia History and Experience Museum to see how the building was put together. After lunch in one of the cafés around Sultanahmet Square, the Blue Mosque (Sultan Ahmed Mosque) and the site of the Hippodrome are a few minutes away; visit the mosque outside prayer times. Topkapı Palace is just behind Hagia Sophia, but it needs three hours or more, so it fits better on another morning.

Tips for your visit

  • Dress modestly: shoulders and knees covered for everyone, and a headscarf for women. Visits are restricted around prayer times, especially at Friday midday prayers.
  • Since January 2024 foreign visitors have used a separate, ticketed route that starts at a booth on the south side, opposite the Fountain of Ahmed III, and leads up to the upper galleries, where the main Byzantine mosaics are; the ground-floor prayer hall is kept for worshippers. Check the current arrangements before you go.
  • The Hagia Sophia History and Experience Museum, about seven minutes' walk away, explains how the building was constructed.

Accessibility

The upper galleries are reached by the building's original ramp, a long, dim, sloping passage with a rough stone surface rather than stairs; it is steep in places and can be slippery. Gallery floors are old, uneven marble, there is little seating, and queues stand in the open square with little shade. No detailed accessibility information is published, so contact the site before visiting if you have limited mobility.

A short history

For nearly a thousand years Hagia Sophia was the most important church in the Byzantine world. Its Ottoman conversion inspired later imperial mosques across Istanbul. It is part of the UNESCO World Heritage Site 'Historic Areas of Istanbul', inscribed in 1985.

Map: © OpenFreeMap (opens in a new tab) © OpenMapTiles (opens in a new tab) Data from OpenStreetMap (opens in a new tab) contributors

Also in Turkey

Frequently asked questions

Is Hagia Sophia a mosque or a museum?

It is a mosque again. It was a museum from 1935 until 2020, when it returned to use as a place of worship. Foreign visitors can still see it, outside prayer times, from the upper galleries on a separate ticketed route.

What should I wear to visit Hagia Sophia?

Cover your shoulders and knees, and women should cover their hair. On the visitor gallery route you keep your shoes on; shoes come off only in the carpeted prayer hall.

Do you need a ticket for Hagia Sophia?

Foreign visitors need a ticket for the separate gallery route, sold at the booth on the south side, opposite the Fountain of Ahmed III; check the official site for current arrangements. Entry to the ground-floor prayer hall for worship is free.

How long do you need at Hagia Sophia?

About an hour on the gallery route. In summer, add time for the queue, which is usually longest from late morning to mid-afternoon.

Can you take photos inside Hagia Sophia?

Visitors can usually take photos on the gallery route, but do not use flash and do not photograph people at prayer. Follow any signs or instructions from staff.

Sources

Drafted with AI help from the official sources listed, fact-checked and edited by Joshua Pycroft. Opening times, prices and entry rules change, so please check the official links before you travel. Spotted something wrong?

Partner links: some links on this page go to Stay22 (hotel maps and places to stay) and GetYourGuide (tours and activities). If you book or buy through them, Travel Atlas may earn a small commission at no extra cost to you. It never affects what we write. Prices and availability come from the booking sites, so check them before you book. More in our terms.