Hagia Sophia Grand Mosque in Istanbul, Türkiye. Built between 532 and 537AD by Roman Emperor Justinian I as the Christian Cathedral of Constantinople.

© Getty Images/iStockphoto

Hagia Sophia Grand Mosque

Top choice in Sultanahmet


The Aya Sofya (officially the Ayasofya-i Kebir Cami-i Şerifi, or the Hagia Sophia Grand Mosque) is one of the Byzantine Empire’s surviving architectural marvels. Right in the heart of İstanbul’s historic center, this sacred building remains – even today – an important symbol of power.

Commissioned by Emperor Justinian, consecrated as the Hagia Sophia (Church of Divine Wisdom) in 537, converted to a mosque by Sultan Mehmet II (Mehmet the Conqueror) in 1453, declared a museum by Atatürk in 1935, and reconverted into a working mosque in 2020; the Aya Sofya’s changing status mirrors the history of İstanbul, tracking it through its period as Constantinople, capital of first the Byzantine, then Ottoman empires, up to the modern era when this sprawling metropolis remains central to Turkey’s story.

Come to boggle at the sheer audacity of Justinian’s vision, which raised history’s first pendentive dome atop a church so large its size would not be surpassed for nearly 1000 years. Then take in how this venerable structure’s design has merged Byzantine opulence with Ottoman grandeur down through the centuries and experience how today its religious significance has not diminished.

Byzantine finery inside the narthex

Known as the Beautiful Gate, the bronze entranceway to the narthex’s southwest vestibule is thought to have been filched from a temple in Tarsus and dates back to the 2nd century BCE.

Make sure to spy the 10th century mosaic on the lunette of the doorway leading from the southwest vestibule to the inner narthex. It shows the Virgin Mary holding the Christ child, flanked by Emperor Justinian (on her left) offering her Hagia Sophia and Emperor Constantine (to her right) handing her Constantinople.

In the inner narthex, the central 7m (23ft) high, oak and brass Imperial Door, leading into the prayer hall, was originally closed to all but the Byzantine emperor’s procession. Look up to see one of the Aya Sofya’s finest mosaics in the lunette above the doorway. The glittering gold tesserae of this 9th century mosaic depicts an enthroned Christ with Emperor Leo IV bowing at his feet.

A fusion of Christian and Islamic design in the prayer hall

Whether you’re here to pray or soak up the glorious architecture of this near 1500 year old building, few visitors are left less than awestruck by the sheer scale of Justinian’s nave (now prayer hall).

Above, a multitude of chandeliers are strung from the soaring ceiling. Eight mammoth medallions, inscribed in gilt with the names of god, the Prophet Muhammad and the first caliphs, hover atop the cornice of the marble-paneled walls, while geometric designs creep up the yellow plastered semi-domes, domes and arches overhead.

Large group of people and tourists visit Holy Hagia Sophia Grand Mosque (Ayasofya-i Kebir Cami-i Åžerifi), Istanbul Turkey
A large group of visitors admiring the interior of the Hagia Sophia Grand Mosque © Getty Images

As you enter you might notice people crowding around the hall’s northwestern corner. Local legend tells that the pillar here was blessed by St Gregory the Miracle Worker. Known as the Weeping Column, its copper facing has been worn away by centuries of believers rubbing against it seeking a cure for their ailments.   

The apse is fronted by an ornate mihrab (prayer niche indicating the direction of Mecca) while behind, the walls, studded with stained-glass windows, rise up to the semi-dome holding the 9th century mosaic of the Virgin and Christ child now hidden behind curtains.

As well as the apse mosaic being curtained, the main interior change after 2020’s mosque reconversion is the vast teal-colored carpet now laid across the marble floor. The square section of inlaid-stone, known as the omphalion, in the southeast of the hall, has been left uncovered. The omphalion’s unique design of 30 circles, made from red and green porphyry, granite and verd antique, marks the spot where new emperors were crowned.

An architectural marvel: the prayer hall’s dome

Before the Aya Sofya, no one had figured out how to place a large dome on a square base. The prayer hall’s central dome soars 56m (184ft) high and spans 33m (108ft) in diameter, supported by four concave triangular segments known as pendentives that allow the dome’s weight to be concentrated at the corners. This architectural innovation went on to inspire the design of the grand mosques of the Ottoman era.

Four seraphim (angels) grace the pendentives. Two are the original mosaics (eastern pendentives) while the two fresco seraphim date from the 1847 restoration. Local legend tells that they protect the city from disaster.

The upper gallery’s mosaics

The upper gallery of the Aya Sofya is closed indefinitely for restoration. This means the famous Emperor Constantine IX and Empress Zoe Mosaic and the Emperor John Komnenos II and Irene Mosaic cannot be seen.

What does it cost to visit the Hagia Sophia Grand Mosque (Aya Sofya)?

As the Hagia Sophia Grand Mosque (Aya Sofya) is now a working mosque, entrance is free.

What is the dress-code for visiting?

This is an active place of worship. All visitors should cover upper arms and legs and women need to don a headscarf before entering. Shoes are taken off in the narthex before entering the prayer hall.

Are tours available?

Official tour guides can be hired at the entrance and usually charge by the hour.

What is the best time to visit the Hagia Sophia Grand Mosque (Aya Sofya)?

Non-Muslims shouldn’t enter mosques during prayer times. Due to the Aya Sofya’s popularity this rule is sometimes not adhered to as strictly as elsewhere.

If you are not here to pray and are allowed in during prayer time be aware that you will not be able to wander freely through the prayer hall as a large section is cordoned off for worshippers. Prayer times change throughout the year; check current times on Turkey’s official prayer times website.

The most popular time to visit is between 9am and 11.30am. Expect crowds and queuing any time before 5pm.

What’s nearby?

You are in the heart of İstanbul’s old city district of Sultanahmet. The newly restored Basilica Cistern (Yerebatan Sarnıcı) is a 40m (131ft) hop west; the Blue Mosque (Sultanahmet Cami) is a 300m (984ft) stroll south across Sultanahmet Parkı; and just to the north is Gülhane Parkı, home to Topkapı Palace and İstanbul Archaeological Museum.

Transportation

  • tram: Sultanahmet

Lonely Planet's must-see attractions

Nearby Sultanahmet attractions

1. Aya Sofya Tombs

0.04 MILES

Part of the Aya Sofya complex but entered via Babıhümayun Caddesi, these tombs are the final resting places of five 16th- and 17th-century sultans –…

2. Sultanahmet Archaeological Park

0.06 MILES

Excavations here have uncovered parts of the Great Palace of Byzantium. The park has been closed for restoration for almost a decade, with no signs of it…

3. Basilica Cistern

0.07 MILES

This subterranean structure was commissioned by Emperor Justinian and built in 532. The largest surviving Byzantine cistern in İstanbul, it was…

4. Fountain of Sultan Ahmet III

0.09 MILES

This ornate rococo-style fountain outside the Imperial Gate to Topkapı Palace's First Court was built in 1728 by the sultan who so favoured tulips.

5. Soğukçeşme Sokak

0.09 MILES

Running between the Topkapı Palace walls and Aya Sofya, this picturesque cobbled street is named after the Soğuk Çeşme (Cold Fountain) at its southern end…

6. Carpet Museum

0.09 MILES

Housed in an imaret (soup kitchen) added to the Aya Sofya complex in the 18th century, this museum is entered through a spectacular baroque gate and gives…

7. Milion

0.1 MILES

This was kilometre zero during the Byzantine Empire: the starting point of the Via Egnatia, the great road linking Constantinople with the Adriatic coast,…

8. Caferağa Medresesi

0.1 MILES

This lovely little building tucked away in the shadow of Aya Sofya was designed by Ottoman architect Mimar Sinan on the orders of Cafer Ağa, Süleyman the…

  • placement: superzone
  • path: Destinations/POIs/superzone
  • possible size: [970, 250], [970, 90], [728, 90], [1, 1],
  • targeting:
    {
      "url": "turkey/istanbul/sultanahmet/attractions/hagia-sophia-grand-mosque/a/poi-sig/401908/1324696",
      "destination": "Sultanahmet",
      "neighborhood": "Sultanahmet",
      "position": "superzone"
    }