Where Is Hagia Sophia and How Do You Get There?
Hagia Sophia stands on Sultanahmet Square in the Fatih district, the heart of Istanbul’s old city on the European side. The full address is Sultan Ahmet, Ayasofya Meydanı No:1, 34122 Fatih, Istanbul, but you’ll rarely need it. The short answer to “where is Hagia Sophia” is: dead center of everything you came to see, with the Blue Mosque, Basilica Cistern and Topkapı Palace all within a five-minute walk. Ride the T1 tram to the Sultanahmet stop, walk two minutes, and the dome and four minarets do the rest of the navigating for you.
This page covers every sensible route: the tram, both airports, Taksim and the Marmaray alternative, plus the one thing that trips up first-timers, which is finding the correct entrance once you’re standing in front of the building.
Where Is Hagia Sophia, Exactly?
Since we embed no map, here is one in words. Sultanahmet Square is a long, open plaza with a monument at each end. Hagia Sophia anchors the northeast end. Facing it from the southwest, across gardens and a fountain, sits the Blue Mosque, a three-minute walk away. Behind Hagia Sophia, the outer walls of Topkapı Palace begin almost immediately; its main gate is about five minutes on foot. The entrance to the Basilica Cistern is roughly two minutes from Hagia Sophia, just off the square near the tram street.
For wider bearings: downhill to the north are Gülhane Park, Sirkeci station and the Golden Horn. The Sea of Marmara lies behind the Blue Mosque to the south. If you can see two great domed buildings staring at each other across a garden, you’re there. Which one is which? Hagia Sophia is the older, heavier one with four minarets; the Blue Mosque has six, and our comparison of the two settles the rest.
By Tram: T1 to Sultanahmet
The T1 tram (Bağcılar–Kabataş line) is the easiest way in from almost anywhere central. Get off at the Sultanahmet stop and you’re a two-minute walk from the square. Trams run frequently from early morning until late evening, and you pay with an Istanbulkart, the city’s transit card, available from machines at most stops and stations.
The nearest rail alternatives are Gülhane, one T1 stop before Sultanahmet, and the Marmaray station at Sirkeci, a 12 to 15 minute uphill walk from the square.
From Istanbul Airport (IST)
You have three realistic options, none of them fast. By metro, take the M11 to Gayrettepe, change to the M2 and ride to Vezneciler, then either walk about 15 minutes or hop on the T1 from the nearby Beyazıt stop. It’s the cheapest route, with one change and a walk at the end.
The Havaist airport bus toward Sultanahmet drops you far closer to the old city and suits anyone with luggage. A taxi takes about 45 to 60 minutes depending on traffic, and old-city traffic is genuinely unpredictable, so pad your schedule if you’re on a deadline.
From Sabiha Gökçen Airport (SAW)
From the Asian-side airport, the rail route is the most reliable: take the M4 metro to Ayrılık Çeşmesi, then the Marmaray train under the Bosphorus to Sirkeci. From Sirkeci it’s a 12 to 15 minute walk uphill to the square, or you can ride the T1 a single stop from Gülhane.
The scenic alternative: take the Havabus to Kadıköy, cross by ferry to Eminönü, and pick up the T1 there. It’s slower, but crossing the Bosphorus by ferry with the old-city skyline ahead of you is a fine way to arrive.
From Taksim
Simple and quick: the F1 funicular carries you from Taksim down to Kabataş in a couple of minutes, and from Kabataş the T1 tram runs straight to Sultanahmet. Door to door it takes about 25 minutes. Skip the taxi here; the tram beats old-city traffic almost every time.
Where Is the Hagia Sophia Entrance for Visitors?
The visitor entrance is on the southwest side of the building, the side facing the square and the Blue Mosque. It’s separate from the entrance used by worshippers, who pray on the ground floor, so don’t join the first queue you see. Since January 2024, foreign visitors follow a dedicated route through the upper gallery, and entry is ticketed, which is why it pays to book skip-the-line entry ahead rather than gamble on the gate queue.
One timing note: tourist entry pauses around the five daily prayers, so check the rhythm on our opening hours page before you set out.
What’s Around Once You Arrive
Location is Hagia Sophia’s quiet superpower. The Blue Mosque is three minutes across the square, the Basilica Cistern two minutes away, and Topkapı Palace five. Most travellers string them into a single Sultanahmet half-day, and with a little planning you can walk between all four without ever touching transit again. For the order to do them in, how long each needs, and how the prayer pauses fit together, see our guide to planning your visit.