Sri Varahaswami Temple in Tirumala is to the north of the Sri Venkateswara Temple, on the banks of Swami Pushkarini.
According to legend, Tirumala was originally Adi Varaha Kshetra (the home of Sri Adi Varaha Swami), and it was with his permission that Lord Sri Venkateswara took up residence here.
According to the Brahma Purana, pilgrims should first offer naivedyam to Sri Adi Varaha Swami, before visiting the Sri Venkateswara Temple.
According to Atri Samhita (Samurtarchanadhikara), the Varaha avatara is worshipped in three forms:
1) Adi Varaha
2) Pralaya Varaha
3) Yajna Varaha
The idol of Sri Varahaswami in Tirumala is that of Adi Varaha, as it resembles the description of the Adi Varaha murti in Vaikhanasa Agama texts.