Temple story
The temple legend says that while Lord Brahma was in penance to bring life to the earth, the asura Somakasura stole the Vedas and hid them under the ocean. Brahma and the devas went to Lord Maha Vishnu, who took the form of Matsya, the fish, defeated Somakasura and gave the Vedas back to Brahma. Here the Lord is worshipped in this first of His ten avatars as Sri Vedanarayana Swamy, standing with Sridevi and Bhudevi, His fish tail clearly seen and the Sudarshana Chakra held ready in one hand. The temple also has shrines of Goddess Lakshmi as Vedavalli, Lord Rama and Hanuman.
Source: TTD official site (tirumala.org), More Temples: Sri Vedanarayana Swamy Temple, Nagalapuram · checked 28 Nov 2026