collectioner.art
0

Hagia Sophia history: Justinian's church of 537, the dome that fell and was rebuilt, the mosque, the museum and the mosque again

Architecture · 4 September 2026

Hagia Sophia, the "Holy Wisdom", in Istanbul was built between 532 and 537 by the emperor Justinian as the cathedral of Constantinople, designed by the mathematician Anthemius of Tralles and the geometer Isidore of Miletus, and for nearly a thousand years it was the largest church in the world, with a dome 31 m across floating 55 m above the floor on four arches and pendentives, a solution no one had tried at that scale before or has surpassed in masonry since. The dome fell in 558 after earthquakes and was rebuilt 6 m higher in 563; the church was the seat of the Orthodox patriarch until the Ottoman conquest of 1453, when Mehmed II made it a mosque and added the minarets; Atatürk made it a museum in 1934, and in July 2020 Turkey made it a mosque again, with the mosaics of Christ and the Virgin covered during prayers. Below: the buildings before it, how it was built, the dome, the mosaics, the sieges and conversions, the numbers, visiting today, and the stories, with the style explained in Byzantine architecture.

The first two churches

The first Great Church on the site was dedicated in 360 under Constantius II, the son of Constantine, a timber-roofed basilica beside the imperial palace and the hippodrome; it burned in 404 in riots over the exile of the patriarch John Chrysostom. The second, built by Theodosius II and dedicated in 415, was a larger basilica, fragments of whose carved entrance, with lambs standing for the apostles, lie in the garden in front of the present building; it burned on 13 January 532 in the Nika riots, when the chariot factions of Constantinople rose against Justinian and half the city was destroyed before his general Belisarius killed 30,000 in the hippodrome. Justinian, who had considered fleeing and was stopped by the empress Theodora, began the new church 39 days later, on 23 February 532, and it was consecrated on 27 December 537: five years and ten months. He is said to have entered it and declared, "Solomon, I have outdone you." Hagia Sophia.

How it was built

The dome

The problem of a round dome on a square base was solved with pendentives: four triangular pieces of sphere that rise from the corners of the square between the four great arches and meet in a circle on which the dome sits, carrying its weight down into four piers. Hagia Sophia's are the first at this scale, and the idea, taken up in Ottoman mosques, Renaissance churches and St Paul's, is the building's gift to architecture. The first dome, finished in 537, was shallower than the present one and pushed outward too hard; earthquakes in 553 and 557 cracked the arches, and on 7 May 558 the eastern arch and the dome fell. Isidore the Younger, nephew of the geometer, rebuilt it in 558–63 as a taller dome, 6 m higher and closer to a hemisphere, so that the thrust went down instead of out, with 40 ribs between 40 windows around its base, which make the dome seem, in Procopius's words about the first, "suspended from heaven by a golden chain". It is 31.2 m across, not a perfect circle, between 30.9 and 31.8 m, because the piers had spread, and 55.6 m above the floor. Parts fell again in 989 and 1346 and were rebuilt; the western arch and dome section of 989 was by the Armenian architect Trdat, who built the cathedral of Ani. The Ottoman architect Sinan added the heavy buttresses on the outside in the 16th century, which is why the exterior is so much less graceful than the inside.

The mosaics and the church, 537–1453

Justinian's church had gold mosaic with crosses and no figures; the images came after iconoclasm ended in 843: the Virgin and Child in the apse of 867, the archangels, the emperors bringing gifts over the doors, the Deësis of about 1261 in the south gallery, Christ between the Virgin and John the Baptist, which is the finest Byzantine mosaic anywhere, and the panels of Constantine IX and Zoe and of John II Comnenus and Irene. The church held the coronations of the emperors, the relics of the Passion, the "Great Church" liturgy that converted the envoys of Prince Vladimir of Kiev in 987, who reported that "we knew not whether we were in heaven or on earth", and, in 1054, the excommunication laid on the altar by the pope's legate that began the schism of the Eastern and Western churches. In April 1204 the Fourth Crusade took Constantinople and sacked the church, a prostitute dancing on the patriarch's throne, and the doge Enrico Dandolo was buried in it; the Latins held it as a Catholic cathedral until 1261. On 29 May 1453 the Ottomans broke into the city and the people who had taken refuge in the church were enslaved; Mehmed II entered the same afternoon, ordered it cleaned and converted, and prayed there on the Friday.

The mosque, the museum, the mosque

The numbers and visiting

Versions and theories

The mosques that answered it, from Sinan's Süleymaniye to the Blue Mosque, are in Islamic architecture; its Roman ancestor in the dome is in Roman architecture.

Open the sections: ancient temples of the world, buildings by style, all articles.

Short answers

Who built Hagia Sophia and when?

The Byzantine emperor Justinian I, between 532 and 537, after the previous church burned in the Nika riots; the designers were the mathematician Anthemius of Tralles and the geometer Isidore of Miletus, with about 10,000 workers.

How big is the Hagia Sophia dome?

About 31.2 m across and 55.6 m above the floor, on four arches and pendentives; the first dome fell in 558 and the present, taller one was finished in 563. It was the largest dome in the world after the Pantheon until Florence Cathedral in 1436.

Is Hagia Sophia a church or a mosque?

It was the cathedral of Constantinople from 537 to 1453, a mosque from 1453 to 1934, a museum from 1934 to 2020, and since July 2020 a mosque again, with tourists admitted to the galleries for a fee outside prayer times.

Can you still see the mosaics in Hagia Sophia?

Yes: the Deësis and the imperial panels in the upper galleries are open to visitors, and the apse Virgin and the other mosaics are uncovered outside prayer times, when they are screened by curtains.