In the Chennai-Bangalore highway, after Vellore bypass, proceed for another 10 Km till a place called Sedhuvalai and turn right for Virinchipuram. The temple is about a km from the Sedhuvalai junction.


  • 1300 years old temple-the oldest and the biggest temple of Vellore district.
  • Gowri Devi, Lord Brahma, Lord Vishnu and Lord Sriharan had worshipped here.
  • The temple is famous for its prahara walls and the sculptures.
  • Aadhi Shankarar had done the Beejakshara Pradhishtai to the Simha theertham of the temple.
  • Arunachala Puranam, Siva Rahasiyam, Kanchi puranam and many other holy books have described this temple.


Lord Brahma was born as Shivasarma here in a priest family. When Shivsarma’s father died at his early days, Shivsarma was to undertake the pooja responsibilities as a small boy. Shivasarma’s relatives had planned to take away the priest’s rights and land from them and so they warned that his rights and land will be taken away, if he does not perform the pooja when his turn comes up. Shivasarma’s mother prayed to Margabandeeswar and He appeared in her dream. It was the last Saturday night of the Karthigai month. The next morning, Shivasarma took bath in the Brahma theertham and Lord Shiva came as an elderly person and conducted the Upanayanam, Brahmopadhesam and Shiva Dikshai to Shivasarma and disappeared as Mahalingam in the temple tank bund. The small boy was then paraded on an elephant with the holy water pot and the temple door opened automatically to everyone’s surprise. As if he was very experienced in the pooja procedures, he conducted the pooja activities to Swarna Ganapathy and while attempting to do the abhisheham for the Margabandheeswarar, as a small boy, he was unable to reach the head of the lingam. He then submitted his inability to Lord Shiva.

Dhanabalan, a Kundala desa pepper merchant lost his loads to thieves. He prayed to Lord Shiva and He came as a soldier on a horse and not only retrieved the pepper loads but also accompanied Dhanabalan till Kanchipuram. Due to this He is called ‘Vazhi Thunai Nathar’ in Tamil and Margabandu in Sanscrit (Marga meaning way and Bandhu meaning company)

This temple is also known as ‘Baskara Kshetram’ because the Sun God is said to worship the linga when its rays fall on it in the month of Panguni; The name of the place as Virinchipuram came from the legend that the temple was worshipped by Brahma, i.e., Virinchi; The theertham of this temple is said to be produced by Gowri devi and so, this place is also known as Gowripuram; Vishnupuram and Margabandheeswaram are also the other names of the place.

Worship Benefits:

  • Since Lord Shiva of this temple protected the pepper merchant Dhanabalan, the business people can have this Lord Shiva as the protector for their business.
  • The childless couples take dip in all the three theerthams of the temple, stay overnight with the wet cloth to receive the Lord in their dream and get the boon of a child.
  • Since Lord Shiva had conducted the Upanayanam and Dikshai to Lord Brahma here, this is a holy place to have Upanayanams, to get Dikshai and to start education
  • Since Lord Shiva of this temple protected the pepper merchant Dhanabalan, the business people can have this Lord Shiva as the protector for their business.
  • The last sunday of the Karthigai month is considered very auspicious since on that day, Lord Shiva appeared as an elderly person and conducted Upanayanam for Lord Brahma as Shivasarma.
  • By worshipping here, people get their marriage obstacles removed and get their marriages conducted here.