According to Hindu legend, there lived a demon (asura) Tharukasuran, who conquered Prithvi (earth) and Svarga (heaven). Indra, the leader of celestial deities and other gods suffered at the hands of Tharukasuran and sought the help of the creator-god Brahma, who asked them to worship Shiva in Thiruverumbur. In order to deceive Tharukasuran, the devas transformed into ants and reached the temple. Since the surface of the lingam (aniconic form of Shiva) was slippery, the ants found it difficult to climb up and worship.
Shiva transformed himself into an ant hill and slid his head, which enabled the ants to climb and worship. Hence the name Erumbeeswarar is derived from Erumbu meaning ant and Easwaran referring to Shiva.
This is one of the three places where Shiva slid his head for his worshippers, the other two being the temples at Virinjipuram and Thiruppanandal. The temple is also referred as Rathinakoodam, Thirverumbipuram, Erumbeesam, Brahmapuram, Laskhmipuram, Madhuvanam, Rathnakoodapuram, Manikoodapuram and Kumarapuram in various religious literature.
The temple is locally called as Kailash (the abode of Shiva) of South India.
The shrine of Narunguzhal Nayagi Amman inside the temple complex
Erumbeeswarar temple in its current form was built by the Chola king Aditya I (871-907 CE). Aditya won a battle in Tirupurambiyam and to commemorate the victory, he built a series of temples along the banks of the river Cauvery.
The temple has 49 inscriptions from the Chola period (850-1280 CE). The inscriptions numbered 101, 104, 105, 127, 130 and 133 of 1914 are believed to be inscribed during the 5th to 7th year of the reign of Aditya and hence believed to be between 882 and 885 CE.
Another set of inscriptions from the Sundara Chola (957-970 CE) period indicate gift of land to maintain four signs of Tirupadigam. One another inscription indicates the donation of ten kalanchu (a measure) of gold to the deity by a temple woman in the year 875 CE.
A king by name Siruthavur Sembian Veithi Velan from Kiliyurnadu is believed to have constructed the vimana (structure over the sanctum). The temple was the only temple that Malik Kafur (1296-1316 CE) could not conquer in 1311 CE, during his South Indian expedition.
The temple is a declared monument of the Archaeological Survey of India on account of the inscriptions in the temple. During the war between British and French during 1752, the temple acted as an infantry for the French troops.
In modern times, the temple is maintained and administered by the Hindu Religious and Endowment Board of the Government of Tamil Nadu.