Scriptures

Ashtavakra Gita: Summary, Key Verses and the Story of Ashtavakra and Janaka

A twelve-year-old sage, a king who asks how to be free, and an answer with no ladder: you already are. A guide to the most uncompromising text of Advaita.

Painting of the child sage Ashtavakra teaching King Janaka in a royal court
Ashtavakra in King Janaka's court, from the HarshTattva painting series · Artwork: HarshTattva

Key takeaways

  • The Ashtavakra Gita, also called the Ashtavakra Samhita, is a Sanskrit dialogue of about 298 verses in 20 chapters between the sage Ashtavakra and King Janaka of Videha.
  • Its teaching is radical non-duality: you are the witnessing awareness, already free, and liberation is a recognition rather than an achievement.
  • The story of Ashtavakra himself, a boy born bent in eight places who wins a debate in Janaka's court, comes from the Mahabharata's Vana Parva.
  • Its most quoted line (1.11) says that whoever considers themselves free is free: as you think, so you become.
  • Unlike the Bhagavad Gita, it offers almost no method, ritual or devotion, so it is best read slowly, a few verses at a time.

Most spiritual books give you a path: practices to follow, virtues to build, stages to pass through. The Ashtavakra Gita takes the path away. Its answer to the question "how do I become free?" is that you already are, and that the only thing in the way is the belief that you are not.

It is a short text, about three hundred verses, framed as a conversation between a young sage and a king. It has been called the purest statement of Advaita Vedanta, and readers either find it liberating or baffling, sometimes both on the same page. This guide tells the story behind it, walks through its key verses, and suggests how to read it. The paintings in this article come from our eight-painting series on Ashtavakra and Janaka.

Who was Ashtavakra?

The sage's story is told in the Mahabharata, in the Vana Parva, when the Pandavas visit the places where it happened during their years in the forest. The great teacher Uddalaka had a devoted student, Kahoda, who married Uddalaka's daughter Sujata. While Sujata was pregnant, Kahoda would recite the Vedas late into the night. One night the unborn child spoke from the womb and pointed out that his father was making mistakes. Kahoda, stung, cursed him: since you criticise me even before you are born, you will be born bent in eight places. The boy was named Ashtavakra, "eight bends".

Early nineteenth-century Indian painting of the sage Ashtavakra standing with a staff and a water pot
The sage Ashtavakra, from an Indian painting of the early nineteenth century.Image: Unknown artist · Public domain · via Wikimedia Commons

Before the child was born, Kahoda went to the court of King Janaka of Videha in search of wealth. There he was drawn into a debate with Bandi (also called Vandin), the court scholar, who had a harsh rule: those he defeated were drowned. Kahoda lost.

Ashtavakra grew up in his grandfather's hermitage alongside his uncle Shvetaketu, who was the same age, and was not told what had happened to his father. When he learned the truth at the age of twelve, he set out with Shvetaketu for Janaka's court, where a great sacrifice was under way. The guards would not admit boys; Ashtavakra argued his way past them, and then past the king himself, with replies so sharp that Janaka allowed him to face Bandi.

The debate was built on numbers. Bandi spoke a verse about one, Ashtavakra answered with a verse about two, and so on, each reply matching and outdoing the last. At thirteen, Bandi could only finish half a verse, and Ashtavakra completed it. Defeated, Bandi revealed that he was the son of Varuna, the god of the waters, and that the sages he had "drowned" had been sent to attend his father's sacrifice. They returned alive, Kahoda among them. Kahoda then told his son to bathe in the river Samanga, and when Ashtavakra came out of the water, his limbs were straight.

Painting of the child sage Ashtavakra seated by a lake with swans and lotus flowers
The boy sage, remembered for wisdom far beyond his years.Artwork: HarshTattva

A popular later retelling, not found in the Mahabharata, adds a scene many people know. When the crooked boy entered Janaka's assembly, the scholars burst out laughing. Ashtavakra laughed back, louder. Asked why, he said he had come expecting a gathering of the wise, but found people who judged a man by his skin and bones. It is a fitting prologue to a text that refuses to identify anyone with their body.

What is the Ashtavakra Gita?

The Ashtavakra Gita, also known as the Ashtavakra Samhita, is a separate text from the Mahabharata episode. It has about 298 verses in 20 chapters. In it, King Janaka asks how knowledge, liberation and dispassion are attained, and Ashtavakra answers. Over the following chapters Janaka responds with his own realisation, Ashtavakra tests and deepens it, and both speak from a state in which nothing remains to be gained.

No one knows who composed it or when. The text gives no date, and scholarly estimates range widely, from soon after the Bhagavad Gita to the medieval period. Its language and ideas place it firmly in the Advaita tradition that grew out of the Upanishads, the philosophical final layer of the four Vedas.

A rough guide to its shape:

  • Chapter 1: Ashtavakra's first teaching. You are not the body or the elements; you are the witness of them, and you are free now.
  • Chapter 2: Janaka's awakening, an outpouring of wonder at what he has seen.
  • Chapters 3 to 17: short exchanges in which Ashtavakra tests the king's understanding and Janaka answers from it, on bondage and freedom, dispassion, peace and the life of the knower.
  • Chapter 18: the longest chapter, a hundred verses on peace and the person who is free while living.
  • Chapters 19 and 20: Janaka's last words: there is nothing left to gain or give up.

The first question and the first answer

The text opens with the king's three questions. They are the questions of every seeker.

कथं ज्ञानमवाप्नोति कथं मुक्तिर्भविष्यति।
वैराग्यं च कथं प्राप्तमेतद् ब्रूहि मम प्रभो॥

kathaṃ jñānam avāpnoti kathaṃ muktir bhaviṣyati, vairāgyaṃ ca kathaṃ prāptam etad brūhi mama prabho.

How does one attain knowledge? How will liberation come? And how is dispassion reached? Tell me this, my lord.

Ashtavakra Gita 1.1

Ashtavakra's first reply sounds like conventional advice:

मुक्तिमिच्छसि चेत्तात विषयान्विषवत्त्यज।
क्षमार्जवदयातोषसत्यं पीयूषवद्भज॥

muktim icchasi cet tāta viṣayān viṣavat tyaja, kṣamārjava-dayā-toṣa-satyaṃ pīyūṣavad bhaja.

If you seek freedom, my child, shun the objects of the senses as you would poison, and take forgiveness, sincerity, kindness, contentment and truth as nectar.

Ashtavakra Gita 1.2

But within two verses the ground shifts. Ashtavakra tells Janaka that he is not earth, water, fire, air or space, but the awareness that witnesses them all. Then comes the line that sets the tone for the rest of the book: freedom is not in the future.

यदि देहं पृथक्कृत्य चिति विश्राम्य तिष्ठसि।
अधुनैव सुखी शान्तो बन्धमुक्तो भविष्यसि॥

yadi dehaṃ pṛthak kṛtya citi viśrāmya tiṣṭhasi, adhunaiva sukhī śānto bandha-mukto bhaviṣyasi.

If you set the body apart and rest in awareness, you will be happy, at peace and free from bondage this very moment.

Ashtavakra Gita 1.4

The core teaching: you are the witness

Everything in the Ashtavakra Gita follows from one distinction: between what is seen and the one who sees. Thoughts, feelings, the body, roles and possessions all appear and disappear. Awareness, the witness (sakshi) in which they appear, does not. Bondage is simply mistaking yourself for what you witness.

Painting of a seated figure surrounded by mirrors reflecting a king, a warrior, a scholar and a merchant
King, warrior, scholar, merchant: every role is a reflection, and none of them is the one looking.Artwork: HarshTattva

From this follows the verse that has become a proverb in Hindi and Sanskrit:

मुक्ताभिमानी मुक्तो हि बद्धो बद्धाभिमान्यपि।
किंवदन्तीह सत्येयं या मतिः सा गतिर्भवेत्॥

muktābhimānī mukto hi baddho baddhābhimāny api, kiṃvadantīha satyeyaṃ yā matiḥ sā gatir bhavet.

One who considers oneself free is free, and one who considers oneself bound is bound. The saying is true: as one thinks, so one becomes.

Ashtavakra Gita 1.11

This is not positive thinking. The point is not to persuade yourself that you are free, but to notice that the "you" who feels bound is a thought, and that the awareness in which that thought appears was never bound in the first place. Ashtavakra is so insistent on this that he warns Janaka even against spiritual effort: "this alone is your bondage, that you practise meditation" (1.15), because practice assumes there is somewhere to get to. The same pointing appears in the Mandukya Upanishad's description of turiya, the fourth state beyond waking, dream and sleep, which we explore in our article on Om.

Janaka's awakening

Chapter 2 is Janaka's reply, and it is one of the most joyful passages in Sanskrit literature. Almost every verse begins with aho, "wonderful!" or "how amazing!".

अहो निरञ्जनः शान्तो बोधोऽहं प्रकृतेः परः।
एतावन्तमहं कालं मोहेनैव विडम्बितः॥

aho nirañjanaḥ śānto bodho 'haṃ prakṛteḥ paraḥ, etāvantam ahaṃ kālaṃ mohenaiva viḍambitaḥ.

Wonderful! I am spotless and at peace, pure awareness beyond nature. All this time I have been fooled by delusion alone.

Ashtavakra Gita 2.1
Painting of King Janaka glowing with light as chains break around him and flowers fall from the sky
Janaka's moment of release, as sages watch and flowers rain down.Artwork: HarshTattva

What makes Janaka important is that he stays a king. He does not renounce his throne or walk into the forest. In Indian tradition he is the model of the householder who is free while fully engaged in the world, and the Bhagavad Gita names him for exactly this reason (3.20): Janaka and others reached perfection through action. The Ashtavakra Gita shows the inner side of that freedom.

How it differs from the Bhagavad Gita

Both texts are called a "Gita", a song of teaching, and both end with a listener transformed. But they are very different books.

AspectBhagavad GitaAshtavakra Gita
SettingA battlefield, moments before warA royal court, in peace
Teacher and studentKrishna and ArjunaAshtavakra and King Janaka
Length700 verses, 18 chaptersAbout 298 verses, 20 chapters
Where it is foundInside the MahabharataAn independent text
Paths taughtAction, devotion, knowledge and meditationKnowledge alone, as direct recognition
PracticeDetailed guidance on how to act and meditateAlmost none; even effort is seen as a subtle bondage
Student's stateConfused and grievingRipe, ready to see at once
TonePatient argument and persuasionBold declaration and celebration

Many teachers suggest reading the Bhagavad Gita first. It meets you where you are. The Ashtavakra Gita speaks from where it says you already are.

Who has read it

The text was long known mainly within monastic and Advaita circles. Biographies of Sri Ramakrishna say he asked the young Narendranath, later Swami Vivekananda, to read from it to him, at a time when the young man found its claims hard to accept. In the twentieth century it reached a much wider audience through translations: Swami Nityaswarupananda's careful edition, published by Advaita Ashrama in 1940; Radhakamal Mukerjee's scholarly study; and Thomas Byrom's poetic rendering, The Heart of Awareness (1990). In India, Osho's long series of Hindi discourses on it, published as Maha Geeta, made the text familiar to a whole generation of readers.

How to read the Ashtavakra Gita

Because it makes the same few points again and again, the Ashtavakra Gita is easy to read quickly and easy to miss. A few suggestions:

  1. Read a few verses a day. Stop when a line lands, and stay with it rather than moving on.
  2. Test each verse against your own experience. When it says you are the witness of your thoughts, look: is that true right now?
  3. Use two translations. A literal edition with the Sanskrit keeps you close to the text; a poetic one shows you how it feels.
  4. Learn one verse by heart. Verse 1.11 is short, memorable and enough to carry through a day.

Janaka's words at the start of chapter 2 are a good place to end, and to begin: wonderful, all this time I have been fooled by delusion alone. The whole book is an invitation to that same surprise.

Frequently asked questions

Who wrote the Ashtavakra Gita?

The author is unknown. The text presents itself as Ashtavakra's teaching to King Janaka, but it is not part of the Mahabharata, and scholars place it well after the principal Upanishads, with estimates of its date varying widely.

What does the name Ashtavakra mean?

'Eight bends', from ashta (eight) and vakra (crooked). The Mahabharata says he was born bent in eight places because of a curse from his own father.

Is the Ashtavakra Gita part of the Bhagavad Gita?

No. It is a separate and later text. The two are often mentioned together because both are called a gita, a song of spiritual teaching.

How many chapters and verses does it have?

Twenty chapters and about 298 verses in most editions. Chapter 18 is by far the longest, with 100 verses.

Which translation should a beginner read?

Swami Nityaswarupananda's edition (Advaita Ashrama) gives the Sanskrit, word meanings and a translation. Thomas Byrom's The Heart of Awareness is a freer, poetic version. Reading the two side by side works well.

Sources and further reading

  1. Mahabharata, Vana Parva, sections 132–134 (the story of Ashtavakra), trans. Kisari Mohan Ganguli
  2. Swami Nityaswarupananda, Ashtavakra Samhita: Sanskrit text with word meanings and translation (Advaita Ashrama, 1940)
  3. Thomas Byrom, The Heart of Awareness: A Translation of the Ashtavakra Gita (Shambhala, 1990)
  4. Radhakamal Mukerjee, Astavakragita: The Song of the Self Supreme (Motilal Banarsidass, 1971)
  5. Osho, Maha Geeta: Hindi discourses on the Ashtavakra Gita
Image credits
  • Artwork: HarshTattva
  • Image: Unknown artist · Public domain · via Wikimedia Commons
  • Artwork: HarshTattva
  • Artwork: HarshTattva
  • Artwork: HarshTattva
Harsh Suthar

संस्थापक, हर्षतत्व

Harsh Suthar

Harsh founded HarshTattva to make sacred stories easier to find and easier to trust. Every article starts with a question, follows it through the texts and traditions, and cites where the answer comes from.

Join the community

Follow the stories as they are published

Daily mythology, temple research and Vedic wisdom, shared where you already scroll.