The origins of Mahakumbh Mela can be traced back to ancient Hindu scriptures, particularly the Puranas. The event is tied to the mythological story of the Samudra Manthan (churning of the ocean) by the gods (Devas) and demons (Asuras). According to legend, during the churning of the ocean, the pot (Kumbh) of nectar (Amrit) emerged, leading to a fierce battle between the gods and demons to obtain it. To prevent the demons from capturing the nectar, Lord Vishnu, in the guise of Mohini, fled with the pot. During the chase, four drops of nectar fell at four different places: Prayagraj, Haridwar, Ujjain, and Nashik. These sites became sacred, and the Kumbh Mela is celebrated at these locations, with the Mahakumbh Mela being the most significant.
Historically, the Kumbh Mela has been mentioned in various texts, including the writings of the Chinese traveler Xuanzang, who visited India in the 7th century. The event has continued to grow in scale and significance over the centuries, becoming a symbol of Hindu devotion and cultural heritage.