This story is told across Nepal and India whenever people speak of the power of God’s name. It’s a strange, almost comic story at first: a man saved by accident. But inside it the tradition finds some of its most serious teachings, on habit, on death, and on grace that isn’t earned.
The story
In the city of Kānyakubja there lived a young brahmin called Ajāmila. He was everything a young brahmin should be: learned, truthful, gentle, devoted to his parents and his duties.
One day his father sent him into the forest to gather fruit, flowers and sacred grass. On the way back he saw a man lying drunk with a woman of low repute, laughing and embracing. Ajamila tried to look away, but he couldn’t. Desire took hold of him, and it never let go.
He abandoned his young wife, his parents and his studies, and went to live with the woman. To support her he spent all his family’s wealth, and then lived by gambling, cheating and theft. They had ten sons. The youngest he named Nārāyaṇa, one of the names of Vishnu, and this little boy he loved more than anything. All day long it was “Narayana, come and eat”, “Narayana, where are you?”, “Narayana, come here”.
Ajamila grew old in this way. At 88 he lay dying. Suddenly he saw three terrifying figures approaching with ropes in their hands: the Yamadūtas, messengers of Yama, the lord of death, come to drag his soul away. Terrified, he cried out for his little son, who was playing nearby:
“Nārāyaṇa!”
At the sound of the name, four shining figures appeared: the Viṣṇudūtas, messengers of Vishnu. They stopped the Yamadutas. “Who are you, to interfere with the justice of Yama?” the messengers of death demanded. “This man has sinned all his life. He belongs to us.”
The Vishnudutas answered: this man has just called the name of the Lord. It doesn’t matter how:
साङ्केत्यं पारिहास्यं वा स्तोभं हेलनमेव वा ।
वैकुण्ठनामग्रहणमशेषाघहरं विदुः ॥
sāṅketyaṃ pārihāsyaṃ vā stobhaṃ helanam eva vā
vaikuṇṭha-nāma-grahaṇam aśeṣāgha-haraṃ viduḥ
Whether by pointing to something else, in jest, as a mere sound in a song, or even in contempt, taking the name of the Lord destroys every sin. So the wise know.
Bhāgavata Purāṇa 6.2.14
The Yamadutas withdrew, and Ajamila lived. Shaken to the core, he saw his whole life clearly. He left his home, went to Haridwar on the Ganges, and spent his remaining years in devotion and meditation. When death came for him the second time, the Vishnudutas came with it, and he was taken to the Lord.
The Yamadutas, confused, went back to their master. Yama told them a secret: the true dharma is devotion to the Lord, known fully only to a few great souls. And he gave them an order: never go near those who take the Lord’s name.
What the tradition reads in it
The power of the name
The most obvious lesson, and the one the Bhagavata itself draws, is the power of the divine name. That’s why nāma-japa, repeating a name of God, is at the heart of devotional practice across Nepal and India, and why the name is chanted at a deathbed. Patanjali says something related about Om, the word for the Lord: repeat it and dwell on its meaning (Yoga Sutras 1.28). See what is Om, and why do we chant it?
What you practise, you remember at the end
Many teachers point to a quieter detail. Why did the name come to Ajamila’s lips at that terrifying moment? Because he had been saying it, lovingly, every day for years. The Gita says:
यं यं वापि स्मरन्भावं त्यजत्यन्ते कलेवरम्
yaṃ yaṃ vāpi smaran bhāvaṃ tyajaty ante kalevaram
Whatever state of being one remembers when leaving the body at the end, to that one goes.
Bhagavad Gītā 8.6
What rises in us at the last moment is what we have practised all our lives. That’s the case for daily practice, made in the starkest way: see practice and non-attachment. Ajamila’s habit was an accident. Ours doesn’t have to be.
Grace is not a wage
Ajamila earned nothing. The story is uncomfortable on purpose: a lifelong cheat is spared, and the messengers of strict justice are told to stand aside. The Bhagavata’s point is that grace doesn’t work like a wage. Like Gajendra’s single lotus (see Gajendra moksha), the smallest real turning toward the divine is met far more than halfway.
But not a licence
The tradition is just as clear about the opposite mistake. Sinning deliberately and counting on the name to wash it away is itself named a grave offence against the name (nāma-aparādha). And notice what Ajamila does with his reprieve. He doesn’t go back to his old life. He goes to Haridwar and spends every remaining day in practice. The calling of the name opened the door. Walking through it was his life’s work.
Desire, one glance at a time
Finally, there is the beginning of the story, often skipped. A good young man’s whole life turns on one glance he couldn’t look away from. It’s the Gita’s chain in miniature: dwelling on objects gives rise to attachment, attachment to desire, and the slide follows (2.62–2.63). The story begins with a fall that started small, and ends with a rescue that started small too.
In Nepal
At a deathbed in Nepal, families gather to chant the names of God and read from the Gita, and many hope to die beside a holy river, as at Pashupatinath’s Arya Ghat on the Bagmati. Behind those customs stands the same conviction as this story: what is on our lips and in our hearts at the end matters, and the name of the Lord is never wasted.
If you only remember one thing
Ajamila was saved by a name he had said a thousand times out of love. What you practise every day is what will rise in you at the end, so practise what you want to remember.
How we read these stories. For millions of people these stories are sacred, and true in their own right. What follows isn’t “it’s only a metaphor”. It’s the deeper layer that teachers in the tradition have drawn out of them for centuries. Other readings exist, and we note where they differ.
More stories: The churning of the ocean · Nachiketa and Yama · Prahlada and Narasimha · Shiva and Parvati · Ganesha’s elephant head · Gajendra moksha · Ajamila
Questions people ask
What is the story of Ajamila?
Ajamila was a young brahmin who abandoned his wife and duties for a woman he met in the forest and lived the rest of his life by gambling, cheating and theft. At 88, dying, he saw the messengers of Yama coming for him and in fear called out to his youngest son, Narayana. At the sound of the name, Vishnu's messengers appeared and stopped Yama's. Spared, Ajamila spent the rest of his life in devotion at Haridwar and attained liberation.
Why was Ajamila saved?
In the Bhagavata Purana, Vishnu's messengers explain that uttering the name of the Lord, even indirectly, jokingly or by accident, as when calling a son named Narayana, destroys sin. Teachers add that it worked because the name had been on his lips all his life through his love for his son, and it rose to his lips at the moment of death.
Does the story of Ajamila mean you can sin and just chant God's name?
No. The tradition is explicit that sinning deliberately on the strength of the name is itself a grave fault (nāma-aparādha). The story shows the power of grace and the name, and Ajamila's real change came afterwards, when he used his remaining years for practice.
Sources and further reading
- Bhagavata Purana, book 6, chapters 1–3
- Bhagavad Gita 8.5–8.6