twickly.

Hagia Sophia

Fifteen centuries under one dome, seen from the galleries

Book Hagia Sophia

Verified booking link — secure checkout with the official seller or our booking partner.

Get Tickets →

No building in Istanbul, and few anywhere, has carried as much history as Hagia Sophia. The emperor Justinian built it in just under six years and dedicated it in 537, and for almost a thousand years it was the largest church in Christendom, its shallow dome seeming to float on a ring of light from forty windows. After the Ottoman conquest of 1453 Mehmed II turned it into a mosque, adding the minarets, and later sultans added the mihrab, the minbar and the giant roundels bearing the names of God, the Prophet and the first caliphs. Ataturk's republic made it a museum in 1934, and in 2020 it was reconverted to a mosque. That last change reshaped the visit. Since 15 January 2024 foreign visitors have had their own entrance and their own ticket, priced at twenty-five euros, which takes you up a long cobbled ramp to the upper galleries rather than onto the main floor, which is reserved for worship. It sounds like a compromise, and in some ways it is, but the galleries are where most of the great mosaics are: the Deesis, with its achingly human Christ, the Virgin and John the Baptist; the panels of the empress Zoe and Constantine IX and of John II Komnenos and Irene; the Viking runes scratched into a marble parapet; and the view down into the nave, the full scale of the dome opening above you. You leave via the southwest vestibule, where the tenth-century mosaic of the Virgin with Justinian and Constantine glows over the door. Dress modestly, women cover their hair, and check prayer times before you go.

How the visit works now: the foreign-visitor ticket booth and entrance stand near the Fountain of Ahmed III, close to the outer gate of Topkapi Palace, rather than on Sultanahmet Square, where Turkish citizens and worshippers enter. Children up to six go in free, the route is self-guided (licensed guides are not allowed to lecture inside), and an audio or QR-code guide in many languages covers the key points. Plan on forty-five minutes to an hour and a half inside, plus time for security in high season. The Museum Pass Istanbul and the Turkish Muzekart are not valid here, so budget for the ticket separately, and note that the private Hagia Sophia History and Experience Museum on the square is a different attraction with its own ticket. Skip-the-line tickets from resellers such as Tiqets let you buy ahead and avoid the ticket queue, though not the security check.

Timing matters more than at any other site in the city. Hagia Sophia is a working mosque, so on Fridays the tourist route closes from shortly before the noon prayer until well after it, and short pauses at other prayer times are possible; during prayers the figurative mosaics in the apse are covered. Opening hours are not published in a fixed timetable and shift with the seasons, so the safest plan is the first hour of the morning on a weekday, when the light through the windows is soft and the cruise-ship groups have not yet arrived. Since April 2025 the dome has been under the most extensive restoration in its history; the building stays open, but expect scaffolding and a printed covering in parts of the interior. It is a reminder that this is a living building, not a museum piece.

What to look for, beyond the famous mosaics: the sheer engineering of the dome, rebuilt after earthquakes and propped by later Ottoman buttresses; the marble door in the south gallery known as the Gate of Heaven and Hell; the huge marble lustration urns brought from Pergamon; the patterns of the original Byzantine marble revetment, cut and opened like books; and the Ottoman roundels, among the largest calligraphic panels in the Islamic world. Outside, walk around to see the tombs of the sultans in the garden and the Ahmed III fountain, one of the loveliest pieces of eighteenth-century Ottoman design. Then cross the garden to the Blue Mosque, built a thousand years later to answer this building, and the conversation between them becomes the story of the city.

What to Expect

The experience
A self-guided route for foreign visitors up a cobbled ramp into the upper galleries, past the Deesis and imperial mosaics, looking down into the prayer hall, and out through the southwest vestibule mosaic. Separate entrance and ticket from worshippers.
Best time
The first hour of the morning on a weekday. Avoid Friday around the noon prayer, when the tourist route closes, and late morning, when tour groups peak.
How long
Forty-five minutes to an hour and a half inside, plus security queues in high season.
Tips
Cover shoulders and knees; women bring a headscarf (they are also sold at the entrance). Check prayer times on the day. The Museum Pass is not valid. Leave large bags at the hotel.

Good Questions

How much is a Hagia Sophia ticket for foreign visitors?

Since 15 January 2024 foreign visitors pay a separate fee, set at twenty-five euros, for the upper-gallery route. Children up to six enter free. Worship on the ground floor is free, but that area is for prayer, not sightseeing.

Can tourists still go onto the main floor?

Not as sightseers. The ground floor is the prayer hall, and foreign visitors follow a route through the upper galleries instead, looking down into the nave. The galleries hold most of the famous mosaics, so you see the building at its best from above.

When is Hagia Sophia closed to visitors?

It is a working mosque, so the tourist route closes around the Friday noon prayer and can pause briefly at other prayer times. Hours shift with the seasons and are not published as a fixed timetable, so check on the day and aim for early morning.

Is the Museum Pass valid at Hagia Sophia?

No. The Museum Pass Istanbul and the Muzekart do not cover the Hagia Sophia gallery ticket, which is sold separately at the visitor booth and by resellers such as Tiqets.

What should I wear?

Shoulders and knees covered for everyone, and women cover their hair before entering. Shoes stay on along the gallery route. Scarves and cover-ups are sold near the entrance if you forget.

Pairs Well With