One of the oldest rock cut temples in India; believed to be more than 1600 years old. There are about 15 inscriptions inside the temple to prove its antiquity. The temple is an immortal contribution from Pallavas to Hinduism.
The word Karpaga means “one who gives everything, which is prayed for” and Vinayaga means “incomparable leader”. Thus the deity here fulfills wishes of his devotees without fail.
The six feet long Ganesh idol is carved out of the rock. The temple also has few other deities in worship. The principal deity is Lord Shiva (although the temple is famous for Ganesh worship)
Pillayar Patti or Tirupattur is the name of the village in which the temple situates. It is 12 kilometers from Karaikkudi, 70 kilometers from Madurai and about 100 kilometers from Tiruchirapalli.
Ten days long Ganesh chathurthy festival in August-September is the principal festival which attracts large crowd to the temple.