Historians are of the opinion that Koodal Azhagar temple finds mention in Sangam literature (3 century BCE - 3 century AD) in works like Madurai Kanchi by Mangudi Marudan, Paripāṭal, Kaliththokai and Silappatikaram.
Koodal Purana details the origin of Vaigai river flowing through Madurai.