The history of the Aazhimala Temple dates back to the era of Mahabharata. It is believed that Aazhimala was one of the hideouts of Pandavas during their exile. According to folklore, when Panchali was thirsty, Bheema created a freshwater stream by making a hole in a rock with his knees to quench her thirst.