Table of Contents
ToggleHagia Sophia
Hagia Sophia (Ayasofya in Turkish) is Istanbul’s most famous building and one of the great monuments of world architecture. Built as a cathedral in the 6th century, it has been a mosque, a museum and, since 2020, a mosque again. It stands on Sultanahmet Square, facing the Blue Mosque, at the heart of the Historic Areas of Istanbul UNESCO World Heritage Site.
Since January 2024 foreign visitors enter through a separate route to the upper galleries, where you can see the vast dome and the famous Byzantine mosaics, while the ground floor is reserved for worshippers. This guide covers its history, what you can see today and how to plan your visit.
Plan your visit to Hagia Sophia
- Entry: EUR 25 for foreign visitors (upper galleries)
- Open daily about 9:00–19:00; closed to visitors during Friday prayers
- Time needed: 1–2 hours
Some links in this guide are affiliate links: if you book through them we may earn a small commission, at no extra cost to you.
History of Hagia Sophia
The present building was completed in 537 AD for the Byzantine emperor Justinian I and designed by Anthemius of Tralles and Isidore of Miletus. It replaced two earlier churches on the site that were destroyed by fire and riots. For almost a thousand years it was the largest cathedral in the world and the heart of the Orthodox Church.
After Sultan Mehmed II conquered Constantinople in 1453, Hagia Sophia became a mosque: minarets, a mihrab and a minbar were added, and many mosaics were plastered over. In 1934–35 the Turkish Republic turned it into a museum, and the mosaics were uncovered. In July 2020 it was reconverted into a mosque, and in January 2024 a paid visitor route for foreign tourists was introduced.

Attractions at Hagia Sophia
- The great dome: about 31 metres across and seemingly floating on a ring of windows, it was an engineering marvel of its time.
- Byzantine mosaics: the upper galleries hold some of the finest mosaics, including the Deësis panel showing Christ with the Virgin Mary and John the Baptist, and imperial portraits of emperors and empresses.
- Islamic calligraphy: huge roundels with the names of God, the Prophet Muhammad and the first caliphs hang below the dome.
- Mihrab and minbar: Ottoman additions that mark the direction of Mecca, visible from the galleries.
- Marble and columns: coloured marble panels and columns reused from older buildings around the empire.
Things to Do at Hagia Sophia
- Walk the upper galleries: take your time with the mosaics and the views down into the prayer hall.
- Take a guided or audio tour: the building’s layers of history make much more sense with good commentary.
- Visit the nearby Hagia Sophia History and Experience Museum: a separate, paid exhibition across the square that explains the building’s story with digital displays.
- Combine with neighbouring sights: the Blue Mosque, the Basilica Cistern and Topkapi Palace are all within a few minutes’ walk.



Hagia Sophia – Entry Eligibility and Open Timings
- Ticket: EUR 25 for foreign visitors (introduced in January 2024; check for increases). Turkish citizens and worshippers enter free. The Museum Pass Istanbul is not valid here.
- Hours: open daily from about 9:00 to 19:00–19:30 (some sources list an earlier start in summer). Visitor access pauses during prayer times and on Fridays closes until mid-afternoon after Friday prayers.
- Dress code: shoulders and knees covered; women need a headscarf. Shoes come off before entering.
- Queues: lines can be long in summer; arriving at opening time or booking a skip-the-line ticket helps.
Tickets and tours for Hagia Sophia
- Skip-the-line entry with audio guide or guided tour: on Tiqets
- Licensed-guide tour (with or without entry ticket), plus combos with the Blue Mosque and Basilica Cistern: on Klook
Some links in this guide are affiliate links: if you book through them we may earn a small commission, at no extra cost to you.
How Long to Spend at Hagia Sophia
Allow about 45 minutes to an hour for the upper galleries, or up to two hours with a guided tour and time for photos.
How to Get There
- By tram: take the T1 tram to the Sultanahmet stop, about a five-minute walk away.
- By ferry: ferries arrive at Eminönü; from there it’s about a 20-minute uphill walk or two tram stops.
- By taxi: from Taksim it usually takes 20–30 minutes depending on traffic.
- From the airports: Istanbul Airport (IST) is about 50 km away and Sabiha Gökçen (SAW) about 50 km on the Asian side; allow at least an hour.
Arriving at Istanbul Airport (IST)? Book a fixed-price airport transfer to your hotel in Sultanahmet.
Eateries Nearby Hagia Sophia
Sultanahmet has plenty of places to eat, though restaurants right by the main sights can be pricey. A few long-standing options:
- Tarihi Sultanahmet Köftecisi Selim Usta: a historic meatball restaurant on Divanyolu Street, serving since 1920.
- Pudding Shop (Lale Restaurant): a famous traveller meeting point since the 1950s with a canteen-style Turkish menu.
- Doy Doy: a simple, budget-friendly spot for kebabs and pide just south of the Blue Mosque.
For better value, walk a few streets away from the square or towards the Grand Bazaar.
Other Attractions Nearby Hagia Sophia
- Blue Mosque (Sultan Ahmed Mosque): directly across the square, famous for its blue İznik tiles and six minarets; free to visit outside prayer times.
- Basilica Cistern: a 6th-century underground reservoir a two-minute walk away.
- Topkapi Palace: the Ottoman sultans’ palace, entered just behind Hagia Sophia.
- Hagia Irene: a Byzantine church inside Topkapi’s first courtyard.
- Hippodrome (Sultanahmet Square): the former chariot-racing arena, with the Egyptian Obelisk and the Serpent Column.
Before your trip
- Find hotels in Istanbul: staying in Sultanahmet puts Hagia Sophia, the Blue Mosque and Topkapi on your doorstep.
- Get a Turkey eSIM before you land, for maps, tram times and ride-hailing apps.


Hagia Sophia has stood over Istanbul for nearly 1,500 years as a cathedral, a mosque and a museum, and today it is again a working mosque that visitors can explore from the upper galleries. Its dome, mosaics and calligraphy make it the one sight in the city you shouldn’t miss.
Go early, dress modestly and plan around prayer times, then continue to the Blue Mosque across the square and the Basilica Cistern next door to complete a classic Sultanahmet day.


