Gita explained

Who Wrote the Bhagavad Gita, and When?

Krishna spoke it, Sanjaya narrated it, Vyasa composed it and Ganesha wrote it down. The traditional and historical answers to who wrote the Bhagavad Gita and when.

By Surendar Kumar · 2026-11-18 · 5 min read

Ask who wrote the Bhagavad Gita and you will get several answers, all of them true in their own way. Krishna spoke it. Sanjaya reported it. Vyasa composed it. Ganesha wrote it down. And historians have their own questions about when and how the text took the form we read today.

Let us take each answer in turn.

Krishna, the speaker

The Gita is a conversation. Almost all of its 700 verses are spoken by Krishna to Arjuna, on the battlefield of Kurukshetra, just before the great war begins. Arjuna asks questions; Krishna answers. In the tradition, the Gita's authority comes from this: it is the word of God himself, and its verses are introduced again and again with śrī bhagavān uvāca, "the Blessed Lord said".

In the Gita, Krishna even explains that the teaching is ancient. He says that he first taught this yoga to the sun god, who passed it to Manu, and so it came down through the line of royal sages until it was lost over time. Now he is teaching it again to Arjuna, because Arjuna is his devotee and his friend (4.1, 4.3).

Sanjaya, the narrator

The Gita actually opens with a question from someone else. The blind king Dhritarashtra, father of the Kauravas, is sitting in his palace in Hastinapura. He asks: "Sanjaya, what did my sons and the sons of Pandu do, gathered on the holy field of Kurukshetra, eager to fight?" (1.1).

Sanjaya was the king's minister and charioteer. The sage Vyasa had given him divine sight, so that he could see and hear everything happening on the battlefield and describe it to the king. So the whole Gita, as we read it, is Sanjaya's report of the conversation between Krishna and Arjuna.

That is why the Gita ends with Sanjaya's words. Overwhelmed, he says that wherever there is Krishna, the lord of yoga, and Arjuna, the archer, there will be fortune, victory and justice (18.78).

Vyasa, the composer

The Gita is part of the Mahabharata, the great epic of India, and the Mahabharata is traditionally credited to the sage Krishna Dvaipayana Vyasa. Vyasa is not just its author but a character in it: he is the grandfather of both the Pandavas and the Kauravas.

The Gita appears in the sixth book of the Mahabharata, the Bhishma Parva, as eighteen chapters. Tradition holds that Vyasa also arranged the Vedas and composed the Puranas, which is why he is honoured on Guru Purnima, also called Vyasa Purnima.

Ganesha, the scribe

A famous story says that when Vyasa was ready to compose the Mahabharata, he needed someone to write it down as he spoke. He asked Ganesha, the elephant-headed god of wisdom.

Ganesha agreed on one condition: Vyasa must never stop speaking. If he paused, Ganesha would stop writing and leave. Vyasa agreed, but added his own condition: Ganesha must understand every verse before writing it.

So whenever Vyasa needed time to think, he would recite a particularly difficult verse, and while Ganesha paused to work out its meaning, Vyasa composed the next ones. In some tellings, when Ganesha's pen broke, he snapped off one of his own tusks and kept writing. That is why Ganesha is often shown with one broken tusk.

This story is found in some versions of the Mahabharata's opening, though not in the critical edition prepared by scholars. It remains much loved, and it carries a lovely idea: that sacred knowledge needs both inspiration and careful understanding.

When was it written? The traditional view

Traditional reckoning places the Kurukshetra war at the end of the previous age, the Dvapara Yuga. The beginning of the Kali Yuga, often associated with Krishna's departure from the world, is commonly calculated as 3102 BCE. In this view, the Gita was spoken more than five thousand years ago.

When was it written? The historical view

Historians and scholars of Sanskrit approach the question differently. They study the language, the ideas and the references in the text. Most date the Gita, in roughly the form we have it, to somewhere between about the fifth and the second century BCE, though estimates vary, and some scholars argue for layers composed at different times.

The Mahabharata as a whole grew over many centuries, from oral storytelling to written text. Its full form is commonly said to be about 100,000 verses, which makes it among the longest poems in the world.

These two views do not have to be at war with each other. A teaching can be ancient and also be shaped into words over a long tradition of reciting and remembering. Many readers hold both: they respect the scholarship, and they read the Gita as living wisdom.

How has the Gita come down to us?

For centuries, the Gita was memorised and chanted, passed from teacher to student. Great commentators wrote explanations of it: Shankaracharya in the eighth century, Ramanuja in the eleventh, Madhva in the thirteenth, Jnaneshwar in Marathi in the thirteenth, and many others. Each read it through their own philosophy, and each found it supported their path.

The first English translation, by Charles Wilkins, was published in 1785. Since then it has been translated into nearly every major language. Thinkers as different as Gandhi, Thoreau, Aldous Huxley and the physicist Robert Oppenheimer found something in it (see Oppenheimer and the Gita).

Why the answer matters less than the reading

The Gita itself does not seem very concerned with questions of authorship. It asks something more personal: what will you do with this teaching? At the very end, Krishna tells Arjuna to reflect on everything he has heard and then do as he wishes (18.63). The teaching is offered, not forced.

Keep reading

If you are new to the Gita, start with our beginner's guide, get the bigger picture in the Mahabharata in brief, or begin reading the Gita chapter by chapter in English, Hindi, Urdu, Sindhi and more. You can also ask Krishna anything about the Gita.

Frequently asked questions

Who wrote the Bhagavad Gita?

Traditionally, the Bhagavad Gita was spoken by Krishna to Arjuna, narrated by Sanjaya to King Dhritarashtra, and composed by the sage Vyasa as part of the Mahabharata. A popular legend says Ganesha wrote it down as Vyasa dictated.

How old is the Bhagavad Gita?

Tradition places it over 5,000 years ago, at the end of the Dvapara Yuga. Most historians date the text in its present form to between about the fifth and second centuries BCE.

In which book of the Mahabharata is the Gita found?

The Gita is in the Bhishma Parva, the sixth book of the Mahabharata.

Who narrates the Bhagavad Gita?

Sanjaya, the minister of the blind king Dhritarashtra, narrates the conversation, having been given divine sight by Vyasa.

How many verses does the Bhagavad Gita have?

The standard text has 700 verses in 18 chapters.

Keep reading

Ask Krishna your own questionTalk Now by voice

Have a story idea or a correction? Write to us. Learn more about Talk to Krishna.