The Koteshwar Mahadev Temple is located in a cave. The Alaknanda River flows just a few meters away. Legend says that the god Shiva meditated in the cave on his way to Kedarnath. Pilgrims from faraway places visit the Koteshwar Temple to receive the blessings of the god Shiva.