In History there are several references to riverside festivals in ancient Indian texts, but the exact age of the Kumbha Mela is uncertain. According to few scholars, this fair started in 3464 BC i.e. it is a tradition existing 1000 years prior to Harappa and Mohenjo-Daro culture. In 2382 BC, Vishwamitra stated importance of having holy bath on ‘Magh Pournima’. In 1302 BC, Maharshi Jyotish impressed upon people the importance of holy bath on ‘Magh Pournima’. Megasthenes the Greek ambassador to the court of King Chandra Gupta visited kumbhamela for 75 days in 4th century BC The Chinese traveler Xuanzang (Hiuen Tsang) describes a ritual organized by Emperor Shiladitya (identified with Harsha) at the confluence of two rivers, in the kingdom of Po-lo-ye-kia (identified with Prayaga). He also mentions that many hundreds took a bath at the confluence, to wash away their sins. According to some scholars, this is earliest surviving historical account of the Kumbh Mela, which took place in present-day Allahabad in 644 CE. In 8th century Adi Shankara an Indian saint popularized the Kumbha mela among common people.
The Kumbh Mela at Ujjain began in the 18th century, when the Maratha ruler Ranoji Shinde invited ascetics from Nashik to Ujjain for a local festival. Like the priests at Allahabad, the Pandit’s of Nashik and Ujjain, competing with other places for a sacred status, may have adopted the Kumbh tradition for their pre-existing mela’s.