Skip to content
Departly.
Hagia Sophia, Turkey
Hagia Sophia

Marmara

Hagia Sophia

How to visit Istanbul's Hagia Sophia: the tourist upper-gallery ticket, the dress code and headscarf rule, prayer-time closures, and whether it's worth paying to go in.

Written by the Departly editorial team Reviewed against GOV.UK on 8 Jun 2026

Where

Istanbul, Turkey

Opening hours

Open to tourists daily, roughly 09:00–19:30 in winter (Oct–Mar) and from 08:00 in summer (Apr–Sep), with last entry about 30 minutes before closing and the ticket booth shutting earlier. Closed to visitors for Friday midday prayers, typically around 12:30–14:30. Confirm your date on hagia-sophia.org.

Tickets

€25 (about £21) for the foreign-visitor upper-gallery ticket; an AR/audio guide runs through your own phone. Under-8s free with a passport. The ground floor is free but only for worshippers.

Time needed

About 45 minutes to an hour on the upper-gallery route; a little longer with a guided tour. Add 15–20 minutes for security and the dress-code stop.

In short

Visiting Hagia Sophia

Hagia Sophia is now a working mosque, so the ground floor is free for worshippers and tourists pay €25 (about £21) for the separate upper-gallery route — that's where the Byzantine mosaics and the best dome view are. Cover shoulders and knees; women need a headscarf for the ground floor, though not in the tourist gallery. Avoid Friday lunchtime, when it shuts to visitors for prayers, and allow 45 minutes to an hour.

How to visit without getting caught out

Hagia Sophia changed in 2020 from a paid museum back into a working mosque, and that’s the thing to understand before you go. The ground floor is now free, but it’s the prayer hall for worshippers — you can step in, but you queue, you take your shoes off, and women need a headscarf. The proper tourist experience is the separate upper-gallery ticket, currently €25 (about £21) for foreign visitors, which gets you onto the elevated marble ramps where the surviving Byzantine mosaics are and where you look straight down the nave to the dome. Under-8s go free with a passport.

You don’t strictly have to book ahead — there’s a ticket booth on site — but the queue across Sultanahmet Square gets long in summer and on cruise-ship days, so a pre-booked timed slot or a guided tour saves the standing around. Cover shoulders and knees whatever your ticket, and bring your own scarf rather than relying on the wraps handed out at the entrance. The one closure to plan around is Friday lunchtime, roughly 12:30 to 14:30, when it shuts to tourists for the main weekly prayers; access can also pause briefly at the five daily prayer calls.

Getting there is easy: the T1 tram to Sultanahmet drops you a three-minute walk away, and it’s two minutes from the Blue Mosque across the square, so most people do both in one morning. Go mid-morning or late afternoon to dodge the midday crowds and the harshest light through the windows. Allow about 45 minutes to an hour on the gallery route, plus 15–20 minutes for security and the dress-code stop.

Pay for the upper gallery — don’t just shuffle through the free ground floor and call it done. From above you get the gold mosaics at eye level and the full sweep of the dome that the worshippers’ floor doesn’t give you, and the building’s whole strange history as cathedral, mosque, museum and mosque again is best read from up there. Pair it with the Blue Mosque and the Basilica Cistern next door rather than racing across the city the same day; this corner of Istanbul rewards a slow morning.

Planning the rest of your trip? See the Istanbul city guide.

More to see in Istanbul

Book the essentials

Tours & tickets

Book tours & ticketsvia GetYourGuide
See the full Turkey guide

Hagia Sophia FAQs

Do you need to book Hagia Sophia tickets in advance?
Not strictly — you can buy the €25 (about £21) visitor ticket at the booth on the day. But the queue can be long at peak times and on cruise days, so a pre-booked timed slot or guided tour is worth it in summer if you'd rather not stand in line.
What's the dress code, and do women need a headscarf?
Shoulders and knees covered for everyone, shoes off in the prayer area. Women need a headscarf to enter the ground-floor mosque space, but not on the tourist upper gallery. Bring your own scarf rather than relying on the wraps handed out at the door.
Is the Hagia Sophia worth it?
Yes — pay for the upper gallery. From up there you see the surviving gold Byzantine mosaics close up and look straight down the nave to the dome, which you can't do properly from the worshippers' floor. As a building that has been a cathedral, a mosque, a museum and a mosque again, it earns the entry fee.
When is it closed?
It shuts to tourists during Friday midday prayers, usually about 12:30 to 14:30, and access can be limited briefly at the five daily prayer times. Go mid-morning or late afternoon on any day other than Friday lunchtime.

Ready to book?

Check tickets & tours

Go