Nag Panchami Story: The Mythology and Significance of Snake Worship

On the fifth day of the bright fortnight of the month of Shravan, Hindus across India offer milk to serpents, draw snake images on their doorways, and ask for protection from the creatures they simultaneously fear and revere. This is Nag Panchami — and behind it lies one of the great stories of the Mahabharata: the day a boy named Astika saved the entire serpent race from extinction.

Why Snakes Are Sacred in Hindu Mythology

The snake appears at the foundation of Hindu cosmology. Vishnu rests on Shesha — the great serpent whose thousand hoods shelter the sleeping god between cycles of creation. Shiva wears snakes as ornaments — Vasuki around his neck, others on his arms and matted hair. Ganesha wears a snake as a belt. The snake is not an enemy of the gods but their intimate companion.

In the Vedic tradition, the Naga — divine serpent beings — are a separate race of beings who inhabit the underworld Patala, possess great beauty and intelligence, and have the ability to take human form. The Naga king Vasuki helped churn the ocean of milk. Naga princesses appear as wives of gods and sages throughout the Puranas. Snakes are associated with fertility, rain, and the hidden waters beneath the earth — the lifeblood of agriculture.

The Story of Astika and the Sarpa Satra

The central mythology of Nag Panchami comes from the Adi Parva of the Mahabharata — the very first book. It tells the story of a great sacrifice that nearly wiped out every snake on earth.

King Janamejaya, grandson of Abhimanyu and great-grandson of Arjuna, was performing a sarpa satra — a serpent sacrifice — to destroy all snakes. His father Parikshit had been killed by the serpent Takshaka, and Janamejaya wanted revenge not just on Takshaka but on the entire race of serpents. The sacrifice was enormously powerful — snakes from across the three worlds began falling into the sacrificial fire, helpless against the mantras being chanted.

Takshaka himself was being dragged toward the fire when a young brahmin named Astika arrived. Astika was the son of the sage Jaratkaru and his wife, who was also named Jaratkaru — she was a sister of Vasuki, king of the serpents. Astika had been born specifically to save the serpent race; it had been prophesied before his birth.

How Astika Stopped the Sacrifice

Astika entered the great assembly where the sacrifice was being performed and praised Janamejaya with such eloquence, such learning, and such beauty of expression that the king was moved to grant him any boon he wished. Astika asked for one thing: stop the sacrifice. Let the serpents who have already fallen into the fire have died — but let no more follow them. Let Takshaka live.

Janamejaya was bound by his word. He ordered the priests to cease. The sacrifice stopped. Takshaka was saved. The serpent race survived.

The day this happened was Panchami — the fifth day of the bright fortnight of Shravan. This is why Nag Panchami is celebrated on that day: it is the day the serpents were given their lives back, and gratitude is owed.

Other Stories Associated with Nag Panchami

Different regions of India associate different stories with the festival. In some traditions, Nag Panchami commemorates the day Krishna defeated and tamed the serpent Kaliya in the Yamuna river — a story that speaks of nature's wildness being brought into harmony rather than destroyed. In others, it honours the day a farmer's son was bitten by a snake and his sisters prayed for his life and received it. In still others, it is the day Shiva's snakes are specially worshipped as channels of his blessing.

Read the full story of Krishna's childhood and the Kaliya serpent.

How Nag Panchami Is Observed

On Nag Panchami, women and children draw snake images on their doorways with turmeric or cow dung — a protective symbol. Milk is offered at anthills (which snakes are believed to inhabit) and at temples dedicated to serpent deities. Metal, stone, or painted images of snakes are worshipped with flowers, sandalwood paste, and sweets.

The festival is observed with particular intensity in Maharashtra, Karnataka, and Andhra Pradesh — regions with deep traditions of nagara (serpent) worship — but is widely celebrated across India wherever the monsoon is felt as the season of snakes, when waterlogged fields drive serpents out of the ground and human-snake encounters peak.

The Philosophical Meaning

Underlying the festival is a sophisticated ecological and philosophical idea. The serpent, in Indian tradition, is both dangerous and necessary. It kills — but it also kills the rodents that destroy grain. It is feared — but it is also revered as a guardian of hidden wealth and underground water. To live in India was always to live alongside snakes, and the tradition of Nag Panchami encodes in religious form a kind of respectful coexistence.

Astika's act — stopping a genocide of an entire species to satisfy one king's desire for revenge — is an ancient expression of an idea that feels very contemporary: that no species exists merely for human use, and that anger, however justified, is a poor reason to erase what cannot be replaced.

Frequently Asked Questions

When is Nag Panchami celebrated?

On the fifth day (panchami) of the bright fortnight (shukla paksha) of the month of Shravan — typically in July or August during the monsoon season.

What is the story behind Nag Panchami?

The primary story is of Astika stopping the serpent sacrifice (sarpa satra) of King Janamejaya, saving the serpent Takshaka and the entire Naga race. This is narrated in the Adi Parva of the Mahabharata.

Who is Vasuki in Hindu mythology?

Vasuki is the king of serpents (Naga raja), who appears in the churning of the ocean of milk as the rope used to churn. He is a devotee of Shiva and wears the god's blessings as protection.