Sri Kumarar Koyil is located in Ilanji near Tenkasi. Nearby, in the village of Panpoli is the hill temple of Tirumalai Kumarar. The name Ilanji stands for Magizham, the stala vriksham of the temple. Ilanji is located at a distance of 5 km from Tenkasi and 3 km from Kutralam.
This temple is closely linked to Kutralam, in terms of the legends associated. Both these temples are associated with the legend of Agastya muni, proceding to the southern lands from the Himalayas, following Shiva’s command – to balance the tilt of the earth with his weight; the earth had tilted dangerously following the assembly of all living beings at the Himalayas to witness the divine marriage between Shiva and Parvati. The presiding deity here is Kumaran, enshrined in the central sanctum, flanked by his consorts Valli and Deivayanai.
There are also major shrines to Iruvaluga eesar (believed to have been worshipped by Agasthyar) and Iruvaluga Eesarkiniyaal. There are also shrines to Kanni Vinayakar, Shenbaga Vinayakar, Kasi Viswanathar, Visalakshi, Kutralanathar, Kuzhal Vaimozhiamman, Chandikeswarar, Bhairavar, Venugopalar, Suryan, Saneeswaran, Agasthyar, the Saptamatas, the 63 Nayanmars and Ayyanar. The name Iru valuga Eesar arises from the fact that Agasthyar made a two Shivalingams out of the white sands (valugam) of the Chitra nadi flowing nearby and then combined the two into one Shivalingam, which now adorns the sanctum. Since the Shivalingam is fashioned out of white sand, no abhishekam is performed. Offerings of Shenbaga flowers to Shiva are considered to be very special here.
Five worship services are offered each day here. Skanda Sashti is celebrated in great splendour here. During this festival, Subramanyar is portrayed as Brahma, Vishnu, Shiva, Maheshwara, Sadasiva and finally again on Shiva on the 6 days of this festival. The final day of this festival involves the enactment of Surasamharam. This portrayal is tied to the legend that Subramanya here manifested himself as the trinity Brahma, Vishnu and Shiva – when asked by the sages Kapila, Kashyapa and Durvasa the question as to who was the greatest among the trinity.