Disclosure: This page contains affiliate links. If you book through them we may earn a commission at no extra cost to you — and it's how we keep the site ad-free. Read our affiliate policy →
Monument · Istanbul

Hagia Sophia (Ayasofya) — the complete visiting guide

1,500 years old, now an active mosque again since July 2020. Free entry; modest dress; closed to non-worshippers during the five daily prayers.

Hagia Sophia (Ayasofya) is a 1,500-year-old architectural marvel that has served as a cathedral, mosque, museum, and, since July 2020, an active mosque again. Most visitors get it wrong by expecting a museum-like experience: you can still explore the interior freely, but you must respect it as a working place of worship. That means modest dress, quiet behavior, and no entry during the five daily prayers. The building’s layered history—Byzantine mosaics alongside giant Islamic calligraphy—is visible at every turn, making it one of the most spiritually and historically charged spaces in Istanbul.

History

Hagia Sophia was built in just six years (532–537 AD) under Byzantine Emperor Justinian I, who wanted to surpass Solomon’s Temple. For nearly a thousand years, it was the world’s largest cathedral and the heart of Eastern Orthodox Christianity. After the Ottoman conquest in 1453, Sultan Mehmed II converted it into a mosque, adding the mihrab, minbar, and four minarets. In 1935, Mustafa Kemal Atatürk turned it into a museum, stripping away many religious elements. In July 2020, a Turkish court annulled the museum status, and it reopened as a mosque. Today, the building’s dual identity—Christian mosaics and Islamic calligraphy—coexists in a fragile, fascinating balance.

What to see

The Imperial Door — the central entrance from the narthex

This massive bronze door, originally from a 2nd-century BC pagan temple, was the ceremonial entrance for Byzantine emperors. Today, it's the main entry for visitors. The door's size and weight (reportedly 7 tonnes) are impressive, but the real thrill is stepping through it into the vast, light-filled nave. Skip lingering here during prayer times—you'll be ushered in quickly.

The Deesis mosaic — upper gallery, 13th century, partially preserved

Located in the upper south gallery, this is arguably the finest Byzantine mosaic in the building. It depicts Christ Pantocrator flanked by the Virgin Mary and John the Baptist, with a hauntingly expressive face. The lower half is missing, destroyed by iconoclasts or time. It's a must-see, but the queue for the upper gallery can be long; go early or late. The mosaic's emotional power is worth the wait.

The Empress Eirene mosaic — upper south gallery

This mosaic shows Empress Eirene (who restored icon veneration in the 8th century) alongside her son Constantine VI and Justinian I offering gifts to the Virgin. It's less famous than the Deesis but equally well-preserved. The faces are serene, almost modern. A quiet spot to reflect on the building's Byzantine past—fewer crowds than the Deesis.

Sultan's Loge (Hünkâr Mahfili) — the wooden mezzanine where the Sultan prayed

This ornate wooden platform, added in the 19th century, allowed the sultan to pray in privacy, away from the public. It's intricately carved and painted, with a separate entrance. Today it's not accessible to visitors, but you can see it from the ground floor. It's a reminder of the Ottoman layer of the building—a bit of royal privilege in a space now open to all.

The mihrab + minbar — Ottoman additions facing Mecca

The mihrab (niche indicating Mecca) and minbar (pulpit) were added after the conversion to a mosque. The mihrab is made of marble and carved with intricate floral motifs; the minbar is wood with geometric inlay. They're functional—used during Friday sermons—not just decorative. Stand near them to appreciate the acoustic design: the imam's voice carries beautifully.

The four giant calligraphic medallions — the world's largest Islamic calligraphy

These 7.5-metre-diameter medallions hang high on the pendentives, bearing the names of Allah, Muhammad, and the first four caliphs. They were added in the 19th century by the calligrapher Kazasker Mustafa İzzet Efendi. They're the largest examples of Islamic calligraphy in the world, and they dominate the space—a bold counterpoint to the Christian mosaics. Don't miss looking up at them from the centre of the nave.

The two-headed eagle marble on the floor — Byzantine imperial symbol

Near the exit, a small marble disc with a two-headed eagle is set into the floor. It's a Byzantine imperial emblem, likely from the 13th century. It's easy to walk over without noticing—look down. It's a subtle, understated remnant of the building's pre-Ottoman past, often overlooked by crowds rushing to the exit.

Modest-dress + shoe-removal protocol — free scarves at entry

Women must cover their hair, and everyone must remove shoes before entering the prayer area. Free scarves and shoe bags are provided at the entrance. The dress code is strictly enforced—staff will stop you if your shoulders or knees are bare. It's a bit of a hassle, but it's respectful and keeps the space sacred. Bring your own scarf to avoid the queue for the free ones.

How to visit

Hagia Sophia is open daily, but entry is restricted during the five daily prayers (roughly 30–45 minutes each). Check the prayer timetable online before you go. The best time to visit is mid-morning (after 9:30 AM) or late afternoon (after 3 PM) to avoid the worst crowds. Arrive 15 minutes before opening to beat the queue. The visit takes about 1–1.5 hours if you want to see the upper gallery. The upper gallery is accessed via a sloping ramp—wheelchair accessible but steep. Modest dress is mandatory: women must cover hair, shoulders, and knees; men must cover knees. Shoes are removed at the entrance—wear slip-ons. Photography is allowed without flash. No food or drink inside. The building can get very crowded; be patient and respectful of worshippers.

Cost and tickets

Entry is free for everyone. There is no ticket booth—just walk through the metal detectors. However, donations are welcome. If you want a guided tour, expect to pay around $30–50 per person for a reputable guide. Audio guides are not officially available inside, but you can download a self-guided audio tour app for about $5. The free entry is a huge plus, but the queues can be long—up to 45 minutes in peak season.

What to skip

Skip the 'Hagia Sophia Museum' ticket if you see it online—it's a scam; entry is free. The small souvenir shop inside is overpriced (think $10 for a fridge magnet). The upper gallery can be skipped if you're short on time or mobility issues—the main floor has the most dramatic views. Avoid visiting during Friday noon prayer (around 1 PM) unless you're worshipping—it's closed to tourists for over an hour.

FAQs

Is Hagia Sophia free to enter?

Yes, entry is completely free for everyone. There is no ticket office. You just walk through security. Donations are optional. Beware of anyone trying to sell you a 'skip-the-line' ticket—it's a scam.

What are the prayer times and closures?

Hagia Sophia closes to non-worshippers during the five daily prayers, each lasting about 30–45 minutes. Times change daily based on sunrise and sunset. Check a local prayer timetable or ask your hotel. The Friday noon prayer (around 1 PM) is the longest closure.

Do I need to cover my head and remove shoes?

Yes. Women must cover their hair, and everyone must remove shoes before entering the prayer area. Free scarves and shoe bags are provided at the entrance. Men must cover their knees and shoulders. The dress code is strictly enforced.

Can I see the Byzantine mosaics?

Yes, most mosaics are still visible, including the Deesis and Empress Eirene in the upper gallery. However, some mosaics in the dome and apse are covered during prayers. The building is a working mosque, so mosaics are not lit for display—natural light is best.

Is the upper gallery open to visitors?

Yes, the upper gallery (where the Deesis mosaic is) is open to visitors via a sloping ramp. It can get crowded, and the queue can be 20–30 minutes. It's worth it for the mosaics and the view of the nave from above.

Other Istanbul sights

Free — sent instantly

Get our 3-day Istanbul itinerary

The exact plan we'd give a friend visiting Istanbul. Where to eat, what to skip, how to avoid tourist traps.

No spam. Unsubscribe anytime.