Hagia Sophia with its dome and four minarets under a clear sky

Hagia Sophia Istanbul: History, Visiting Tips & What to See

Updated

Hagia Sophia in Istanbul was completed in 537 AD as a Byzantine cathedral, converted into a mosque in 1453, made a museum in 1935, and reconverted into an active mosque in 2020. UNESCO lists it among the masterpieces of the Historic Areas of Istanbul, a World Heritage Site since 1985. Today it is a working mosque in Sultanahmet that also admits visitors, who come for the dome, the marble columns, the Byzantine mosaics and the Ottoman calligraphy.

Exterior of Hagia Sophia in Sultanahmet, Istanbul
On this page

Where Hagia Sophia Stands and Why It Matters

Hagia Sophia sits on Istanbul’s first hill, at the tip of the historic peninsula, where the Sea of Marmara, the Bosphorus and the Golden Horn meet. It was originally called the “Megale Ekklesia” (Great Church). The name Hagia Sophia, meaning “Holy Wisdom,” came into use in the 5th century. Throughout the Byzantine era it was the empire’s principal cathedral and the setting for imperial coronations.

A Brief History of Hagia Sophia

The First and Second Churches

The first church was dedicated under Emperor Constantius II in 360 AD. It was a basilica with a wooden roof and was destroyed during a riot in 404 AD. No remains of it have been identified with certainty, though bricks stamped “Megale Ekklesia” found in the building’s storeroom are believed to come from this first structure.

Emperor Theodosius II built the second church in 415 AD. It was a five-aisled basilica with a monumental entrance, and it burned during the Nika Revolt of 532 AD. Excavations near today’s entrance uncovered parts of it, including steps, column bases and a relief of lambs symbolizing the Twelve Apostles.

Justinian’s Great Church (532–537 AD)

The building you see today was raised in just five years under Emperor Justinian. It was designed by Anthemius of Tralles and Isidore of Miletus, who combined a traditional basilica with a vast central dome. According to tradition, Justinian declared at its completion, “Solomon, I have outdone you.”

The dome measures about 31.87 meters across and rises roughly 55.6 meters above the floor. Builders gathered materials from across the empire:

  • White marble from Marmara Island
  • Green stone from Euboea
  • Pink marble from Afyon
  • Yellow marble from North Africa
  • Columns reused from ancient sites such as Ephesus, with eight large columns brought from Egypt

From Mosque to Museum and Back

After the Ottoman conquest of Constantinople in 1453, Hagia Sophia became a mosque. The Ottomans added minarets, a mihrab and a minbar. In 1935 it became a museum. In 2020 it was reconverted into a mosque, and it is now officially known as the Hagia Sophia Grand Mosque.

Hagia Sophia dome and interior

What Visitors Can See Inside

✨

The Floating Dome

A ring of windows at the dome’s base makes it seem to hover in light.

🎨

Byzantine Mosaics

Geometric designs date to the 6th century. Figural scenes of Christ, the Virgin Mary and emperors followed Iconoclasm.

📜

Ottoman Additions

Look for the mihrab, minbar and giant calligraphic roundels hanging beneath the dome.

The mosaics combine gold, silver, glass, terracotta and colored stone. Some figural images may be screened or softly lit during prayer times.

Hagia Sophia main dome and ring of windows with restoration scaffolding inside, July 2019
The main dome with restoration scaffolding still standing, July 2019.
Large calligraphic roundels beneath the dome of Hagia Sophia, photographed in July 2019
Calligraphic roundels beneath the dome, July 2019.
Virgin and Child mosaic in the apse of Hagia Sophia seen past the calligraphic roundels
The apse mosaic seen past the roundels. Photographed in July 2019, before Hagia Sophia’s reconversion to a mosque in 2020; arrangements for visitors have changed since.

Hagia Sophia’s Architectural Plan

Hagia Sophia mosque floor plan

We were inside on Saturday 28 November 2026 at about 15:50, in the ground-floor prayer hall. Scaffolding stood under part of the dome, and the low chandeliers were lit against the dark afternoon.

Porphyry columns, chandeliers and green carpet in the ground-floor prayer hall of Hagia Sophia
The ground-floor prayer hall, with the green carpet and low chandeliers. Foreign visitors on the ticketed route see the building from the upper gallery. Photo: © bestofistanbul.net, 28 November 2026.
Gold mosaic vaults and a chandelier above a side aisle of Hagia Sophia
Gold mosaic vaults above a side aisle on the ground floor. Photo: © bestofistanbul.net, 28 November 2026.
A high mosaic vault, arched windows and a chandelier inside Hagia Sophia
Looking up in a side aisle. Photo: © bestofistanbul.net, 28 November 2026.

Hagia Sophia Visiting Etiquette

  • Wear modest clothing that covers your shoulders and knees. Women should cover their hair.
  • Remove your shoes before entering the prayer area.
  • Keep your voice low and avoid walking in front of people who are praying.
  • Photograph respectfully and do not focus your camera on worshippers.
Access: Hagia Sophia is a working mosque, so visitors are kept out around the five daily prayers and for longer at Friday midday. Tickets and the route for foreign visitors have changed in recent years; on the ticketed route you see the building from the upper gallery.

Best Time to Visit

Early on a weekday morning is the calmest time. Avoid Friday midday, and plan around the prayer times, which move through the year. Outside the summer peak the queues are shorter. The general rules are in visiting mosques in Istanbul.

Nearby Attractions in Sultanahmet

  • Sultan Ahmed Mosque (Blue Mosque), just across the square. If you have time for only one, see Blue Mosque or Hagia Sophia.
  • Basilica Cistern, a short walk away
  • Topkapı Palace and the Istanbul Archaeology Museums
  • The Hippodrome and its ancient obelisks
  • Hagia Sophia History and Experience Museum, a separate, ticketed attraction nearby that is not part of the mosque itself

FAQ

Can non-Muslims visit the Hagia Sophia mosque?

Yes. Visitors of any faith may enter outside prayer times if they follow the dress code.

Are the mosaics still visible?

Many are. Some are covered or dimly lit during worship.

How long should I allow?

About an hour, plus the queue.

Official Information

Address: Sultan Ahmet, Ayasofya Square No:1, 34122 Fatih/Istanbul.

Plan Your Sultanahmet Day

Start early at Hagia Sophia, work around the prayer times, and go on to the Blue Mosque and the Basilica Cistern.

About the author
Vatansever
Vatansever edits Best of Istanbul, with help from family members who know the city well. See our Editorial Policy for how guides are researched, written and checked.