The Mahabharata and the Ramayana
Classic Literature I: The Ancient & Epic World
Course 1 · Chapter 6 · The Mahabharata and the Ramayana
Itihasa: "So Indeed It Was"
Sanskrit literary tradition classifies the Mahabharata and the Ramayana as itihasa — literally "so indeed it was," a genre of legendary-historical narrative distinct from the Vedas themselves. The Vedas are shruti ("that which is heard") — revealed, eternal scripture. Itihasa sits alongside the later Puranas as a kind of supplementary teaching literature, sometimes described in tradition as a "fifth Veda" — not scripture in the strictest sense, but a vehicle for conveying dharma, the right way to live, through story rather than direct injunction.
Itihasa occupies a genuine middle ground — narrative literature that Hindu tradition still treats as carrying real religious and ethical authority, unlike a purely secular epic such as the Aeneid.
Unlike Gilgamesh, rediscovered on clay tablets after millennia of silence, both epics have been continuously read, performed, and retold in India for over two thousand years without ever going out of circulation.
The Mahabharata: A Text That Grew for Centuries
The Mahabharata is traditionally credited to the sage Krishna Dvaipayana Vyasa — who, in a detail literary tradition itself preserves, appears as a character within his own epic, the grandfather of its central warring families. Scholars treat this single-author attribution as symbolic rather than literal: the text names its own growth across three stages, expanding from roughly 8,800 verses (the Jaya, "Victory," attributed to Vyasa) to about 24,000 verses (the Bharata, recited by Vaishampayana) to the full 100,000+ shlokas known today (the Mahabharata, recited by Ugrashrava Sauti).
That final figure makes the Mahabharata the longest epic poem in the world by a wide margin — over 1.8 million words, roughly ten times the combined length of Homer's Iliad and Odyssey, and about four times the length of the Ramayana. The most widely cited scholarly estimate for when the text reached something close to its current form is a broad window of c. 400 BCE to 400 CE — a composition period spanning roughly eight centuries, even before accounting for however much older the underlying oral tradition itself may be.
The Bhagavad Gita: A Poem Within the Poem
Roughly a third of the way through the Mahabharata's sixth book, the Bhishma Parva, sits one of the most influential religious and philosophical texts in world literature — entirely self-contained, and almost never read as merely "part of a longer epic." The Bhagavad Gita ("Song of God") is a 700-verse dialogue between Prince Arjuna and the god Krishna, acting as his charioteer, on the battlefield of Kurukshetra in the moments before a war that will pit Arjuna against his own kin, teachers, and friends.
Arjuna, overwhelmed at the prospect of killing his own relatives, drops his bow and refuses to fight. Krishna's response — on duty (dharma), action without attachment to results, and the nature of the eternal self — occupies the rest of the Gita's eighteen chapters.
Because its content is self-contained and universally applicable rather than dependent on the surrounding war narrative, the Gita is routinely published, translated, and studied entirely separately from the rest of the Mahabharata — a philosophical text that happens to live inside an epic.
The Ramayana: The Adi Kavya
The Ramayana is attributed to the sage Valmiki, honored in Sanskrit tradition as Adi Kavi — the "first poet" — with the Ramayana itself titled the Adi Kavya, the "first poem," the work traditionally credited with originating Sanskrit poetic form itself.
At roughly 24,000 verses across seven books (kandas) — Bala, Ayodhya, Aranya, Kishkindha, Sundara, Yuddha, and Uttara — the Ramayana tells the story of Prince Rama, exiled from his kingdom of Ayodhya for fourteen years through a court intrigue, whose wife Sita is abducted by the demon king Ravana. With the aid of the devoted monkey-god Hanuman and an army of allies, Rama wages war to win her back.
Its own composition date is genuinely less settled than the Mahabharata's. Scholarly estimates place the epic's earliest core anywhere from the 8th to 4th century BCE, with later material — most notably the final book, the Uttara Kanda — added as late as roughly the 3rd century CE. As with the Mahabharata, this is a text that grew across a long span of time rather than appearing whole at a single moment.
Two Epics, Side by Side
| The Mahabharata | The Ramayana | |
|---|---|---|
| Traditional author | Vyasa | Valmiki, honored as Adi Kavi ("first poet") |
| Length | 100,000+ shlokas — the longest epic poem in the world | ~24,000 shlokas across 7 kandas |
| Composition window (scholarly estimate) | c. 400 BCE – 400 CE | c. 8th–4th century BCE core, additions to c. 3rd century CE |
| Central story shape | A dynastic war between cousins, framed by teachings on dharma | An exile, an abduction, and a rescue |
| Embedded standalone text | The Bhagavad Gita (Book 6) | None comparable — read as one continuous narrative |
Questions to Sit With
The Mahabharata claims to contain everything worth knowing within itself. What does it mean for a culture to hold a single text — or a small set of texts — in that kind of totalizing regard, and are there real parallels to that stance in traditions you're more familiar with?
The Bhagavad Gita is regularly read entirely apart from the epic that contains it. Does pulling a text out of its original narrative context change what it means — and can you think of another example, from this course or elsewhere, where a "piece" of a larger work took on its own independent life?
The "Homeric Question" and its Indian counterpart arose completely independently, thousands of miles apart, applied to genuinely different texts. What does it suggest that two unconnected literary traditions ended up facing the exact same authorship puzzle?
Quick Reference — Chapter 6
- Both epics are classified as itihasa ("so indeed it was") — legendary-historical narrative distinct from Vedic scripture, but still carrying real teaching authority (dharma)
- The Mahabharata — traditionally attributed to Vyasa; grew across three named stages (Jaya → Bharata → Mahabharata) to 100,000+ shlokas, ~10x the combined length of the Iliad and Odyssey
- Composition window c. 400 BCE – 400 CE; the Bhagavad Gita is a self-contained 700-verse section in Book 6 (the Bhishma Parva)
- The Ramayana — traditionally attributed to Valmiki (Adi Kavi, "first poet"); ~24,000 verses across 7 kandas; composition c. 8th–4th century BCE core, with additions to c. 3rd century CE
- A genuine, scholarly-documented "second Homeric Question" applies to both epics — composite, oral-tradition origins later shaped by redaction, not single authorship
What's Next
Chapter 7: Classical Chinese Literary Foundations — the Confucian Classics, the Book of Songs, and early Chinese poetry.