Hagia Sophia Grand Mosque (Ayasofya), Istanbul

Hagia Sophia Grand Mosque (Ayasofya), Istanbul

★★★★★ 1 Review #1 of 14 Things to Do in Istanbul
Overview Highlights Location Tickets Policies Reviews Q&A Missing some information? Yes /
In short

Hagia Sophia in Istanbul's Sultanahmet was built in 532 to 537 as Justinian's cathedral, later became a mosque and a museum, and since 2020 is a working mosque again. Foreign visitors use a separate upper-gallery route costing €25, with under-8s free; the Museum Pass is not accepted. With no official timetable, guides list 9:00 to 19:30. One to one and a half hours suits most visits.

The building stands in the Sultanahmet quarter of Fatih, on the historic peninsula between the Golden Horn and the Sea of Marmara. The Byzantine emperor Justinian I commissioned it, and it was built between 532 and 537 to designs by Isidore of Miletus and Anthemius of Tralles. For more than nine centuries it was the main church of Constantinople.

After the Ottoman conquest in 1453, Mehmed II converted it into a mosque, and minarets, a mihrab and other Islamic features were added. In 1935 the Turkish Republic turned it into a museum. In 2020 it returned to use as a mosque under the official name Hagia Sophia Grand Mosque.

The central dome rises about 55 metres and spans roughly 32.7 to 33.5 metres, carried on pendentives over a vast open interior lit by windows around its base. Large Ottoman calligraphy roundels hang below it.

The upper galleries hold Byzantine mosaics, including images of Christ, the Virgin Mary and emperors, and these are now the focus of the visitor route. Since 2024 foreign visitors follow a separate path through the galleries, while the ground floor prayer hall is reserved for worshippers.

Foreign visitors pay a fee for the gallery route, quoted in euros, and museum passes do not cover it; worshippers enter free for prayer. Tourists use a separate side entrance from worshippers. The route closes around Friday noon prayers, and opening hours vary, so arrive early in the morning to avoid long queues. Cover shoulders and knees, and women need a headscarf. Allow about an hour.

The two churches that stood here before 532

Two earlier churches stood on this site. The first was consecrated on 15 February 360 under Constantius II, and a second, built by Theodosius II, was inaugurated on 10 October 415. That one burned in the Nika riots of January 532, and Justinian began the present building the following month, on 23 February, inaugurating it on 27 December 537. The finished structure is about 82 metres long and 73 metres wide.

The dome has been rebuilt more than once. An earthquake in 558 brought down part of the vault, and Isidore the Younger raised a higher, ribbed dome that was rededicated in 562. Another earthquake in 989 collapsed the western arch, and the Armenian architect Trdat directed the repairs before the church reopened in 994.

Ottoman additions you can still see

The four minarets date from different reigns. Bayezid II added the slender northeast minaret, and the two heavier western ones, each about 60 metres tall, were designed by Mimar Sinan for Selim II, who also had Sinan reinforce the walls with buttresses. In the garden outside stand the tombs of Selim II, Murad III and Mehmed III, and Mahmud I added a library in 1739 and an ablution fountain in 1740. Between 1847 and 1849 the Swiss Italian Fossati brothers restored the building for Sultan Abdulmejid I and bound the dome with an iron chain.

Inside, look for the Deesis mosaic in the south gallery, the Imperial Gate (at seven metres the largest door, once reserved for the emperor), the Omphalion marble floor where emperors were crowned, and a ninth century runic inscription reading "Halvdan was here", scratched by a Scandinavian visitor.

Fact-checked by the bookingMentor Travel Desk Reviewed · Updated when rules or prices change

We check practical details such as entry rules, seasons and costs against official government and tourism sources.

5/5 1 review
“Taraweeh prayer at Aya Sofia mosque, Istanbul Turkey”
Key information
🕌Built: 537 CE as a cathedral; mosque again since 2020
⛪Dome: About 55 m high, 32–33 m across
🎟️Visitor fee: €25 (upper galleries)
🧕Dress: Shoulders and knees covered; women cover hair
💰Currency: Turkish lira (₺ TRY)
🕕Time Zone: TRT (UTC+3)

Explore the area

View in a map
Blue Mosque 0.4 km
Topkapı Palace 0.4 km
Basilica Cistern 0.2 km
Sultanahmet T1 tram stop 0.2 km
See all about this area
✦ This attraction is in high demand! Security queues are long by mid-morning
Highlights Include:
Galleries
  • Byzantine mosaics of Christ and the Virgin
  • Imperial portraits
  • Views over the nave
Prayer hall
  • Central dome
  • Ottoman calligraphy roundels
  • Minbar and mihrab
What They Offer
Visitor route Separate tourist entrance and upper-gallery route Headscarves sold at the entrance
Visit duration 1–1.5 hours
Timed entry required No

Accessibility

Ramps on the gallery route are steep; ask staff about access.

Age limits

No minimum age. The gallery route climbs steep ramps, so a baby carrier is easier than a pushchair.

What to pack

Headscarf (women), passport

What to wear

Cover shoulders and knees

Not allowed

Revealing clothing, loud behaviour, entering the prayer hall as a tourist during prayers

Amenities

Security check, shoe bags, headscarf sales

Tips for visiting Hagia Sophia Grand Mosque, Istanbul

  • Arrive near opening time to avoid long queues.
  • Avoid Friday midday, when the visitor route closes for prayer.
  • Carry a scarf and wear clothing covering shoulders and knees.
  • Take the T1 tram to Sultanahmet and walk to the south entrance.
  • Pair the visit with the Blue Mosque and Basilica Cistern nearby.

Admission tickets

Prices and how to get tickets.

Hagia Sophia: upper-gallery visit

Byzantine mosaics on the visitor route.

  • Upper-gallery visitor route
Ticket prices

Foreign visitors €25 for the upper-gallery route (since January 2024); under-8s free; prayer hall free for worshippers; Museum Pass not valid

Opening hours

Closed now · 9:00 AM - 7:30 PM · Last entry Ticket sales stop before closing

All opening hours

Visitor policy

Check availability
Cancellation and prepayment
Per the ticket seller.
Children and admission
Under 8 free.
Groups
Licensed guides for groups.
Pets
Not allowed.
Photography
Allowed without flash; respect worshippers.
Bags
Security screening at entry.
Smoking
Not permitted.
Accepted payment
Pay at official ticket points.
Contribute:

Travelers are asking

No questions yet about Hagia Sophia Grand Mosque (Ayasofya), Istanbul. Ask the community or our travel team, and the answer will show here once it is published.

Be the first to ask

Our team answers questions here

Stay in Istanbul

Where to stay near Hagia Sophia Grand Mosque (Ayasofya), Istanbul

Hotels closest to Hagia Sophia Grand Mosque (Ayasofya), Istanbul, nearest first, so you spend less time on the road and more time there.

Istanbul

Pera Palace Hotel5-star hotel

No reviews yet

2.7 km from Hagia Sophia Grand Mosque

from$242.00/ night
  • Internet – Wifi
  • Airport shuttle
  • Swimming pool
3 Rooms available Book Now
CHECK ALL

Explore by Theme

Find your kind of trip: 11 travel themes, from Heritage, UNESCO World Heritage, Mosque (Islam).

Top things to do nearby

More of Sultanahmet.

Basilica Cistern (Yerebatan Sarnıcı)

Istanbul

Basilica Cistern (Yerebatan Sarnıcı)

The Basilica Cistern lies under the Sultanahmet area of Istanbul, a short walk from Hagia Sophia. It was built in the 6th century under the Byzantine emperor Ju...

No reviews yet

Istanbul

Istanbul Archaeology Museums

The Istanbul Archaeology Museums stand in the Eminönü quarter of Istanbul's historic peninsula, between Gülhane Park and the outer courtyard of Topkapı Palace....

No reviews yet

Istanbul

Blue Mosque (Sultan Ahmed Mosque)

The Sultan Ahmed Mosque stands in the Sultanahmet area of Istanbul's historic peninsula, facing Hagia Sophia across a park and bordering the old Hippodrome. Sul...

No reviews yet
CHECK ALL

Save time: create a trip and get offers from locals

Tell us where and when you want to go, and local travel experts send you offers for your trip.

1 Create a trip 2 Get offers from locals 3 Pick the one you like
Create a trip
Need help?

Frequently Asked Questions (FAQs)

What to know about Hagia Sophia.

Prices & payment

As of October 2026, istanbul.com reports a fee of 25 euros, about 29 US dollars, for foreign visitors using the upper gallery route. Entering the ground floor for prayer is free. Museum passes are not accepted.

Timing & weather

Stay & facilities