The Hagia Sophia (Greek: Ἁγία Σοφία, Holy Wisdom) in Thessaloniki, Greece, is one of the oldest churches in that city still standing today. It is one of several monuments in Thessaloniki included as a World Heritage Site on the UNESCO list.
Since the 3rd century, there was a church in the location of the current Hagia Sophia. In the 8th century, the present structure was erected, based on the Hagia Sophia in Constantinople (present-day Istanbul, Turkey). In 1205, when the Fourth Crusade captured the city, the Hagia Sophia was converted into the cathedral of Thessaloniki, which it remained after the city was returned to the Byzantine Empire in 1246. After the capture of Thessaloniki by the Ottoman Sultan Murad II on 29 March 1430, the church was converted into a mosque. It was reconverted to a church upon the liberation of Thessaloniki in 1912.
Its ground plan is that of a domed Greek cross basilica. Together with the Gül and the Kalenderhane Mosques in Istanbuland the destroyed Church of the Dormition in Nicaea, it represents one of the main architectural examples of this type, typical of the Byzantine middle period.