Legends of Hagia Sophia

The legends of Hagia Sophia grew around a building that seemed too large to be the work of people. Byzantine writers credited relics with saving the city, Russian chroniclers read omens in its windows, and Ottoman authors compared its floor to a stormy sea. Some of the stories are tied to objects you can still find; others belong to the city's memory. Here are the ones with a place or a source behind them.

Ancient marble column and carved capital inside Hagia Sophia

The weeping column of Hagia Sophia

In the north-west part of the ground floor stands a column with a hole in it, sheathed in bronze plates. It goes by several names: the sweating column, the weeping column, the wishing column. Legend holds that it has been damp since Saint Gregory the Wonderworker appeared beside it, and that touching the moisture cures illness. Generations of visitors pushed a finger into the hole and turned their hand to make a wish.

  • Names: sweating, weeping or wishing column.
  • Where: north-west of the ground floor, now the prayer area.
  • Legend: damp since an appearance of Saint Gregory the Wonderworker.
  • On screen: the tour group in From Russia with Love passes it.

The Hagia Sophia Imperial Door and Noah's Ark

The largest door in the building, the 7-metre Imperial Door between the narthexes, was opened only for the emperor and his guard. It dates from the 6th century, and Byzantine sources claimed it was made from the timber of Noah's Ark. Its oak panels are framed in bronze. In April 2022 it was damaged by vandals.

Another door has an older history than the church itself: the bronze Beautiful Door in the inner narthex came from a pagan temple in Tarsus and is dated to the 2nd century BC. Emperor Theophilos installed it in 838, which makes it the oldest architectural piece in the building, and his monograms appear on bronze doors he added at the south entrance.

  • Imperial Door: 7 m, oak and bronze, 6th century.
  • Legend: timber from Noah's Ark.
  • Beautiful Door: 2nd century BC, from Tarsus, installed 838.

Solomon and the Hagia Sophia of Justinian

The most quoted line about the building belongs to its patron. On seeing the finished church in 537, Justinian is said to have exclaimed, "Solomon, I have surpassed thee," measuring his work against the Temple in Jerusalem. The words are reported rather than recorded, but they have stuck to the building for fifteen centuries, and they fit how contemporaries saw it: Procopius thought Christians would have wished their old church burned had they known what would replace it.

  • Words: "Solomon, I have surpassed thee."
  • When: at the inauguration, 27 December 537.
  • Comparison: the Temple of Solomon in Jerusalem.

Halfdan and the Viking runes of Hagia Sophia

The emperors of Constantinople kept a guard of Norsemen, the Varangians. One of them, in the 9th century, cut runes into the marble balustrade of the gallery, and the line is usually rendered as "Halfdan was here". It is one of the few traces of Viking soldiers this far south. The runes are on the visitor route, but they are worn and small, so most people need someone to point them out.

Nearby in the east gallery, a 19th-century marker names Enrico Dandolo, the Venetian doge who led the crusaders' sack of 1204 and was buried inside in 1205. The original grave was destroyed after 1453, and the marker is often mistaken for a medieval one.

Marble wall and floor panels inside Hagia Sophia

The Virgin's robe in Hagia Sophia, 626

In 623 the Avars raided the outskirts of Constantinople, and the robe of the Virgin, the city's most precious relic, was moved from its shrine at Blachernae outside the walls into Hagia Sophia for safety. Three years later the Avars and the Persians besieged the city together; a deacon of Hagia Sophia, Theodore Syncellus, was among those sent to negotiate with the Avar khagan. When the siege failed, the patriarch Sergius carried the robe back to Blachernae in procession, and the city credited the Virgin with its rescue.

  • 623: the robe brought into Hagia Sophia.
  • 626: Avar and Persian siege.
  • After the siege: the robe returned to Blachernae.

Hagia Sophia as a refuge in 1453

The building's last Byzantine day produced its darkest story. Before the siege, many Orthodox faithful had shunned Hagia Sophia because the church union had been proclaimed there in December 1452. On 29 May 1453, as the walls fell, they crowded into it anyway, trusting the prophecy that an angel would stop the invaders at the Column of Constantine. Doukas described the doors being closed and the people waiting for salvation. The soldiers broke the doors down; the old and sick were killed, the rest taken captive. A Byzantine text of uncertain date had already asked who would need the Great Church once the city was gone.

  • Before: the church avoided after the union of December 1452.
  • The day: crowds shelter inside, doors closed.
  • The prophecy: an angel at the Column of Constantine.
  • The end: doors broken, people captured.

Where the legends of Hagia Sophia are

LegendObject or placeOn the visitor route?
Weeping columnGround floor, north-westNo
Noah's Ark doorImperial Door, narthexNo
Halfdan's runesGallery balustradeYes
Dandolo's graveEast gallery markerYes
Coronation stoneOmphalion, nave floorUnder the carpet
Gli the catGarden of the complexOutside

Omens and prophecies about Hagia Sophia

  • The white hawk: in 1182, Niketas Choniates wrote, a white hawk with jesses flew three times from the east to the church, taken as a sign of the fall of Andronikos I.
  • The flame of 1453: a Russian tale of the siege says that on 21 May 1453 a great flame rose from the top of the windows, circled the dome and went up to heaven, read as the Holy Spirit leaving the city.
  • The angel at the column: Doukas wrote that people fled into the church on 29 May 1453 because soothsayers had promised an angel would appear and drive the Turks back.
  • The floating church: a Byzantine text on the end of the world records the belief that when the city sank, the Great Church would hang in the air by an invisible power.

The Rus' envoys of the 10th century added the most quoted line of all, reporting home that inside the church "we did not know whether we were in heaven or on earth".

The coronation stone of Hagia Sophia

In the floor of the nave is the omphalion, a square of coloured marble circles where Byzantine emperors were crowned. The museum years made it famous: visitors stood in the middle of it for a photo. Since July 2020 the floor has been covered by the mosque's turquoise carpet, so the omphalion is out of sight, and writers' comparisons of the marble floor to a sea, from Paul the Silentiary to the Ottoman chronicler Tursun Beg, now have to be taken on trust.

💡 Pro Tip
Ask about the runes at the start
Staff at the start of the gallery route can tell you where the runes are that day. Finding them on your own takes a slow look at every balustrade.
Alesia Vakula
Pro tip by: Alesia Vakula
Travel expert and itinerary planning specialist

Gli and the cats of Hagia Sophia

For years the best-known resident was a cat called Gli, who lived in the building from about 2004 and became one of the best-known animals in the city during the museum era. When she died on 7 November 2020, a few months after the reconversion, she was buried in the garden of the complex. Cats still live in and around the mosque, as they do around every mosque in Istanbul; the Ministry visitor page shows one named Kılıç.

  • Gli: lived in the building from about 2004 to 7 November 2020.
  • Buried: in the garden of the complex.
  • Today: the Ministry page features a cat named Kılıç.
Last updated: October 13, 2026

Legends of Hagia Sophia: questions

Can I touch the weeping column?
Not on the visitor route: it stands on the ground floor, which is now a prayer hall.
Are the Viking runes real?
Yes. They are attributed to a member of the Varangian Guard in the 9th century.
Is the Dandolo grave real?
Dandolo was buried in the church, but the marker you see dates from the 19th century.
Was the Imperial Door really made from Noah's Ark?
That is what Byzantine sources claimed. The door is 6th-century oak framed in bronze.
Is the omphalion visible today?
No. Since July 2020 it lies under the turquoise carpet of the prayer hall.
Who was Saint Gregory the Wonderworker?
A 3rd-century bishop of Neocaesarea in Asia Minor, famous for miracles, whom the column legend names.
Who were the Varangians?
Norse and later Anglo-Saxon soldiers who served as the personal guard of the Byzantine emperors.
Is the weeping column really damp?
Visitors over the centuries reported moisture in the hole; the legend links it to Saint Gregory the Wonderworker.
What did the Rus' envoys say about Hagia Sophia?
That inside they did not know whether they were in heaven or on earth, a line that helped shape the conversion of the Rus'.
Did Justinian really compare himself to Solomon?
The line is reported by later sources rather than recorded at the time, but it has been attached to the inauguration for centuries.
Where is Gli buried?
In the garden of the Hagia Sophia complex, after her death on 7 November 2020.
What is the oldest object in the building?
The Beautiful Door from Tarsus, dated to the 2nd century BC and installed in 838.
BOOK TICKETS