The temple’s history is uninterrupted from about the 7th century. The Virupaksha-Pampa sanctuary existed well before the Vijayanagara capital was located here. Inscriptions referring to Shiva date back to the 9th and 10th centuries. What started as a small shrine grew into a large complex under the Vijayanagara rulers. Evidence indicates there were additions made to the temple in the late Chalukyan and Hoysala periods, though most of the temple buildings are attributed to the Vijayanagar period. The huge temple building was built by Lakkana Dandesha, a chieftain under the ruler Deva Raya II of the Vijayanagara Empire.
The religious sect of Virupaksha-Pampa did not end with the destruction of the city in 1565. Worship there has persisted throughout the years. At the beginning of the 19th century there were major renovations and additions, which included ceiling paintings and the towers of the north and east gopura. This temple is the only well preserved and maintained temple in Hampi until date; the other numerous temples in Hampi were destroyed and ruined by the Bahmani sultanates.















