Hagia Sophia (Ayasofya): What It Actually Is
Hagia Sophia — Ayasofya-i Kebir Cami-i Şerifi — has stood on the same site since 537 AD, first as a Byzantine cathedral, then an Ottoman mosque, briefly a secular museum, and since July 2020 an active mosque again. Commissioned by Byzantine Emperor Justinian I and completed in 537 CE, it served as the principal cathedral of the Eastern Roman Empire for nearly a millennium before the Ottoman conquest of Constantinople in 1453 under Sultan Mehmed II converted it into an imperial mosque.
Since 2024, foreign visitors buy an upper-gallery ticket, entered via a dedicated gateway near the Fountain of Sultan Ahmed III opposite Topkapı Palace, to see the building's Byzantine mosaics and Islamic calligraphy together in one space — that's what most istanbul tickets hagia sophia searches are actually looking for — while the ground floor remains a working prayer hall, free and open to everyone under normal mosque etiquette.
That split is also what decides the best time to visit Hagia Sophia: the ground floor and parts of the visitor route pause around each of the five daily prayers, with the longest closure on Friday around midday prayer.
Upper gallery ticket (foreign visitors)
25 EUR
Ground-floor prayer hall
Free, open to all
Visit duration
~1 hour
Tickets & Hours
Upper gallery ticket (foreign visitors)
- Details
- 25 EUR — buy Hagia Sophia tickets online in advance where possible to skip the queue
Ground floor (prayer hall)
- Details
- Free for everyone, modest dress required
Children
- Details
- Under 8 enter free with a parent and valid passport
Hours
- Details
- 08:30–19:30 daily, last entry 19:00
Closures
- Details
- Visitor route pauses around all five daily prayers; longest pause is Friday midday prayer
| Item | Details |
|---|---|
| Upper gallery ticket (foreign visitors) | 25 EUR — buy Hagia Sophia tickets online in advance where possible to skip the queue |
| Ground floor (prayer hall) | Free for everyone, modest dress required |
| Children | Under 8 enter free with a parent and valid passport |
| Hours | 08:30–19:30 daily, last entry 19:00 |
| Closures | Visitor route pauses around all five daily prayers; longest pause is Friday midday prayer |
Before You Go
A Hagia Sophia visit runs smoothly once you know the rhythm of the day:
- Buy tickets online in advance — the on-site queue for the foreign-visitor ticket counter can run long at midday
- Check the day's prayer times before you go; the visitor route pauses around each one, longest on Friday
- Dress modestly: shoulders and knees covered, and a headscarf for women — disposable scarves are sold at the entry kiosk if you forget one
- Wear easily removable shoes — they come off before any carpeted prayer area, and slip-ons save time at the cubbies
- Bring your own headphones for the QR-code audio guide included with the ticket; disposable headsets are sold on-site if you forget
- Visit right at opening (08:30) or after 16:30 in the late afternoon to avoid both the heat and the biggest tour groups
- Pair it with the Basilica Cistern (Yerebatan Sarnıcı) and the Blue Mosque, both a few minutes' walk away — most people combine two or three of these in one morning
What There Is to See
The Great Dome & Pendentives
The central dome spans 31 meters in diameter and rises 55.6 meters high, supported by four spherical-triangle pendentives — each carrying a six-winged Seraphim angel at its corner.
The Byzantine Mosaics
The upper gallery holds the Deësis mosaic (Christ flanked by the Virgin Mary and John the Baptist) and the Virgin and Child apse mosaic, plus imperial panels of Justinian I and Constantine offering models of the building and the city.
The Ottoman Calligraphy Roundels
Eight giant 7.5-meter wooden medallions by 19th-century calligrapher Kazasker Mustafa İzzet, bearing the names of Allah, the Prophet Muhammad, the four Caliphs, and his grandsons Hasan and Husayn.
The Mihrab & Minbar
The marble prayer niche points toward Mecca, flanked by 16th-century bronze lanterns brought from Hungary by Suleiman the Magnificent.
The Weeping Column
A Byzantine-era column with a worn hole said to grant wishes — one of the most-touched spots in the building by visitor hands alone.
Common Mistakes to Avoid
Confusing the Mosque with the Ticketed Gallery
Expecting the whole building to require a ticket
Solution
The ground-floor prayer hall is free for everyone; only the upper gallery with the mosaics needs the foreign-visitor ticket.
Showing Up During Friday Prayer
Planning a midday Friday visit
Solution
Friday noon prayer is the longest closure of the week for the visitor route — morning or late afternoon avoids it entirely.
Dressing for the Beach, Not the Mosque
Arriving in shorts or a sleeveless top
Solution
Modest dress is enforced at the door; bring a scarf and a layer that covers your shoulders if you're coming straight from sightseeing elsewhere.
Skipping the Online Ticket
Planning to buy a ticket at the counter
Solution
Buying Hagia Sophia tickets online ahead of time skips a queue that regularly runs 30–45 minutes in peak season.
Getting There
- 1
By tram (T1 line)
- Take the T1 Kabataş–Bağcılar tram to Sultanahmet station, then walk 2 minutes through Sultanahmet Park toward the large pink building facing the Blue Mosque.
- 2
From Taksim Square
- Take the F1 funicular from Taksim down to Kabataş, then transfer to the T1 tram heading toward Sultanahmet.
- 3
From the cruise port (Galataport)
- Take the T1 tram from Tophane station directly to Sultanahmet — about 12 minutes.
Frequently Asked Questions
Planning a Longer Stay in Istanbul?
From Hagia Sophia to your first apartment viewing — our team can help with visas, housing, and everything else that comes with actually moving here.
Talk to Our Team