How to Get to Hagia Sophia

Getting to Hagia Sophia is the easy part of the visit: it stands on the first hill of the old city, in Sultanahmet, and the T1 tram stops a few minutes' walk away. The part visitors get wrong is the last hundred metres. The main west door that every photo shows is now the worshippers' entrance; paying visitors use a separate gate on the Topkapı side of the building.

T1 tram passing Sultanahmet with minarets behind

Hagia Sophia by T1 tram

The T1 line runs from Kabataş on the Bosphorus to Bağcılar in the west, through Tophane, Karaköy, Eminönü and Sirkeci, and has a stop called Sultanahmet beside the park between the two great mosques. From the platform Hagia Sophia is the domed building to the north-east, about five minutes on foot. The next stop towards Kabataş, Gülhane, is equally close to the visitor gate if you walk up the slope past the Topkapı walls.

West of Sultanahmet the tram runs along Divanyolu, the old imperial avenue, towards Çemberlitaş and Beyazıt, which makes it the easy link from the Grand Bazaar too. Pay with an IstanbulKart, the rechargeable card used on trams, metro, ferries and buses; machines at the main stops sell and top it up. Tap once on entering.

Routes to Hagia Sophia from other districts

FromRouteGet off at
TaksimF1 funicular down to Kabataş, then T1 tramSultanahmet or Gülhane
Galata and KaraköyT1 tram westbound across the Galata BridgeSultanahmet
Galataport cruise terminalT1 from Tophane westboundSultanahmet
Kadıköy or ÜsküdarFerry to Eminönü, then T1 or walk uphill 15 to 20 minutesSultanahmet
Marmaray lineTrain to Sirkeci, then one stop on T1 or a short walkGülhane or Sultanahmet
Grand BazaarT1 eastbound from Beyazıt or Çemberlitaş, or walk along DivanyoluSultanahmet

The ferry from the Asian side is the most pleasant of these: the boat lands at Eminönü under the walls of the old city, and the walk up through Sirkeci passes the gardens below Topkapı.

From the airports to Hagia Sophia

Both airports are far from Sultanahmet. Havaist coaches from Istanbul Airport (IST) and Havabus coaches from Sabiha Gökçen (SAW) run into the city; check the current lines at the airport desk, because the routes and the last coach of the night change. From SAW many travellers ride to Taksim and continue by funicular and tram. A taxi to the old city is the simple option with luggage, but allow time for traffic on the bridges and motorways.

If you land in the morning and want to see Hagia Sophia the same day, leave your bags at the hotel first: large luggage complicates the security check at the gate and the long ramp up to the gallery.

AirportPublic optionSimple option
Istanbul Airport (IST)Havaist coach towards the old cityTaxi, longest in rush hour
Sabiha Gökçen (SAW)Havabus to Taksim, then F1 and T1Taxi across the Bosphorus

Finding the Hagia Sophia visitor entrance

  1. From the Sultanahmet tram stop, walk to the main square between the two mosques.
  2. Do not queue at the main west door; that line is for worshippers and Turkish citizens.
  3. Keep Hagia Sophia on your left and follow its walls towards Topkapı Palace onto Bab-ı Hümayun Caddesi.
  4. The ticket booth is across from the Sultan Ahmed III Fountain; the temporary visitor gate faces it.

Signs on the square point visitors to the gate; once a permanent entrance opens, follow the new signs.

Imperial Gate of Topkapi Palace with visitors

Landmarks on the walk to Hagia Sophia

  • The Hippodrome - today's Sultanahmet Square, with the Egyptian obelisk and the Serpent Column, where the Nika revolt of 532 began.
  • The German Fountain - the domed fountain at the north end of the square, a gift from Kaiser Wilhelm II.
  • Sultanahmet Park - the gardens between Hagia Sophia and the Blue Mosque, with the classic photo of both.
  • The Sultan Ahmed III Fountain - an 18th-century fountain at the gate of Topkapı, and the meeting point for Hagia Sophia visitors.
  • The Imperial Gate of Topkapı - the palace's outer gate, a few steps beyond the fountain.

Hagia Sophia access for wheelchair users

The visitor route climbs a ramp and includes stairs, and the operator states it is not suitable for disabled visitors. Instead they are directed, with a ticket, to the Turkish Citizen Entrance at the main gate, which opens at ground level. The tram is low-floor at most stops, but the cobbled streets and slopes around Sultanahmet are uneven. A taxi to the square avoids the worst of them.

💡 Pro Tip
Use the fountain as your landmark
Every taxi driver knows the Sultan Ahmed III Fountain by Topkapı's gate. Asking for "Ayasofya" alone may get you dropped at the far side of the square.
Alesia Vakula
Pro tip by: Alesia Vakula
Travel expert and itinerary planning specialist

From Hagia Sophia to your next stop

Next stopHowTime
Basilica CisternWalk across the tram line3 minutes
Blue MosqueWalk across Sultanahmet Park5 minutes
Topkapı PalaceWalk up Bab-ı Hümayun Caddesi5 minutes to the gate
Grand BazaarT1 west to Beyazıt or walk Divanyolu15 to 20 minutes
Eminönü ferriesT1 east or walk down through Sirkeci15 minutes

Taking a taxi to Hagia Sophia

Taxis can drop you at the edge of the pedestrian area around the square, close to the tram line on Divanyolu or by the Topkapı side. Ask for the Sultan Ahmed III Fountain or Topkapı's Imperial Gate to arrive near the visitor entrance. Traffic in the old city is slow in the daytime, and the last few hundred metres are often quicker on foot than in a car. Agree that the meter is running before you set off.

  • Say: "Sultanahmet, Topkapı Sarayı kapısı" for the palace gate by the visitor entrance.
  • Or show the address: Ayasofya Meydanı No:1, Fatih.
  • Avoid rush hours on the bridges if coming from the Asian side.

Walking to Hagia Sophia from nearby hotels

Most hotels in Sultanahmet, Cankurtaran and Sirkeci are within a 5 to 15 minute walk, and walking is often faster than the tram for these short distances. From Cankurtaran, below the Blue Mosque, the streets climb steeply; from Sirkeci you walk up Alemdar Caddesi past Gülhane Park. From Beyoğlu on the far side of the Golden Horn, crossing the Galata Bridge on foot and climbing through Eminönü takes much longer but is one of the classic walks of the city.

AreaOn foot to the visitor gateTerrain
Sultanahmet5 minutesFlat
Cankurtaran10 minutesUphill
Sirkeci10 to 15 minutesUphill along Alemdar Caddesi
Beyazıt20 minutesFlat along Divanyolu
Karaköy35 to 40 minutesBridge, then uphill

Arriving at Hagia Sophia from a cruise ship

Cruise ships dock at Galataport in Karaköy, on the Bosphorus shore across the Golden Horn from the old city. The T1 tram stops at Tophane, next to the terminal; ride it westbound across the Galata Bridge and through Eminönü and Sirkeci to Sultanahmet, around 20 minutes. Many ship passengers arrive in Sultanahmet between 10:00 and 12:00, which is one reason the late-morning queues are long in the cruise season. If your ship docks early, go straight to Hagia Sophia and keep the shopping for later.

  • Tram stop: Tophane, by Galataport.
  • Direction: westbound towards Bağcılar.
  • Get off: Sultanahmet.

The two doors of Hagia Sophia

DoorWhereWho uses it
Main west portalFacing Sultanahmet Square and the parkWorshippers, Turkish citizens, visitors with disabilities with a ticket
Temporary visitor gateOpposite the Sultan Ahmed III FountainPaying foreign visitors
North-east rampTowards the square and the tombsExit for the gallery route
Last updated: October 13, 2026

Getting to Hagia Sophia: questions

Which tram stop is closest to Hagia Sophia?
Sultanahmet on T1. Gülhane, one stop towards Kabataş, is a similar distance from the visitor gate.
Is there parking near Hagia Sophia?
Not for visitors at the building; the old city streets are narrow and largely pedestrian around the square. Public transport is easier.
Can I pay the tram by bank card?
Use an IstanbulKart; it covers trams, ferries, funicular and metro in one card.
Where do I come out after the visit?
Down the north-east ramp onto the square, near the Ottoman tombs; the Cistern is a few minutes away.
Is the area safe to walk at night?
Sultanahmet is busy and well lit in the evening, and the floodlit domes draw people to the park after dark.
Which side of the building is the visitor gate on?
The north-east side, facing Topkapı, by the Sultan Ahmed III Fountain on Bab-ı Hümayun Caddesi.
Is Hagia Sophia within walking distance of Taksim?
It is about an hour on foot downhill and across the Galata Bridge; the F1 funicular and T1 tram take around half an hour.
Do I need an IstanbulKart for one trip?
Single-ride tickets exist, but the card is cheaper per ride and works on ferries and the funicular too.
Can I reach Hagia Sophia by bus?
City buses stop near Sultanahmet and Eminönü, but the tram is simpler for visitors and stops closer to the gate.
How far is Hagia Sophia from Sirkeci station?
About 10 to 15 minutes uphill on foot, or one stop on the T1 tram to Gülhane.
Which ferry pier is closest?
Eminönü, at the foot of the old city; from there take the T1 tram or walk uphill through Sirkeci.
Is the tram crowded?
T1 is busy at rush hour and around midday in the cruise season; early mornings are calmer.
Where can I leave luggage?
The operator mentions no left-luggage service at the gate. Leave bags at your hotel or at a left-luggage service elsewhere.
BOOK TICKETS