Istanbul Rail

Home › Places to visit › Hagia Sophia

How to Get to Hagia Sophia by Metro and Tram

Mosque · Historic Peninsula

Hagia Sophia
Hagia Sophia (228968325) · Photo: Adli Wahid · CC BY-SA 3.0 · resized and cropped

T1 The nearest station to Hagia Sophia is Sultanahmet (T1). From there it is about a 8-minute walk (400 m).

Hagia Sophia and the nearest station, Sultanahmet Hagia Sophia SultanahmetEminönüSirkeciLaleli-ÜniversiteGülhaneÇemberlitaşBeyazıt - Kapalı Çarşı
Open the web map →

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

Getting to Hagia Sophia

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

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.