Stories of Ganesh
How Did Ganesha Write the Mahabharata?
By the Dharmasthan team · Updated · 7 sources cited
Ganesha wrote the Mahabharata as Vyasa’s scribe, says a passage in the Adi Parva: Ganesha agreed only if his pen never stopped, and Vyasa only if Ganesha wrote nothing he had not understood. The critical edition of the epic treats the passage as a late addition.
At a glance: Ganesh
- Also known as
- Ganesha, Ganapati, Vinayaka, Vighnaharta, Ekadanta, Gajanana, Lambodara, Vakratunda, Ganpati Bappa, Pillaiyar (Tamil Nadu)
- Family
- Son of Shiva and Parvati, brother of Kartikeya. Wives Siddhi and Buddhi (Shiva Purana), or Riddhi and Siddhi; sons Kshema (Shubh) and Labh. Many in South India hold him unmarried
- Shown with
- Elephant head with one tusk and a large belly; usually four arms holding a goad, a noose, a modak and his broken tusk or a lotus; red in colour; rides a mouse (mushak)
- Worshipped on
- Ganesh Chaturthi and Ganeshotsav, Ganesh Jayanti, monthly Sankashti and Vinayaki Chaturthi; Tuesday in Maharashtra, Wednesday in North India; worshipped first in every puja
- Holy places
- The Ashtavinayak: Morgaon, Siddhatek, Pali, Mahad, Theur, Lenyadri, Ozar, Ranjangaon; Siddhivinayak, Mumbai; Dagdusheth Halwai, Pune; Ganpatipule; Kanipakam
Vyasa, Brahma and Ganesha in the Adi Parva
The story is told in the first chapter of the Mahabharata, in the form most printed editions carry (Adi Parva, chapter 1; K. M. Ganguli’s translation, Section I). Vyasa, the son of Satyavati, had composed the whole poem in his mind when Brahma, the creator, came to him. Vyasa told Brahma that the work was complete but that there was no one on earth to write it down. Brahma praised the work and told Vyasa to call Ganesha to mind for the writing of it.
Vyasa thought of Ganesha, and Ganesha came. Vyasa honoured him and asked him to be the writer of the Bharata: “लेखको भारतस्यास्य भव त्वं गणनायक”. Ganesha set a condition: he would write only if his pen never stopped for a moment. Vyasa set one in return: Ganesha must not write anything he had not understood (“अबुद्ध्वा मा लिख क्वचित्”). Ganesha agreed by saying “Om” and became the scribe.
Vyasa then won the contest by craft. The Sanskrit says that the sage, in play, tied knots into the text: verses whose meaning is hidden. There are eight thousand eight hundred such verses, the text says, which Vyasa knows, Shuka knows, and Sanjaya may or may not know (in Ganguli’s English the narrator, Sauti, says this). Whenever Ganesha, all-knowing though he was, paused for a moment to work out one of them, Vyasa composed many more. That is the whole passage, about a dozen verses long.
The tusk and the number of days
Ganesha’s broken tusk is not in this passage. The well-known telling in which Ganesha’s pen breaks and he snaps off his own tusk to keep writing is a popular addition, found in retellings and pictures, not in the Adi Parva. The Puranas give other reasons for the broken tusk, told in “Why Is Ganesha’s Tusk Broken? The Story of Ekadanta”.
No text says how many days Ganesha took to write the Mahabharata. The Mahabharata does say how long Vyasa took to compose it: “त्रिभिर्वर्षैः सदोत्थायी”, three years of unbroken work (Adi Parva 56.32 in the critical edition; Ganguli, Section LXII). The numbers of days or years for Ganesha’s writing that circulate online have no source in the texts.
What the critical edition and scholars say
The critical edition of the Mahabharata, prepared at the Bhandarkar Oriental Research Institute in Pune by comparing manuscripts from across India, leaves the whole Brahma and Ganesha passage out of its text and prints it in an appendix (Adiparvan, Appendix I, No. 1). Its editor, V. S. Sukthankar, gave the reason in his Prolegomena (1933): the episode is found only in late Northern manuscripts written in Devanagari, and it is missing from the Southern recension and from the Bengali version. Sukthankar called the Ganesha of this passage “unquestionably a late Northern intruder”.
Sukthankar was building on the Indologist Moriz Winternitz, who suspected in 1898 that the story was an interpolation (“Ganesa in the Mahabharata”, Journal of the Royal Asiatic Society). Winternitz pointed out that it was missing from a South Indian manuscript in Grantha script and from Kshemendra’s Bharatamanjari, a summary of the epic written in Kashmir about 1050. Georg Bühler disagreed, holding that what a summary leaves out proves little. With the manuscripts collated for the critical edition in hand, Sukthankar sided with Winternitz.
Winternitz thought the legend itself older than its place in the epic. The poet Rajashekhara, writing about 900, has an early scene in his play Balabharata in which Vyasa tells Valmiki that Ganesha, son of Shiva and Parvati, half man and half elephant, won by Vyasa’s austerities, is his scribe. In Rajashekhara’s version Ganesha lays the trap: if Vyasa cannot compose as fast as Ganesha writes, the delay will be Vyasa’s obstacle. Vyasa answers “Om, so be it”, and adds that Ganesha must write only what he has grasped (Winternitz, JRAS 1898). Winternitz also looked for the scribe story in the Ganesha Purana and in the Ganapati Khanda of the Brahma Vaivarta Purana, and did not find it there.
Where the story is remembered today
Pilgrims to Badrinath in Uttarakhand are shown two caves at Mana village nearby: Vyas Gufa, where Vyasa is said to have composed the Mahabharata, and Ganesh Gufa close to it, where Ganesha is said to have written it down. That is pilgrimage tradition, which the Ministry of Tourism’s Incredible India guide repeats; the Mahabharata itself does not say where it was written.
The story is loved because it fits Ganesha’s place as the god of learning as well as of beginnings: a scribe who would not write a word he had not understood. In Maharashtra the same idea runs through daily custom. Many people head a new notebook, a letter or an account book with “श्री गणेशाय नमः”, and Marathi calls any new start “श्रीगणेशा करणे”, as Hindi says “श्रीगणेश करना”. The Dnyaneshwari, Dnyaneshwar’s thirteenth-century Marathi commentary on the Bhagavad Gita, which is itself part of the Mahabharata, greets Ganesha in its second verse as the light of all understanding: “देवा तूंचि गणेशु” (Dnyaneshwari 1.2). Vyasa himself is honoured on Guru Purnima, which is also called Vyasa Purnima.
Aartis and bhajans of Ganesh
- Aala Majha Mumbaicha Raja
- Lalbaugcha Raja (Song)
- Sukhkarta Dukhharta
- Jhale Bhajan (Nirop Aarti) - Aamhi Namito Tav Charan
- Gajanana Ba Dayasagara
- Ghalin Lotangan Vandin Charan
- Jai Ganesh Jai Ganesh Deva
- Parvatichya Bala (Aala Re Aala Ganpati Aala)
Frequently asked questions
How Did Ganesha Write the Mahabharata?
Ganesha wrote the Mahabharata as Vyasa’s scribe, says a passage in the Adi Parva: Ganesha agreed only if his pen never stopped, and Vyasa only if Ganesha wrote nothing he had not understood. The critical edition of the epic treats the passage as a late addition.
What are the other names of Ganesh?
Ganesha, Ganapati, Vinayaka, Vighnaharta, Ekadanta, Gajanana, Lambodara, Vakratunda, Ganpati Bappa, Pillaiyar (Tamil Nadu)
What other stories are told about Ganesh?
Why Does Ganesha Have an Elephant Head? What the Puranas Say; Why Is Ganesha’s Tusk Broken? The Story of Ekadanta; Why Is Tulsi Not Offered to Ganesha? The Story of Two Curses; Why Is the Mouse Ganesha’s Vahana? The Story of Mushaka; Who Are Ganesha’s Wives? Riddhi, Siddhi and Buddhi; What Are the Ashtavinayak Temples? The Legend of Each Ganpati. Each is on Dharmasthan with its sources, in English, Hindi and Marathi.
Sources
- Mahabharata, Adi Parva, ch. 1 (K. M. Ganguli tr., Section I): Brahma tells Vyasa to think of Ganesha; Ganesha’s condition that his pen never stop, Vyasa’s that he write nothing he has not understood; “Om”; the knotty verses, 8,800 known to Vyasa, Shuka and perhaps Sanjaya; no tusk Read the text
- Mahabharata, Adi Parva, ch. 1, Sanskrit vulgate text (Wikisource): The Sanskrit of the passage: “काव्यस्य लेखनार्थाय गणेशः स्मर्यतां मुने”, “यदि मे लेखनी क्षणम्…”, “अबुद्ध्वा मा लिख क्वचित्”, the ग्रन्थग्रन्थि and “अष्टौ श्लोकसहस्राणि” (1.1.109–119 in this text’s numbering, which differs between editions) Read the text
- Mahabharata, Adi Parva 56.32 (critical edition) = Ganguli, Section LXII: Vyasa composed the Mahabharata in three years of unbroken work; no text gives a time for Ganesha’s writing Read the text
- V. S. Sukthankar, Prolegomena to The Ādiparvan, critical edition (Bhandarkar Oriental Research Institute, 1933): The Brahma–Ganesha episode is App. I, No. 1; found only in late Northern Devanagari manuscripts, absent from the Southern recension and the Bengali version; Ganesha “a late Northern intruder”; cites Winternitz 1898 Read the text
- M. Winternitz, “Ganesa in the Mahabharata”, Journal of the Royal Asiatic Society 1898, pp. 380–384, and his note on Bühler’s view, pp. 631–632: The legend is missing from the Grantha manuscript and Kshemendra’s Bharatamanjari (c. 1050), so likely an interpolation; Rajashekhara’s Balabharata (c. 900) already tells it; not in the Ganesha Purana or the Brahma Vaivarta Purana’s Ganapati Khanda; Bühler’s objection Read the text
- Incredible India (Ministry of Tourism, Government of India), “Vyas Gufa and Ganesh Gufa”: The pilgrimage tradition at Mana near Badrinath: Vyasa composed the Mahabharata in Vyas Gufa and Ganesha wrote it in Ganesh Gufa Read the text
- Dnyaneshwari (Bhavartha Dipika), ch. 1: Ovi 2 greets Ganesha, “देवा तूंचि गणेशु”, as the light of all understanding
