Attalos II, the king of Pergamon, is credited as the founder of Attaleia in about 150 BC, as a base for his fleet. Ruins dug up in 2008 at the Doğu Garajı site go back to the 3rd century BC, so the city probably rebuilt an older town. The mountains behind kept it small, since few routes led inland. In Turkish, Attaleia slowly became Adalia and then Antalya.
Rome got the city in 133 BC, without a fight, when Attalos III left his whole kingdom to it in his will. Attaleia did well under Roman rule as a port of Pamphylia, whose capital was nearby Perge. According to the Bible, travellers who had preached at Perge went down to Attaleia and sailed from there to Antioch.
Under Byzantium, Attaleia was the main naval station on the south coast of Anatolia and a trading harbour on the way to Cyprus, with Armenian, Jewish and Italian merchants in its streets. The Broken Minaret mosque in Kaleiçi was a Roman temple, then the 5th-century Church of the Virgin, then a mosque. When Kilij Arslan II, the Seljuk sultan, laid a long siege in 1180, the walls held.
The Seljuk sultan Kaykhusraw took Attaleia in 1207 and built its first mosque. Local Christians won it back in 1212, but Kaykaus I ended that in 1216. Most of the old buildings you see in Antalya today, its mosques, medreses and hamams, date from this Seljuk period. Later the city was the capital of the Teke beylik, apart from twelve years of Cypriot rule from 1361.
Ibn Battuta, the Arab traveller, visited in the late 1330s. Christian merchants were shut into the port district at night, and one great wall closed around the whole town and all its quarters. He also praised its apricots, dried with a sweet almond in the kernel and sent to Egypt as a luxury. Later, Evliya Çelebi wrote of 3,000 houses and a harbour holding up to 200 boats.
The Ottomans took over in 1391 and held the city for over five hundred years. After the First World War, Italy occupied it from 1919 to 1922. Around 1920 it was a town of about 30,000 people that milled wheat and shipped out flour, timber and charcoal. The Greeks, a third of the population, left in the exchange of the 1920s, and Turks from Western Thrace replaced them. You can still see their architecture in the five old Orthodox churches of the old city.
Jets changed everything. From the 1970s, airliners could fly holidaymakers non-stop from northern Europe, and a pastoral town turned into one of Turkey's largest cities. Gecekondu, informal houses, spread across districts such as Kepez. In 2025 the city drew 18.6 million visitors.