The present-day temple structure was built over the remains of an older temple. The original temple is believed to have been built by an obscure king named Bhadrasen. It has been mentioned in the Avanti Khanda of the Skanda Purana. Images of Shiva, Parvati, Vishnu and Ganesha belonging to the Paramara period have been recovered from the place. The temple walls were once decorated with Malwa paintings. However, only traces of these paintings are visible now. The present-day temple structure shows Maratha influence. According to the local tradition, after the Maratha defeat in the Third Battle of Panipat, the Maratha general Mahadaji Shinde offered his pagri to the deity, prayingfor victory in his campaign to restore the Maratha rule in North India. After successfully resurrecting Maratha power, he carried out restoration of the temple. A replica of the temple has been established on the Bhuj-Mundra road in Gujarat.
The deity
As the name suggests, the temple is dedicated to Kal Bhairav. The deity's image is a face in form of a rock layered with kumkuma or vermilion. The deity's silver head is adorned with a Maratha-style pagri, a tradition dating back to the days of Mahadaji Shinde. The worship of Ashta Bhairava is a part of the Saivite tradition, and the Kal Bhairav is considered their chief. The worship of Kal Bhairav was traditionally popular among the Kapalika and Aghora sects, and Ujjain was a prominent centre of these sects. Kal Bhairav is the guardian deity of Ujjain: he is considered Senapati of the town.
Liquor offering
is offered to the temple deity as one of the five tantric ritual offerings known as panchamakara: madya, maansa, meena or matsya, mudra and maithuna. In older times, all five offerings were made to the deity, but now only alcohol is offered; the other four offerings are in form of symbolic rituals. Outside the temple, vendors sell baskets of offerings, containing coconuts, flowers and a bottle of liquor. In 2015, the State Government set up liquor counters outside the temple to ensure that the devotees are not swindled by unlicensed vendors of alcohol. The counters sell both country liquor and foreign liquor. Every day, hundreds of devotees offer liquor to the deity. The devotees hand over the liquor bottles to the priest, who pours the liquor in a saucer. He then offers prayers and takes the saucer near the deity's lips, which have a slit. He tilts the plate a bit, and the liquor starts disappearing. About one-third of the bottle is returned to the devotee as prasad. The temple priests, as well as several devotees, claim that the slit doesn't have any cavity, and that the deity miraculously swallows the liquor offered to him. However, the temple priest does not allow the visitors to examine the statue. He also claims that only he can perform the miracle, and that the others who have tried to make the statue swallow the liquor have failed. Although no official figures are available on how much liquor is offered at the temple daily, the amount is estimated at several hundreds of litres. During the 2016 Ujjain Simhastha, the state government banned liquor sales in Ujjain for a month, but allowed the shops in front of the temple to sell alcohol.