The name Guptakashi has legendary significance linked to the Pandavas, the heroes of the Hindu epic Mahabharata. When the Pandavas were searching for a glimpse of Shiva, Shiva first concealed himself in Guptkashi but later fled from them further up the valley to Kedarnath.