The
Mahabharata, a huge work of over 100,000 double verses, contains a large number of side episodes, some of which are nested within one another, in addition to the main story, which tells of the battle between the
Pandavas and
Kauravas, two related princely families. Alongside the religious-philosophical didactic poem
Bhagavad Gita and the
Savitri legend,
Nala and Damayanti is one of the best known of these episodes. It occurs in
Aranyakaparvan, the third of 18 books of the epic and comprises around 1100 double verses (
shlokas) in 26 chapters. In the main narrative,
Yudhishthira, the eldest of the five Pandava brothers, has just lost his kingdom to the Kauravas in a game of dice and had to go into exile with his brothers for twelve years. There, Yudhishtira meets the seer
Brihadashva and asks him if there has ever been a more unfortunate man than himself, whereupon Brihadashva tells him the story of Nala, who also lost his kingdom in the dice game, but eventually regained it.
Summary Nala, the handsome, virtuous and heroic son of Virasena, is king of
Nishadha. At the same time, the beautiful
Damayanti lives in
Vidarbha at the court of her father, King Bhima. Bhima was once childless until the seer Damana granted him the boon of three sons and a daughter. Nala and Damayanti hear of each other's virtues through songs and stories, and they fall in love despite never having met. One day, Nala captures a
hamsa (wild goose or swan), which promises to convey his feelings to Damayanti. When Damayanti encounters the same goose, it speaks to her of Nala, further deepening her affection. Later, Damayanti begins to behave unusually, prompting concern among her companions, who report the matter to her father, King Bhima. In response, Bhima arranges a
svayamvara—a traditional ceremony for a bride to choose her husband—and invites suitors from many kingdoms. Meanwhile, the sages
Narada and Parvata visit the god
Indra, who laments that no kings are dying in battle. Narada explains that the princes are instead preoccupied with attending Damayanti's
svayamvara. Intrigued, the gods Indra,
Agni,
Varuna and
Yama decide to attend the event. Upon seeing Nala, they elect to enlist him as their messenger to Damayanti. Reluctantly, Nala agrees to act as the envoy and visits Damayanti in her private chamber. He reveals his divine commission and urges her to choose one of the gods as her husband. However, Damayanti is resolute in her desire to marry Nala and declares her intention to do so. Nala returns to the gods and reports her decision. . At the
svayamvara, the gods take on Nala's appearance, creating confusion for Damayanti. In desperation, she appeals to the gods, swearing by her sincerity and purity. Moved by her truthfulness, the gods resume their divine forms, enabling her to identify and choose Nala. In gratitude, the gods bestow various boons: Indra grants that he may always appear at sacrifices; Agni ensures Nala's immediate access to fire and immunity from it; Yama grants a refined palate and adherence to righteousness; and Varuna ensures the presence of water and bestows a garland. As the gods return from the
svayamvara, they encounter
Kali and
Dvāpara. Upon learning that Nala has won Damayanti, Kali becomes enraged and vows to possess him, while Dvāpara resolves to enter the dice, setting the stage for Nala’s downfall. Nala and Damayanti are married and live together in happiness. The couple also receives the blessing of twin children. Twelve years later, Nala becomes spiritually defiled, allowing Kali to take possession of him. Nala's brother,
Pushkara, challenges him to a game of dice, and under the influence of Kali and Dvāpara, Nala begins to lose repeatedly. Despite protests from the citizens, Nala continues to wager and ignore their pleas. Encouraged by Damayanti, the citizens again attempt to intervene, but their efforts are unsuccessful. Anticipating worse to come, Damayanti instructs Nala's charioteer, Varshneya, to take their twin children to her father's court in Vidarbha for safety. Eventually, Nala loses all of his possessions in the game—everything but Damayanti. Clothed in a single garment, he departs the city, with Damayanti following him. The couple camps outside the city for three nights. When golden-feathered birds approach, Nala throws his cloth over them in an attempt to catch them. However, the birds—actually transformed dice—fly off with the garment. Nala is distraught and suggests that Damayanti return to her parents. She refuses, urging instead that they remain together. Despite her protests, Nala, driven by guilt and pride, decides to part from her for her own safety. They take shelter in a lodge where Nala wrestles with his conscience. Although he returns multiple times, Kali ultimately overcomes him, and Nala flees under the cover of darkness. When Damayanti discovers his absence, she mourns deeply and curses the force behind his suffering. While wandering, she is briefly seized by a python, but is rescued by a hunter. However, the hunter tries to rape her, prompting Damayanti to curse him, resulting in his death. Alone, Damayanti continues her journey through the forest, expressing her grief in lamentation. She speaks to a tiger and later a mountain, but receives no solace. After three days, she discovers a hermitage. The ascetics there console her and predict a reunion with Nala before mysteriously vanishing. She continues onward, questioning an ashoka tree. Eventually, she reaches a riverbank where she finds a passing caravan and joins it. After traveling for many days with a caravan, Damayanti finds herself in peril when the group is attacked at night by a herd of elephants. She survives the attack and continues her journey, eventually arriving in the city of the
Chedis. There, the queen mother notices her and, struck by her demeanor, offers her a position as a chambermaid. Damayanti agrees to take the position but sets specific conditions regarding her dignity and conduct. Meanwhile, Nala, still wandering the forest, rescues a snake-king,
Karkotaka, trapped in a wildfire. In gratitude, the snake transforms Nala into a hunchback, disguising his true identity, and at the same time administers poison to weaken Kali, who still possesses him. The snake advises Nala to seek employment with King
Rituparna of
Ayodhya. Nala follows this advice and gains a position at Rituparna's court under the assumed name Bahuka. Each night, he recites a sorrowful verse, the meaning of which he keeps partially veiled, offering only cryptic explanations when asked. At the same time, Damayanti's father, King Bhima, dispatches
brahmins across the land to search for his daughter and Nala. One of them, the brahmin Sudeva, eventually arrives in Chedi and recognizes Damayanti. He greets her and informs the queen mother, who in turn makes further inquiries. Upon learning Damayanti's identity, the queen mother reveals that Damayanti is her niece. Damayanti requests assistance in returning home, and soon makes her way back to Vidarbha. At the urging of Damayanti and her mother, King Bhima sends out another group of brahmins to search specifically for Nala. Damayanti provides them with a set of verses to recite publicly in hopes of drawing him out. The brahmins travel extensively, and one of them, Parnada, returns with promising news. He had visited Ayodhya and recited the verses, which prompted Bahuka—Nala in disguise—to respond with a verse of his own, subtly identifying himself. Without informing her father, Damayanti secretly sends Sudeva back to Ayodhya with a message announcing a second
svayamvara, designed as a ruse to draw Nala out. Upon hearing of the new
svayamvara, King Rituparna instructs Bahuka to drive him to Vidarbha within a single day. Though reluctant, Bahuka selects a team of horses for the journey. Rituparna questions his choices, but ultimately defers. The chariot journey proceeds with extraordinary speed, nearly taking flight. During the ride, Varshneya, who now serves Rituparna and was once Nala’s charioteer, begins to suspect that Bahuka may indeed be Nala in disguise. During the rapid journey to Vidarbha, King Rituparna's shawl slips from the chariot but cannot be retrieved due to their speed. Along the way, the king observes a vibhitaka tree and immediately counts its fruit with remarkable accuracy. Bahuka, intrigued, verifies the count and then requests to learn this numerical skill, which enhances one's ability in dice games. In return, he offers to share his expertise in horse mastery. Rituparna agrees, and as a result of this exchange, Kali is expelled from Nala and enters the vibhitaka tree. Meanwhile, Damayanti hears the distinctive sound of the approaching chariot and senses that it is Nala who is driving it. Her father, King Bhima, is confused by Rituparna's sudden arrival, particularly as there are no signs of a planned
svayamvara. Still uncertain, Damayanti dispatches her servant Keshini to investigate Bahuka. Keshini approaches Bahuka and recites the verses composed by Damayanti; in response, he answers with the corresponding verses once spoken by Nala. She reports this back to Damayanti, who then sends her again to discover more about Bahuka's characteristics. Keshini observes several divine signs: the door lintel rises for him, fire and water are instantly present, and his garland remains unfaded. Damayanti then requests that Bahuka prepare meat for her; upon tasting it, she recognizes it as identical to Nala’s cooking. Keshini also brings Nala’s children to him, prompting Bahuka to break into tears. Convinced of his identity, Damayanti has Bahuka brought before her. She expresses her anguish and sorrow. Nala explains that his actions were the result of being possessed by Kali and also questions the intent behind the new svayamvara. Damayanti clarifies that it was a ruse to find him and asserts her continued purity. Her chastity is confirmed by the wind god
Vayu. With this reassurance, Nala's true form is restored, and the couple reunites after three years of separation. Nala and Damayanti are warmly received by King Bhima. Rituparna congratulates Nala and, in a gesture of reconciliation, Nala grants him the gift of his horsemanship before Rituparna departs. With an escort, Nala returns to Nishadha and challenges his brother Pushkara to a rematch in dice. Confident of victory, Pushkara accepts, hoping again to win Damayanti. This time, Nala defeats him, but magnanimously chooses to forgive Pushkara and sends him away. Nala then reclaims his kingdom. Nala lives out his life in peace and happiness. == Classification in literary history ==