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 Ä°²õ³Ù²¹²Ô²ú³Ü±ô’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 Ä°²õ³Ù²¹²Ô²ú³Ü±ô, 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 °Õ³Ü°ù°ì±ð²â’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.
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 ´Ç³¾±è³ó²¹±ô¾±´Ç²Ô’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 °Õ³Ü°ù°ì±ð²â’s official 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 Ä°²õ³Ù²¹²Ô²ú³Ü±ô’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 Ä°²õ³Ù²¹²Ô²ú³Ü±ô Archaeological Museum.