According to the Vishnu Purana, after the destruction of the Yadava clan and the end of his earthly incarnation as Krishna, Lord Vishnu retreated to the Badrinath region to perform severe penance. He assumed the form of the twin sages Nar and Narayana and sat in meditation for thousands of years, oblivious to the harsh Himalayan weather.
His consort Lakshmi, concerned for his comfort, assumed the form of a badri (jujube) tree and sheltered him from rain, snow, and sun. Impressed by her devotion, Vishnu named the place Badrikashram — the hermitage of the badri tree. The nath (lord) suffix was added later, making it Badrinath.
The sage Narada once visited and found Vishnu meditating. When Narada asked why the preserver of the universe needed penance, Vishnu replied that even the creator must set an example. But Narada noticed Lakshmi massaging Vishnu's feet, revealing his meditation was not complete renunciation. Embarrassed, Vishnu assumed the padmasana posture, withdrawing into deeper meditation where even Lakshmi could not disturb him. This is the form enshrined at Badrinath.
The cave where Shankaracharya discovered the Badrinarayan image is mythologically significant — it is believed to be the same cave where Nar and Narayana performed their penance in the Satya Yuga. The Alaknanda River, which flows beside the temple, is considered the source stream of the Ganga. The Pandava prince Arjuna performed penance here to obtain the Pashupatastra from Lord Shiva, and the rumbling of the Alaknanda is said to be the sound of Shiva's damaru. Today, Badrinath stands as the northernmost of the four shrines in the Char Dham Yatra, the pilgrimage that defines the sacred geography of the Himalayas.