The site had been occupied since at least 100 BC, and now has remains of Hindu and Jain temples similar to those at Ajanta and Ellora. A series of niches carved with Jain Tirthankara in cave 32.
The city is said to have been founded c. 1187 by Bhillama V, a Yadava prince who renounced his allegiance to the Chalukyas and established the power of the Yadava dynasty in the west. During the rule of the Yadava king Ramachandra, Alauddin Khalji of the Delhi Sultanate raided Devagiri in 1296, forcing the Yadavas to pay a hefty tribute. When the tribute payments stopped, Alauddin sent a second expedition to Devagiri in 1308, forcing Ramachandra to become his vassal.
In 1328, Muhammad bin Tughluq of the Delhi sultanate transferred the capital of his kingdom to Devagiri, and renamed it Devgiri. The sultan made Devgiri (Devagiri) his second capital in 1327. Some scholars argue that the idea behind transferring the capital was rational, because it lay more or less in the centre of the kingdom, and geographically secured the capital from the north-west frontier attacks.
In the Devgiri fort, Tughluq found the area arid and dry. His capital-shift strategy failed miserably. Hence he shifted back to Delhi and earned the moniker "Mad King".
The next important event in the Devgiri fort time-line was the construction of the Chand Minar by the Bahmani Sultan Hasan Gangu Bahmani, also known as Ala-ud-Din Bahman Shah (r. 3 August 1347 – 11 February 1358).
Hasan Gangu built the Chand Minar as a replica of the Qutb Minar of Delhi, of which he was a great fan. He employed Iranian architects to build the Minar, who used lapis lazuli and red ocher for coloring. Currently, the Minar is out of bounds for tourists, because of a suicide case.
The Chini Mahal, located further inside the fort, is believed to date back to the Ahmadnagar Sultanate. Later, it was repurposed as a prison by the Mughals, reputedly holding Abul Hasan Qutb Shah of the Sultanate of Golconda of Hyderabad.
Most of the present-day fortification was constructed under the Bahmani Kingdom and the Ahmadnagar Sultanate. The Mughal Governor of the Deccan under Shah Jahan, captured the fortress in 1632 and imprisoned the Ahmadnagar Sultanate prince.
It was captured by the Maratha Empire in 1760.
In Hindu lore, Lord Shiva is believed to have stayed on the hills surrounding this region. Hence the fort was originally known as Devagiri, literally meaning "hills of god".