The Mahabharata and the Ramayana

Classic Literature I: The Ancient & Epic World

Course 1 · Chapter 6 · The Mahabharata and the Ramayana

Chapters 3 and 5 both raised the same underlying question about Greece and Rome — how much of a "single author's" epic is really the work of a much longer oral tradition. India's two great epics were composed independently, on the other side of the ancient world, and raise the identical question all over again — at a scale that dwarfs anything covered so far in this course.

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.

Not Scripture, Not Just Story

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.

A Living Tradition

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

Traditionally Attributed to Vyasa

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.

An honestly wide window, not a precise date — an eight-hundred-year composition estimate is not scholarly imprecision so much as an accurate reflection of what the text itself already tells us: it grew in stages, over generations, absorbing new material as it was retold. Asking "when was the Mahabharata written" is a bit like asking when a river was built.

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.

A Crisis, Then a Teaching

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.

Read on Its Own

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

Valmiki, the "First Poet"

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.

🔮 A Second Homeric Question This isn't a loose comparison — real, published comparative scholarship exists under exactly this title, drawing the parallel to Chapter 3 directly. Just as the Iliad and Odyssey show clear signs of a long oral tradition later shaped by redaction rather than a single sitting at a single desk, both the Mahabharata and the Ramayana carry the same fingerprints: named stages of growth, centuries-wide composition windows, and a traditional "author" (Vyasa, Valmiki) who functions more as a symbolic point of origin than a verifiable historical writer. Some scholars have even extended Milman Parry and Albert Lord's oral-formulaic theory — developed studying living oral poets in the Balkans, and applied to Homer in Chapter 3 — to argue for similar oral-compositional origins behind the Sanskrit epics. The same basic question, independently arising on opposite sides of the ancient world.
"What is here is found elsewhere; what is not here is nowhere else" — a genuine line from the Mahabharata's own opening book, the Adi Parva. It's a striking claim of totality — that the text contains the whole of human experience and moral teaching within itself — and it captures exactly why itihasa carries the weight it does in Indian tradition: not merely a story about the past, but a repository of dharma still actively drawn on today.

Two Epics, Side by Side

The MahabharataThe Ramayana
Traditional authorVyasaValmiki, honored as Adi Kavi ("first poet")
Length100,000+ shlokas — the longest epic poem in the world~24,000 shlokas across 7 kandas
Composition window (scholarly estimate)c. 400 BCE – 400 CEc. 8th–4th century BCE core, additions to c. 3rd century CE
Central story shapeA dynastic war between cousins, framed by teachings on dharmaAn exile, an abduction, and a rescue
Embedded standalone textThe Bhagavad Gita (Book 6)None comparable — read as one continuous narrative

Questions to Sit With

Reflection 1

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?

Reflection 2

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?

Reflection 3

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.