Home › Places to visit › Hagia Sophia
How to Get to Hagia Sophia by Metro and Tram
Mosque · Historic Peninsula

T1 The nearest station to Hagia Sophia is Sultanahmet (T1). From there it is about a 8-minute walk (400 m).
About Hagia Sophia
Hagia Sophia was built between 532 and 537 under Emperor Justinian, designed by Anthemius of Tralles and Isidore of Miletus. For about a thousand years it was the largest domed building in the world. After the conquest of Istanbul in 1453 it became a mosque, and the minarets and other Ottoman additions date from that time. It served as a museum from 1934 and reopened as a mosque in 2020.
Inside, the first thing you notice is the vast dome, rising about 55 metres above the floor, and the light pouring in through its windows. The huge calligraphy roundels, marble panels, mihrab and minbar are Ottoman, while the mosaics in the galleries are Byzantine. Seeing both eras in one space is what makes Hagia Sophia unique.
Cover shoulders and knees, women wear a headscarf, and shoes come off in the prayer hall. Visitor access is limited during prayer times, and early mornings are the quietest. The Blue Mosque, the Basilica Cistern and Topkapı Palace are all a few minutes’ walk away, so it is worth setting aside a whole day for the area.
Nearest stations
- T1Sultanahmet8 min walk · 400 m
- T6Cankurtaran8 min walk · 410 m
- T1Gülhane8 min walk · 420 m
- T1T6MarmaraySirkeci13 min walk · 710 m
Getting to Hagia Sophia
- M2M11T1From Istanbul AirportM11 Metro, M2 Metro and T1 Tram · about 76 min · 2 changes
- M4T1MarmarayFrom Sabiha Gökçen AirportM4 Metro, Marmaray and T1 Tram · about 84 min · 2 changes
- M2T1From TaksimM2 Metro and T1 Tram · about 29 min · 1 change
- M4T1MarmarayFrom KadıköyM4 Metro, Marmaray and T1 Tram · about 40 min · 2 changes
Get off at Sultanahmet, then walk about 8 min to Hagia Sophia.
Estimates for a weekday daytime, waiting and the final walk included.
Other places nearby
Topkapı PalaceT1 Gülhane · 8 min walk · 430 m
Blue MosqueT1 Sultanahmet · 7 min walk · 320 m
Basilica CisternT1 Sultanahmet · 5 min walk · 200 m
Sultanahmet Square (Hippodrome)T1 Sultanahmet · 5 min walk · 200 m
Istanbul Archaeology MuseumsT1 Gülhane · 5 min walk · 250 m
Gülhane ParkT1 Gülhane · 5 min walk · 240 m
Frequently asked questions
What is the nearest metro station to Hagia Sophia?
The nearest rail station is Sultanahmet (T1), about a 8-minute walk away.
How do I get from Istanbul Airport to Hagia Sophia?
Take M11 Metro, M2 Metro and T1 Tram to Sultanahmet, about 68 minutes (2 changes), then a short walk.
How do I get from Sabiha Gökçen Airport to Hagia Sophia?
Take M4 Metro, Marmaray and T1 Tram to Sultanahmet, about 76 minutes (2 changes), then a short walk.
How do I get from Taksim to Hagia Sophia?
Take M2 Metro and T1 Tram to Sultanahmet, about 21 minutes (1 change), then a short walk.
Can I see the directions offline?
Yes. The Istanbul Rail app plans the route without internet and tells you where to get off.
All places to visit → · Sultanahmet Tram Stop →

Get the Istanbul Rail app
Directions to Hagia Sophia and anywhere in Istanbul by rail: transfers, first and last trains, and when to get off on a live trip. Free, works offline.