Skip to content
WisdomSamvādaAshtavakra and Bandi
Aṣṭāvakropākhyāna

Ashtavakra and Bandi

How a twelve-year-old sage, crooked in eight limbs, defeated King Janaka's undefeated court debater and won back his father

ItihāsaFormal DebateFull Dialogue
Mahābhārata · Aṣṭāvakropākhyāna (the story of Ashtavakra, told by the sage Lomasha to Yudhishthira during the Pandavas' forest exile, at the hermitage associated with Ashtavakra's family)15 min readAshtavakra & Bandi & King Janaka & Kahoda
Source verification in progress — some passages below may be presented as paraphrase rather than verified canonical Sanskrit until confirmed against a primary text.

Before the dialogue

This narrative sits within the Tirtha-yatra ("pilgrimage to fords") portion of the Vana Parva, where the sage Lomasha guides Yudhishthira and his brothers through sacred bathing-places during their forest exile, telling the story attached to each. Ashtavakra's tale is told at the hermitage of his family, to explain why the river Samanga is held to wash away sin — the river takes its name and its power from the moment his body was healed there. Scholarship conventionally labels this self-contained insert-narrative the Aṣṭāvakropākhyāna. It should not be confused with the separate Ashtavakra Gita, a later Advaita teaching dialogue between an adult Ashtavakra and King Janaka that appears elsewhere in the textual tradition and elsewhere in this library; the two share a name and one participant but nothing else.

The contest between Ashtavakra and Bandi is shaped as a brahmodya — a very old genre of Vedic verbal contest in which participants trade cryptic, riddling verses whose surface subject (a number, an object) opens onto ritual or cosmological correspondences, with real stakes (here, a life) riding on who can sustain the form. The number-counting structure, in which each speaker must answer with the next integer and give it plausible cosmic company, is itself the display of learning being judged: to fail to complete a verse, as Bandi does at thirteen, is to fail publicly and decisively in front of the assembled kings and priests.

Ashtavakra · Aṣṭāvakra
Challenger; a boy sage, about twelve years old, born crooked in eight places

Son of Kahoda and Sujata. Cursed to be born deformed after correcting his father's Vedic recitation from the womb, he grows up not knowing his father is believed dead, then travels to King Janaka's sacrifice to challenge the debater who defeated and drowned him.

Bandi · Vandin / Bandī
King Janaka's undefeated court debater; defender in the contest

A scholar who has made a practice of defeating learned brahmins in debate and having the losers drowned, including Kahoda. Revealed at the end to be the son of the god Varuna, sent to summon brahmins to his father's sacrifice under cover of the 'drowning.'

King Janaka · Janaka
King of Mithila; host of the sacrifice and effective judge of the contest

Presides over the sacrificial assembly where Bandi has stood unbeaten. Tests Ashtavakra himself with riddles before admitting him, then awards him the outcome of the debate.

Kahoda · Kahoḍa
Ashtavakra's father; a Vedic scholar earlier defeated and drowned by Bandi

A diligent pupil of the sage Uddalaka who married Uddalaka's daughter Sujata. Cursed his own unborn son in anger, then was defeated by Bandi and 'drowned' before Ashtavakra was born. Restored to his family at the story's end.

A Curse from the Womb, and a Father Lost to the River

Long before Ashtavakra could speak aloud, he was already correcting his father from within the womb. Kahoda, a devoted pupil of the sage Uddalaka, had married Uddalaka's daughter Sujata and continued his nightly recitation of the Veda even after. One night, reciting aloud, he erred; his unborn son, who the story says had already absorbed the Veda in the womb, spoke up to say so. Stung at being corrected by a child not yet born, Kahoda cursed him in anger: because you have argued with your father from the womb, you will be born crooked in eight places. The boy was born exactly so, and was known ever after by the name Ashtavakra, 'eight-bent.' Poverty then pressed on the family, and at his wife's urging Kahoda went to King Janaka's court seeking wealth — where the court scholar Bandi, undefeated in debate, met and beat him, and had him drowned as he did every brahmin he defeated. Uddalaka told his daughter to keep this from the child, and Ashtavakra grew up believing Uddalaka his father and Uddalaka's son Swetaketu his brother. Only near his twelfth year, taunted by Swetaketu that he was sitting on 'not your father's lap,' did he learn the truth from his grieving mother. That same night he resolved to travel with his uncle to Janaka's sacrifice — not merely to see it, but to find Bandi.

A Boy Claims the Doorway

At the entrance to the sacrificial ground, the king's gatekeeper turned the two boys away: only old, learned brahmins were admitted. Ashtavakra answered him first with the etiquette of the road, then with his standing to enter at all.

Ashtavakra

andhasya panthā badhirasya panthāḥ, striyaḥ panthā vaivadhikasya panthāḥ; rājñaḥ panthā brāhmaṇenāsametya, sametya tu brāhmaṇasyaiva panthāḥ

The road belongs to the blind man, the road belongs to the deaf, the road belongs to a woman, the road belongs to one bent under a load. And the road belongs to a king — so long as no brahmin is met on it. But once a brahmin is met there, the road belongs to the brahmin alone.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.133.1

Ashtavakra

na jñāyate kāyavṛddhyā vivṛddhir, yathāṣṭhīlā śālmaleḥ saṃpravṛddhā; hrasvo 'lpakāyaḥ phalito vivṛddho, yaś cāphalas tasya na vṛddhabhāvaḥ

True growth is not known by the growing of the body, any more than the swollen knots on a silk-cotton tree show its age. A tree that is short and slight but has already fruited has truly grown; one that bears no fruit, however large, has not.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.133.9

Ashtavakra

na tena sthaviro bhavati yenāsya palitaṃ śiraḥ; bālo 'pi yaḥ prajānāti taṃ devāḥ sthaviraṃ viduḥ

One does not become an elder merely because his head has gone gray. Even a child, if he truly knows, is the one the gods themselves call an elder.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.133.11

The King Tests the Claim Himself

Admitted past the gate, Ashtavakra addressed King Janaka directly, announcing that he had come to meet Bandi and defeat him in argument. Wary of overpromising on the boy's behalf, Janaka tested him first with a run of riddling verses of his own.

King Janaka

kiṃ svit suptaṃ na nimiṣati, kiṃ svij jātaṃ na copati; kasya svid dhṛdayaṃ nāsti, kiṃ svid vegena vardhate

What is it that, sleeping, does not close its eyes? What is it that, once born, does not move? What has no heart at all? What grows only by its own speed?

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.133.25

Ashtavakra

matsyaḥ supto na nimiṣaty aṇḍaṃ jātaṃ na copati; aśmano hṛdayaṃ nāsti nadī vegena vardhate

A fish, sleeping, does not close its eyes. An egg, once laid, does not move. A stone has no heart. A river grows by its own current.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.133.26

King Janaka

na tvā manye mānuṣaṃ devasattvaṃ, na tvaṃ bālaḥ sthaviras tvaṃ mato me; na te tulyo vidyate vākpralāpe, tasmād dvāraṃ vitarāmy eṣa bandī

I do not take you for a human being — you have the nature of a god. I do not consider you a boy; to me you are an elder. No one is your equal in the art of speech. For this I grant you the door. There — that is Bandi.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.133.27

The Contest of Numbers

Before the assembled kings, Ashtavakra found Bandi and threw down a formal challenge: each would answer the other's verse with a new one, naming the next whole number and giving it real company drawn from ritual, cosmos, and nature — a contest not of loose argument but of a strict, escalating form that either side could fail simply by being unable to continue it.

Ashtavakra

atrograsenasamiteṣu rājan, samāgateṣv apratimeṣu rājasu; na vai vivitsāntaram asti vādināṃ, mahājale haṃsaninādinām iva

Here, O king, among these gathered monarchs of fierce and matchless power, I cannot yet make out Bandi, chief of the debaters — I search for him among these disputants as one searches for a swan calling somewhere on a great sheet of water.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.1

Ashtavakra

na me 'dya vakṣyasy ativādimānin, glahaṃ prapannaḥ saritām ivāgamaḥ; hutāśanasyeva samiddhatejasaḥ, sthiro bhavasveha mamādya bandin

Today, proud of your own eloquence, you will not slip away from me the way a stream slips down toward the sea. Stand firm before me now, Bandi, as before a fire whose blaze has been fed to full strength.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.2

Ashtavakra

aṣṭāvakraḥ samitau garjamāno, jātakrodho bandinam āha rājan; ukte vākye cottaraṃ me bravīhi, vākyasya cāpy uttaraṃ te bravīmi

Roaring in that assembly, his anger risen, Ashtavakra said to Bandi: 'Answer what I put to you, and I will answer what you put to me.'

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.6

Bandi

eka evāgnir bahudhā samidhyate, ekaḥ sūryaḥ sarvam idaṃ prabhāsate; eko vīro devarājo nihantā, yamaḥ pitṝṇām īśvaraś caika eva

One alone is Agni, though kindled in many forms. One alone is the sun, and it lights this whole world. One alone is the hero — Indra, king of the gods, destroyer of foes. And Yama alone is lord of the ancestors.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.7

Ashtavakra

dvāv indrāgnī carato vai sakhāyau, dvau devarṣī nāradaḥ parvataś ca; dvāv aśvinau dve ca rathasya cakre, bhāryāpatī dvau vihitau vidhātrā

Two move together as friends — Indra and Agni. Two are the divine sages, Narada and Parvata. The Ashvin twins are two. Two are a chariot's wheels. And husband and wife, ordained by the Creator, are a pair.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.8

Bandi

triḥ sūyate karmaṇā vai prajeyaṃ, trayo yuktā vājapeyaṃ vahanti; adhvaryavas triṣavaṇāni tanvate, trayo lokās trīṇi jyotīṃṣi cāhuḥ

Threefold, through action, is this creation born. Three, yoked together, carry forward the Vajapeya rite. The officiating priests extend three pressings of the soma. Three are the worlds, and three, they say, are the great lights.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.9

Ashtavakra

catuṣṭayaṃ brāhmaṇānāṃ niketaṃ, catvāro yuktā yajñam imaṃ vahanti; diśaś catasraś caturaś ca varṇāś, catuṣpadā gaur api śaśvad uktā

Four are the stages of a brahmin's life. Four, yoked together, carry this sacrifice forward. Four are the directions, and four the social orders. And four-footed, it is always said, is the cow.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.10

Bandi

pañcāgnayaḥ pañcapadā ca paṅktir, yajñāḥ pañcaivāpy atha pañcendriyāṇi; dṛṣṭā vede pañcacūḍāś ca pañca, loke khyātaṃ pañcanadaṃ ca puṇyam

Five are the sacred fires, and five-footed the Pankti meter. Five, too, are the great sacrifices, and five the senses. The Veda speaks of nymphs with five locks. And known throughout the world is the sacred Land of Five Rivers.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.11

Ashtavakra

ṣaḍādhāne dakṣiṇām āhur eke, ṣaḍ eveme ṛtavaḥ kālacakram; ṣaḍ indriyāṇy uta ṣaṭ kṛttikāś ca, ṣaṭ sādyaskāḥ sarvavedeṣu dṛṣṭāḥ

Six, some say, is the fee due at the founding of a sacred fire. Six alone are the seasons of the turning wheel of time. Six are the senses, and six the stars of Krittika. And sixfold, throughout the Vedas, is seen the rite called Sadyaska.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.12

Bandi

sapta grāmyāḥ paśavaḥ sapta vanyāḥ, sapta chandāṃsi kratum ekaṃ vahanti; saptarṣayaḥ sapta cāpy arhaṇāni, saptatantrī prathitā caiva vīṇā

Seven are the animals that live among us, and seven the wild ones. Seven meters carry a single rite through to completion. Seven are the great sages, and seven the forms of homage paid to them. And famed is the seven-stringed lute.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.13

Ashtavakra

aṣṭau śāṇāḥ śatamānaṃ vahanti, tathāṣṭapādaḥ śarabhaḥ siṃhaghātī; aṣṭau vasūñ śuśruma devatāsu, yūpaś cāṣṭāsrir vihitaḥ sarvayajñaḥ

Eight coin-weights make up a shatamana. Eight-legged is the sharabha, the beast said to prey even on lions. Eight Vasus, we have heard, dwell among the gods. And eight-angled is the sacrificial post ordained in every rite.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.14

Bandi

navaivoktāḥ sāmidhenyaḥ pitṝṇāṃ, tathā prāhur navayogaṃ viṣargam; navākṣarā bṛhatī saṃpradiṣṭā, navayogo gaṇanām eti śaśvat

Nine are the kindling-verses recited for the ancestors, and ninefold, they say, is the outpouring of creation. Nine syllables make a foot of the Brihati meter. And at nine, the count of numbers always turns over and begins again.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.15

Ashtavakra

daśā daśoktāḥ puruṣasya loke, sahasram āhur daśa pūrṇaṃ śatāni; daśaiva māsān bibhrati garbhavatyo, daśerakā daśa dāśā daśārṇāḥ

Ten conditions, they say, mark a person's passage through this world. Ten full hundreds, they say, make a thousand. Ten months, indeed, a woman carries her child. And ten also are the Daśerakas, ten the Dāśas, ten the Dāśārṇas.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.16

Bandi

ekādaśaikādaśinaḥ paśūnām, ekādaśaivātra bhavanti yūpāḥ; ekādaśa prāṇabhṛtāṃ vikārā, ekādaśoktā divi deveṣu rudrāḥ

Eleven are the ekadashin sacrificial animals, and eleven, here, are the sacrificial posts. Eleven are the changes that mark a living being's course through life. And eleven, they say, are the Rudras among the gods in heaven.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.17

Ashtavakra

saṃvatsaraṃ dvādaśa māsam āhur, jagatyāḥ pādo dvādaśaivākṣarāṇi; dvādaśāhaḥ prākṛto yajña ukto, dvādaśādityān kathayantīha viprāḥ

Twelve months, they say, make a year. Twelve syllables make a foot of the Jagati meter. The ordinary sacrifice, it is said, runs twelve days. And twelve Adityas, the learned here declare.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.18

Bandi

trayodaśī tithir uktā mahogrā, trayodaśadvīpavatī mahī ca

The thirteenth lunar day is called the fiercest of all. And the earth, they say, holds thirteen continents...

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.19

Ashtavakra

trayodaśāhāni sasāra keśī, trayodaśādīny aticchandāṃsi cāhuḥ

...for thirteen days did the courser Keshin range through the rite; and thirteen-fold, they say, are the long Vedic meters called Atichhandas, which 'exceed' and so, in a sense, consume that count.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.20

Bandi's Reckoning, and a Father Restored

At Bandi's silence a roar went up through the assembly; the brahmins present rose with joined hands to honor Ashtavakra. He did not let the moment rest there.

Ashtavakra

anena vai brāhmaṇāḥ śuśruvāṃso, vāde jitvā salile majjitāḥ kila; tān eva dharmān ayam adya bandī, prāpnotu gṛhyāpsu nimajjayainam

By this man, we have heard, learned brahmins were defeated in debate and drowned in the water. Let Bandi meet that same fate today — seize him, and submerge him in the water.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.23

Bandi

ahaṃ putro varuṇasyota rājñas, tatrāsa satraṃ dvādaśavārṣikaṃ vai; satreṇa te janaka tulyakālaṃ, tadarthaṃ te prahitā me dvijāgryāḥ

I am the son of King Varuna. At the very time of your sacrifice, Janaka, another began — a twelve-year sacrifice, my father's. It was for that reason I sent for the foremost brahmins.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.24

Bandi

ete sarve varuṇasyota yajñaṃ, draṣṭuṃ gatā iha āyānti bhūyaḥ; aṣṭāvakraṃ pūjaye pūjanīyaṃ, yasya hetor janitāraṃ sameṣye

All of them, gone to witness Varuna's sacrifice, are even now returning here. I bow to the venerable Ashtavakra — for it is through him that I shall now go to meet the one who begot me.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.25

King Janaka

śṛṇomi vācaṃ tava divyarūpām, amānuṣīṃ divyarūpo 'si sākṣāt; ajaiṣīr yad bandinaṃ tvaṃ vivāde, nisṛṣṭa eṣa tava kāmo 'dya bandī

I hear in your voice something divine, not human — your very form declares you more than mortal. Since you have defeated Bandi in debate, he is now yours, to do with as you wish.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.29

Ashtavakra

nānena jīvatā kaś cid artho me bandinā nṛpa; pitā yady asya varuṇo majjayainaṃ jalāśaye

Keeping Bandi alive serves no purpose of mine, O king. If Varuna is truly his father, let him be submerged in the waters.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.30

Bandi

ahaṃ putro varuṇasyota rājño, na me bhayaṃ salile majjitasya; imaṃ muhūrtaṃ pitaraṃ drakṣyate 'yam, aṣṭāvakraś ciranaṣṭaṃ kahoḍam

I am indeed the son of King Varuna; I have no fear of being submerged in water. This very hour, Ashtavakra will see the father he lost so long ago — Kahoda.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.31

Kahoda

ityartham icchanti sutāñ janā janaka karmaṇā; yad ahaṃ nāśakaṃ kartuṃ tat putraḥ kṛtavān mama

It is for this, Janaka, that people long for sons through their good deeds: what I could not achieve myself, my own son has achieved.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.33

Kahoda

utābalasya balavān uta bālasya paṇḍitaḥ; uta vāviduṣo vidvān putro janaka jāyate

A weak man may yet have a mighty son; a fool, a wise one; and even to the unlearned, Janaka, a learned son may still be born.

Mahābhārata, Āraṇyakaparvan (BORI Critical Edition) 3.134.34

What was resolved?

Bandi, unable to complete the verse on thirteen while Ashtavakra supplies its second half, is declared defeated before the assembly. Ordered drowned as he had drowned others, he reveals himself as Varuna's son, sent to gather brahmins — including Kahoda — for his father's own twelve-year sacrifice; at Ashtavakra's word he submerges into the sea unafraid, and the 'drowned' brahmins rise up alive and honored beside King Janaka. Ashtavakra is reunited with Kahoda, and on entering the river Samanga at his father's instruction, his eight crooked limbs become straight.

Prevailed: Ashtavakra

Key insights

  • The contest is framed as an act of filial rescue, not abstract scholarship: Ashtavakra says outright that keeping Bandi alive serves no purpose of his own once the debate is won — his goal was always his father, not victory for its own sake.
  • The story pointedly separates learning from age twice over: first at the gate (against the doorkeeper), then before the throne (against Janaka), before the real contest with Bandi even begins.
  • Bandi's 'defeat' is not what it appears: he loses the debate but was never simply cruel — the drowned brahmins were being gathered for his father Varuna's own sacrifice, so his apparent villainy folds into a hidden design that only his enforced submersion reveals.
  • The numbers 1–13 are not decorative: each side must supply real ritual/cosmological correspondences on demand, and the contest is won at the exact point one side cannot complete the form — the thirteenth verse — rather than by any judge's separate ruling.

Important Sanskrit concepts

Vandin/Bandi (a title meaning roughly 'the eulogist' or 'the bard-champion')brahmodya — ritual riddle-contest in verseUpakhyana — a self-contained inset story within the epictithi — a lunar calendar dayĀdityas — a group of solar deities, canonically twelveRudras — a group of eleven storm/death deitiesAtichhandas — a class of Vedic meters exceeding the standard syllable countriver Samanga — 'she of equal/straightened limbs,' the river in which Ashtavakra's body is healed

Related Samvādas

Type: Formal Debate · Mahābhārata · Sources: gretil.sub.uni-goettingen.de; sacred-texts.com; sacred-texts.com; sacred-texts.com; wisdomlib.org; en.wikisource.org; Searched sa.wikisource.org to try to locate a Devanagari-scr
Explore our free Vedic toolsExplore all →
Free previewVedic Kundli (Janma)Rashi + nakshatra free. Unlock the full chart – lagna, navagrahas, dashas, North + South.Daily PanchangaTithi, nakshatra, yoga, karana, vara – unlimited timeline. + Rashi phala + ceremonial muhurta.Muhurta CalculatorAuspicious dates for chudakarana, upanayana, vivaha, griha-pravesha – 11 samskaras.Rashi Bhavishya (Today)Daily rashi forecast based on your janma rashi + moon transit. Includes do/avoid + Vimshottari dasha context if DOB+time provided.Kundli MatchAshtakoota 36-point compatibility – Varna, Vashya, Tara, Yoni, Graha, Gana, Bhakoot, Nadi.Personal Vastu AnalyserDirection recommendations from your lagna + moon-rashi + current Mahadasha.PopularFind YourselfGotra, nakshatra, kuladevata, lineage – start here.PopularComplete Sanatan Library130+ wisdom pages – Vedas, Puranas, Yoga, Tantra, Pilgrimage, Sciences.Search the Library (A–Z)Find any of the 180+ wisdom pages by name, term, or URL – across all 12 categories. One-tap copy + CSV export.Sacred SciencesYoga, Ayurveda, Jyotisha, Vastu – the four applied disciplines of Sanatana Dharma.Mantras + StotrasFull text mantras for every major deity – 16+ deities, 500+ mantras + stotras.Sacred Pilgrimage12 Jyotirlingas, 51 Shakti Peethas, 108 Divya Desams, Char Dham.