ThiruKovilur is located between Villupuram and Thiruvannamalai. It is about 200 km from Chennai.
Saints Sambandar, Appar and Sundarar had sung the praise of the Lord of the temple in their Thevaram hymns.
Lord Shiva in the temple is a swayambumurthy. The famous Vinayakar Agaval by divine poetess Avvaiyar dedicated to Vinayaka was sung in this temple. This is the place where Lord Shiva destroyed demon Andhakasura. Of the eight Veeratta sthalas, this is the second with historical importance and antiquity.
When Saint Sundarar and Cheraman were proceeding to Mount Kailash through sky, Avvaiyar was performing puja to Lord. She was hastening to complete the pujas as she also wanted to reach Mount Kailash, the abode of Lord Shiva. Lord Vinayaka appeared before her and advised her not to be hasty. Avvaiyar performed Ganapathi Puja chanting her noted Vinayagar Agaval and completed the puja patiently. Lord Vinayaka took the Vishwarupa – covering both earth and heaven, took Avvayar and left her at Kailash before Sundarar and Cheraman reached the destination. As He took a huge form, Vinayaka is praised as Peria Yanai-huge elephant.