In the scriptures, Haridwar has been variously mentioned as Kapilasthana, Gangadwara and Mayapuri. It is also an entry point to the Char Dham (the four main centres of pilgrimage in Uttarakhand viz, Badrinath, Kedarnath, Gangotri, and Yamunotri), hence, Shaivaites (followers of Lord Shiva) and Vaishnavites (followers of Lord Vishnu) call this place Hardwar and Haridwar respectively, corresponding to Hara being Shiv and Hari being Vishnu.
In the Vanaparva of the Mahabharat, where sage Dhaumya tells Yudhishthira about the tirthas of India, Gangadwar, i.e., Haridwar and Kankhal, have been referred to, the text also mentions that Agastya Rishi did penance here, with the help of his wife, Lopamudra (the princess of Vidharba).
Sage Kapila is said to have an ashram here giving it, its ancient name, Kapila or Kapilasthana.
Haridwar is regarded as one of the seven holiest places (Sapta Puri) to Hindus. According to the Samudra manthan, Haridwar along with Ujjain, Nashik and Prayag (Allahabad) is one of four sites where drops of Amrit, the elixir of immortality, accidentally spilled over from the pitcher while being carried by the celestial bird Garuda. This is manifested in the Kumbha Mela, which is celebrated every 12 years in Haridwar. During the Haridwar Kumbh Mela, millions of pilgrims, devotees, and tourists congregate in Haridwar to perform ritualistic bathing on the banks of the river Ganges to wash away their sins to attain Moksha. Brahma Kund, the spot where the Amrit fell, is located at Har ki Pauri (literally, "footsteps of the Lord") and is considered to be the most sacred ghat of Haridwar. It is also the primary center of the Kanwar pilgrimage, in which millions of participants gather sacred water from the Ganga and carry it across hundreds of miles to dispense as offerings in Siva shrines.
On the other hand, in Sanskrit, Hara means "Lord Shiva" and Dwara means "gate" or "gateway". Hence, Hardwar stands for "Gateway to Lord Shiva". Hardwar has been a typical place to start a pilgrim's journey in order to reach Mount Kailash, the eternal abode of Lord Shiva, Kedarnath, the northernmost Jyotirlinga and one of the sites of the smaller Char Dham pilgrimage circuit and Gaumukh, the source of River Ganga. Har ki Pauri or footsteps of Lord Shiva is considered the most sacred site in Hardwar.
"Ayodhya Mathura Maya Kasi Kañci Avantika
Puri Dvaravati caiva saptaita mok?adayika?"– Garu?a Pura?a
Lit. Ayodhya, Mathura, Haridwar, Kasi, Kanchi, Avantika and Dwaraka are the seven holy places.