The site of Vishnupad Temple has been associated with ancestor worship for over 3,000 years. The Garuda Purana, the Vayu Purana, and the Mahabharata all mention Gaya as the foremost site for performing shraddha (ancestral rites). The current temple was built in 1787 by Ahilyabai Holkar (1725—1795), the Maratha queen of the Malwa region. She personally supervised the construction, which took seven years to complete.
The temple replaced an earlier structure that had been damaged over time. According to temple records, Ahilyabai visited Gaya in 1770 to perform her own parents' shraddha ceremonies and was distressed by the dilapidated condition of the shrine. She commissioned the current structure, which was built by craftsmen brought from Jaipur. The previous structure on the site dated to the Gupta period (4th-6th century CE) and was originally built by a Gupta emperor.
A Chinese inscription from the 7th century CE, recorded by the traveler Xuanzang, describes a temple with a footprint of Buddha, suggesting that the site has been considered sacred across multiple religious traditions.








