Krishna's life

The Night Krishna Was Born: The Janmashtami Story, Told Simply

The full story of Krishna's birth at midnight in Kamsa's prison, the journey across the Yamuna to Gokul, and why Janmashtami is celebrated with fasting and midnight joy.

By Surendar Kumar · 2026-11-18 · 6 min read

Every year, on the eighth night of the dark fortnight of the month of Bhadrapada, millions of people stay awake until midnight. Temples are lit, small cradles are decorated, bells ring at exactly twelve, and a tiny image of baby Krishna is bathed in milk and honey. This is Janmashtami, the celebration of Krishna's birth.

The story behind it is one of the most dramatic in all of Indian tradition. It begins not with a birth, but with a wedding and a terrible prophecy.

A wedding and a voice from the sky

Long ago, the city of Mathura was ruled by Kamsa, a powerful and cruel king. Kamsa loved his cousin Devaki like a sister. When she married a noble prince named Vasudeva, Kamsa himself took the reins of the wedding chariot to drive the couple home.

Halfway along the road, a voice rang out from the sky: "Foolish Kamsa, the eighth child of the woman you are driving will kill you."

In an instant, Kamsa's affection turned to fear. He grabbed Devaki by the hair and raised his sword. Vasudeva begged him to stop. He made a promise: "She is not the one you need to fear. I will hand over every child she bears to you myself." Kamsa, knowing Vasudeva was a man of his word, lowered the sword.

Six children and a prison

Vasudeva kept his promise. When their first son was born, he carried the baby to Kamsa. Kamsa, for a moment, felt pity and returned the child, since only the eighth was a threat. But his advisers, and his own suspicion, soon convinced him otherwise. He threw Devaki and Vasudeva into prison in chains and killed each child as it was born. Six babies died this way.

The seventh pregnancy was different. By divine arrangement, the child was transferred from Devaki's womb to the womb of Rohini, Vasudeva's other wife, who was living safely in Gokul. That child was Balarama, Krishna's elder brother. (You can read more about him in who was Balarama.) Kamsa was told Devaki had miscarried.

Then Devaki became pregnant for the eighth time.

Midnight in the prison

The texts describe the night with great beauty. The sky was clear, the stars were bright, the rivers were calm and the lotus ponds were in bloom. The moon was rising and the constellation Rohini was in the sky. At midnight, in the darkness of the prison cell, Krishna appeared.

According to the Bhagavata Purana, he first appeared to his parents in a divine four-armed form, holding a conch, discus, mace and lotus, dressed in yellow, with a jewel on his chest. Devaki and Vasudeva understood that this was no ordinary child. They prayed to him, and at Devaki's request he took the form of a normal human baby.

This idea is expressed directly in the Gita. Krishna says: "Though I am unborn and eternal, I come into being through my own power" (Gita 4.6), and "whenever goodness declines and wrong rises, I appear" (4.7). Janmashtami is the celebration of exactly that promise.

The journey across the Yamuna

Now came the hardest part. The baby had to be saved before Kamsa found out.

Suddenly, Vasudeva's chains fell away. The prison doors swung open by themselves. The guards fell into a deep sleep. Vasudeva placed the newborn in a basket, lifted it onto his head and walked out into the night.

Outside, a storm was raging and the Yamuna river was in flood. Vasudeva stepped into the water anyway. The story says that the river parted to make way for him, and that Shesha, the great serpent, rose up behind him and spread his many hoods over the basket like an umbrella to keep the baby dry. In many paintings you will see this scene: a father wading through dark water, a baby in a basket on his head, and a serpent's hoods sheltering them both.

The exchange in Gokul

On the other side of the river lay the village of Gokul, home of the cowherd chief Nanda and his wife Yashoda. That same night, Yashoda had given birth to a baby girl. Everyone in the house was asleep.

Vasudeva quietly laid Krishna beside Yashoda, picked up the baby girl, and walked back across the river to the prison. As soon as he entered, the doors closed and the chains locked themselves again.

Kamsa and the goddess

The baby girl began to cry, and the guards woke up and ran to tell Kamsa. He rushed to the prison. Devaki pleaded: "Brother, this is a girl. She cannot harm you. Let me keep just this one." Kamsa did not listen. He seized the baby by her feet and swung her against a stone.

But she slipped out of his hands and rose into the sky. She was Yogamaya, a form of the goddess, and she appeared with eight arms carrying weapons. She said: "Fool, what use is killing me? The one who will end you has already been born somewhere else." Then she vanished.

Kamsa was shaken. For a moment he even apologised to Devaki and Vasudeva and released them. But his fear soon returned, and he began sending demons to kill every newborn in the region. Each of those attempts fails in the stories of Krishna's childhood, from Putana to Trinavarta. Those stories, along with the butter-stealing adventures in Yashoda's home, are some of the most loved tales in the tradition.

Why Janmashtami is celebrated at midnight

Because Krishna appeared at midnight, devotees keep a fast through the day and break it only after the midnight worship. Some fast completely; many take simple fruit and milk. At midnight the image of baby Krishna is bathed, dressed in new clothes and placed in a decorated cradle, which people take turns gently rocking.

The next day, in many places, is Nandotsav, the joy of Nanda's household. In Maharashtra and elsewhere, young people form human pyramids to break a pot of curd hung high above the street, the Dahi Handi, recalling how child Krishna climbed on his friends' shoulders to reach the butter pots.

What the story means

Beneath the drama, the Janmashtami story carries simple and powerful ideas.

Light comes in the darkest place. Krishna was not born in a palace but in a prison, at midnight, in the middle of fear and grief. The tradition reads this as a promise that God comes to us exactly where we feel most trapped.

Chains fall when the Divine appears. Vasudeva's chains, the locked doors and the flooded river all give way. Devotees understand this as a picture of the heart: when Krishna is present, our inner bonds loosen.

Love protects. The whole story is driven by parents trying to protect a child, Vasudeva carrying him through the storm, Yashoda raising him as her own. Love is stronger than Kamsa's fear.

Fear destroys the one who holds it. Kamsa did not need to become a murderer. The prophecy did not force him to kill; his fear did. The Gita explains how this happens: brooding gives rise to attachment, attachment to desire, desire to anger, and anger to ruin (2.62, 2.63).

How to celebrate at home

You do not need a temple to celebrate Janmashtami. Many families:

  • clean and decorate a small corner with flowers and a cradle or a picture of baby Krishna,
  • fast or eat simply through the day,
  • sing bhajans or read the birth story aloud in the evening,
  • offer butter, milk sweets and tulsi leaves at midnight,
  • read a chapter of the Gita, often Chapter 4, where Krishna explains why he appears in the world, or Chapter 9, where he says that even a leaf or a flower offered with love is accepted (9.26).

Keep reading

Continue with Krishna's childhood in Yashoda and the butter thief, see how he protected Vrindavan in the Govardhan story, or read the whole Bhagavad Gita in English, Hindi, Urdu, Sindhi and other languages. You can also talk to Krishna about anything on your heart this Janmashtami.

Frequently asked questions

Where was Krishna born?

Krishna was born in the prison of King Kamsa in Mathura, to Devaki and Vasudeva. He was carried that same night across the Yamuna to Gokul, where he was raised by Nanda and Yashoda.

Why is Janmashtami celebrated at midnight?

Because the scriptures say Krishna appeared at midnight, on the eighth day of the dark fortnight of Bhadrapada, under the star Rohini. Devotees fast during the day and celebrate his birth at midnight.

Who was the baby girl exchanged with Krishna?

She was the daughter of Yashoda and Nanda, identified as Yogamaya, a form of the goddess. When Kamsa tried to kill her, she rose into the sky and warned him that his destroyer had already been born.

How many children of Devaki did Kamsa kill?

Kamsa killed six of Devaki's children. The seventh, Balarama, was transferred to Rohini's womb, and the eighth, Krishna, was carried to safety in Gokul.

What is Dahi Handi?

Dahi Handi is a Janmashtami custom where young people form a human pyramid to break a pot of curd hung high above the street, recalling child Krishna's love of butter and curd.

Keep reading

Ask Krishna your own questionTalk Now by voice

Have a story idea or a correction? Write to us. Learn more about Talk to Krishna.