Where the story comes from
Markandeya appears in many texts: he narrates the Markandeya Purana and the Devi Mahatmya inside it, tells the Pandavas the stories of Rama and Savitri in the Mahabharata's Vana Parva, and, in the Bhagavata Purana (12.8–12.10), sees the infant Vishnu on a banyan leaf during the great flood. But the story most people mean by "Markandeya katha" — the boy destined to die at sixteen, saved from Yama by Shiva — is not told in the Markandeya Purana or the Bhagavata.
It belongs to Shaiva tradition. It is the founding legend of the temple at Thirukkadavur in Tamil Nadu, where Shiva is worshipped as Kala-samhara, the destroyer of Death; it is celebrated in the Tamil Shaiva hymns of the Tevaram; and the Chandrashekhara Ashtakam, preserved in the Shiva Rahasya, is said to be the hymn the boy sang. The Linga Purana (1.30) tells a closely parallel story about a sage named Shveta. The retelling below follows the common Shaiva form of the story, and the sections after it set out the parallel and the variants.
A short life, chosen
The sage Mrikandu, of the line of Bhrigu, and his wife — called Marudvati in most tellings, Manasvini in the Vayu Purana — had no children. They did long penance to Shiva, and when he appeared he offered them a choice: a son who would live long but be dull and without virtue, or a son who would be wise and devoted but live only sixteen years. They chose the second. The boy was named Markandeya, "son of Mrikandu".
He grew up exactly as promised. He learned the Vedas and shastras early, his teachers loved him, and he was devoted to Shiva from childhood. His parents never told him the secret, but whenever they looked at him their faces clouded over. As his sixteenth year drew to its end, they could not hold back their tears, and he asked them why. His father told him.
The last day
Markandeya did not despair. He comforted his parents, took up a life of austerity, and gave himself to the worship of Shiva in the form of the linga. The Thirukkadavur tradition identifies the linga he worshipped with the one in that temple. On the last day he sat before it in deep meditation.
When the hour came, Yama's messengers could not come near him; the radiance of his devotion drove them back. So Yama came himself, with his noose. Seeing him, Markandeya threw his arms around the linga and cried out to Shiva. Yama threw his noose, and it fell around the boy and the linga together.
Kalantaka: Shiva comes out of the linga
That was Yama's mistake: he had cast his noose over Shiva himself. Shiva burst out of the linga in fury and struck Yama down to save his devotee — with his trident in some tellings, with a kick in others. Death was dead. From that day Shiva is called Kalantaka or Kala-samhara, the ender of Kala (Time and Death), and Mrityunjaya, conqueror of death.
But without Yama the order of the world could not go on, and the gods begged Shiva to restore him. Shiva brought Yama back to life on one condition: Markandeya would be spared. He blessed the boy to remain sixteen for ever, and to live as a chiranjivi, one of the long-lived ones who remain until the end of the age.
The boy's hymn
Tradition says that as Yama approached, Markandeya sang the Chandrashekhara Ashtakam. Every verse ends with the same defiant line:
चन्द्रशेखरमाश्रये मम किं करिष्यति वै यमः ॥
"I take refuge in Chandrashekhara, the moon-crested Lord. What can Yama do to me?" Its closing verse describes it as the hymn made in Shiva's presence by Mrikandu's son, afraid of death, and promises that whoever recites it need not fear death.
Markandeya and the Mahamrityunjaya mantra
In popular devotion, Markandeya is the person most closely linked with the Mahamrityunjaya mantra, त्र्यम्बकं यजामहे — "We worship the three-eyed one". Some tellings say Brahma or Shiva taught it to him; others that he chanted it while holding the linga; some say he composed it. It is worth being clear about what the texts say:
- The mantra itself is far older than these stories. It is a verse of the Rigveda (7.59.12), in the seventh mandala, which belongs to the family of the sage Vasishtha, and it is repeated in the Yajurveda. Markandeya did not compose it.
- None of the sources for the rescue cited on this page — the Shaiva Puranic account or the Chandrashekhara Ashtakam — puts this mantra in his mouth; the link is a popular tradition, and a natural one, since the mantra prays for release "from death, not from immortality".
- The closest scriptural link is in the parallel story of Shveta in the Linga Purana (1.30). There, as Kala approaches, the sage recites the Rudradhyaya and the words of this mantra — "I worship the three-eyed lord of great fragrance, who increases prosperity" — and says, "What will Death do to me?"
So it is accurate to call Markandeya the mantra's best-known devotee, and the story the best-known illustration of what it asks for. It is not accurate to call him its author.
The parallel: Shveta in the Linga Purana
The Linga Purana's story is told by Brahma to the sages. Shveta, a sage living in a mountain cave, saw that the end of his life had come and worshipped Shiva in a linga with the Rudradhyaya. Kala came for him and mocked him: who, even Rudra, Vishnu or Brahma, could save one in his grip? Shveta answered that if Rudra was present in the linga, Kala could do nothing. Kala, enraged, bound him with his noose and jeered: "Where is your Rudra now? If he is in this linga, he is utterly inactive." At that, Shiva came with Uma, Nandi and his ganas, and at the mere sight of him Yama fell dead. The Purana draws the lesson that devotion to Shiva comes not from gifts, learning or sacrifice but from grace alone.
The two stories share their shape — the destined hour, the linga, the noose, Death destroyed — and some scholars and traditions treat Shveta and Markandeya as tellings of one legend.
Where the versions differ
- Who is saved. Linga Purana: the sage Shveta, an adult. Shaiva temple tradition: the boy Markandeya.
- How Yama is defeated. Struck with the trident, kicked, or, in the Linga Purana, simply falling dead at the sight of Shiva. Most versions have Shiva revive Yama; the Linga Purana's chapter ends without his revival.
- Where it happened. Thirukkadavur in Tamil Nadu is the best-known claim; Triprangode in Kerala and other temples have their own traditions. The Markandeya Mahadev temple at Kaithi near Varanasi, where the Gomti meets the Ganga, is linked with the sage, and the Mahabharata names a Markandeya tirtha at that confluence.
- Which god saves him. The Narasimha Purana tells of Markandeya escaping death by worshipping Vishnu, with a hymn of its own also called a Mrityunjaya stotra.
- Markandeya's long life. The Bhagavata never mentions the sixteen years; there, his long life is the fruit of austerity, and Shiva and Parvati bless him with freedom from old age and death after his vision of the flood.
What the story teaches
- Devotion is stronger than fate. Markandeya's death was fixed before his birth, by the very god who saved him. The story's answer to destiny is not resignation but refuge.
- Hold on. The image at its heart is a child holding on to the linga with both arms. Faith here is not a theory but a grip.
- Death has its place. Shiva revives Yama. The story does not abolish death; it shows that the devotee does not belong to it.
The Katha Upanishad's Nachiketa also meets Yama as a boy. Read together, the two stories give two answers to death: Nachiketa learns from Death that the Self does not die; Markandeya is taken out of Death's hands by grace.
Where Markandeya is remembered
- At Thirukkadavur (the Amritaghateswarar-Abhirami temple), couples celebrate the husband's sixtieth, seventieth and eightieth birthdays, praying for long life where Death was defeated.
- The Mahamrityunjaya mantra and the Chandrashekhara Ashtakam are recited in illness, danger and fear of untimely death, often on Mondays, on Pradosh and on Maha Shivratri.
- On birthdays, many families recite the Sapta Chiranjeevi shloka, which names Markandeya as the eighth long-lived one.
Frequently asked questions
Why did Markandeya have only sixteen years to live?
Because his parents, offered a choice by Shiva, chose a wise and devoted son with a short life over a long-lived son without virtue.
Who saved Markandeya from Yama?
Shiva, who came out of the Shivalinga the boy was holding and struck Yama down. That is why Shiva is called Kalantaka, the ender of Death.
Did Markandeya write the Mahamrityunjaya mantra?
No. The mantra is Rigveda 7.59.12, in the Vasishtha family's mandala. Markandeya is linked with it by popular tradition as its most famous devotee, not as its author.
Which Purana tells the story of Markandeya and Yama?
The story belongs to Shaiva tradition and the Thirukkadavur temple legend rather than to the Markandeya Purana or the Bhagavata. The Linga Purana (1.30) tells the parallel story of the sage Shveta, saved from Kala by Shiva.
What hymn did Markandeya sing to Shiva?
Tradition says the Chandrashekhara Ashtakam, whose refrain asks, "I take refuge in Chandrashekhara; what can Yama do to me?"
Is Markandeya still alive?
He is counted among the chiranjivis, the long-lived ones believed to remain until the end of this age, and is said to be ever sixteen.
Where did Shiva save Markandeya?
The best-known tradition places it at Thirukkadavur in Tamil Nadu. Other temples, including ones in Kerala and near Varanasi, have their own traditions.
Spotted a mistake?
If you find any grammatical, Hindi, English, mantra-text or other mistake on this page, tell us — we will correct it within 24 hours.
