Hagia Sophia (Ayasofya) is the great symbol of Istanbul and one of the most important buildings in the history of architecture. For almost a thousand years it was the largest church in Christendom, then an imperial Ottoman mosque, later a museum and today a place of worship once again. Visiting Hagia Sophia now is different from a few years ago, and many travellers arrive with questions: whether they can go in, how to dress, what there is to see and what the new history and experience museum is. In this guide we explain everything so your visit is respectful and you enjoy it to the full.
The history of Hagia Sophia in a few lines
According to the official tourism portal of Türkiye, Hagia Sophia was built at the behest of the Eastern Roman Emperor Justinian in the year 537 and was then known as the Church of Holy Wisdom. Its huge dome, which seems to float above the space, was for centuries an unmatched technical achievement.
After the conquest of the city, Sultan Mehmed II converted it into a mosque, and the golden mosaics and frescoes were painted over with Islamic motifs and patterns. Over the centuries minarets and other elements were added. In 1935, at Atatürk's behest, it became a museum, and it remained so for many years. In 2020, as the official portal notes, Hagia Sophia regained its status as a place of worship.
What to see in Hagia Sophia
The great dome
The official portal describes the interior as a series of domes and vaults centred on the shell like apse and the massive dome that seems to float freely, giving the building its amazing sense of space. The natural light coming through the windows at the base of the dome creates that effect. It is the first thing that strikes you as you walk in.
The Byzantine mosaics
The restored golden mosaics are one of the building's great treasures. Some show religious scenes and imperial figures. Today, as it is a mosque, some areas may be covered or lit differently during prayers, so what you see can vary.
Ottoman calligraphy
The large circular roundels with Arabic calligraphy, bearing the names of God, the Prophet Muhammad and the first caliphs, are one of the most recognisable features of the interior. They sit alongside the Christian mosaics and sum up the building's history in a single image.
The mihrab and the minbar
The mihrab, the niche that shows the direction of Mecca, and the minbar, the pulpit for sermons, were added in Ottoman times. They are slightly turned in relation to the building's axis, because the original church was not oriented towards Mecca.
What the visit is like today
As a working mosque, a visit to Hagia Sophia follows the rules of any mosque in Türkiye. During prayer times, visitors who are not praying must wait or respect the reserved areas, and on Fridays at midday there are more worshippers. In the prayer hall you must take your shoes off, and throughout the building you should keep quiet and not photograph people who are praying. The route and access points for visitors can change depending on how the mosque is organised, so check the situation before your visit or ask us and we will tell you how it works on your dates. So it is best to allow time and be flexible: if you arrive during prayers, explore the surroundings and come back afterwards.
Queues can be long in high season, especially mid morning. Going with a guide helps you plan the day to enter at the best moment and understand what you see, because Hagia Sophia does not have explanatory panels like a museum.
Dress code
- Women: hair covered with a scarf, shoulders and legs covered; a long skirt or loose trousers are best.
- Men: long trousers and a shirt with sleeves; no shorts.
- Everyone: shoes must be removed before entering the prayer hall, as in any mosque. Wear socks and, if you like, bring a bag for your shoes.
Keeping a scarf in your bag for the whole trip is a good idea, because you will need it in every mosque in the city. A light, foldable scarf takes up almost no space, works for Hagia Sophia, the Blue Mosque and the Süleymaniye alike, and also protects you from the sun on summer days.
The Hagia Sophia History and Experience Museum
Next to Hagia Sophia is the Hagia Sophia History & Experience Museum, which appears on the museums portal of the Turkish Ministry of Culture and Tourism. According to the official tourism portal, it offers a seamless journey that explains how the building was constructed and how it has endured through the ages, using audiovisual technologies that transport you across time and space. The portal recommends it for a complete Hagia Sophia experience. It is especially useful before you enter the mosque, because it gives you the context you will not find inside.
Tips for visiting Hagia Sophia
- Go early: first thing there are fewer queues and the light is beautiful.
- Avoid Friday midday: it is the busiest prayer of the week.
- Clean socks: in the prayer hall you walk on the carpets without shoes.
- Photos without flash and with respect: do not photograph people who are praying.
- Combine it with the Basilica Cistern: it is just opposite. Read our guide to the Basilica Cistern.
- Do not count on the Museum Pass: Hagia Sophia is not on the pass's official museum map; we explain it in Museum Pass Istanbul.
Why Hagia Sophia's architecture was revolutionary
Justinian's architects, Anthemius of Tralles and Isidore of Miletus, faced a huge challenge: placing a gigantic dome over a square plan without the building collapsing. The solution was pendentives, curved triangles that move from the square to the circle and spread the weight towards the great piers. Around the central dome, two half domes extend the space towards each end and create that sense of an immense, continuous nave. The row of windows at the base of the dome makes the light seem to separate it from the rest of the building, hence the impression that it floats. This model inspired Ottoman architects for centuries, and you will see it repeated, with variations, in the Blue Mosque and the Süleymaniye. The dome was damaged by earthquakes over its history and was repaired and reinforced several times, which explains the large exterior buttresses you see when you walk around the building.
Common mistakes when visiting Hagia Sophia
- Arriving without a scarf or suitable clothes: you will lose time looking for a solution at the door.
- Going at the time of Friday prayers: you will find more people and restricted areas.
- Expecting explanatory panels: as a mosque it has none; prepare your visit in advance, visit the history and experience museum or go with a guide.
- Confusing it with the Blue Mosque: they face each other, but they are different buildings with very different stories.
- Only looking inside: walk around the outside to see the buttresses, the minarets and the sultans' tombs in the courtyard.
Photographing Hagia Sophia from outside
Some of the best photos of Hagia Sophia are taken from outside. The park between it and the Blue Mosque lets you frame both in the same picture, especially at sunset, when the pinkish stone glows in the warm light. From the terraces of some cafés and hotels in Sultanahmet you can see its domes and minarets outlined against the Sea of Marmara. And at night, when it is lit up, the building takes on a very different look that is worth a walk after dinner.
Hagia Sophia and the Blue Mosque: do not mix them up
Many travellers confuse Hagia Sophia with the Blue Mosque (Sultanahmet Camii), which stands just opposite, across the square. Hagia Sophia is the older one, pinkish in colour and with a great Byzantine dome; the Blue Mosque is Ottoman, from the seventeenth century, with six minarets and famous for its blue Iznik tiles. Both are visited with the same dress code and can be seen on the same morning.
Hagia Sophia with children and older travellers
The visit is easy for the whole family: the interior is spacious and leaves room to move around calmly. With children, telling them the story of the dome and looking together for the mosaics and calligraphy roundels turns the visit into a game; you will find more ideas in our guide to Istanbul with children. With older travellers, the most tiring part is usually the wait in the queue, so choose your time well.
How to fit Hagia Sophia into your route
Hagia Sophia is the centre of the historic peninsula, together with the Blue Mosque, the Hippodrome, the Basilica Cistern and Topkapi Palace. Our classic Istanbul tour covers this whole area on foot on a private 6 to 7 hour tour for groups of 1 to 10 people, with a guide who explains the history of each place and plans the day around prayer times. If you want to add Topkapi Palace, read our guide to Topkapi Palace and the Harem.
To round off the city, the Bosphorus cruise, the Pearls of Istanbul tour and the complete Istanbul tour, which brings the essentials together in 3 days, are the perfect complement. Message us on WhatsApp at +90 546 559 25 00 and we will help you organise it.
Frequently asked questions
Can tourists visit Hagia Sophia?
Yes. It is a working mosque, but visitors can enter while respecting the dress code and prayer times.
When was Hagia Sophia built?
In the year 537, at the behest of Emperor Justinian, according to the official tourism portal of Türkiye.
When did it become a mosque again?
In 2020 it regained its status as a place of worship, after being a museum since 1935.
How should I dress to go in?
Shoulders and legs covered; women should also cover their hair. Shoes come off in the prayer hall.
Can you still see the mosaics?
Yes, the restored golden mosaics are still there, although some areas may be covered or lit differently during prayers.
What is the Hagia Sophia History and Experience Museum?
A museum next to the building that uses audiovisual technologies to explain how Hagia Sophia was built and its history. The official tourism portal recommends it for a complete experience.
How do I book the tour?
Message us on WhatsApp at +90 546 559 25 00 with your dates and the number of travellers. To confirm we ask for a 25% deposit of the total; the rest is paid in cash on the first day in Istanbul, or by credit card with a 5% bank fee.
Sources: Go Türkiye: Hagia Sophia · Museums of Türkiye: Hagia Sophia History and Experience Museum.
Ready to Explore?
Book your next adventure with Tour Privado Por Estambul and experience the magic yourself!
Browse Our Tours