Hagia Sophia

Quick answer
Plan a respectful visit to Hagia Sophia: tourist access, prayer times, dress, what to see from the dome to the mosaics and nearby sights.
Hagia Sophia is a 6th-century Byzantine church in Istanbul's Sultanahmet district that later became an Ottoman mosque, served as a museum for most of the 20th century and functions again as an active mosque today. Visit outside prayer times, dress for a place of worship, check the current tourist entrance and route, and give yourself time to look up at the dome before chasing individual mosaics.
Few buildings carry as many layers of history in one space. Commissioned by Emperor Justinian I and completed in the 530s, Hagia Sophia was for centuries one of the largest churches in the Christian world. After the Ottoman conquest of Constantinople in 1453 it became a mosque, gaining minarets, a mihrab and later the great calligraphic roundels. It became a museum in the 1930s and was reconverted to a mosque in 2020.
This guide is about visiting: how tourist access currently tends to work, when to go, a sensible route through what you can see, what to look for and how to combine Hagia Sophia with the other landmarks around it. Visiting arrangements have changed several times in recent years, so check official guidance close to your travel date.
How does tourist access work today?
Because Hagia Sophia is an active mosque, worshippers and tourists are managed separately. In recent years, foreign visitors have paid for a ticketed entry and followed a dedicated route, largely through the upper galleries, while the ground floor prayer hall is reserved for worship. Rules on routes, tickets and timings have changed more than once since the 2020 reconversion, so confirm current details through official sources rather than an older article.
Before you go, check:
- The tourist entrance and whether it differs from the worshippers' entrance.
- Ticket requirements and whether online purchase is available or recommended.
- Visiting hours, including closures around the five daily prayers and the longer Friday midday prayer.
- The visitor route, and which parts of the building are currently accessible.
- Photography rules inside the building.
Lines can be long in peak season, and security checks add time, so build slack into your day.
Getting there
Hagia Sophia stands in Sultanahmet, on Istanbul's historic peninsula, facing the Blue Mosque across a park. If you stay in Sultanahmet or nearby areas such as Sirkeci, you can usually walk. From other parts of the city, the T1 tram stops in Sultanahmet a few minutes' walk away, and it connects with ferries at Eminönü and with the Kabataş area on the other side of the Golden Horn. Taxis can drop you near the square, though traffic and pedestrian zones in the old city mean the last stretch is often on foot.
The streets around the building are busy with visitors, and you will meet people offering guide services or shop visits. A polite but firm "no, thank you" is enough if you are not interested. If you want a guide, it is simpler to arrange a licensed one in advance than to choose at the gate.
When should you visit?
Timing around prayer is the single biggest factor in a smooth visit.
- Early morning near opening time usually brings the shortest lines.
- Avoid Friday midday, when the congregational prayer closes the building to tourists for longer than on other days.
- Check prayer times for your date, as they move with the sun through the year. Tourist access typically pauses around each prayer.
- Ramadan and religious holidays can bring changes to hours and much larger crowds of worshippers. These dates move each year with the lunar calendar.
- Season: spring and fall are the most comfortable for walking Sultanahmet, while summer brings heat and the largest crowds.
Allow around an hour inside, more if you are interested in the mosaics and architecture, plus time for the line.
What to wear and how to behave
Dress for an active place of worship. Women are expected to cover their hair, shoulders and knees, and men should wear long pants rather than shorts and cover their shoulders. Head coverings and wraps have often been available at the entrance, but bringing your own scarf is simpler. Shoes are removed in carpeted prayer areas.
Inside, speak quietly, keep to the visitor route and avoid walking in front of people praying. Photographing worshippers directly is intrusive, so focus your camera on the architecture.
A route through the building
What you can see depends on the current route, but the following elements are the core of most visits.
The approach and the narthex
Even before the main space, the vaulted entrance halls show the building's Byzantine construction. Look above doorways for surviving mosaic panels, since some of the most important ones were placed at entrances.
The dome and the main space
Hagia Sophia's great dome, designed by Anthemius of Tralles and Isidore of Miletus, seems to float above a ring of windows. The original dome collapsed after an earthquake in 558 and was rebuilt with a higher profile. Stand still for a few minutes and look at how the semi-domes, arches and piers carry its weight down to the ground. This is the experience that has impressed visitors for nearly 15 centuries.
The upper galleries
The galleries were once used by the empress and the court. From here you look down into the main space, and you can see several of the surviving Byzantine mosaics up close, including the celebrated Deesis panel showing Christ with the Virgin Mary and John the Baptist, where the route allows.
Ottoman additions
Look for the mihrab, which indicates the direction of Mecca and is set slightly off the building's original axis, the minbar, and the huge round calligraphic panels added in the 19th century, bearing the names of God, the Prophet Muhammad and the first caliphs. Outside, the four minarets and the tombs of several sultans in the courtyard are part of the same Ottoman layer.
What should you look for?
The rewards are in the relationships between the layers, not in any single feature.
- Christian and Islamic elements side by side: mosaic figures alongside calligraphic roundels and a mihrab.
- Marble and stone: colored marble panels and columns, many reused from older buildings.
- Light: the way daylight through the windows changes the space through the day.
- Wear and repair: buttresses added over the centuries to stabilize the structure, and patched surfaces from many restorations.
Some figurative mosaics may be covered with curtains or dimmed lighting during prayers. Do not plan your visit around guaranteed views of a specific panel.
What can you visit nearby?
Hagia Sophia sits at the heart of a cluster of major sights, each worth its own time.
| Sight | Why go | Time to allow |
|---|---|---|
| Blue Mosque (Sultan Ahmed Mosque) | Ottoman mosque facing Hagia Sophia, known for its tiles | Under an hour, outside prayer times |
| Basilica Cistern | Byzantine underground water reservoir with columns | About an hour |
| Hippodrome area | Former Byzantine chariot-racing ground with ancient monuments | A short walk |
| Topkapi Palace | Former Ottoman royal residence with treasury and harem | Half a day |
| Istanbul Archaeology Museums | Major collection near Topkapi | Two to three hours |
Choose two or three priorities instead of treating every landmark as a quick stop. A full day can hold Hagia Sophia, the Blue Mosque and the Basilica Cistern in the morning, with Topkapi Palace in the afternoon, but that is a busy day. Each sight has its own ticketing and visitor rules, so check them separately.
Frequently asked questions
Is Hagia Sophia a mosque or a museum?
It is currently an active mosque. It was built as a church, became a mosque in 1453, served as a museum from the 1930s and was reconverted to a mosque in 2020.
Do tourists need a ticket for Hagia Sophia?
In recent years, foreign visitors have paid for entry and followed a separate tourist route. Check current official guidance for tickets, routes and hours before your visit, as arrangements have changed several times.
What should you wear to Hagia Sophia?
Cover your shoulders and knees, and women should cover their hair. Bring a scarf of your own, and expect to remove your shoes in carpeted prayer areas.
Can you see the mosaics at Hagia Sophia?
Several Byzantine mosaics survive, including the Deesis panel in the upper galleries. What you can see depends on the current visitor route and on whether panels are covered during prayer times.
When is the best time to visit Hagia Sophia?
Early morning near opening time usually means shorter lines. Avoid the Friday midday prayer and check daily prayer times, when tourist access is typically paused.
Plan it with Nourbelle
Many travelers combine Egypt with a few days in Istanbul. Tell us what interests you, and we can suggest how to pace the city alongside your Egypt route on our plan your trip page.
Plan your visit
Ask us which tours include this visit, or build a private trip around it.
Tours that include Turkey
- 9-Day Egypt & Turkey: Cairo and Istanbul9 days / 8 nights
- 12-Day Egypt & Turkey: Cairo, Istanbul and Ephesus12 days / 11 nights
- 11-Day Egypt & Turkey: Pyramids, Istanbul & Cappadocia11 days / 10 nights
- 14-Day Egypt & Turkey: Istanbul, Cappadocia & Pamukkale14 days / 13 nights
- 13-Day Egypt & Turkey: Nile Cruise and Istanbul13 days / 12 nights
- 16-Day Luxury Egypt & Turkey: Nile, Istanbul, Cappadocia & Antalya16 days / 15 nights