Lord Hanuman idol was installed by Sri Janmejaya, son of King Parikshit Maharaj of Mahabharat era. But the temple was later destroyed by the Muslim invaders.
Later Vyasaraya (1460-1539) during the period of King Krishnadevaraya in the Vijayanagara Kingdom got a dream regarding the demolished temple. He found a hanuman idol in the present Nuggikeri Lake of Nuggikeri village and the temple was again re-installed in the year around 1500.