This place is believed to be where sage Vishvamitra conducted his Yagna and came to be known as Sidhasrama. The place was in ruins during a time and an old lady is believed to have placed the idol in a pot of rice. When Thirumangai Alvar came to the place, the lady handed over the idol to him and Thirumangai is believed to have constructed the temple. V. V. S. Aiyar quotes that the 610th Tirukkural mentions about the temple. It is also the place where Thirumangai Azhwar after coming back from North India defeated Thirugnana Sambandar in debate. The temple is revered in Nalayira Divya Prabandham, the 7th-9th century Vaishnava canon, by Thirumangai Azhwar in one hymn of Thirunedunthandagam. The temple is classified as a Divyadesam, one of the 108 Vishnu temples that are mentioned in the book.