Reference to the lord Badri-Nath has been made in the Vedas. The mountains around Badrinath are mentioned in the Mahabharata, both amongst the main Hindu scriptures.
The Pandavas were said to have expired one by one, when ascending the slopes of a peak called Swargarohini (literal meaning - the 'Ascent to Heaven'). They passed through Badrinath and the town of Mana, 4 km north of Badrinath, on their way to Svarga (heaven). There is also a cave in Mana where Vyasa, according to legend, wrote the Mahabharata.