The short answer
By tradition, the Bhagavad Gita was composed by the sage Vyasa (Krishna Dvaipayana) as part of the Mahabharata, recording a dialogue between Krishna and Arjuna. Traditional Hindu chronology places the events about 5,000 years ago, near the start of the Kali Yuga. Modern scholars generally date the composition of the text much later, commonly to somewhere in the last few centuries BCE, though estimates vary and there is no consensus on an exact date.
The traditional view: Vyasa
Hindu tradition credits the Mahabharata, and the Gita within it, to Vyasa, also called Veda Vyasa and Krishna Dvaipayana. In traditional accounts he is:
- the son of the sage Parashara and Satyavati
- the arranger of the Vedas into four collections (vyāsa means “arranger” or “compiler”)
- the traditional author of the Puranas and, in many traditions, the Brahma Sutras
- himself a character in the Mahabharata, the grandfather of both the Kauravas and the Pandavas
The Gita Dhyanam honors him directly: “Salutations to you, Vyasa of vast intellect… by whom the lamp of knowledge, filled with the oil of the Mahabharata, was lit.” See chapter 1 with Gita Dhyanam.
How the Gita was “told”: Krishna, Sanjaya and Vyasa
Within the story, the Gita reaches us in layers:
- Krishna speaks the teaching to Arjuna on the battlefield.
- Sanjaya, the minister of the blind king Dhritarashtra, sees and hears it from far away, through divine sight granted by Vyasa, and reports it to the king. Sanjaya says so at the end: “By the grace of Vyasa I heard this supreme secret yoga from Krishna himself” (18.75).
- Vyasa composes the whole epic. A popular tradition says the god Ganesha wrote it down as Vyasa dictated. That story appears in some versions of the Mahabharata but not in the Critical Edition’s reconstructed text.
So in traditional terms, the “speaker” of the Gita is Krishna, its narrator is Sanjaya, and its author is Vyasa.
Where the Gita sits in the Mahabharata
The Gita is part of the Bhīṣma Parva, the sixth of the Mahabharata’s eighteen books. In the Critical Edition prepared at the Bhandarkar Oriental Research Institute, it corresponds to chapters 23–40 of that book. Other editions number the chapters differently. The surrounding narrative has Sanjaya reporting the war to Dhritarashtra after Bhishma has fallen. The Gita is a flashback to the moment before the fighting began.
When was it written? Traditional and scholarly views
Traditional view. The Kurukshetra war is traditionally placed just before the start of the Kali Yuga, which Indian astronomical tradition dates to 3102 BCE. That is the source of the often-quoted “5,000 years ago.” In this view, the Gita records words actually spoken at that time.
Scholarly views. Historians and Indologists generally date the composition of the Mahabharata to a long period, roughly the last centuries BCE into the early centuries CE, and the Gita to somewhere within or near that range. Commonly cited estimates for the Gita fall around the 5th to 2nd centuries BCE, though some scholars argue for earlier or later dates. These estimates are based on:
- its language, which is classical Sanskrit, later than Vedic
- its relationship to other texts: it draws on the Upanishads (for example, Katha Upanishad parallels in 2.19–20 and 15.1) and seems aware of Sankhya and yoga ideas
- its place within the Mahabharata’s layered growth
There is no firm external evidence, such as inscriptions, that dates the Gita precisely. Any specific year should be treated as an estimate.
Was it composed in one go?
This is debated. Some scholars have argued the Gita grew in stages, for example a core dialogue later expanded with devotional and theological sections. Others see it as a carefully unified composition. Traditional commentators treat it as one coherent teaching. Readers of the Sanskrit sometimes notice changes in tone or meter, such as the long triṣṭubh hymn of chapter 11, but meter alone doesn’t prove separate authorship.
Early commentators and first translations
| Approximate date | Event |
|---|---|
| 8th century CE (traditional dating) | Shankara writes the earliest surviving full commentary; his text of 700 verses becomes the standard |
| 10th–11th century | Abhinavagupta comments on the Kashmiri recension |
| 11th–12th century | Ramanuja’s commentary (Vishishtadvaita) |
| 13th century | Madhva’s commentary (Dvaita); Jnaneshwar’s Marathi Jñāneśvarī (traditionally 1290) |
| 1785 | Charles Wilkins publishes the first English translation |
| 1885 | Edwin Arnold’s verse translation The Song Celestial |
| early 20th century | B. G. Tilak’s Gītā Rahasya; Gandhi’s Gujarati translation Anāsakti Yoga |
The 700-verse count and the alternative 745-verse tradition are explained in how many shlokas are in the Bhagavad Gita.
What this means for readers
For most readers, especially those learning Sanskrit, the authorship and dating questions don’t change how you read a verse. They do explain some things you will notice:
- why the Gita echoes Upanishadic language so closely
- why some editions differ in small ways
- why the colophon calls it an “Upanishad” even though it belongs to an epic
To start reading the text itself, see our guide to the Bhagavad Gita in Sanskrit. For how it compares to other scriptures, see is the Bhagavad Gita like a Bible?