For nearly a thousand years, the Hagia Sophia was the largest enclosed space on Earth — a dome so vast and so improbably suspended that visitors of the 6th century wrote that it appeared to be hanging from heaven on a golden chain. In its 1,500-year history, it has functioned as a Christian cathedral, an Ottoman mosque, a secular museum, and since 2020, a mosque again. No building on Earth has witnessed more of human history from a single spot. Understanding what you are looking at when you visit Hagia Sophia requires knowing all of those histories simultaneously — because the building is, quite literally, all of them at once, layered across its every surface.
History I: The Cathedral of Holy Wisdom (537–1453)
The building that stands today was commissioned by the Byzantine Emperor Justinian I and completed in 537 CE — the third church on the site (two previous structures had burned during riots). Justinian's architects, Anthemius of Tralles and Isidore of Miletus, were not conventional builders but mathematicians and physicists. The problem they solved — how to place a circular dome on a square base — had never been solved at scale before, and their engineering innovation, the pendentive (a curved triangular section that mediates between the dome's circle and the square below), became the foundational technique of Byzantine and later Islamic architecture worldwide.
The dome itself, at its original construction, measured 31.87 meters in diameter and rose 55.6 meters above the floor — roughly the height of a modern 15-story building. It was, at the time of completion, the largest dome in the world, a record it held for nearly 1,000 years until the construction of the Florence Cathedral dome in 1436. Justinian, standing inside the completed nave for the first time, reportedly said: "Solomon, I have surpassed you" — a reference to the legendary Temple in Jerusalem.
Hagia Sophia (meaning Holy Wisdom in Greek) served as the mother church of Eastern Orthodox Christianity and the seat of the Ecumenical Patriarch of Constantinople for 916 years. It is where Byzantine emperors were crowned, where the omphalion — a porphyry marble disc set into the floor — marks the spot where the ceremony took place. Its interior accumulated extraordinary Byzantine art across the centuries: gold mosaic ceilings, marble panels from quarries across the Eastern Mediterranean, and figurative mosaics of Christ, the Virgin Mary, and emperors that represented the highest achievement of Byzantine pictorial art.
History II: The Ottoman Mosque (1453–1934)
On May 29, 1453, Sultan Mehmed II entered Constantinople after a 53-day siege and rode directly to the Hagia Sophia. He dismounted at the door, reportedly bent down and scattered a handful of earth over his turban as a gesture of humility before God, then entered the building and declared it converted to a mosque. The Christian mosaics were not destroyed — they were largely plastered over, preserving them beneath the plaster for five centuries. Four minarets were added to the exterior over the following century. Large circular wooden medallions inscribed with the names of Allah, the Prophet Muhammad, and the first four Caliphs were hung inside the nave. An Ottoman mihrab (prayer niche indicating the direction of Mecca) was installed at a slight angle to the building's axis, and the dome was decorated with Quranic calligraphy by the master calligrapher Kazasker Mustafa Izzet Efendi.
The building served as Istanbul's foremost imperial mosque for 481 years, and during this period most of its greatest Ottoman additions were made: the sultan's lodge (hünkar mahfili), the marble library, and the ablutions fountain in the courtyard. The four minarets visible today date from different sultans — Mehmed II added the first two, Bayezid II a third, and Selim II and Murad III the current northeastern minaret (the tallest).
History III: The Museum and the Reconversion (1934–present)
In 1934, the founder of the Turkish Republic, Mustafa Kemal Atatürk, decreed that the Hagia Sophia would be converted from a mosque to a secular museum — accessible to all people of all faiths as a cultural monument of universal significance rather than an active place of worship for any particular religion. The plaster covering the Byzantine mosaics was carefully removed, revealing extraordinary works of art that had been invisible for five centuries. UNESCO granted it World Heritage status in 1985 as part of the Historic Areas of Istanbul.
In July 2020, a Turkish administrative court annulled the 1934 decree, and President Recep Tayyip Erdogan signed an order reconverting the Hagia Sophia to an active mosque. The decision was internationally condemned by UNESCO, the Greek Orthodox Church, the European Union, and dozens of governments, but took effect immediately. Since then, Hagia Sophia has functioned as an active mosque with daily prayer services — and has also remained accessible to non-Muslim visitors outside prayer times, free of charge.
What to See Inside
The main dome is the dominant experience — its 40 windows create the impression of light emanating from within the dome itself, the effect that made 6th-century visitors describe it as hanging from heaven. Looking upward, you can see the remnants of a vast gold mosaic Christ Pantocrator that was once the central image; the Ottoman calligraphic medallions are now the most visible dome decoration. The pendentives — the curved triangular sections at the base of the dome — carry enormous medallion-style mosaic angels (seraphim); two of these were revealed during conservation work in 2020 and show the original Byzantine gold leaf remarkably intact.
The Deësis mosaic in the upper gallery is arguably the finest piece of Byzantine figurative art that survives anywhere in the world — a 13th-century mosaic of Christ flanked by the Virgin Mary and John the Baptist, rendered with a psychological depth and realism that anticipates Renaissance humanism by 200 years. The quality of the tesserae (individual mosaic pieces) in the face of Christ — using glass, gold, and mineral pigments at near-photographic resolution — has astonished art historians since its uncovering in 1932. Access to the upper gallery is via a ramp from the main nave.
The omphalion — the large circular disc of purple porphyry marble set into the nave floor — marks the spot where Byzantine emperors stood for their coronation ceremonies. The floor itself is an extraordinary document: Proconnesian white marble from the island of Marmara, colored marble from across the Byzantine Empire, and sections that show damage from the 532 Nika Riots and subsequent rebuilding. Near the main entrance, the Weeping Column (or Column of St. Gregory the Miracle Worker) has a hole in its copper casing — Byzantine tradition held that inserting a finger and feeling moisture indicated a prayer would be answered.
Practical Visitor Guide 2026
Entry is free as an active mosque. Non-Muslim visitors may enter during non-prayer times. Shoes must be removed at the entrance and carried in a bag provided at the door. Women are required to cover their hair with a headscarf; both men and women must cover shoulders and knees. Free headscarves and wraps are available at the entrance. Check prayer times before visiting — Friday noon prayer (Cuma namazı) is the most significant and typically closes the building to tourists for approximately 90 minutes. Visiting on a weekday morning before 10 AM minimizes both crowds and the chance of arriving during a prayer closure. Photography is permitted throughout without a tripod. The upper gallery contains the Deësis mosaic and Byzantine-era mosaics of emperors and empresses — access is via a ramp in the northwest corner of the ground floor; do not leave without seeing it. Queues: Enter via the main imperial door (south entrance) for the standard queue, or use the side entrance on the south facade for shorter lines on busy days. Combining nearby sites: The Blue Mosque (Sultan Ahmed Mosque) stands 200 meters across Sultanahmet Square and is easily combined in the same morning — it is also free to enter (again, outside prayer times). Topkapi Palace, the administrative center of the Ottoman Empire for four centuries, is a 10-minute walk and requires a paid ticket; the treasury section alone justifies the entry cost. The Basilica Cistern, directly across from the entrance, is a vast underground 6th-century water storage chamber — one of Istanbul's most atmospheric spaces.
Explore Heritage Sites
Browse 800 UNESCO and cultural sites with expert guides.